Unsolved
This post is more than 5 years old
1 Message
0
10852
August 13th, 2013 07:00
Shutdown EQL After Power Failure
I have a PS6100 connected to an APC UPS. After the UPS detects a loss of power I would like to shutdown the EQL. In my research I have come across a post recommending the use of EQL Powershell script (http://en.community.dell.com/techcenter/power-cooling/f/4463/p/19475552/20226625.aspx#20226625).
Has anyone executed EQL Powershell from APC command file?
It does not appear that the "shutdown" command is available in Powershell. I have only 1 member in my PS6100. Here is an example of the script, will this accomplish a "shutdown". After the member is stopped would you recommend turning the outlet off on the UPS until power is restored? Thanks.
$myUser="grpadmin"
$myGrpIP="192.168.1.181"
$myTestMember="Member1"
Import-Module 'C:\Program
Files\EqualLogic\bin\EqlPSTools.dll'
Connect-EqlGroup -GroupAddress $myGrpIP -UserName $myUser
-Password $myPwd
# Stop-EqlMember -MemberName $myTestMember -Force
DELL-Joe S
7 Technologist
•
729 Posts
0
August 13th, 2013 11:00
Using the PowerShell cmdlets is one option. You might also want to take a look at the Host Scripting Tools. The tools are available on the EqualLogic Firmware download page (choose the FW that matches your array environment). The sample scripts have a shutdown script and use either Perl or Python to run.
Both PS and the HST’s can do what you are looking for.
Regarding turning off the outlet, this is fine, and can be done, however be aware that when power is restored the array needs to be up and running prior to the Host servers coming up and attempting any iSCSI connections to the array, so timing your start up sequence is important.
-joe