<?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: Problems with PSToolkit in HPE Primera Storage</title>
    <link>https://community.hpe.com/t5/hpe-primera-storage/problems-with-pstoolkit/m-p/7133195#M110</link>
    <description>&lt;P&gt;Hello Apol,&lt;/P&gt;&lt;P&gt;I couldn't completely get the procedure you are following. However please check if the below linked document is useful for you.&lt;/P&gt;&lt;P&gt;PS toolkit for Primera and 3PAR - userguide - &lt;A href="https://support.hpe.com/hpesc/public/docDisplay?docLocale=en_US&amp;amp;docId=a00085686en_us" target="_blank"&gt;https://support.hpe.com/hpesc/public/docDisplay?docLocale=en_US&amp;amp;docId=a00085686en_us&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Srinivas Bhat&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you feel this was helpful please click the&amp;nbsp;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;KUDOS!&lt;/STRONG&gt;&lt;/FONT&gt;&amp;nbsp;thumb below!&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 07 May 2021 15:09:47 GMT</pubDate>
    <dc:creator>sbhat09</dc:creator>
    <dc:date>2021-05-07T15:09:47Z</dc:date>
    <item>
      <title>Problems with PSToolkit</title>
      <link>https://community.hpe.com/t5/hpe-primera-storage/problems-with-pstoolkit/m-p/7133133#M109</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi, I'm trying to get used to the Powershell Toolkit Wrapper for WSAPI.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All CmdLets that Get stuff work, but I'm completely unable to change or create something on my arrays. Yes, I tried another user: 3paradm and my LDAP/AD User with super rights both have the same problem: All update- und new-cmdlets return&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;FAILURE : While creating Host:testhost02&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;or&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FAILURE : While Updating Host : testhost01.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;or&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FAILURE : While Updating Host Set: testhostset&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried wrapping host- or host set names in "", but that does not help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anybody use the PSToolkit V3 on a Primera (4.2.2)? Any ideas what's going wrong here?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 May 2021 10:48:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-primera-storage/problems-with-pstoolkit/m-p/7133133#M109</guid>
      <dc:creator>apol</dc:creator>
      <dc:date>2021-05-07T10:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with PSToolkit</title>
      <link>https://community.hpe.com/t5/hpe-primera-storage/problems-with-pstoolkit/m-p/7133195#M110</link>
      <description>&lt;P&gt;Hello Apol,&lt;/P&gt;&lt;P&gt;I couldn't completely get the procedure you are following. However please check if the below linked document is useful for you.&lt;/P&gt;&lt;P&gt;PS toolkit for Primera and 3PAR - userguide - &lt;A href="https://support.hpe.com/hpesc/public/docDisplay?docLocale=en_US&amp;amp;docId=a00085686en_us" target="_blank"&gt;https://support.hpe.com/hpesc/public/docDisplay?docLocale=en_US&amp;amp;docId=a00085686en_us&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Srinivas Bhat&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you feel this was helpful please click the&amp;nbsp;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;KUDOS!&lt;/STRONG&gt;&lt;/FONT&gt;&amp;nbsp;thumb below!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 May 2021 15:09:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-primera-storage/problems-with-pstoolkit/m-p/7133195#M110</guid>
      <dc:creator>sbhat09</dc:creator>
      <dc:date>2021-05-07T15:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with PSToolkit</title>
      <link>https://community.hpe.com/t5/hpe-primera-storage/problems-with-pstoolkit/m-p/7133240#M111</link>
      <description>&lt;P&gt;Hi, thank you. But: this does not solve my problem, I already use this guide.&lt;/P&gt;&lt;P&gt;My procedure:&lt;/P&gt;&lt;P&gt;PS&amp;gt; Import-Module &amp;lt;path to pstoolkit&amp;gt;&lt;/P&gt;&lt;P&gt;PS&amp;gt; $connection = New-WSAPIConnection -ArrayFQDNorIPAddress &amp;lt;primera_ip&amp;gt; -SANUserName 3paradm -SANPassword &amp;lt;PWfor3paradm&amp;gt; -Arraytype primera&lt;/P&gt;&lt;P&gt;Cmdlet executed successfully&lt;/P&gt;&lt;P&gt;PS&amp;gt; Get-Host_WSAPI -HostName &amp;lt;hostname&amp;gt; -WsapiConnection $connection&lt;/P&gt;&lt;P&gt;Cmdlet executed successfully&lt;BR /&gt;&amp;lt;host-Data here&amp;gt;&lt;/P&gt;&lt;P&gt;PS&amp;gt; Update-Host_WSAPI -HostName &amp;lt;hostname&amp;gt; -NewName &amp;lt;unused_new_hostname&amp;gt; -WsapiConnection $connection&lt;/P&gt;&lt;P&gt;FAILURE : While Updating Host : MEINTESTHOST1003.&lt;/P&gt;&lt;P&gt;Same for ALL other cmdlets that change something. All Get-cmdlets work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 08 May 2021 05:37:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-primera-storage/problems-with-pstoolkit/m-p/7133240#M111</guid>
      <dc:creator>apol</dc:creator>
      <dc:date>2021-05-08T05:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with PSToolkit</title>
      <link>https://community.hpe.com/t5/hpe-primera-storage/problems-with-pstoolkit/m-p/7133313#M112</link>
      <description>&lt;P&gt;I tried creating new hosts (resulting in a POST request), editing an existing host (resulting in a PU request), addig a host to a host set and removing a host from a host set. In the WSAPI log file, there's always the same error:&lt;/P&gt;&lt;P&gt;05/07/2021 12:34:10 DEBUG: Running: Creation of the body hash&lt;BR /&gt;05/07/2021 12:34:10 DEBUG: Request: Request Invoke-3parWSAPI URL : /hosts TYPE : POST&lt;BR /&gt;05/07/2021 12:34:10 DEBUG: Running: Constructing header.&lt;BR /&gt;05/07/2021 12:34:10 DEBUG: Request: Invoke-WebRequest for Data, Request Type : POST&lt;BR /&gt;05/07/2021 12:34:10 DEBUG: Stop: Exception Occurs&lt;BR /&gt;05/07/2021 12:34:10 DEBUG: End: Show-RequestException&lt;BR /&gt;05/07/2021 12:34:10 INFO: FAILURE : While creating Host:&amp;lt;new_hostname&amp;gt;&lt;/P&gt;&lt;P&gt;05/07/2021 12:32:37 DEBUG: Running: Creation of the body hash&lt;BR /&gt;05/07/2021 12:32:37 DEBUG: Request: Request to Update-Host_WSAPI(Invoke-3parWSAPI).&lt;BR /&gt;05/07/2021 12:32:37 DEBUG: Request: Request Invoke-3parWSAPI URL : /hosts/&amp;lt;existing_hostname&amp;gt; TYPE : PUT&lt;BR /&gt;05/07/2021 12:32:37 DEBUG: Running: Constructing header.&lt;BR /&gt;05/07/2021 12:32:37 DEBUG: Request: Invoke-WebRequest for Data, Request Type : PUT&lt;BR /&gt;05/07/2021 12:32:37 DEBUG: Stop: Exception Occurs&lt;BR /&gt;05/07/2021 12:32:37 DEBUG: End: Show-RequestException&lt;BR /&gt;05/07/2021 12:32:37 INFO: FAILURE : Updating Host : &amp;lt;existing_hostname&amp;gt;.&lt;/P&gt;</description>
      <pubDate>Sat, 08 May 2021 11:30:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-primera-storage/problems-with-pstoolkit/m-p/7133313#M112</guid>
      <dc:creator>apol</dc:creator>
      <dc:date>2021-05-08T11:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with PSToolkit</title>
      <link>https://community.hpe.com/t5/hpe-primera-storage/problems-with-pstoolkit/m-p/7133865#M113</link>
      <description>&lt;P&gt;This seems to be a bug in the WSAPI CmdLets&amp;nbsp; of the PSToolkit 3.0 release. I downloaded latest master from the github project's site, and it works with that one. It's still called 3.0 (Get-Module says so).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Still broken in this version for WSAPI CmdLets:&lt;/P&gt;&lt;P&gt;Descriptors of existing hosts can't be changed (comment and os)&lt;/P&gt;&lt;P&gt;Manual is a mess&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 05:43:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-primera-storage/problems-with-pstoolkit/m-p/7133865#M113</guid>
      <dc:creator>apol</dc:creator>
      <dc:date>2021-05-12T05:43:08Z</dc:date>
    </item>
  </channel>
</rss>

