<?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: Shell Script Queries.. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-queries/m-p/5177755#M652932</link>
    <description>From the swinstall man page examples section:&lt;BR /&gt;&lt;BR /&gt;Install the C and Pascal products to a set of remote hosts:&lt;BR /&gt;&lt;BR /&gt;swinstall -s sw_server cc pascal @ hostA hostB hostC</description>
    <pubDate>Wed, 27 May 2009 09:38:48 GMT</pubDate>
    <dc:creator>Torsten.</dc:creator>
    <dc:date>2009-05-27T09:38:48Z</dc:date>
    <item>
      <title>Shell Script Queries..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-queries/m-p/5177752#M652929</link>
      <description>Hi&lt;BR /&gt;I have written script to install pkgs on multiple machines &lt;BR /&gt;#./install vin win min&lt;BR /&gt;Here this install script is doing remote installation of pkgs on vin , win &amp;amp; min these machine but one after another only. It is not starting same swinstall command on all machines at a time remotely.&lt;BR /&gt;===============================&lt;BR /&gt;&lt;BR /&gt;CODE I have written ::&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;&lt;BR /&gt;if [ $# -eq 0 ];then&lt;BR /&gt;echo "Atleast one arg as m/c is needed"&lt;BR /&gt;fi&lt;BR /&gt;# pkg1 pkg2 pkg3 are the packages are going to install..&lt;BR /&gt;&lt;BR /&gt;for i in $*&lt;BR /&gt;do&lt;BR /&gt; remsh $i -l root "/usr/sbin/swinstall -x autoreboot=true -s &lt;PATH of="" depot=""&gt;  pkg1 pkg2 pkg2&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PATH&gt;</description>
      <pubDate>Wed, 27 May 2009 09:17:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-queries/m-p/5177752#M652929</guid>
      <dc:creator>Vinayak_HPUX</dc:creator>
      <dc:date>2009-05-27T09:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: Shell Script Queries..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-queries/m-p/5177753#M652930</link>
      <description>From the remsh man page:&lt;BR /&gt;&lt;BR /&gt;"...remsh normally terminates when the remote command does...".&lt;BR /&gt;&lt;BR /&gt;1) send it to background&lt;BR /&gt;&lt;BR /&gt;2) (better) don't use remsh, but swinstall only (with source and target).</description>
      <pubDate>Wed, 27 May 2009 09:29:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-queries/m-p/5177753#M652930</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2009-05-27T09:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: Shell Script Queries..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-queries/m-p/5177754#M652931</link>
      <description>&amp;gt;on all machines at a time remotely.&lt;BR /&gt;&lt;BR /&gt;Did you mean "at the same time"?&lt;BR /&gt;You also may want to use -n so it doesn't eat stdin.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Torsten:  2) but swinstall only (with source and target).&lt;BR /&gt;&lt;BR /&gt;Don't you need an extra product?  HP OpenView Software Distributor</description>
      <pubDate>Wed, 27 May 2009 09:32:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-queries/m-p/5177754#M652931</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-05-27T09:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: Shell Script Queries..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-queries/m-p/5177755#M652932</link>
      <description>From the swinstall man page examples section:&lt;BR /&gt;&lt;BR /&gt;Install the C and Pascal products to a set of remote hosts:&lt;BR /&gt;&lt;BR /&gt;swinstall -s sw_server cc pascal @ hostA hostB hostC</description>
      <pubDate>Wed, 27 May 2009 09:38:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-queries/m-p/5177755#M652932</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2009-05-27T09:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Shell Script Queries..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-queries/m-p/5177756#M652933</link>
      <description>&lt;BR /&gt;With your cmd from manpage I got below error &amp;amp; pkgs not got installed &lt;BR /&gt;&lt;BR /&gt;=======  05/27/09 17:49:28 IST  BEGIN swinstall SESSION&lt;BR /&gt;         (non-interactive) (jobid=hpslia27-0013)&lt;BR /&gt;&lt;BR /&gt;       * Session started for user "root@hpslia27".&lt;BR /&gt;&lt;BR /&gt;       * Beginning Selection&lt;BR /&gt;ERROR:   "vvria05.vxindia.veritas.com:/":  You do not have the required&lt;BR /&gt;         permissions to select this target.  Check permissions using&lt;BR /&gt;         the "swacl" command or see your system administrator for&lt;BR /&gt;         assistance.  Or, to manage applications designed and packaged&lt;BR /&gt;         for nonprivileged mode, see the "run_as_superuser" option in&lt;BR /&gt;         the "sd" man page.&lt;BR /&gt;       * Target connection failed for "vvria05.vxindia.veritas.com:/".&lt;BR /&gt;ERROR:   More information may be found in the daemon logfile on this&lt;BR /&gt;         target (default location is&lt;BR /&gt;         vvria05.vxindia.veritas.com:/var/adm/sw/swagentd.log).&lt;BR /&gt;       * Selection had errors.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;=======  05/27/09 17:49:29 IST  END swinstall SESSION (non-interactive)&lt;BR /&gt;         (jobid=hpslia27-0013)&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 27 May 2009 11:21:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-queries/m-p/5177756#M652933</guid>
      <dc:creator>Vinayak_HPUX</dc:creator>
      <dc:date>2009-05-27T11:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: Shell Script Queries..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-queries/m-p/5177757#M652934</link>
      <description>go to the problem node and restart swagentd, with command&lt;BR /&gt;&lt;BR /&gt;swagentd -r &lt;BR /&gt;&lt;BR /&gt;these swacl errors, unless you are really using the swACL's, generally are misrtepresentation of something that went wrong with the swagentd process and a restart most of the time fixes the issue.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;PS. make sure your client machine has a trust to the depot server.</description>
      <pubDate>Wed, 27 May 2009 13:42:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-queries/m-p/5177757#M652934</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2009-05-27T13:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: Shell Script Queries..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-queries/m-p/5177758#M652935</link>
      <description>Watch out, there wont be any tty after the script exits, pushing the swinstall job to background, on each node. Use nohup.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 28 May 2009 01:04:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-queries/m-p/5177758#M652935</guid>
      <dc:creator>Anoop P_2</dc:creator>
      <dc:date>2009-05-28T01:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: Shell Script Queries..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-queries/m-p/5177759#M652936</link>
      <description>&lt;!--!*#--&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;this issue is related to swacl. To use swinstall remotely you must do the following:&lt;BR /&gt;&lt;BR /&gt;Install the AgentConfig.SD-CONFIG fileset to enable remote operations:&lt;BR /&gt;&lt;BR /&gt;root@client # swinstall -s hpignite:/var/opt/mx/depot AgentConfig.SD-CONFIG&lt;BR /&gt;&lt;BR /&gt;after that check the remote permissions with swacl on the target node:&lt;BR /&gt;&lt;BR /&gt;root@client # swacl -l global_product_template&lt;BR /&gt;&lt;BR /&gt;On the bottom of the output you'll see that the depot server has now full access to install software onto this node.&lt;BR /&gt;&lt;BR /&gt;This is an automated process, all of the above can be made manually with swacl command. Let me know if you made it...&lt;BR /&gt;&lt;BR /&gt;After that, you are finally enabled to swinstall from remote server:&lt;BR /&gt;&lt;BR /&gt;root@ignite # swinstall -x patch_match_target=true -x autoreboot=true -s &lt;PATH of="" depot=""&gt; sw1 sw2 sw3 @ node1 node2 node3&lt;BR /&gt;&lt;/PATH&gt;</description>
      <pubDate>Thu, 28 May 2009 17:52:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-queries/m-p/5177759#M652936</guid>
      <dc:creator>Viktor Balogh</dc:creator>
      <dc:date>2009-05-28T17:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: Shell Script Queries..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-queries/m-p/5177760#M652937</link>
      <description>&amp;gt; PS. make sure your client machine has a trust to the depot server.&lt;BR /&gt;&lt;BR /&gt;As Mel wrote it too, it could be a problem with swacl permissions. (Or you must just simply restart the swagentd)&lt;BR /&gt;&lt;BR /&gt;Here is the way you can manually change the swacl permissions:&lt;BR /&gt;&lt;BR /&gt;Allow access to hostA:&lt;BR /&gt;&lt;BR /&gt;hostA # swacl -l hostA -M user:root@hpignite:a&lt;BR /&gt;&lt;BR /&gt;hostA # swacl -l global_product_template -M user:root@hpignite:a&lt;BR /&gt;</description>
      <pubDate>Thu, 28 May 2009 18:04:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-queries/m-p/5177760#M652937</guid>
      <dc:creator>Viktor Balogh</dc:creator>
      <dc:date>2009-05-28T18:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: Shell Script Queries..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-queries/m-p/5177761#M652938</link>
      <description>I got the solutions</description>
      <pubDate>Mon, 31 Aug 2009 05:34:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-queries/m-p/5177761#M652938</guid>
      <dc:creator>Vinayak_HPUX</dc:creator>
      <dc:date>2009-08-31T05:34:20Z</dc:date>
    </item>
  </channel>
</rss>

