<?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: MSA 2050 Scripting Question in MSA Storage</title>
    <link>https://community.hpe.com/t5/msa-storage/msa-2050-scripting-question/m-p/7126030#M14552</link>
    <description>&lt;P&gt;Hello AnrunKKR,&lt;/P&gt;&lt;P&gt;Yes, I am aware of the guide and need to use XML scripting. I was looking for some examples. It is unfortunate that HPE MSA supports CLI commands only from an interactive session. For example, I can issue command "show pools" through a PuTTy interactive session, but when this same command is launched from plink, it generates a cumbersome XML report that's difficult to manipulate through Power Shell.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently, we leverage Power Shell to extract metrics from two VNX arrays, two Isilon and one 3PAR.&lt;/P&gt;&lt;P&gt;We also have the 3 MSA systems that will now require scripting in XML.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Wed, 17 Mar 2021 16:53:18 GMT</pubDate>
    <dc:creator>palmero</dc:creator>
    <dc:date>2021-03-17T16:53:18Z</dc:date>
    <item>
      <title>MSA 2050 Scripting Question</title>
      <link>https://community.hpe.com/t5/msa-storage/msa-2050-scripting-question/m-p/7125660#M14534</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We have 3 MSA's and would like to automate reporting on storage metrics (i.e. raw storage, allocated, free, etc.).&lt;/P&gt;&lt;P&gt;Currently, the process is manual through ssh CLI (Putty) by logging in and issuing the command 'show pools'.&lt;/P&gt;&lt;P&gt;I tried automating this by running plink -ssh with the proper credentials and -batch 'show pools' command. However, the output from plink is in xml which makes it almos unusable for manipulating further with PowerShell.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate any suggestions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Mar 2021 04:52:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/msa-storage/msa-2050-scripting-question/m-p/7125660#M14534</guid>
      <dc:creator>palmero</dc:creator>
      <dc:date>2021-03-16T04:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: MSA 2050 Scripting Question</title>
      <link>https://community.hpe.com/t5/msa-storage/msa-2050-scripting-question/m-p/7126025#M14550</link>
      <description>&lt;P style="margin: 0;"&gt;Hi Palmero,&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;As per MSA Command line guide the output of CLI scripting would always be in XML format.&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;Reference MSA 2050 CLI guide page 15:&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;A href="https://support.hpe.com/hpesc/public/docDisplay?docId=a00017709en_us" target="_blank"&gt;https://support.hpe.com/hpesc/public/docDisplay?docId=a00017709en_us&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;The CLI has two output formats:•Console format, which is the human-to-computer interface (HCI).•XML API format, which is the computer-to-computer interface (CCI).&lt;/P&gt;
&lt;P style="margin: 0;"&gt;Scripting is not supported using console format because labels, field sizes, and order of fields may change in future firmware releases. To properly script CLI commands use XML API format, which is expected to remain consistent from release to release; field names will be consistent and new functionality will be added as new fields.&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;Note: I do not have the expertise with scripting. I am just sharing information from the CLI guide.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Mar 2021 16:27:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/msa-storage/msa-2050-scripting-question/m-p/7126025#M14550</guid>
      <dc:creator>ArunKKR</dc:creator>
      <dc:date>2021-03-17T16:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: MSA 2050 Scripting Question</title>
      <link>https://community.hpe.com/t5/msa-storage/msa-2050-scripting-question/m-p/7126030#M14552</link>
      <description>&lt;P&gt;Hello AnrunKKR,&lt;/P&gt;&lt;P&gt;Yes, I am aware of the guide and need to use XML scripting. I was looking for some examples. It is unfortunate that HPE MSA supports CLI commands only from an interactive session. For example, I can issue command "show pools" through a PuTTy interactive session, but when this same command is launched from plink, it generates a cumbersome XML report that's difficult to manipulate through Power Shell.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently, we leverage Power Shell to extract metrics from two VNX arrays, two Isilon and one 3PAR.&lt;/P&gt;&lt;P&gt;We also have the 3 MSA systems that will now require scripting in XML.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Mar 2021 16:53:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/msa-storage/msa-2050-scripting-question/m-p/7126030#M14552</guid>
      <dc:creator>palmero</dc:creator>
      <dc:date>2021-03-17T16:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: MSA 2050 Scripting Question</title>
      <link>https://community.hpe.com/t5/msa-storage/msa-2050-scripting-question/m-p/7126243#M14557</link>
      <description>&lt;P style="margin: 0;"&gt;Hi Palmero,&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;I do understand your concern&lt;/P&gt;
&lt;P style="margin: 0;"&gt;However, we do not have any suggestions in this regard.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Mar 2021 12:30:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/msa-storage/msa-2050-scripting-question/m-p/7126243#M14557</guid>
      <dc:creator>ArunKKR</dc:creator>
      <dc:date>2021-03-18T12:30:00Z</dc:date>
    </item>
  </channel>
</rss>

