UPS and shutting down servers

Not sure if this thread should be better posted at the OS X Server forum, but let's try it
Today I found the time to connect the UPS to our XServe via USB. It worked great, the UPS appears at ServerMonitor and also at the system preference panels energy settings.
However the UPS has only one USB port, but we have currently two XServes. My intention is to keep the servers running as long as possible till the UPS reaches 25 % left of its energy. Then safely shutting down the servers.
While it is easy to configure this on the server the UPS is connected, I find no setting for doing so at the other system. Basically the "master" XServe (that connects to the UPS) should shut down its "slaves" (the other XServe specifically).
I already dealt with a quite old system some time before (Cobalt RaQ) where it was able to set this up (via the MAC addresses if I'm not wrong).
I would look forward if someone can give me a glue how to realize this on the XServe ?

>Okay, writing a script... I guess you don't have anything already written
Nope, sorry.
>The main problem would be that both servers can communicate with each other only by using their WAN IPs. So we would need to get some security (like authentication with a username and password) additionally.
If your servers have two NICs, there's nothing preventing you from creating a private network between the two using a simple ethernet cable between them. That way they can communicate privately.
> When I connect the UPS with an USB hub and on that hub both XServes, could this work ?
No. USB doesn't support this kind of topology. There can only be one bus master. The other machine won't work.
>The UPS also has a serial interface, just the XServe lacks of this "old technology"
On the contrary. The XServe has a 9-pin serial interface on the back. It's normally configured as a console port for out-of-band management but you can configure it as a standard serial port by disabling SerialTerminalSupport (in /System/Library/StartupItems). However, the issue is then how to read the serial port. I'm guessing the software that ships with the UPS is designed to use the USB port and you may be on your own there.
>By the way, I should mention that the UPS is a Belkin "Universal UPS".
I don't think it makes a big difference. You'll have the same issues with any UPS vendor.
The only other option I can think of is a network-aware UPS. Some UPSes (such as those from APC) have a network option where you can query the UPS over the network. It would then be relatively simple to query the UPS via SNMP to gauge its runtime and shut down safely. I don't know if the Belkin has this option.

Similar Messages

  • My Safari is stuck on on a webpage  "survey.tubgalley.xyz....."  It also has a pop up box with "Congratulations you are today's lucky winner, click OK to continue".  I can't close these out, and have tried force quiting Safari and shutting down.

    My Safari browser is stuck on a webpage "survey.tubgalley.xyz...." and there is a pop up with "Congratulations, you are today's lucky winner, Click OK to continue".  ( I have not of course clicked on it!).
    I have tried quitting Safari, and shutting down my computer.
    I have block pop ups enabled in preferences.
    I have Mac OS X  10.7.5
    2.5 GHz Intel Core i5
    4 GB 1333 MHz DDR3

    Helpful Links Regarding Malware Problems
    If you are having an immediate problem with ads popping up see The Safe Mac » Adware Removal Guide, AdwareMedic, or Remove unwanted adware that displays pop-up ads and graphics on your Mac - Apple Support.
    Open Safari, select Preferences from the Safari menu. Click on Extensions icon in the toolbar. Disable all Extensions. If this stops your problem, then re-enable them one by one until the problem returns. Now remove that extension as it is causing the problem.
    The following comes from user stevejobsfan0123. I have made minor changes to adapt to this presentation.
    Fix Some Browser Pop-ups That Take Over Safari.
    Common pop-ups include a message saying the government has seized your computer and you must pay to have it released (often called "Moneypak"), or a phony message saying that your computer has been infected, and you need to call a tech support number (sometimes claiming to be Apple) to get it resolved. First, understand that these pop-ups are not caused by a virus and your computer has not been affected. This "hijack" is limited to your web browser. Also understand that these messages are scams, so do not pay any money, call the listed number, or provide any personal information. This article will outline the solution to dismiss the pop-up.
    Quit Safari
    Usually, these pop-ups will not go away by either clicking "OK" or "Cancel." Furthermore, several menus in the menu bar may become disabled and show in gray, including the option to quit Safari. You will likely have to force quit Safari. To do this, press Command + option + esc, select Safari, and press Force Quit.
    Relaunch Safari
    If you relaunch Safari, the page will reopen. To prevent this from happening, hold down the 'Shift' key while opening Safari. This will prevent windows from the last time Safari was running from reopening.
    This will not work in all cases. The shift key must be held at the right time, and in some cases, even if done correctly, the window reappears. In these circumstances, after force quitting Safari, turn off Wi-Fi or disconnect Ethernet, depending on how you connect to the Internet. Then relaunch Safari normally. It will try to reload the malicious webpage, but without a connection, it won't be able to. Navigate away from that page by entering a different URL, i.e. www.apple.com, and trying to load it. Now you can reconnect to the Internet, and the page you entered will appear rather than the malicious one.
    An excellent link to read is Tom Reed's Mac Malware Guide.
    Also, visit The XLab FAQs and read Detecting and avoiding malware and spyware.
    See these Apple articles:
      Mac OS X Snow Leopard and malware detection
      OS X Lion- Protect your Mac from malware
      OS X Mountain Lion- Protect your Mac from malware
      OS X Mavericks- Protect your Mac from malware
      About file quarantine in OS X
    If you require anti-virus protection Thomas Reed recommends using ClamXAV. (Thank you to Thomas Reed for this recommendation.)
    From user Joe Bailey comes this equally useful advice:
    The facts are:
    1. There is no anti-malware software that can detect 100% of the malware out there.
    2. There is no anti-malware that can detect everything targeting the Mac.
    3. The very best way to prevent the most attacks is for you as the user to be aware that
         the most successful malware attacks rely on very sophisticated social engineering
         techniques preying on human avarice, ****, and fear.
    4. Internet popups saying the FBI, NSA, Microsoft, your ISP has detected malware on
        your computer is intended to entice you to install their malware thinking it is a
        protection against malware.
    5. Some of the anti-malware products on the market are worse than the malware
        from which they purport to protect you.
    6. Be cautious where you go on the internet.
    7. Only download anything from sites you know are safe.
    8. Avoid links you receive in email, always be suspicious even if you get something
        you think is from a friend, but you were not expecting.
    9. If there is any question in your mind, then assume it is malware.

  • MacPRO boots and shuts down in 1 motion

    Evevning forum,
    After returning home I have tried to bootup my MacPRO (early 2008) and the machine is acting weird. Before I left all was working fine. It seems as soon as I press the start button the computer tries to power up and shuts down straight away, within in seconds. Could this be a power supply issue as many seem to have fallen fate to this issue. If so wha are the cost of a new one?
    Thanx in advance

    Was it plugged into a UPS?
    Was it unplugged from power?
    Have you tried an SMC Reset?
    Troubleshooting: My computer won't turn on
    https://support.apple.com/kb/TS1367
    Symptoms
    If your Macintosh computer won't turn on, here's how to troubleshoot it. Please keep in mind that although your computer may display similar symptoms that prevent it from showing video, this article discusses what to do if the computer won't turn on, meaning that when you press the power button:
    You don't hear a startup chime.
    You don't hear any fan or drive noise.
    The power button or power indicator doesn't light up at all.
    If your computer doesn't display any video, it may display one or more of these similar symptoms when you press the power button:
    You may hear a startup chime.
    You may hear fan or drive noise.
    You may see the power button or power indicator light up.
    If any of these conditions occurs, see Troubleshooting: My computer has no video instead.
    Resolution
    If your computer won't turn on, try each of these steps:
    Make sure that the power cord is plugged into a working wall outlet, and that it's properly connected to the power adapter. (To check if the wall socket is working, plug in a lamp or other electrical device.)
    Make sure that the power adapter is properly connected to the power port on the side or back of the computer.
    Disconnect all accessories that are plugged into the computer, such as a printer, hub, or other mobile device.
    Reset the computer's PMU, SMC, or PRAM. Refer to the instructions for your model:
    Portable (iBook or PowerBook)
    Mac mini
    iMac
    Power Mac
    Mac Pro
    MacBook or MacBook Pro
    Other Mac computers
    reset SMC For "Mac wont' turn on or boot" and related
    https://support.apple.com/kb/TS1367
    General purpose Mac troubleshooting guide: Isolating issues in Mac OS X
    Creating a temporary user to isolate user-specific problems: Isolating an issue by using another user account
    Identifying resource hogs and other tips: Using Activity Monitor to read System Memory and determine how much RAM is being used
    Starting the computer in "safe mode": Mac OS X: What is Safe Boot, Safe Mode?
    To identify potential hardware problems: Apple Hardware Test
    General Mac maintenance: Tips to keep your Mac in top form

  • I upgraded my iPad (3rd gen) to iOS 7.  When I go to iTunes and look at the summary and to the "Apps" list tab, iTunes stops working and shuts down.  What can I do?  I am using a Windows 7 machine.

    I upgraded my iPad (3rd gen) to iOS 7.  When I go to iTunes and look at the summary and to the "Apps" list tab, iTunes stops working and shuts down.  What can I do?  I am using a Windows 7 machine.

    Hi thanks for the encouragement.  It's not that the severs are "swamped", iOS 7 has been successfully installed.
    I can't access the apps list in iTunes because it *****
    down.  Its pretty frustrating because many of my apps require me to manually transfer files into iTunes first to view
    them.  Not sure if the servers being swamped is an issue for me, unless they release a bug fix through another version of iTunes.
    Has anyone else had this problem?  My iPad is pretty useless unless I can access my app list in iTunes....

  • If I have more then a few tabs open such as gmail, facebook, and a zynga game no tabs will load at all. I close and reopen firefox numorous (Im talking 7 or 8 times or many more) and shut down the zynga game and still it wont load

    If I have more then a few tabs open such as gmail, facebook, and a zynga game no tabs will load at all. I close and reopen firefox numorous (Im talking 7 or 8 times or many more) and shut down the zynga game and still it wont load the tabs or if it does and I then try to add the game or any other site at all on a tab it causes firefox to stop working (though not close) and I have to restart opening and closing it many times to get it to work at all.

    1st, you will not be able to activate your PPro1.5 on ANY new computer, see next link for the special version you MUST use
    CS2 (and earlier) Activation Server http://helpx.adobe.com/x-productkb/policy-pricing/creative-suite-2-activation-end-life.htm l
    2nd, you already mentioned Virtual XP, so if a direct install doesn't work, that would be the way to go... or, to just do what SHOULD work from the start, just do Virtual XP

  • My macbook pro is stuck on grey screen with apple symbol in center with the progress circle under it continusly spinning. After I had turned it on. Prior to turning it on I had to force close and shut down a few hours prior. Please Help?

    My macbook pro is stuck on grey screen with apple symbol in center with the progress circle under it continusly spinning. After I had turned it on. Prior to turning it on I had to force close and shut down a few hours prior. Please Help I have tried everything I know to do

    Unfortunately this means that there is a problem in the boot sector of your hard drive. It might be indicative of a fundamental corruption in the coding that allows your computer to boot your operating system from your hard drive. I had this problem twice and it resulted in me having to get a new hard drive and restore my data.
    In other words, your computer can't talk to your operating system so you can't access your data.
    Here is my advice: DON'T CALL APPLE TECH SUPPORT though they are kind and usually helpful it will take you an hour just to explain the situation and they will only tell you to do what I'm gonna say here.
    First: Shut down your computer completely
    Two: boot up while holding down the following keys: command, option, p, and r. The computer will reboot 3 times. This solution will likely fail so if you're frustrated skip to the next step.
    Three: Boot up while holding down the option key. Select recovery drive. Select your default language. Select disk utility, click on Macintosh HD, and select "verify and repair volume." Likely the verification will produce some line like "unused node not erased." Or something like that. If anything using the words "node structure" comes up, you need a new hard drive.
    If after verification and repairs you still can't boot I sincerely hope you have apple care because you will need a new hard drive. Set up an appointment to come in to the apple store, they will tell you to go and get data recovery, just ask them to give you the old hard drive. Unless you have an up to date backup in which case you can just restore from that. If you're lucky the only issue is with the boot sector which means that if you ask them to give you the old hard drive, you can buy an enclosure and you have effectively been given a free external hard drive. It still works to store data just not to load an operating system.
    If you have a back up drive bring it to the apple store and they'll do the whole thing right there, it should take around an hour and a half but may take longer.
    Hope this helps, it's annoying but it's your safest bet.
    All the best.

  • I have forgotten my appleID password and the email it is linked to is deactivated, security questions aren't working. This is on my iPhone and iTunes acs so I can't sync with my new computer. How do I merge AppleID accounts and shut down the old one?

    I have forgotten my appleID password and the email it is linked to is deactivated, security questions aren't working. This is on my iPhone and iTunes acs so I can't sync with my new computer. How do I merge AppleID accounts and shut down the old one (when I have no password and the security questions aren't working?)

    You cannot merge Apple ID accounts, that has never been supported.
    You can contact the Apple ID Security folks per the listing in http://support.apple.com/kb/HT5699 and they can help reset security questions and get the account working.

  • When I turn on my partially charged iPhone 5, sometimes it will suddenly go to 0% charge and shut down. How do I correct this?

    I've had my iPhone 5 for about one year with no problems. Lately however, when I turn on the phone when the battery charge is down to say 25% (due to previous use) sometimes moments after turning the phone on it will go from 25% charged to 0% charged and shut down. Other times after the phone has been on for several hours and the charge level is down to about 10% or so, it will suddenly discharge to 0% rather than gradually going down in increments of 1 or 2% at a time. This appears to happen most often when wi-fi is turned on. Any ideas on what may be causing this? I have installed the latest version of iOS7.
    Thanks

    Hi there brianfromwestmichigan,
    I would recommend taking a look at the troubleshooting steps found in the article below.
    iPhone: Hardware troubleshooting
    http://support.apple.com/kb/TS2802
    Will not turn on, will not turn on unless connected to power, or unexpected power off
    Verify that the Sleep/Wake button functions. If it does not function, inspect it for signs of damage. If the button is damaged or is not functioning when pressed, seek service.
    Check if a Liquid Contact Indicator (LCI) is activated or there are signs of corrosion. Learn about LCIsand corrosion.
    Connect the iPhone to the iPhone's USB power adapter and let it charge for at least ten minutes.
    After at least 30 minutes, if:
    The home screen appears: The iPhone should be working. Update to the latest version of iOS if necessary. Continue charging it until it is completely charged and you see this battery icon in the upper-right corner of the screen . Then unplug the phone from power. If it immediately turns off, seek service.
    The low-battery image appears, even after the phone has charged for at least 20 minutes: See "iPhone displays the low-battery image and is unresponsive" symptom in this article.
    Something other than the Home screen or Low Battery image appears, continue with this article for further troubleshooting steps.
    If the iPhone did not turn on, reset it while connected to the iPhone USB power adapter.
    If the display turns on, go to step 4.
    If the display remains black, go to next step.
    Connect the iPhone to a computer and open iTunes. If iTunes recognizes the iPhone and indicates that it is in recovery mode, attempt to restore the iPhone. If the iPhone doesn't appear in iTunes or if you have difficulties in restoring the iPhone, see this article for further assistance.
    If restoring the iPhone resolved the issue, go to step 4. If restoring the iPhone did not solve the issue, seek service.
    Issue not resolved
    My issue is still not resolved. What do I do next?
    Contact Apple Support.
    -Griff W.

  • My ipad showed a blue screen and shut down.

    My ipad showed a blue screen and shut down.  I cannot restart it.  A soft restart did not work.  I tried connecting to iTunes on the PC but it did not detect the device

    Did you try resetting the iPad?
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears- let go of the buttons.
    If that doesn't do anything, try this for the issue with iTunes not seeing the iPad.
    iOS: Device not recognized in iTunes for Windows - Support - Apple

  • Why is my 2010 macbook pro freezing and shutting down every time I start it?

    Today, after using my macbook pro to upload pictures from my iphone, my computer started having problems and shutting down. The screen goes gray and a box pops up saying that a problem exists and that I need to restart my computer. I've only had the macbook since last November, so I don't understand why I've been having so many problems with it. This happened a few times to a lesser extent in Senegal when I was there for 5 months. I used a mac power adapter so I don't think it could be an over-charge problem.
    Please help!

    Sounds like your iphone is causing kernal panics.
    Unplug everything. Keyboards, mice, external hard drives, the lot.
    One of these devices could be causing it.
    Then, grab your Install DVD, and boot while holding the C button.
    Select your language.
    Go to Utilities > Disk Utility > Repair Disk + Repair Permissions
    Then restart, and every once in a while, add one of the keyboards/mice/iphones/hdd's one by one to see if they are causing issues & therefore identifying the culprit.

  • HT201263 my Iphone 3GS keeps freezing and  shutting down, now wont turn on all the way just goes to apple icon.  Tried to update and recover but it would get stuck and at about 20% in restore and go no where, waited 5hrs for it to move and nothing.  Help?

    My ATT Iphone 3GS keeps freezing and shutting down,  now won't turn on at all.  tried to do an update and restore but it froze in restore at about 20% done,  waited 5hrs for it to go, it didn't.  Not sure what to do or where to go (ATT or Apple) to get help, how much it could cost?  HELP PLEASE!

    Did you follow the steps in iOS: Unable to update or restore?

  • IPod 4G keeps crashing, freezing and shutting down randomly

    I think since the IOS7 update, my Ipod keeps on skipping songs, freezing on apps, crashing on apps and sometimes
    shutting down randomly. I have tried deleting from multitask, and shutting down (which only works for like 10 mins).
    How can I fix this? And repair is too expensive.

    Try:
    - Reset the iOS device. Nothing will be lost      
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Restore from backup. See:                                               
    iOS: Back up and restore your iOS device with iCloud or iTunes
    - Restore to factory settings/new iOS device.                       
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar                                                              

  • My 4s keep freezing and shutting down apps!

    My 4s keep freezing and shutting down apps. Half the time I can't even unlock my phone because its frozen! Anyone else have this problem? This didn't start until I updated the software a few months ago (when they released the iphone5). According to my phone my software is up to date.

    PLEASE HELP ......

  • Recent freezing and shutting down every down 10-15 minutes and hard to log in to internet very slow

    My son has 2009 Macbook white version and recently (last week or so) freezing all the time, cannot log on to internet, and shuts down every 10-15 minutes. Is there a download (free hopefully to clean it up for any spyware or maleware). He is a student and very busy in University and cannot be without the computer?

    He will need something to back up onto like an external hard drive. The disks are necessary if the hard drive needs to be repaired, you can't repair the boot volume so you need to start up from an install disc and run Disk Utility from there. When you talk to him have him resettle SMC and pram, sometimes unexpected shutdowns can be corrected that way. The freezing is another issue, I'm concerned with the health of his hard drive. Another thing to ask when you talk to him is how much total space and how much free space does his hard drive have?
    To reset the SMC
    MacBook and MacBook Pro 
    Laptops with a battery you can remove 
    Shut down the computer.
    Disconnect the MagSafe power adapter from the computer, if it's connected.
    Remove the battery.
    Press and hold the power button for 5 seconds.
    Release the power button.
    Reconnect the battery and MagSafe power adapter.
    Press the power button to turn on the computer.
    Newer Mac portables with a battery you don't remove
    Shut down the computer.
    Plug in the MagSafe power adapter to a power source, connecting it to the Mac if its not already connected.
    On the built-in keyboard, press the (left side) Shift-Control-Option keys and the power button at the same time.
    Release all the keys and the power button at the same time.
    Press the power button to turn on the computer.  
    Note: The LED on the MagSafe power adapter may change states or temporarily turn off when you reset the SMC.
    Resetting NVRAM / PRAM
    Shut down your Mac.
    Locate the following keys on the keyboard: Command (⌘), Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.

  • Z30 freezing and shutting down

    I am on my 2 nd z30 in 2 weeks and they have both had a problem with freezing and shutting down, sometimes in mid use and sometimes on its own, can anyone?

    Hello soggy001
    Welcome to http://supportforums.blackberry.com
    Make restarted the z30?
    If your problem evidences the persistence
    Apply a hard reset keep the power button for 30 seconds.
    Regards.
    I recommend you make a reload of the BlackBerry OS Link
    Connect your z30 and run BBLink
    Then go to preference and press the reload option software
    Let the process do all your work, and then you start setting your BB
    And load your backup.
    And let us know if your problem evidences the persistence.
    You must have the latest version of the BlackBerry Link installed.
    Regards.
    VIA | gutijose14
    http://supportforums.blackberry.com/t5/BlackBerry-Z10/My-BB-Z10-is-not-recieving-txt-msgs/m-p/266997...
    Please thank those who help you by clicking the button.
    If your issue has been solved, please resolve it by marking "Accept as Solution"

Maybe you are looking for