1831488 Members
3428 Online
110025 Solutions
New Discussion

Re: UPS question

 
SOLVED
Go to solution
BFA6
Respected Contributor

UPS question

Hi All,
I've got 2 L classes in 2 cabinets, the cabinets are connected to 1 UPS. The UPS is connected to one of the L classes. If there is a power problem, the UPS can tell the L class it's connected to to shutdown gracefully.
Am I right in thinking the second L class is just going to crash ? Is this going to cause me lots of problems ?
Any advice/suggestions ?

Thanks in advance.

Hilary
4 REPLIES 4
Steven Sim Kok Leong
Honored Contributor
Solution

Re: UPS question

Hi,

Graceful shutdown is important especially if you are using databases and even especially so if you do not enable archive logging etc.

For the 2nd L-class, you can write a script to ssh (secure) or remsh (not secure) over to initiate a graceful shutdown, when your upsmond flags an alert to the syslog at your 1st L-class on the shutdown.

You can run a cron script that monitors the syslog.log of the 1st L-class for just that message and trigger off the script once the powerfail shutdown message is detected.

Make sure that you test out the script properly before production.

Hope this helps. Regards.

Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
Hartmut Lang
Trusted Contributor

Re: UPS question

If your question is, if you can tolerate a crash of your second system?
Well, what happens to your data in case of a crash?
If your data is not volatile, changing very often, or you can handle some minor loss of data, you might say a crash is acceptable.
If you are using VxFS, or long filesystem-checks on reboot doesn't bother you, a crash might be acceptable.
If your server live in conditions, where powerfail is very rare, and you don't care about downtime, let the machine crash.

In all other cases, i would go with Stevens suggestion.
Don Spare
Regular Advisor

Re: UPS question

If you are using the HP UPS Manager software on the 1st L class, you should be able to configure it to notify the 2nd server of the UPS outage and to beging graceful shutdown also. It will involve installing the UPS Manager Client on the 2nd server.
harry d brown jr
Honored Contributor

Re: UPS question

Hillary, you realize that if your single UPS totally fails, that you will lose both servers, whether you have or not the UPS software. To protect yourself from 99.999% of power failures, you really need n+1 UPS's. In an L-class, you need 3 UPS to ensure "uptime".

live free or die
harry
Live Free or Die