<?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: SSSU shell scripting in Storage Software</title>
    <link>https://community.hpe.com/t5/storage-software/sssu-shell-scripting/m-p/4892893#M526</link>
    <description>The trick for "\\" worked for most of cases, but not with the hostname starting with&lt;BR /&gt;"n", "t", "a", "f", because &lt;BR /&gt;"\n","\t","\a","\f" are escape characters.&lt;BR /&gt;It happened that I have two hosts with names&lt;BR /&gt;starting with "a" and "f". I guess the solution&lt;BR /&gt;is to "hard coded" them into the script.&lt;BR /&gt;&lt;BR /&gt;Thanks to all.&lt;BR /&gt;&lt;BR /&gt;Lan</description>
    <pubDate>Mon, 28 Mar 2005 09:23:34 GMT</pubDate>
    <dc:creator>Lan_4</dc:creator>
    <dc:date>2005-03-28T09:23:34Z</dc:date>
    <item>
      <title>SSSU shell scripting</title>
      <link>https://community.hpe.com/t5/storage-software/sssu-shell-scripting/m-p/4892889#M522</link>
      <description>&lt;P&gt;I am making a shell script run sssu.&lt;BR /&gt;The script looks like this:&lt;BR /&gt;SNAP=...&lt;BR /&gt;HOST=...&lt;BR /&gt;sssu &amp;lt;select manager ... username=administrator password=administrator&lt;BR /&gt;select cell ...&lt;BR /&gt;add lun 3 vdisk="$SNAP" host="\Hosts\${HOST}"&lt;BR /&gt;exit&lt;BR /&gt;EOF&lt;BR /&gt;&lt;BR /&gt;I am having troule with those "\" in the name&lt;BR /&gt;of host. Is there a better way to preserve the&lt;BR /&gt;real meaning of "\", don't try it as a special&lt;BR /&gt;character.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;Lan&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;P.S. This thread has been moved&amp;nbsp;from Disk array to HP Storage System Scripting Utility (SSSU). - Hp Forum MOderator&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2014 07:28:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/storage-software/sssu-shell-scripting/m-p/4892889#M522</guid>
      <dc:creator>Lan_4</dc:creator>
      <dc:date>2014-02-17T07:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: SSSU shell scripting</title>
      <link>https://community.hpe.com/t5/storage-software/sssu-shell-scripting/m-p/4892890#M523</link>
      <description>Yes, isn't it great that they designed it that way? Can you escape the \ using \\ in the symbol assign?</description>
      <pubDate>Fri, 25 Mar 2005 15:11:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/storage-software/sssu-shell-scripting/m-p/4892890#M523</guid>
      <dc:creator>Tom O'Toole</dc:creator>
      <dc:date>2005-03-25T15:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: SSSU shell scripting</title>
      <link>https://community.hpe.com/t5/storage-software/sssu-shell-scripting/m-p/4892891#M524</link>
      <description>Tried. &lt;BR /&gt;like, host="\\Hosts\\${HOST}"&lt;BR /&gt;It did not work.&lt;BR /&gt;Thanks.&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Mar 2005 15:18:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/storage-software/sssu-shell-scripting/m-p/4892891#M524</guid>
      <dc:creator>Lan_4</dc:creator>
      <dc:date>2005-03-25T15:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: SSSU shell scripting</title>
      <link>https://community.hpe.com/t5/storage-software/sssu-shell-scripting/m-p/4892892#M525</link>
      <description>One problem with your original is that the \$ prevents ${HOST} from being evaluated.&lt;BR /&gt; &lt;BR /&gt;Did you try:&lt;BR /&gt;(notice the 2 \\ before $)&lt;BR /&gt; &lt;BR /&gt;HOST=yoyo&lt;BR /&gt;SNAP=vol1&lt;BR /&gt;cat &amp;lt;&lt;EOF&gt;&lt;/EOF&gt;select manager ... username=administrator password=administrator&lt;BR /&gt;select cell ...&lt;BR /&gt;add lun 3 vdisk="$SNAP" host="\Hosts\\${HOST}"&lt;BR /&gt;exit&lt;BR /&gt;EOF&lt;BR /&gt; &lt;BR /&gt;which produces:&lt;BR /&gt; &lt;BR /&gt;select manager ... username=administrator password=administrator&lt;BR /&gt;select cell ...&lt;BR /&gt;add lun 3 vdisk="vol1" host="\Hosts\yoyo"&lt;BR /&gt;exit&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;I had to use 'cat' because I don't have access to SSSU right now.&lt;BR /&gt; &lt;BR /&gt;hth&lt;BR /&gt;bv</description>
      <pubDate>Sun, 27 Mar 2005 08:47:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/storage-software/sssu-shell-scripting/m-p/4892892#M525</guid>
      <dc:creator>Bob_Vance</dc:creator>
      <dc:date>2005-03-27T08:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: SSSU shell scripting</title>
      <link>https://community.hpe.com/t5/storage-software/sssu-shell-scripting/m-p/4892893#M526</link>
      <description>The trick for "\\" worked for most of cases, but not with the hostname starting with&lt;BR /&gt;"n", "t", "a", "f", because &lt;BR /&gt;"\n","\t","\a","\f" are escape characters.&lt;BR /&gt;It happened that I have two hosts with names&lt;BR /&gt;starting with "a" and "f". I guess the solution&lt;BR /&gt;is to "hard coded" them into the script.&lt;BR /&gt;&lt;BR /&gt;Thanks to all.&lt;BR /&gt;&lt;BR /&gt;Lan</description>
      <pubDate>Mon, 28 Mar 2005 09:23:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/storage-software/sssu-shell-scripting/m-p/4892893#M526</guid>
      <dc:creator>Lan_4</dc:creator>
      <dc:date>2005-03-28T09:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: SSSU shell scripting</title>
      <link>https://community.hpe.com/t5/storage-software/sssu-shell-scripting/m-p/4892894#M527</link>
      <description>Thanks.</description>
      <pubDate>Mon, 28 Mar 2005 09:31:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/storage-software/sssu-shell-scripting/m-p/4892894#M527</guid>
      <dc:creator>Lan_4</dc:creator>
      <dc:date>2005-03-28T09:31:55Z</dc:date>
    </item>
  </channel>
</rss>

