<?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: OVC Shutdown through REST API in HPE SimpliVity</title>
    <link>https://community.hpe.com/t5/hpe-simplivity/ovc-shutdown-through-rest-api/m-p/7053276#M633</link>
    <description>&lt;P&gt;Can you also try using the interactive Rest API to narrow the focus to the probable cause?&lt;/P&gt;</description>
    <pubDate>Tue, 02 Jul 2019 07:56:37 GMT</pubDate>
    <dc:creator>LiamP</dc:creator>
    <dc:date>2019-07-02T07:56:37Z</dc:date>
    <item>
      <title>OVC Shutdown through REST API</title>
      <link>https://community.hpe.com/t5/hpe-simplivity/ovc-shutdown-through-rest-api/m-p/7053203#M630</link>
      <description>&lt;P&gt;To get it out of the way my scripting skills are not the best.&lt;/P&gt;&lt;P&gt;With that taken care of I was wondering if anyone has worked with the Simplivity REST API to shutdown the OVC's in a cluster.&amp;nbsp; We are trying to script shutting down all resources in a certain cluster for emergency events such as a building power outage.&amp;nbsp; I'm able to successfully shutdown the 1st OVC but I am unable to shutdown the 2nd OVC in our cluster because of the need to do a force shutdown for HA sync.&amp;nbsp; Below is a snippet of the code where I'm telling it to not wait for HA.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$body1 = @{'ha_wait' = 'false'}&lt;BR /&gt;$body1 = $body1 | ConvertTo-Json&lt;/P&gt;&lt;P&gt;$url = $BASE_URL+'hosts/' + $uid + '/shutdown_virtual_controller'&lt;BR /&gt;Invoke-RestMethod -ContentType 'application/vnd.simplivity.v1+json' -Uri $url -Header $header -Body $body1 -Method Post&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The result I get with this is shutdown_status&amp;nbsp;@{status=FAILURE}&lt;/P&gt;&lt;P&gt;If I set 'ha_wait' = 'true' then the 2nd OVC will start to shutdown but it never gets past the Wait for HA storage Compliance.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2019 19:55:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-simplivity/ovc-shutdown-through-rest-api/m-p/7053203#M630</guid>
      <dc:creator>bbelew</dc:creator>
      <dc:date>2019-07-01T19:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: OVC Shutdown through REST API</title>
      <link>https://community.hpe.com/t5/hpe-simplivity/ovc-shutdown-through-rest-api/m-p/7053265#M632</link>
      <description>&lt;P&gt;The normal procedure without using the RestAPI, is to use the force flag after the first OVC has powered off, so the same should apply when scripting.&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.hpe.com/hpsc/doc/public/display?docId=emr_na-sv11955en_us&amp;amp;docLocale=en_US" target="_blank" rel="noopener"&gt;https://support.hpe.com/hpsc/doc/public/display?docId=emr_na-sv11955en_us&amp;amp;docLocale=en_US&lt;/A&gt;&lt;/P&gt;&lt;P&gt;What version of HPe SimpliVity software are you running?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2019 07:19:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-simplivity/ovc-shutdown-through-rest-api/m-p/7053265#M632</guid>
      <dc:creator>LiamP</dc:creator>
      <dc:date>2019-07-02T07:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: OVC Shutdown through REST API</title>
      <link>https://community.hpe.com/t5/hpe-simplivity/ovc-shutdown-through-rest-api/m-p/7053276#M633</link>
      <description>&lt;P&gt;Can you also try using the interactive Rest API to narrow the focus to the probable cause?&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2019 07:56:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-simplivity/ovc-shutdown-through-rest-api/m-p/7053276#M633</guid>
      <dc:creator>LiamP</dc:creator>
      <dc:date>2019-07-02T07:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: OVC Shutdown through REST API</title>
      <link>https://community.hpe.com/t5/hpe-simplivity/ovc-shutdown-through-rest-api/m-p/7053315#M634</link>
      <description>&lt;P&gt;We are on version 3.7.8.&lt;/P&gt;&lt;P&gt;Yeah if I do a force shutdown through the GUI or command line using svt-shutdown-force it shuts down fine.&lt;/P&gt;&lt;P&gt;I also did try through the interactive Rest API and set ha_wait: false but I get the same error of shutdown_status = FAILURE.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2019 12:26:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-simplivity/ovc-shutdown-through-rest-api/m-p/7053315#M634</guid>
      <dc:creator>bbelew</dc:creator>
      <dc:date>2019-07-02T12:26:10Z</dc:date>
    </item>
  </channel>
</rss>

