Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
There is less than 24 hours left to vote in the 2015 LinuxQuestions.org Members Choice Awards. Click here to go to the polls. Vote now and make sure your voice is heard!
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
How are you guys monitoring power outages? My servers are on UPS's but they only last 30 minutes or so before they drain those batteries. I'd like to write (or find) some type of script that will somehow monitor a device (that is NOT on backup power) and when that device fails, I would get a text message and e-mail to my blackberry telling me power is out.
My hope, is that I could SSH in if a power failure occurs and I could shut the boxes down safely.
What kind of UPS do you use? If they're individual to the servers they may have built in facilities for notifying systems that power is down and allow you to use that notification for doing an automatic graceful shutdown of the server.
A simple ping test would tell you if servers are unreachable. If you have multiple servers that are unreachable that weren't on UPS you could have each of them page you (send email to your cell phone so it shows up as text message). Seeing loss of ping on multiple servers would be an indication something has gone wrong.
Of course you'd have to insure your path into the remote console (e.g. KVM, network switch etc...) was also on battery protection or you wouldn't be able to get in. Here again you could script it so that the servers on UPS are the ones doing the ping tests of the other servers and have them shutdown automatically if they see multiple other servers already down.