<?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 P4300 G2 shutdown Script via SSH if you get power cut in Operating System - VMware</title>
    <link>https://community.hpe.com/t5/operating-system-vmware/p4300-g2-shutdown-script-via-ssh-if-you-get-power-cut/m-p/7129730#M3685</link>
    <description>&lt;P&gt;Is there a way to shutdown the Lefthand via Script with SSH if the power cuts off? I am using Eaton UPS.&amp;nbsp;&lt;BR /&gt;What would you write into the script for automatical shutdown if the power cuts off?&lt;/P&gt;</description>
    <pubDate>Tue, 13 Apr 2021 15:16:47 GMT</pubDate>
    <dc:creator>Alp_Just</dc:creator>
    <dc:date>2021-04-13T15:16:47Z</dc:date>
    <item>
      <title>P4300 G2 shutdown Script via SSH if you get power cut</title>
      <link>https://community.hpe.com/t5/operating-system-vmware/p4300-g2-shutdown-script-via-ssh-if-you-get-power-cut/m-p/7129730#M3685</link>
      <description>&lt;P&gt;Is there a way to shutdown the Lefthand via Script with SSH if the power cuts off? I am using Eaton UPS.&amp;nbsp;&lt;BR /&gt;What would you write into the script for automatical shutdown if the power cuts off?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 15:16:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-vmware/p4300-g2-shutdown-script-via-ssh-if-you-get-power-cut/m-p/7129730#M3685</guid>
      <dc:creator>Alp_Just</dc:creator>
      <dc:date>2021-04-13T15:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: P4300 G2 shutdown Script via SSH if you get power cut</title>
      <link>https://community.hpe.com/t5/operating-system-vmware/p4300-g2-shutdown-script-via-ssh-if-you-get-power-cut/m-p/7130274#M3692</link>
      <description>&lt;P style="margin: 0;"&gt;&lt;a href="https://community.hpe.com/t5/user/viewprofilepage/user-id/2039395"&gt;@Alp_Just&lt;/a&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;There are no scripts available for StoreVirtual.&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;But you can use write scripts which use the cliq to do the commands like shutdown.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Apr 2021 21:23:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-vmware/p4300-g2-shutdown-script-via-ssh-if-you-get-power-cut/m-p/7130274#M3692</guid>
      <dc:creator>Rachna-K</dc:creator>
      <dc:date>2021-04-16T21:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: P4300 G2 shutdown Script via SSH if you get power cut</title>
      <link>https://community.hpe.com/t5/operating-system-vmware/p4300-g2-shutdown-script-via-ssh-if-you-get-power-cut/m-p/7130351#M3693</link>
      <description>&lt;P&gt;Do you have maybe another SSH script for shutdown or smth like that? Just to have the right command.&lt;BR /&gt;Or could you maybe at least tell me the right command for shutting it down? Is there the possibility to connect on it via SSH? If yes, which version?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;</description>
      <pubDate>Mon, 19 Apr 2021 13:51:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-vmware/p4300-g2-shutdown-script-via-ssh-if-you-get-power-cut/m-p/7130351#M3693</guid>
      <dc:creator>Alp_Just</dc:creator>
      <dc:date>2021-04-19T13:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: P4300 G2 shutdown Script via SSH if you get power cut</title>
      <link>https://community.hpe.com/t5/operating-system-vmware/p4300-g2-shutdown-script-via-ssh-if-you-get-power-cut/m-p/7130539#M3695</link>
      <description>&lt;P style="margin: 0;"&gt;&lt;a href="https://community.hpe.com/t5/user/viewprofilepage/user-id/2039395"&gt;@Alp_Just&lt;/a&gt;&lt;/P&gt;&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0;"&gt;We can run the shutdown command through SSH. However, we (Support Team) need to generate one time passwords to log into root.&lt;/P&gt;&lt;P style="margin: 0;"&gt;We can shutdown the Node through Cliq. Below are the steps for the same.&lt;/P&gt;&lt;P style="margin: 0;"&gt;1. Open a Putty Session&lt;/P&gt;&lt;P style="margin: 0;"&gt;2. Enter the IP Address of the Node on Port 16022&lt;/P&gt;&lt;P style="margin: 0;"&gt;3. Run the following Command:&lt;/P&gt;&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0;"&gt;Syntax&lt;BR /&gt;shutdownNsm {login=} { userName= passWord= | groupName= } {action=} [delay=]&lt;BR /&gt;Parameters&lt;BR /&gt;Name Description&lt;BR /&gt;The IP addresses or DNS-resolvable names of one or more storage&lt;BR /&gt;systems.&lt;BR /&gt;{login}&lt;BR /&gt;The authentication user name for the storage system. If you use this&lt;BR /&gt;parameter, you must include the passWord parameter with it. Or, you can&lt;BR /&gt;use the groupName parameter instead of userName and passWord.&lt;BR /&gt;{userName}&lt;BR /&gt;The name of the management group. Use this parameter if you do not use&lt;BR /&gt;the userName and passWord parameters. Because groupName has&lt;BR /&gt;{groupName}&lt;BR /&gt;cached credentials, it does not require the userName and passWord&lt;BR /&gt;parameters.&lt;BR /&gt;The password for the storage system. Required when the userName&lt;BR /&gt;parameter is used.&lt;BR /&gt;{passWord}&lt;BR /&gt;The operation to perform. Values are Shutdown—Powers off the storage&lt;BR /&gt;system, Restart—Reboots the storage system, and Cancel—Cancels a&lt;BR /&gt;restart or shutdown, if pending.&lt;BR /&gt;{action}&lt;BR /&gt;[delay] The number of minutes to delay prior to shutdown or restart (defaults to 0).&lt;/P&gt;&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0;"&gt;CAUTION:&lt;BR /&gt;• Shutting down a storage node may cause loss of access to volumes or degrade performance.&lt;BR /&gt;• This command will display a prompt, requiring confirmation before proceeding. This prompt&lt;BR /&gt;may be overridden with an optional prompt=0 parameter on the command line; in this case,&lt;BR /&gt;the command will always run without pausing for confirmation.&lt;/P&gt;&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jun 2021 17:31:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-vmware/p4300-g2-shutdown-script-via-ssh-if-you-get-power-cut/m-p/7130539#M3695</guid>
      <dc:creator>Rachna-K</dc:creator>
      <dc:date>2021-06-24T17:31:14Z</dc:date>
    </item>
  </channel>
</rss>

