Preview only show first 10 pages with watermark. For full document please download

Dell Equallogic Shutdown Solution - Final (23

   EMBED


Share

Transcript

APC PowerChuteTM shutdown solution for Dell EqualLogic Storage Array Provides reliable network-based shutdown in the event of a power outage to prevent system damage and ensure data protection. This guide contains step-by-step instructions with screenshots for customers to ensure the safe shutdown of their Dell EqualLogic Storage Array using APC PowerChute Network Shutdown. PowerChute Feature Summary What this paper will tell you  Reliable network-based shutdown If you have a Dell EqualLogic Storage Array in your set-up that you want to safely shut down in the event of a power outage, this paper provides a step-by-step guide on how to configure this using an APC UPS, Switched Rack PDU and PowerChute Network Shutdown software.  Run command file capability  Event Logging Contents  Secure Communications - Minimum Requirements: The hardware and software required. - Basic Set-Up: Equipment configuration and software installation details.  Browser Accessible - Required Scripts: What scripts are needed, where to get them and how to run them.  Redundant UPS Configuration support - Configuration: How to set-up various delays and run the scripts.  Parallel UPS Configuration support  Best-in-class operating system support For more information about APC products, go to www.apc.com Getting Started Minimum Requirements Hardware  Dell EqualLogic Storage Array.  APC UPS capable of supporting Server Load.  APC Switched Rack PDU connect to network with latest firmware*.  UPS Network Management Card (to connect UPS to network and communicate UPS status to PowerChute software) *This scenario was tested with: AP7900 Switched Rack PDU with firmware rpduv3.7.4 (AOS 3.7.4). Software  PowerChute Network Shutdown v3.0.1.  Strawberry Perl (32 or 64 bit version) from www.strawberryperl.com in order to run the two required shutdown scripts. Basic Set-Up  One APC UPS powers the Dell EqualLogic Storage Array, the Switched Rack PDU and all servers.  All servers are powered by the PDU except for a separate control server that will shut down the Storage Array and PDU.  This control server is powered directly by the UPS.  PowerChute Network Shutdown v3.0.1 is installed on all servers in the configuration. Required Scripts Note: The following scripts have been tested in a controlled environment by APC and Dell. These are sample scripts to be used at your own risk after first testing them in your own test environment before production use. 1) Script to shut down the Dell EqualLogic Storage Array  Dell EqualLogic Scripting Tool are specific to the firmware version that’s running on the Storage Array.  Scripts can be downloaded from the EqualLogic Support site (www.EqualLogic.com/support). A log in is required.  Host Scripting Tools for Windows & Linux can be found by selecting PS Series Firmware from the Downloads section in the top banner.  Next, click on the Download Page for firmware version currently running on your array. 2) Script to turn off APC Switched Rack PDU  Download the 32bit or 62bit strawberry Perl version from the web site free of charge (no log in required).  We used a Net::SNMP module to issue SNMP GET/SET commands to the PDU, but other command line SNMP tools are available.  The script sends an SNMP SET command to turn off the PDU outlets. Steps for configuring PERL/editing the APC script: 1) After you have installed Strawberry PERL open a command prompt and type the following command: CPAN Net::SNMP 2) Edit delayed_pdu_off.pl using a text editor like Notepad and enter the IP address(es) of the Rack PDU(s): [No other changes are required]. Required Scripts Step 2 continued… If you wish to use a 3rd party SNMP command line tool to issue the SET command to turn off the Rack PDU instead of the sample PERL script you may do so: a) The OID for the SET command is .1.3.6.1.4.1.318.1.1.12.3.1.1.0 b) The syntax for the SET command is INTEGER, 6 (delayedAllOff) 3) Create a .cmd file which will execute the scripts to shutdown the Dell EqualLogic Storage Array and the Rack PDU after all the servers have been safely shut down or use the sample command file provided. The command file should contain the following content: ping -n 180 127.0.0.1 cmd.exe /C perl C:\eql_script\eqlcliexec.pl -g -a -p -f ping -n 300 127.0.0.1 cmd.exe /C perl C:\DELL_SNMP\delayed_pdu_off.pl is a text file e.g. C:\eql_script\shutdown.txt that must be present and contain the following lines: shutdown yes Edit the delay values (seconds) marked in bold above to meet your requirements. IMPORTANT: The values shown here are for illustration purposes only and may not be sufficient to safely shut down your servers and storage array. You should allow extra time for unforeseen circumstances . It is recommended to first test in a non-production environment to ensure that you have provided sufficient time for a safe shutdown. The 1st delay value is the time allowed for all Servers attached to the Storage Array to safely shut down before the script to shut down the Storage Array is executed. The 2nd delay value is the time allowed for the Storage Array to safely shut down before the script to turn off the Rack PDU is executed. NOTE: The script to turn off the PDU issues an SNMP set command which will start a delayed turn off of the PDU. Each outlet can be configured with a turn off delay value. Configuration Configuration PowerChute Settings  The control server is the server which must be shut down last after all other servers have been shut down.  This is also the server that runs the scripts to shut down the Storage Array and turn off the PDU.  The command file to execute the scripts is configured on the PowerChute Configure Shutdown screen.  The command file duration entered here should allow for all other servers and the storage array to shut down.  It should correspond to the combined delay values you entered in the command file in the previous section. Ensure the value entered is long enough for all equipment powered by the PDU to shut down before the PDU.  Only the PowerChute Agent on this control server is configured to turn off the UPS. Command File to execute both scripts. Time required for servers and storage array to shut down. Select Turn Off UPS  The Configure Shutdown for all other PowerChute Agents has no command file configured and the UPS is not set to turn off.  These are the Agents on every other server other than the Control Server. Command File field is empty Select Do Not Turn Off UPS Configuration PowerChute Shutdown Delays  Configure the events that you want PowerChute to shut down on for each server including the Control Server.  The same shut down delay can be set for each event on all servers.  The UPS turn off sequence starts when the command file starts to execute.  Ensure the UPS Low Battery duration is long enough for all servers, the storage array, PDU and control server to shut down.  This can be configured via the Network Management Card user interface – Configuration – Shutdown tabs. Ensure delay is long enough for all equipment to shut down safely before the UPS turns off Must select Force Negotiation to ensure the delay is applied for all PowerChute Agents Configuration PDU Delays  After the servers and storage array have been shut down, the command file will run the second script to power off the PDU.  You need to configure the power off delay for each outlet on the PDU.  In the screenshot below, all PDU outlets are configured to turn off 5 seconds after the second script is executed.  This value is configurable but as all servers and the storage array are now off, it’s recommended to turn the outlets off.  When the UPS shutdown sequence completes, it will power off the PDU completely and the UPS will turn off.  Once power is restored to the UPS, the PDU turns on and the outlets turn on according to the Power On Delays specified.  The outlet that is powering the storage array should be configured to turn on immediately.  The remaining outlets have a longer Power On Delay to allow enough time for the Storage Array to go online.  This prevents other servers from coming online before the storage array. Troubleshooting In order to troubleshoot issues when the command file is executed please view cmdfile.log. This file is located in C:\Program Files\APC\PowerChute\group1 folder and contains output from the command file and the perl scripts as they are executed. The working directory when executing the shut down command file will always be C:\Program Files\APC\PowerChute\group1 - for this reason you should use the full path names where relevant.