|
FEATURES:
- Maintains a log of date and time of power failures.
- Sends electronic mail to the system administrator in the
event of
a system shutdown.
- Power monitor can be enabled or disabled or setup changed
while
system is running.
- File system corruption's do not occur as the system is
shut down in an
orderly fashion.
- The power monitors optically coupled to the mains and this
ensures
that the system and deice are resistant to
lightning.
- Users are warned every minute of the impending shutdown if
a power
failure occurs.
- Should the power recover before the specified battery life
then the
shutdown is aborted and the users are informed.
- Power failure and battery low conditions are monitored.
INSTALLATION INSTRUCTIONS
HARDWARE:
- The device will connect to any stanard 25 pin D-type RS232
connector,
whether male or female, DCE or DTE.
- Should the machine not use 25 pin connectors a terminal
type fly-lead is
required.
- The power monitor is connected to a spare serial port on
the unix/xenix
system.
- The mains plug is connected to the mains supplying the
UPS, not the
output from the UPS so that we can monitor the
raw mains supply. Note
which serial port the device is
connected to e.g./dev/tty1A
SOFTWARE:
-
Data Safe is supplied on a 1.2Mb floppy and a 1,44Mb stiffy
in UNIX 'tar'
format.
-
Log in as root and at the #prompt enter the following
command.
-
For a 1.44Mb stiffy type as follows: #cd / ; tar xvf
/dev/fd0135ds18
This will extract the following files: /etc/power.ok
- (Executable that checks for power failure) /etc/power_down
- (System shutdown script without questions) /etc/power_fail
- (Sends messages to users during power failure) /etc/power_admin
- (ADMINISTRATION and INSTALLATION script) It is IMPORTANT
to disable
any logins or other processes running on the port
as this could conflict
with the power monitor.
-
The power_down must be modified for unix systems to contain
only "init 0"
as the script supplied is for Xenix
environments.
-
#disable tty1A;disabletty1a# Will disable the port in this
example.
- #power_admin # Runs the installation script.
-
Option 3 requires the name of the serial port eg./dev/tty/1A
and the delay
in minutes eg. 10 before a shutdown must take
place.
-
The delay should be well within the expected battery
discharge time.
-
The power monitor is started automatically when the
operating system is
started up.
-
(A line is added to the end of /etc/rc) Any changes to the
power monitor
setup will come into effect immediately.
-
THE POWER MONITOR CAN BE TESTED by switching off the mains
power
to the UPS. The system will broadcast a message to all
users every
minute indicating a power failure has occured
and how much time remains.
-
At this point the users should finish off and log off.
-
If the power is reapplied to the UPS the power monitor will
abort the
shutdown. If the power remains down then the
software will shut the
system down normally when the time
limit is exceeded or alternatively
when the battery low
condition takes place.
*
Make sure that cable is connected correctly as per suppliers
instruction.
|