<?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: Remote deployment and execution in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/remote-deployment-and-execution/m-p/3344327#M191365</link>
    <description>The only standard ones are the 'r' commands, which quite frankly are risky.&lt;BR /&gt;&lt;BR /&gt;# rexec serverB ls /etc&lt;BR /&gt;password:&lt;BR /&gt;&lt;BR /&gt;You would have to write a program to do such a thing.</description>
    <pubDate>Thu, 29 Jul 2004 04:56:21 GMT</pubDate>
    <dc:creator>Michael Tully</dc:creator>
    <dc:date>2004-07-29T04:56:21Z</dc:date>
    <item>
      <title>Remote deployment and execution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remote-deployment-and-execution/m-p/3344326#M191364</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I just wanted to hear wht utilities and products do you use for remote execution and deplayment?&lt;BR /&gt;&lt;BR /&gt;We are searching for utility that will give as abilities to send files to large amount of servers at once, execute scriptes on remote server and has nice API (graphical or command line).&lt;BR /&gt;&lt;BR /&gt;We prefer not to write something by oursleves because probably there are some utilities that already do this thing.&lt;BR /&gt;&lt;BR /&gt;Thanx in advance!.</description>
      <pubDate>Thu, 29 Jul 2004 04:45:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remote-deployment-and-execution/m-p/3344326#M191364</guid>
      <dc:creator>Alex Lavrov</dc:creator>
      <dc:date>2004-07-29T04:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: Remote deployment and execution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remote-deployment-and-execution/m-p/3344327#M191365</link>
      <description>The only standard ones are the 'r' commands, which quite frankly are risky.&lt;BR /&gt;&lt;BR /&gt;# rexec serverB ls /etc&lt;BR /&gt;password:&lt;BR /&gt;&lt;BR /&gt;You would have to write a program to do such a thing.</description>
      <pubDate>Thu, 29 Jul 2004 04:56:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remote-deployment-and-execution/m-p/3344327#M191365</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2004-07-29T04:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: Remote deployment and execution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remote-deployment-and-execution/m-p/3344328#M191366</link>
      <description>We can use rcp to transfer files easily. We can use remsh to remote execution.&lt;BR /&gt;&lt;BR /&gt;If you want to use secure one then use scp and ssh for this.&lt;BR /&gt;&lt;BR /&gt;We can use these remsh and ssh easily.&lt;BR /&gt;&lt;BR /&gt;And more we can use ftp and sftp for file transfers. We can do it in batch mode as without prompting for passwd and user informations. &lt;BR /&gt;&lt;BR /&gt; See rhosts and remsh man pages&lt;BR /&gt; For secure way see ssh,scp,sftp man pages</description>
      <pubDate>Thu, 29 Jul 2004 05:00:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remote-deployment-and-execution/m-p/3344328#M191366</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2004-07-29T05:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: Remote deployment and execution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remote-deployment-and-execution/m-p/3344329#M191367</link>
      <description>I'am afraid that such utility doesn't exist,&lt;BR /&gt;but maybe I'm wrong.&lt;BR /&gt;&lt;BR /&gt;According to your description the task doesn't seem so difficult, so I would think about shell scripts with rcp,scp,ftp, remsh ..&lt;BR /&gt;&lt;BR /&gt;br Jan</description>
      <pubDate>Thu, 29 Jul 2004 05:06:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remote-deployment-and-execution/m-p/3344329#M191367</guid>
      <dc:creator>Jan Sladky</dc:creator>
      <dc:date>2004-07-29T05:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: Remote deployment and execution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remote-deployment-and-execution/m-p/3344330#M191368</link>
      <description>I thing rexec is easy to use  you don't need to buy programs.&lt;BR /&gt;I use this script - see attached. To run programs on many remote servers. &lt;BR /&gt;You have to configure .rhosts on each server (if your security allow this) than you can use rexec or this script.&lt;BR /&gt;TO run this script you have to create rrun.conf file in same dir and put there list of your servers.&lt;BR /&gt;&lt;BR /&gt;than rrun "/dir/program.sh" runs something on any server.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Jul 2004 05:24:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remote-deployment-and-execution/m-p/3344330#M191368</guid>
      <dc:creator>Petr Simik_1</dc:creator>
      <dc:date>2004-07-29T05:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: Remote deployment and execution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remote-deployment-and-execution/m-p/3344331#M191369</link>
      <description>We can do it with "r" commands ( remsh and rcp ) easily.&lt;BR /&gt;&lt;BR /&gt;Using "r" commands:&lt;BR /&gt;&lt;BR /&gt; If you are trying to use r commands between NODE1 and NODE2 on root user permissions then,&lt;BR /&gt; &lt;BR /&gt; NODE1 with root user#&lt;BR /&gt; echo "NODE2 root" &amp;gt;&amp;gt; /.rhosts&lt;BR /&gt; chmod 400 /.rhosts &lt;BR /&gt;&lt;BR /&gt; NODE2 with root user#&lt;BR /&gt; echo "NODE1 root" &amp;gt;&amp;gt; /.rhosts&lt;BR /&gt; chmod 400 /.rhosts &lt;BR /&gt; &lt;BR /&gt; Check:&lt;BR /&gt;  &lt;BR /&gt; NODE1# remsh NODE2 hostname ( it will gives hostname of remote server )&lt;BR /&gt;    #  NODE2&lt;BR /&gt;&lt;BR /&gt; Do it from NODE 2 to check it's status or simply as,&lt;BR /&gt; &lt;BR /&gt; NODE1# remsh NODE2 -l root -n "remsh NODE2 hostname"&lt;BR /&gt; It has to print NODE1 ( hostname )&lt;BR /&gt; &lt;BR /&gt; Remote operations:&lt;BR /&gt; &lt;BR /&gt;  If you want to execute a script as like ..,&lt;BR /&gt;  &lt;BR /&gt;   --- test.ksh ---&lt;BR /&gt;   #!/usr/bin/ksh&lt;BR /&gt;   # rcommand testing&lt;BR /&gt;   &lt;BR /&gt;   echo "System informations"&lt;BR /&gt;   uname -a&lt;BR /&gt; &lt;BR /&gt;   echo "Lan status"&lt;BR /&gt;   lanscan&lt;BR /&gt;   &lt;BR /&gt;   echo "Hostname and IP-Address"&lt;BR /&gt;   nslookup `hostname`&lt;BR /&gt;   &lt;BR /&gt;   exit 0&lt;BR /&gt;   &lt;BR /&gt;   NODE1 # rcp /tmp/test.ksh NODE2:/tmp/ksh&lt;BR /&gt;   &lt;BR /&gt;   Remote execution:&lt;BR /&gt;   &lt;BR /&gt;   NODE1 # remsh NODE2 -l root -n "ksh /tmp/test.ksh"&lt;BR /&gt;   It will give all the output's of remote execution to NODE1's terminal.&lt;BR /&gt;   &lt;BR /&gt;   If we you want to log into a log file then redirect it to a log file.&lt;BR /&gt;   &lt;BR /&gt;   &lt;BR /&gt;   Parallel execution:&lt;BR /&gt;   &lt;BR /&gt;   If you want to execute multiple sequentially then, use script or ; as like,&lt;BR /&gt;   &lt;BR /&gt;   remsh NODE2 -l root -n "hostname;uname -a"&lt;BR /&gt;   &lt;BR /&gt;   To do it in parallely,&lt;BR /&gt;   &lt;BR /&gt;   remsh NODE2 -l root -n "ksh /tmp/test.ksh 1&amp;gt;&amp;gt;/tmp/testlog.log 2&amp;gt;&amp;gt;/tmp/testlog.log &amp;amp;"&lt;BR /&gt;    Collect PID remote process with $! &lt;BR /&gt;    &lt;BR /&gt;     remsh NODE2 -l root -n "hostname 1&amp;gt;&amp;gt; /tmp/test1.log;uname -a 1&amp;gt;&amp;gt; /tmp/test1.log &amp;amp;"&lt;BR /&gt;     &lt;BR /&gt;   To get the result files,&lt;BR /&gt;   &lt;BR /&gt;   rcp NODE2:/tmp/test*.log /tmp/.&lt;BR /&gt;   &lt;BR /&gt;   We can restrict the user access with .rhosts and /etc/hosts.equiv file&lt;BR /&gt; &lt;BR /&gt;   See rhosts,rcp and remsh man pages to more</description>
      <pubDate>Thu, 29 Jul 2004 08:22:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remote-deployment-and-execution/m-p/3344331#M191369</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2004-07-29T08:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: Remote deployment and execution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remote-deployment-and-execution/m-p/3344332#M191370</link>
      <description>Take a look at &lt;A href="http://www.infrastructures.org" target="_blank"&gt;http://www.infrastructures.org&lt;/A&gt; and &lt;A href="http://www.iu.hio.no/cfengine/" target="_blank"&gt;http://www.iu.hio.no/cfengine/&lt;/A&gt;</description>
      <pubDate>Fri, 30 Jul 2004 03:09:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remote-deployment-and-execution/m-p/3344332#M191370</guid>
      <dc:creator>Chris Watson</dc:creator>
      <dc:date>2004-07-30T03:09:44Z</dc:date>
    </item>
  </channel>
</rss>

