Decent UPS equipment usually comes with a serial connection and
software. You can tell it to run a script when the UPS signals that it's
switched to internal power, typically this will page someone and might
even run an orderly shutdown. Even though a single UPS can support many
machines, it will generally only be able to signal one by itself. 

A few years ago, I was working for an ISP, we wrote some simple scripts
that would enable the machine connected to the UPS to email other
machines when the power failed, as Unix lets you direct an email to a
program rather than a mailbox. These machines would then do whatever was
necessary to bring their applications down cleanly.

A UPS will give you plenty of warning before it is actually exhausted,
there is ample time to shut down Oracle, but I doubt there would be
enough time to actually run a hot or cold backup onto tape.

g.

-----Original Message-----
Sent: 15 June 2001 08:56
To: Multiple recipients of list ORACLE-L

Hi friends,
            I want to execute a procedure just before database crash due
to
light failure,etc.
Is there any solution at database or operating system level.???



--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Guy Hammond
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to