<?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: run sssu comands on linux system. in Storage Software</title>
    <link>https://community.hpe.com/t5/storage-software/run-sssu-comands-on-linux-system/m-p/3595409#M591</link>
    <description>Corect, I have not seen the documentation that you are talking about, but a redirect &amp;lt; gives the script file to execute and if you follow up with a redirect &amp;gt; to a file you can also capture the output.&lt;BR /&gt;&lt;BR /&gt;If the last command in the script is not exit it will display an error with unexpected end of file or something along those lines.</description>
    <pubDate>Tue, 09 Aug 2005 05:22:56 GMT</pubDate>
    <dc:creator>Thorsten Herd</dc:creator>
    <dc:date>2005-08-09T05:22:56Z</dc:date>
    <item>
      <title>run sssu comands on linux system.</title>
      <link>https://community.hpe.com/t5/storage-software/run-sssu-comands-on-linux-system/m-p/3595406#M588</link>
      <description>&lt;P&gt;Hello.&lt;BR /&gt;&lt;BR /&gt;I am trying to run sssu script on linux with&lt;BR /&gt;no success.&lt;BR /&gt;&lt;BR /&gt;if i run: /usr/sbin/sssu "file /tmp/sssusanp.txt"&lt;BR /&gt;the sssu run with no problem at all, but if i &lt;BR /&gt;put this command into simple shell script &amp;amp; run the script it's fail :&lt;BR /&gt;&lt;BR /&gt;the script do the sssu command , give me the prompt of unselectedsystem&amp;gt; file &lt;BR /&gt;&amp;amp; then fail with something wrong with syntax.&lt;BR /&gt;&lt;BR /&gt;Create-snap script:&lt;BR /&gt;&lt;BR /&gt;/usr/sbin/sssu "file /tmp/sssusnap.txt"&lt;BR /&gt;/opt/hp/hp_fibreutils/hp_rescan -a&lt;BR /&gt;mount -t ext3 /dev/sde1 /snap_vd1_db1&lt;BR /&gt;mount -t ext3 /dev/sdf1 /snap_vd2_db2&lt;BR /&gt;mount -t ext3 /dev/sdg1 /snap_vd3_db3&lt;BR /&gt;exit&lt;BR /&gt;&lt;BR /&gt;sssusnap.txt:&lt;BR /&gt;&lt;BR /&gt;set options on_error=halt_on_error&lt;BR /&gt;set options command_delay=10&lt;BR /&gt;select manager 10.0.4.40 username=administrator password=administrator&lt;BR /&gt;select cell "OUR_EVA"&lt;BR /&gt;ADD SNAPSHOT SNAP_VD_1 STORAGE="\Virtual Disks\WISE-RAC\VD-WISE-RAC-1\ACTIVE" ALLOCATION_POLICY=DEMAND&lt;BR /&gt;ADD SNAPSHOT SNAP_VD_2 STORAGE="\Virtual Disks\WISE-RAC\VD-WISE-RAC-2\ACTIVE" ALLOCATION_POLICY=DEMAND&lt;BR /&gt;ADD SNAPSHOT SNAP_VD_3 STORAGE="\Virtual Disks\WISE-RAC\VD-WISE-RAC-3\ACTIVE" ALLOCATION_POLICY=DEMAND&lt;BR /&gt;ADD LUN 5 STORAGE="\Virtual Disks\WISE-RAC\VD-WISE-RAC-1\SNAP_VD_1" HOST="\Hosts\WiseDEVDB1"&lt;BR /&gt;ADD LUN 6 STORAGE="\Virtual Disks\WISE-RAC\VD-WISE-RAC-2\SNAP_VD_2" HOST="\Hosts\WiseDEVDB1"&lt;BR /&gt;ADD LUN 7 STORAGE="\Virtual Disks\WISE-RAC\VD-WISE-RAC-3\SNAP_VD_3" HOST="\Hosts\WiseDEVDB1"&lt;BR /&gt;EXIT&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Any Hints how should i run the script ??&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;Shalom.&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 Storage Area Networks (SAN) (Enterprise) to HP Storage System Scripting Utility (SSSU). - Hp Forum MOderator&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2014 07:56:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/storage-software/run-sssu-comands-on-linux-system/m-p/3595406#M588</guid>
      <dc:creator>klemerS</dc:creator>
      <dc:date>2014-02-17T07:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: run sssu comands on linux system.</title>
      <link>https://community.hpe.com/t5/storage-software/run-sssu-comands-on-linux-system/m-p/3595407#M589</link>
      <description>Hi I think you are just missing the redirect and full path&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;/opt/..../sssu &amp;lt; /../../scriptfile&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;we use this on linux and solaris, with similar syntax in the sssu script file&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Aug 2005 07:45:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/storage-software/run-sssu-comands-on-linux-system/m-p/3595407#M589</guid>
      <dc:creator>Thorsten Herd</dc:creator>
      <dc:date>2005-08-04T07:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: run sssu comands on linux system.</title>
      <link>https://community.hpe.com/t5/storage-software/run-sssu-comands-on-linux-system/m-p/3595408#M590</link>
      <description>Hi.&lt;BR /&gt;&lt;BR /&gt;So you mean that I should put in redirect of the script file:&lt;BR /&gt;&lt;BR /&gt;/usr/sbin/sssu &amp;lt; /tmp/sssusnap.txt  &lt;BR /&gt;&lt;BR /&gt;&amp;amp; not as i tried from the sssu docs -&lt;BR /&gt;&lt;BR /&gt;/usr/sbin/sssu "file /tmp/sssusnap.txt"&lt;BR /&gt;&lt;BR /&gt;Regards.&lt;BR /&gt;&lt;BR /&gt;Shalom.</description>
      <pubDate>Thu, 04 Aug 2005 08:46:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/storage-software/run-sssu-comands-on-linux-system/m-p/3595408#M590</guid>
      <dc:creator>klemerS</dc:creator>
      <dc:date>2005-08-04T08:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: run sssu comands on linux system.</title>
      <link>https://community.hpe.com/t5/storage-software/run-sssu-comands-on-linux-system/m-p/3595409#M591</link>
      <description>Corect, I have not seen the documentation that you are talking about, but a redirect &amp;lt; gives the script file to execute and if you follow up with a redirect &amp;gt; to a file you can also capture the output.&lt;BR /&gt;&lt;BR /&gt;If the last command in the script is not exit it will display an error with unexpected end of file or something along those lines.</description>
      <pubDate>Tue, 09 Aug 2005 05:22:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/storage-software/run-sssu-comands-on-linux-system/m-p/3595409#M591</guid>
      <dc:creator>Thorsten Herd</dc:creator>
      <dc:date>2005-08-09T05:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: run sssu comands on linux system.</title>
      <link>https://community.hpe.com/t5/storage-software/run-sssu-comands-on-linux-system/m-p/3595410#M592</link>
      <description>Hi Klemer,&lt;BR /&gt;&lt;BR /&gt;here are some pieces of my script from beginnig about my snap.sh;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/ksh&lt;BR /&gt;#set -xv&lt;BR /&gt;&lt;BR /&gt;#2) Yanlis device'in vgimport edilmesi. : N-class'in 3 snap haricindeki disklere ulasimina izin verilmemesi gerekir.&lt;BR /&gt;#                                         WWID kontrolu 11i ile konacak&lt;BR /&gt;&lt;BR /&gt;typeset -i line_count&lt;BR /&gt;typeset -i ExitStatus&lt;BR /&gt;&lt;BR /&gt;export LOGFILE="/HP/LOG/SNAPCLONE.log"&lt;BR /&gt;export DETAIL_LOGFILE="/HP/LOG/SNAPCLONE.detail.log"&lt;BR /&gt;echo "===================================`date`=========================="&amp;gt;&amp;gt;$DETAIL_LOGFILE&lt;BR /&gt;&lt;BR /&gt;export PATH=$PATH:/usr/bin:/usr/sbin:/sbin:/opt/sssu&lt;BR /&gt;#export SSSU_EXECUTABLE="/opt/sssu/sssu"&lt;BR /&gt;export SSSU_EXECUTABLE="/sbin/sssu"&lt;BR /&gt;&lt;BR /&gt;if [ ! -x $SSSU_EXECUTABLE ]; then&lt;BR /&gt;   EchoWithDate "sssu executable'i bulunamadi"&lt;BR /&gt;   exit 1&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;EchoWithDate ()&lt;BR /&gt;{&lt;BR /&gt;  cat &amp;lt;&lt;ECHOWITHDATE&gt;&amp;gt;$LOGFILE&lt;BR /&gt;`date +"%d/%m/%y %H:%M:%S&amp;gt;"`  $1&lt;BR /&gt;ECHOWITHDATE&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;#Eger hata olusursa, hata verilip cikilir&lt;BR /&gt;AddSnapclone_1 () {&lt;BR /&gt;  TEMP_FILE=`mktemp`&lt;BR /&gt;  EchoWithDate "Adding Snapclone baandat_baan02 in \Virtual Disks\BAAN01\baandat\ACTIVE as LUN 40"&lt;BR /&gt;  EchoWithDate "Adding Snapclone archivedat_baan02 in \Virtual Disks\BAAN01\archivedat\ACTIVE as LUN 41"&lt;BR /&gt;&lt;BR /&gt;  $SSSU_EXECUTABLE &amp;gt;$TEMP_FILE 2&amp;gt;&amp;amp;1  &amp;lt;&amp;lt;- EOF&lt;BR /&gt;  select manager EVAmanagement username=administrator password=administrator&lt;BR /&gt;  select cell EVA01&lt;BR /&gt;  set options on_error=exit_on_error&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;&lt;BR /&gt;Good Luck,&lt;BR /&gt;&lt;/ECHOWITHDATE&gt;</description>
      <pubDate>Thu, 11 Aug 2005 06:11:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/storage-software/run-sssu-comands-on-linux-system/m-p/3595410#M592</guid>
      <dc:creator>Cem Tugrul</dc:creator>
      <dc:date>2005-08-11T06:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: run sssu comands on linux system.</title>
      <link>https://community.hpe.com/t5/storage-software/run-sssu-comands-on-linux-system/m-p/3595411#M593</link>
      <description>Thank you !!!!&lt;BR /&gt;&lt;BR /&gt;I will try using the most of it.&lt;BR /&gt;&lt;BR /&gt;Great.</description>
      <pubDate>Thu, 11 Aug 2005 06:22:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/storage-software/run-sssu-comands-on-linux-system/m-p/3595411#M593</guid>
      <dc:creator>klemerS</dc:creator>
      <dc:date>2005-08-11T06:22:01Z</dc:date>
    </item>
  </channel>
</rss>

