<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: UPS Shutdown P2000 G3 SAS in MSA Storage</title>
    <link>https://community.hpe.com/t5/msa-storage/ups-shutdown-p2000-g3-sas/m-p/5422505#M6161</link>
    <description>There is a common problem in case of a power failure: you need to shutdown all servers first, then you need a system still running to execute the script to shutdown the array. Also you need to prevent a "shutdown by accident".&lt;BR /&gt;&lt;BR /&gt;Normally it is not a real problem to not shutdown the array. If all servers are down, the cache is flushed and no longer in the cache.&lt;BR /&gt;But even with data in cache, the array can hold the cached data in case of power loss.</description>
    <pubDate>Tue, 20 Dec 2011 06:05:26 GMT</pubDate>
    <dc:creator>Torsten.</dc:creator>
    <dc:date>2011-12-20T06:05:26Z</dc:date>
    <item>
      <title>UPS Shutdown P2000 G3 SAS</title>
      <link>https://community.hpe.com/t5/msa-storage/ups-shutdown-p2000-g3-sas/m-p/5418895#M6148</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Need a simple scrip to shutdown gracefully both Ctrl on my physical vcenter5 after all&amp;nbsp; VMs are down.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas are welcome.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advanced&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2011 09:06:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/msa-storage/ups-shutdown-p2000-g3-sas/m-p/5418895#M6148</guid>
      <dc:creator>Friasa</dc:creator>
      <dc:date>2011-12-15T09:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: UPS Shutdown P2000 G3 SAS</title>
      <link>https://community.hpe.com/t5/msa-storage/ups-shutdown-p2000-g3-sas/m-p/5422359#M6153</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can telnet or SSH to the controller and give it this command:&lt;/P&gt;&lt;P&gt;shutdown both&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2011 03:27:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/msa-storage/ups-shutdown-p2000-g3-sas/m-p/5422359#M6153</guid>
      <dc:creator>Joshua Small_2</dc:creator>
      <dc:date>2011-12-20T03:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: UPS Shutdown P2000 G3 SAS</title>
      <link>https://community.hpe.com/t5/msa-storage/ups-shutdown-p2000-g3-sas/m-p/5422505#M6161</link>
      <description>There is a common problem in case of a power failure: you need to shutdown all servers first, then you need a system still running to execute the script to shutdown the array. Also you need to prevent a "shutdown by accident".&lt;BR /&gt;&lt;BR /&gt;Normally it is not a real problem to not shutdown the array. If all servers are down, the cache is flushed and no longer in the cache.&lt;BR /&gt;But even with data in cache, the array can hold the cached data in case of power loss.</description>
      <pubDate>Tue, 20 Dec 2011 06:05:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/msa-storage/ups-shutdown-p2000-g3-sas/m-p/5422505#M6161</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2011-12-20T06:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: UPS Shutdown P2000 G3 SAS</title>
      <link>https://community.hpe.com/t5/msa-storage/ups-shutdown-p2000-g3-sas/m-p/5602665#M6384</link>
      <description>&lt;P&gt;did you find a script solution?&lt;/P&gt;&lt;P&gt;Yes we can telnet or ssh with putty. But we need to put the user name and password. Also, did putty can be started within a batch file and the user name, pwd and the command shutdown both send automaticaly?&lt;/P&gt;</description>
      <pubDate>Thu, 29 Mar 2012 22:13:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/msa-storage/ups-shutdown-p2000-g3-sas/m-p/5602665#M6384</guid>
      <dc:creator>danzig69</dc:creator>
      <dc:date>2012-03-29T22:13:21Z</dc:date>
    </item>
    <item>
      <title>how to shutdown both storage controller of a P2000 from a batch file using plink and ssh connection</title>
      <link>https://community.hpe.com/t5/msa-storage/ups-shutdown-p2000-g3-sas/m-p/5608137#M6390</link>
      <description>&lt;P&gt;how to shutdown both storage controller of a P2000 from a batch file using plink and ssh connection.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The computer that will send the shutdown command need a folder that I will call "shutdown" on the root of the c drive&lt;BR /&gt;so create a folder c:\shutdown&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this folder will contain 4 files&lt;BR /&gt;p2000.txt&lt;BR /&gt;plink.exe&lt;BR /&gt;sendShutdownP2000.bat&lt;BR /&gt;sendShutdownOnce.bat this file will be delete after the first use&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;p2000.txt will have 3 lines&lt;BR /&gt;shutdown both&lt;BR /&gt;exit&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the third one is empty but need to be there for the exit to be executed&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;plink.exe can be download from &lt;A target="_blank" href="http://www.chiark.greenend.org.uk/~sgtatham/putty/"&gt;http://www.chiark.greenend.org.uk/~sgtatham/putty/&lt;/A&gt; (03 april 2012) I've used beta 0.62&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sendShutdownP2000.bat will have 4 lines and it's the file to execute to shutdown properly the P2000&lt;BR /&gt;c:&lt;BR /&gt;cd\&lt;BR /&gt;cd shutdown&lt;BR /&gt;plink.exe YourServerIp -v -ssh -l UserName -pw YourPassword &amp;lt; p2000.txt&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;sendShutdownOnce.bat will have 4 lines and is used only ONCE to be able to accept the key&lt;BR /&gt;c:&lt;BR /&gt;cd\&lt;BR /&gt;cd shutdown&lt;BR /&gt;plink.exe YourServerIp -v -ssh -l UserName -pw YourPassword&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The first time you NEED to execute sendShutdownOnce.bat to be able to accept the key. After double clicking it, you will have to press Y to Store key in cache.&lt;BR /&gt;Then type : exit to quit the ssh session&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Delete the file sendShutdownOnce.bat&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You now just need to execute the sendShutdownP2000.bat file for your p2000 to shutdown properly&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For all this to work, you need to be able to connect using ssh to your equipement for plink to work. You can also try "shutdown a" before putting "shutdown both" in the p2000.txt if your working on a production system. "shutdown both" will cause your p2000 to be no longuer usable by your server!!! Be carefull.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wish this will save a couple of hour to people who are in the same situation than me using UPS to protect theyre environnment.&lt;BR /&gt;In my case I use this "script" in a bigger one that shutdown vmware esxi 5.0 before the P2000 with a command like this one :&lt;BR /&gt;"C:\Program Files (x86)\VMware\VMware vSphere CLI\bin\vicfg-hostops.pl" -a poweroff -f --server=xxxxxxxx --username aaaaaaaa --password bbbbbbb --operation shutdown&lt;BR /&gt;sleep 90 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ;this is a command that stop the execution for 90 secondes the time to shutdown VM&lt;BR /&gt;"c:\shutdown\sendShutdownP2000.bat"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fonctionnal with this equipement :&lt;/P&gt;&lt;P&gt;Windows server 2008 R2 x64&lt;BR /&gt;HP StorageWorks P2000 G3 FC/iSCSI Combo Modular Smart Array Controller (two 8Gb FC ports and two 1GbE iSCSI ports per controller) AP837A&lt;BR /&gt;HP StorageWorks P2000 G3 MSA FC/iSCSI Dual Combo Controller SFF Modular Smart Array System AW568A&lt;/P&gt;</description>
      <pubDate>Tue, 03 Apr 2012 22:40:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/msa-storage/ups-shutdown-p2000-g3-sas/m-p/5608137#M6390</guid>
      <dc:creator>danzig69</dc:creator>
      <dc:date>2012-04-03T22:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: how to shutdown both storage controller of a P2000 from a batch file using plink and ssh connect</title>
      <link>https://community.hpe.com/t5/msa-storage/ups-shutdown-p2000-g3-sas/m-p/5610055#M6391</link>
      <description>&lt;P&gt;A power loss is a worst case for a disk array, because there is a lot of data in the cache.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For this reason each array has a possibility to save the cache during a power loss.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some arrays can keep the complete array alive on battery to write the data to the disks, some just buffer the memory to hold the data, some write the cached data to a special device.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The P2000 can write the cached data to a memory flash card that resides in each controller.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the power comes back, the cached data will be written to the disks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IMHO there is always a problem with such shutdown scripts. First you need to detect a real power loss. Then you need to wait until all connected servers have completed their shutdown. If all servers are down, you may start to shutdown the array. The tricky point is to prevent the execution of such script by accident.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IMHO such script is not needed at all.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2012 09:34:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/msa-storage/ups-shutdown-p2000-g3-sas/m-p/5610055#M6391</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2012-04-05T09:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: how to shutdown both storage controller of a P2000 from a batch file using plink and ssh connect</title>
      <link>https://community.hpe.com/t5/msa-storage/ups-shutdown-p2000-g3-sas/m-p/5961263#M6909</link>
      <description>&lt;P&gt;very useful!!!&amp;nbsp;&amp;nbsp; &lt;SPAN&gt;&lt;SPAN class="hps"&gt;after searching&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;a lot,&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;this has&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;been&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;what has&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;solved&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;my problem. &lt;SPAN class="short_text"&gt;&lt;SPAN class="hps"&gt;My&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;task&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;was different&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;but it worked.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="hps"&gt;Thanks a lot everybody specially danzig69&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2013 14:01:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/msa-storage/ups-shutdown-p2000-g3-sas/m-p/5961263#M6909</guid>
      <dc:creator>Lobito</dc:creator>
      <dc:date>2013-02-12T14:01:08Z</dc:date>
    </item>
  </channel>
</rss>

