<?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: How do I use HP 3PAR cli commands? in HPE 3PAR StoreServ Storage</title>
    <link>https://community.hpe.com/t5/hpe-3par-storeserv-storage/how-do-i-use-hp-3par-cli-commands/m-p/5527029#M181</link>
    <description>&lt;P&gt;Dennis:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;that's great news!&amp;nbsp; but if I run "cli shownode" or just "shownode" how do I specify the Array IP address, my username and my password?&amp;nbsp; Do i stick it in the command?&amp;nbsp; &amp;nbsp;Is there some kind of "environmnet setup"?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Stuart&lt;/P&gt;</description>
    <pubDate>Thu, 02 Feb 2012 22:14:31 GMT</pubDate>
    <dc:creator>StuartA46</dc:creator>
    <dc:date>2012-02-02T22:14:31Z</dc:date>
    <item>
      <title>How do I use HP 3PAR cli commands?</title>
      <link>https://community.hpe.com/t5/hpe-3par-storeserv-storage/how-do-i-use-hp-3par-cli-commands/m-p/5526999#M179</link>
      <description>&lt;P&gt;All:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1st, am I in the correct Forum?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2nd, question: &amp;nbsp;I'm used to EMC symcli and naviseccli, where you just issue the command you want, and then you "awk" or "grep" the output as you see fit. &amp;nbsp;On the 3PAR, apparently, you issue the command "cli", then you get a "cli prompt" then you execute your commands. &amp;nbsp;How do you run "scripts" of commands, with "awk" and "grep", etc?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anybody have a simple example of a 3PAR script session they can show me?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Stuart&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2012 21:37:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-3par-storeserv-storage/how-do-i-use-hp-3par-cli-commands/m-p/5526999#M179</guid>
      <dc:creator>StuartA46</dc:creator>
      <dc:date>2012-02-02T21:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use HP 3PAR cli commands?</title>
      <link>https://community.hpe.com/t5/hpe-3par-storeserv-storage/how-do-i-use-hp-3par-cli-commands/m-p/5527023#M180</link>
      <description>&lt;P&gt;&amp;gt;am I in the correct Forum?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(I've asked the topic to be moved to SAN enterprise.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;On the 3PAR, apparently, you issue the command "cli", then you get a "cli prompt" then you execute your commands. &amp;nbsp;How do you run "scripts" of commands, with "awk" and "grep", etc?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can invoke cli in several ways.&lt;/P&gt;&lt;P&gt;1) Invoke the cli shell and do several commands, as you did.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) Invoke cli with the command on the command line:&lt;/P&gt;&lt;P&gt;cli shownode&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) Or invoke the command directly as "shownode", which basically does 2).&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2012 21:56:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-3par-storeserv-storage/how-do-i-use-hp-3par-cli-commands/m-p/5527023#M180</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2012-02-02T21:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use HP 3PAR cli commands?</title>
      <link>https://community.hpe.com/t5/hpe-3par-storeserv-storage/how-do-i-use-hp-3par-cli-commands/m-p/5527029#M181</link>
      <description>&lt;P&gt;Dennis:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;that's great news!&amp;nbsp; but if I run "cli shownode" or just "shownode" how do I specify the Array IP address, my username and my password?&amp;nbsp; Do i stick it in the command?&amp;nbsp; &amp;nbsp;Is there some kind of "environmnet setup"?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Stuart&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2012 22:14:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-3par-storeserv-storage/how-do-i-use-hp-3par-cli-commands/m-p/5527029#M181</guid>
      <dc:creator>StuartA46</dc:creator>
      <dc:date>2012-02-02T22:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use HP 3PAR cli commands?</title>
      <link>https://community.hpe.com/t5/hpe-3par-storeserv-storage/how-do-i-use-hp-3par-cli-commands/m-p/5527053#M182</link>
      <description>&lt;P&gt;&amp;gt;if I run "cli shownode" or just "shownode" how do I specify the Array IP address, my username and my password?&amp;nbsp; Do I stick it in the command?&amp;nbsp; Is there some kind of "environment setup"?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Two ways:&lt;/P&gt;&lt;P&gt;1) export&amp;nbsp;TPDSYSNAME &amp;amp; TPDPWFILE&lt;/P&gt;&lt;P&gt;2) Use the -sys &amp;amp; –pwf options.&amp;nbsp; (Or&amp;nbsp;–user &amp;amp;&amp;nbsp;–password instead of -pwf.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See cli command page 70.&lt;/P&gt;&lt;P&gt;See setpassword command page 310 to create the -pwf file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3.2.1 CLI ref manual:&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://h20566.www2.hp.com/hpsc/doc/public/display?sp4ts.oid=5044394&amp;amp;docId=emr_na-c04204279&amp;amp;docLocale=en_US"&gt;http://h20566.www2.hp.com/hpsc/doc/public/display?sp4ts.oid=5044394&amp;amp;docId=emr_na-c04204279&amp;amp;docLocale=en_US&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 01 Mar 2015 00:23:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-3par-storeserv-storage/how-do-i-use-hp-3par-cli-commands/m-p/5527053#M182</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2015-03-01T00:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use HP 3PAR cli commands?</title>
      <link>https://community.hpe.com/t5/hpe-3par-storeserv-storage/how-do-i-use-hp-3par-cli-commands/m-p/5527675#M183</link>
      <description>&lt;P&gt;Dennis:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp; I will try this today.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Stuart&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2012 15:02:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-3par-storeserv-storage/how-do-i-use-hp-3par-cli-commands/m-p/5527675#M183</guid>
      <dc:creator>StuartA46</dc:creator>
      <dc:date>2012-02-03T15:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use HP 3PAR cli commands?</title>
      <link>https://community.hpe.com/t5/hpe-3par-storeserv-storage/how-do-i-use-hp-3par-cli-commands/m-p/5530461#M184</link>
      <description>&lt;P&gt;Note: If you have more than one array, you need a separate password file for each, even if they have the same username and password.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2012 15:52:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-3par-storeserv-storage/how-do-i-use-hp-3par-cli-commands/m-p/5530461#M184</guid>
      <dc:creator>Sheldon Smith</dc:creator>
      <dc:date>2012-02-06T15:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use HP 3PAR cli commands?</title>
      <link>https://community.hpe.com/t5/hpe-3par-storeserv-storage/how-do-i-use-hp-3par-cli-commands/m-p/5535819#M185</link>
      <description>&lt;P&gt;&amp;gt;you need a separate password file for each, even if they have the same username and password.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You're right for a normal user name.&amp;nbsp; And it also fails if you delete and recreate the same user.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2012 23:50:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-3par-storeserv-storage/how-do-i-use-hp-3par-cli-commands/m-p/5535819#M185</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2012-02-08T23:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use HP 3PAR cli commands?</title>
      <link>https://community.hpe.com/t5/hpe-3par-storeserv-storage/how-do-i-use-hp-3par-cli-commands/m-p/5544273#M186</link>
      <description>&lt;P&gt;&amp;gt;If you have more than one array, you need a separate password file for each, even if they have the same username and password.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is an obvious solution to this.&amp;nbsp; :-)&lt;/P&gt;&lt;P&gt;1) On the first machine use createuser&lt;/P&gt;&lt;P&gt;2) Then login to that user and use setpassword -saveonly -file file1&lt;/P&gt;&lt;P&gt;3) Look inside file1 to get the encrypted password&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then on other machines, use:&lt;/P&gt;&lt;P&gt;createuser -e encrypted-password ...&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2012 23:49:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-3par-storeserv-storage/how-do-i-use-hp-3par-cli-commands/m-p/5544273#M186</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2012-02-08T23:49:47Z</dc:date>
    </item>
  </channel>
</rss>

