Xserve and UPS

Hi all,
I have an UPS with a Xserve connected. Last Night, Lights off an the Xserve shutted down correctly but I want to know How can I detect the proccess that runs when Xserve enters in UPS mode?. I want to programme some scripts based on this feature ...
I have an Smart-UPS 3000.
Thanks and sorry for my English.
Regards,

To confirm, you have your Xserve connected to an APC Smart-UPS UPS device via USB (or network), and the connection worked as designed and the Xserve detected the on-battery power status and the battery status and gracefully shut itself down during a power outage. Right?
What's not so clear to me here is if you want to either look at the device status, or if you want to perform site-specific tasks when the UPS-initiated shutdown is triggered. And if you want to look at the status, when you want to know the status; if you want to get in ahead of the actual shutdown, for instance.
If the former is the case, the bash shell command you probably want is pmset.
For the latter, you can perform various operations during a shutdown using the upsshutdown script.
For these cases, you can use +man pmset+ or +man upsshutdown+ for details.
I don't know off-hand if there's a way to determine when you're on-battery with sufficient power remaining short of polling -- or short of inserting a daemon and some code into some of the (I'm guessing here, but would investigate whether these events are available) IPMI-level event processing. There may well be a daemon available for this task. The ipmitool can fetch you the chassis power, and there's a +Last Power Event : ac-failed+ status. So there's likely a way to this data. (The ipmitool utility doesn't have a man page, though it has internal help and you can Google for the code and for some command-level details.)
Regardless, I fully expect there's a way to get the on-battery notification (and ahead of the shutdown), if that's what you're looking for.

Similar Messages

  • Are there any problems with Snow Leopard Server (Xserve) and PPC Clients

    Hi,
    are there any problems identified yet with Snow Leopard Server, installed on a Xserve and PPC Clients running Mac OS X Tiger and Leopard?
    Currently I have a Xserve Intel running Leopard Server and about 12 Mac Minis PPC running Mac OS X Tiger and Mac OS X Leopard. The Xserve serves services like DNS, OpenDirectory, Software Update Server, NetBoot, etc. All users have Home Directories stored on the Xserve.
    Now I want to install Snow Leoaprd Server on the Xserve, but I wonder if there are any problems using the PPC Clients? I have read something like this on a german website.
    Thanks!

    We've actually found that the Server 10.6.3 DVD does an amazingly smooth job of upgrading 10.5.8. We've been upgrading our production servers and nothing has gone wrong yet. Snow Leopard employs an archive and install method of upgrading which results in an install which is very close to a clean install. So it's been very convenient for us because our servers are used as Windows PDCs and it's a pain in the *** to have to re-join all PCs to the domain if we start from scratch.

  • Xserve and HP StorageWorks Ultrium 1840 SCSI

    Hi everyone,
    I'm planning on buying a new Xserve (and an Xserve RAID) and using the relatively new HP StorageWorks Ultrium 1840 SCSI (external tape drive) to do backups. The specs are over here:
    http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&task Id=120&prodSeriesId=3454484&prodTypeId=12169&objectID=c01121300
    I just called EMC Insignia (was Dantz) and they say it's compatible with Retrospect for Macintosh Workgroup Edition. Now I'm a little confused at which Xserve BTO options to choose.
    Is it correct that I will need to select these options?
    Slot 1: Dual-Channel U320 SCSI-Card with PCI-X-Riser
    Slot 2: Dual-Channel 4 GBit Fibre Channel-PCI-Express-Card
    If I understand correctly I need the U320 card to connect the Ultrium and the Dual Fibre Channel to connect ONE Xserve RAID, am I correct?
    Thanks a lot!
    Björn

    Yes, you have the right combination of cards there.
    However, please rethink your choice of software.
    There are numerous horror stories on these boards and others related to Retrospect in a Server environment. For some reason it just does not work, causing instability, hangs, poor performance and system crashes.
    There are better alternatives including NetVault, BRU and Time Navigator, amongst others.

  • How to install 1 xserve and 2 xserve RAID ??

    Hi i'm new at fiber world. Could anyone tell me how can i install 2 xserve raid on 1 xserve? In this moment i have 1 Xserve and 1 Xserve RAID conected directly with 2 fiber cables. I need to buy other xserve RAID but how can i conect it? i have to use a fiber switch? and if this is correct wich switch u recomend?
    A link with schematics will be apreciated.
    Thx in advance.

    In the sense that you can plug everything in and it will auto-negotiate and things will just "show up" then yes it is like an ethernet hub.
    You will probably have to do some simple configuration of the Sanbox via their admin tool but as long as you're only using the Xserve/RAID it should be easy because you just have one zone and all full speed ports. The QLogic docs are good, if basic, and the admin tool is pretty straightforward - especially for an easy set-up like this.
    The way that fibre is not like ethernet (just so you're aware) is cannot have two Xserves plugged in sharing the same drives. This will work if you try it but horrible data corruption will eventually occur. Fibre is like ATA or SCSI and you can't share it between host computers in it's raw form. Just to be clear.
    Good Luck,
    =Tod
    G5/2.0x2, Dual XServes x2, XRAID, beige G3 501Mhz    

  • Is there a way to hear audio from an XServe and RDA??

    We have a training CD that runs on our XServe and we need others to be able to log in an run the video's.
    I don't see anything listed under Audio "No Built in Audio" in Get Info.
    Seems simple but it's got me stymied...

    ARD does not support the transmitting of audio.

  • XServe and 10.5 won't boot..."syncing disks killing all processes"

    Hey Everybody,
    Have an Xserve Intel Quad-Core Xenon 2.8 GHz, 80gb, 2 Gb RAM. 10.5 Server.
    2 Gb of RAM has been anemic. The server runs a few Cold Fusion Web Sites, DNS, OD, FTP, AFP, and Mail Services. Our mail is not light duty as we send out almost daily 70,000 e-mails to our customers.
    Last week I added 2 x 4gb DIMM to bring up the RAM to 10 Gb. I added the RAM to slots 3 & 4. Saw great improvement right away. The night after, I noticed the server rebooted during the night. (Didn't look into why )
    Well, I came in this morning and was checking up on the server (via ARD) and couldn't connect. Went to the server room and saw the machine was off. Not good. I restarted it and went back to my office. Checked again on ARD, and still wasn't available. Went back to server, rebooted in verbose mode (after booting with a monitor and seeing the screen show the apple with the spinning gear) and It's hanging then shutting down within three minutes of boot.
    Attached is a pic of what is shown, at around 3 minutes from boot the screen will then say "syncing disks killing all processes" and the server shuts down.
    I've googled all morning and have tried various methods to boot to no avail.
    I removed the RAM that I added and the problem persists. I also removed the drive sled and reinserted it into the xserve and also tried bay 2.
    Other things...
    Yesterday added two more web sites and the DNS for it in Server Admin.
    Any suggestions? Bad drive?
    Shaun

    OK, having exactly same issue - but on a much older and much less duty machine. Dual G4 1Ghz running 10.5 Server. Noticed that I could not connect via ARD and did hard shutdown, notice identifier light was on as well. The system did reboot as I could get my mail, but when I connected a monitor to it all I had was gray screen.
    Did another hard shutdown after pressing IL and not just gets to logo and spinning wheel for a short while and shuts down.
    It has been up and running flawlessly for long time prior to this.
    My name is Sean too, maybe that is the issue...

  • Xserve and Airport Network

    Currently I have an Xserve G5 running through a switch hardwired computers. All of the ethernet ports connected to the switch provide my MBP with a DHCP and I can access both the server and the internet. The ABSs however will not recognize the server. They are all set up in Bridge mode and originally had them all set up under the same network name but changed them to separate names to trouble shoot. I have checked the ABS and purchased a new one to make sure that they are not the problem but they seem to be working otherwise.
    I have assigned also manually assigned static IP addresses in sequential order and have no known conflicts with these addresses.
    I currently only have one of these base stations working could it be as simple as resetting the server and the switch?
    10.0.1.50
    10.0.1.51
    10.0.1.52
    10.0.1.53
    Router addresses are the same and the
    DNS server is 10.0.1.1
    Subnet 255.255.255.255
    any help would be greatly appreciated

    Hi Matthew and Welcome to Apple Discussions!
    Your description of your network configuration is a little sparse and hard to understand, but I'll give this a try.
    Typical ISP connections are made through a modem/router. Usually, the modem/router will run a DHCP server to distribute IP addresses to devices on your internal network (LAN). Your MBP, Xserve and ABS's (when the ABS's are operating in Bridge mode) would receive a LAN IP address from the DHCP server in the modem/router, provided that they are configured to use DHCP in their Network settings in System Preferences.
    Where things can get sticky - and get horribly confusing - is when there are two DHCP servers running on your LAN, effectively creating two different LANs within your network. Even worse is when the DHCP servers are running the same IP/Subnet groups.
    You can, for example, configure the ABS to distribute IP addresses to wireless clients using it's DHCP server. In this scenario, wireless clients would not be able to see other devices upstream from the ABS since they are outside the DHCP network range the ABS is providing - even if the IP range and subnets match to what the DHCP server in the modem/router is using. (The ABS will use NAT to translate the IP address traffic in its DHCP server, treating them as separate network entities.)
    Likewise, you could use the two network interfaces on the Xserve in a similar manner, connecting one to the modem/router and the other to a separate network switch, then enabling DHCP in OS X Server tied to the second network interface. Devices on the downlink side from the Xserve and switch would get their IP addresses from the Xserve DHCP server. This is perfectly fine, as long as the two network interfaces never cross paths on your network other than at the Xserve itself.
    Manually assigning IP addresses on DHCP networks is also fine, as long as there are no replicated IP addresses, and that the Router IP Address and Subnet Mask match what is being distributed by the DHCP server. For example, you could have a setting such as:
    IP Address: 10.0.1.50
    Router IP: 10.0.1.1
    Subnet Mask: 255.255.255.255
    Most modem/routers have a Web interface that you can access to manually reserve DHCP IP addresses to particular devices as well. Most will also let you restrict DHCP to a range of IP addresses, letting you run static IP addresses for devices on your LAN while still providing DHCP service to other devices without pre-assigned static IP addresses.
    Now, compare all of that information with how your network is configured. If you follow the chain of network devices, determine which are providing DHCP services and where they are in the chain of your network flow, you can usually find the problem.
    HTH,
    -Doug

  • Xserve and IBM DS3400 Storage

    Hi,
    I try to connect Xserve (OS 10.6.2) to IBM DS3400 storage (FC interface). Once I assigned logical drive to Xserve and restart the server, after logging in, it show error dialog with message "The disk you inserted was not readable by this computer." and it cannot be initialize or format. I don't know what to do next and hope some guys in this discussion may help.
    Thank you,
    Teeravee Sirinapasawasdee

    Hi,
    Unfortunately the IBM DS3400 does not support Mac OSX. You can check the interoprability matrix here:
    IBM System Storage DS3000 series Interoperability Matrix
    http://www-03.ibm.com/systems/storage/product/interop.html
    I have also spent a fair bit of time trying different host types but have found that even when you can mount and write data to the disks, it is very unreliable.
    According to the matrices, OSX support starts at the DS6000 level of storage arrays.
    HTH.
    Dobs.

  • Xserve and xserve raid works with iOS 10.9

    xserve and xserve raid works with iOS 10.9

    For the Xserve hardware:
    OS X Mavericks: System Requirements
    The Xserve RAID is known as a DAS (directly attached storage) device and provided the HBA card you're planning to use is fully supported in whatever server platform you've chosen (Apple, Microsoft etc) it will be work regardless of OS version.

  • Airflow of and xserve and xraid

    Hi all,
    A question.
    I am trying to put together an air conditioning system for a rack that will have 3 xserves and 2 xraids.
    I am trying to find out what the airflow to the rack will need to be.
    Is there anyone out there that could tell me the cfm of an intel xserve and the xraid fan systems at FULL tilt?
    Kind regards,
    Neil Watson

    CFM isn't your issue.
    The fans are variable speed - they adjust based on demand and environmental conditions - and I've only ever seen them running full tilt (about 14K rpm) when there's something seriously amiss. Even under the highest loads I rarely see more than about 8K or 9K rpm.
    For active cooling what is more important is either BTU (the thermal output of the server) or kW (the power draw).
    Apple provide sample data for various XServe configurations in this tech note, and the XServe RAID in this one.
    Your AC technician should be able to translate those figures into a suitable system for cooling your servers.

  • When will BC be able to take tracking feeds from FedEx and UPS?

    I'd like to set up the site so that FedEx and UPS shipping status feeds will auto load into customer's profile.  Can BC do this?

    It seems that Greg from this thread http://forums.adobe.com/thread/1052216 managed to pull the shipping info from an external service. Perhaps you can take a look at his example.
    -m

  • Xserve and Cinema Display

    My school just received a new G5 Xserve and a 20 inch cinema display. Unfortunately, the display has a DVI connection and the Xserve has a 9 pin male connector. What can I get to connect the two?

    There are adapters to use all the stuff you mentioned together, but some of them are expensive.
    MUCH more information on exactly which models of things you are trying to interconnect to give exact advice.
    For example, you said cinema display. There are CRTs, LCDs, Lucite borders, Aluminum borders, some with ADC connectors, some with DVI connectors, and the new ones now have Mini DisplayPort connectors. Some have power supplies, some do not.
    For the ones with ADC and no power supply, just buy a used DVI-to-ADC adapter with Power Supply (under US$100 on the used market) and it becomes a DVI display with a power supply in the cable.
    You said Mac Pro. There are at least six models, depending on how you count, and depending on which display card is installed, some stuff will plug right in, some requires an adapter. Some adapters are twenty bucks, some are over a hundred bucks.
    If you want one or two displays, the first port on the newest Mac Pros at this writing have a dual-Link DVI port, good for up to a 30-inch cinema display. The other two are Mini DisplayPort. Mini DisplayPort can be turned into single-Link DVI (good for up to 1920 wide) with a cheap adapter. If you want three display, there are MUCH more stringent requirements.
    XServe RAID should also be compatible, but depending on what Interface you have been using, it could vary from free hookup or quite pricey. There is an "extra" gigabit Ethernet port on the Mac Pro which is the free hookup. If you need SAS or SCSI, you would need to add a PCIe slot card, and those can get pricey.

  • Two Xserve and Xserve RAID configuration advice

    I'm configuring a brand new set-up and I'm looking for input in RAID configuration.
    Basically I have two essentially identical Xserves: 2.3x2, 80x2, 500 and a fully loaded XRAID running 6 drive RAID 5 with a hot spare on each side all running through a fibre channel switch. One Xserve is slated to be a pure fileserver and the primary XRAID access box and the other will handle web/email/database serving etc.
    I'm going to use the first 80 as a system drive (mirrored to the other 80 for redundancy) and I wanted to carve out about a 500gig partition of one of the RAIDs for the webmail server to use as its data drive so it would have the RAID 5 protection. Unfortunately to properly get this configuration I think I'd need to heavily slice one of the RAIDs and then use LUN masking to hide the drives from the respective machines. I guess I could then use Disk Utility to to concatenate the remaining slices back into a single volume - but this seems like adding layers of complexity to what seems like it should be a simple task.
    Another thought I had was to re-create the RAID of one side as a 5 disk array, use the extra 500 gig drive as a mirroring drive for the internal Xserve 500 and while I couldn't swap them out directly I could replace a 500 (if it went bad) and use the mirror to bring it back to an immediate pre-failure state relatively quickly.
    At this point I'd settle for mirroring one Xserve 500 to the other Xserve 500 which would give me a direct swap-out replacement - but I don't know if that's even technically possible. It has gotten complicated enough that I'm considering simply using the internal 500 as the data drive and depending on heavy back-ups for protection.
    I'm looking for any advice, thoughts or technical tips eveyone might have to offer.
    TIA,
    =Tod

    I must not have explained what I want to do clearly enough. The complication is that I want Xserve 1 to see Array 1 and 80% of Array 2 and Xserve 2 to see the remaining 20% of Array 2, but neither must be able to see the same section at the same time or very bad things can happen.
    The only way I'm aware of to do this is to slice all of Array 2 into 20% slices and use LUN masking to make 4 slices visible to Xserve 1 and the 5th slice visible only to Xserve 2. I could partition Array 2 into 80% and 20% partitions and then unmount the 80 partition from the Xserve 2 and unmount the 20 from the Xserve 1 using disk utility. But the potential for something bad happening down the road exists unless I can find a way to suppress volumes from mounting. (I saw this hack: http://www.macgeekery.com/gspot/2005-12/hiding_partitions but need to investigate much further before actually trying it.)
    Also the back-up unit is tied into the switch and therefore everything needs to run through the switch.
    Thanks,
    =Tod

  • Intel Xserve and Apple Xserve Diagnostics

    Has anyone figured out how to run the Apple Xserve Diagnostics (AXD) that is included with the new servers? The documentation is very poor to say the least, in once instance the user guide says to see the user guide for more information. Another pdf says to refer to www.apple.com/server/documentation for information on AXD yet this site has no mention of the intel Xserve yet. I've searched the service manual and got much of the same run around.
    I've managed to install the AXD on another Mac OS X server and activated the netboot image but it does not appear to run in the same manor as the Apple Remote Diagnostics for the Xserve G5s. Any help is appreciated!
      Mac OS X (10.4.8)  

    David
    Unless someone knows different the only place I know of is here:
    https://gsx.apple.com/cgi-bin/WebObjects/GSXAppServer.woa
    You need an Apple ID. To access the Service Source you'll probably need a Tech ID. Alternatively you could apply for the CD from Apple directly? Or from an Apple Authorized Repair Specialist. You could take the XServe directly to either of those locations and see if they can run the Diagnostic tools for you?
    Tony

  • IMac 2012 and UPS

    Have a late 2012 iMac 21.5 inch with OSX 10.9.4 connected to a UPS from APC ES-750 configured to shut down the iMac once UPS gets to 50% battery remaining.
    The question is: if the iMac is in sleep mode and there is a power outage, will the iMac know to shut down?
    Thanks for any input.

    If the UPS is working the way it's supposed to, yes, because the UPS will wake up the Mac.

Maybe you are looking for

  • How to share files and folders between users of a same mac

    Hello, I would like to share a folder among users of the same Mac. I have a folder called toto, containing files and folders and i would like to share toto with other users of my mac. I would like the other users to be able to read and write every fi

  • No index in Logic Express 9?

    Why do they take out the index in Logic Express 9?  I can't believe this. It was so easy to find things with L.E. 8.  You just looked it up in the back index and then go to that page. I tried downloading the L.E.8 manual, but since I upgraded to 9, t

  • Camera Raw 6 - Question

    I hear Camera Raw 6 is around the corner.  Cool! I wonder whether any fundamental change has been made to change the way it responds to partial overexposure...  With my Canons at least, all the current versions of Camera Raw desaturate colors as soon

  • Fireworks CS4 Mac OS X Version 10.0.4 update

    This update won't install on my MacBook 2.4 GHz Intel Core 2 Duo w/4 GB RAM -- running OS 10.6.3. After several attempts, now (using the "dmg" file)  it says: "Cannot Install Please click the Quit button • Adobe Fireworks CS4 - Already Installed" but

  • Getting Stored Procedure Parameters Programmatically

    Hi, Does anyone know of a way to programatically return the paramaters of a stored procedure? I am building a code generator and have found the all_procedures view to get the stored procedures name now all I need is a way to get the parameters so I c