Start a Conversation

Unsolved

This post is more than 5 years old

30527

March 19th, 2013 05:00

Remote shutdown of Equallogic PS4110

We have a Dell UPS 2700W which I've recently configured with MUMC to shutdown our ESXi hosts and VMs after running on battery for a certain period of time. 

Our Equallogic PS4110 is also plugged into the UPS and I would like to bring this into a clean shutdown state before the UPS switches off the sockets.

I have a standalone server that I can run a shutdown script from. I've looked at the host scripting kit but I don't know anything about Perl or Python. I'm also unsure how the standalone server would know when the UPS has been on battery for Xmins and then execute the shutdown command. I've looked at various resources online including the Knowledge base article but found this lacking in depth for readers with no scripting experience.

Could anyone help me out with the steps required to shutdown the array remotely or script examples.

Thanks!

Richard

7 Technologist

 • 

729 Posts

March 19th, 2013 08:00

You may want to use the EqualLogic powershell cmdlets to automate this (a litter easier).

Downlload the EqualLogic powershell cmdlets from the firmware download page (select the FW that matches your groups FW).  Once downloaded, install the eql tools on the system that will run the cmdlets (its all explained in the documentation that comes with the powershell tools).

Create a script, use something like the following:

Stop-EqlMember [-GroupId ] [-GroupName ] [-GroupAddress ] [-

SessionId ] -MemberName [-Force[ ]

Then save it so that you can use the group policy on the system to run the script at shutdown:

group policy editor\administrative  templates\scripts\run shutdown  scritps visible

 

-joe

1 Rookie

 • 

9 Posts

March 20th, 2013 03:00

Hi Joe

Thanks for your input. Is there any way to capture SNMP traps from the UPS so that the script could be executed when the UPS has been running on battery for x mins? I'm thinking of a situation where a power outage was over an evening or weekend and a member of staff is not on site to shutdown the standalone server.

Richard

No Events found!

Top