Hebdenlad (3rd June 2009)
I have a question for Phil or Andy with regards to power protection. The 7110 SAN is being powered though a UPS and direct mains, the question I have is in the event of power outage the SAN will have a sudden power loss. The servers accessing the disks should have powered down before this happens so disk access will be nonexistent but is this good for the SAN? Should an agent be loaded onto the SAN to do a graceful shutdown? I currently have APC UPS's with the network management card and the switch protected but the UPS also! Any advice or guides much appreciated.
Good question. I too have APC UPSs with network card. I was under the assumption that the SUN SAN would automatically detect the UPS in the same way Windows does?
Automatic detection? I had to load the agent on mine!
I guess it depends on whether Solaris supports the APC hardware, and vice-versa. I doubt it would detect it automatically but I may be wrong. As we're looking at new server room deployments I'd also be interested in this as it could well affect what UPS I buy!
apcupsd does work on OpenSolaris, though you may need to build it yourself.
Disclaimer: this may be horribly unsupported.
I've been asked the UPS question on here and have asked my colleagues about this.
you have to remember that the S7000 is an appliance so adding software to it is a none starter. Having said that we have ILOM on the box Managing Sun Systems - Sun Integrated Lights Out Manager (ILOM)) so you can be notified (as we will via the phone home capability) on events that happen on the box.
I have recevied a reply from one of my European colleagues that addresses this using the Workflow capability that is a key feature of the 2009.Q2 update. His words are below:
"I would suggest you basically script from a host connected to the same ups a shutdown script that would SSH to the 7000 and execute the following command:
ssh root@<7000name> << EOF
confirm maintenance system poweroff
This would solve your problem. You would need to have prepared ssh keys first."
Also from another of my colleagues the following:
Because the underlying FS is ZFS it can survive a power failure cleanly, any sync writes will be in the on disk logs (HDD, in the case of a 7110) and so can be recovered.
I hope this helps answer some of the questions and address the concerns you have.
Just an update if anyone is interested, I have done a script like Phil said but slightly differently using the Lights Out Management on the SUN box.
I downloaded the ipmi tool and then using a standard bat file to run on power outage events:
Code:ipmitool -H IP -v -I lanplus -U root -P password power soft
Duke (15th October 2009)
There are currently 1 users browsing this thread. (0 members and 1 guests)