<?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 to submit a remote script from UNIX to RedHat Linux in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-submit-a-remote-script-from-unix-to-redhat-linux/m-p/3980190#M294271</link>
    <description>I tried but the rebooting schedule was so hectic, they never finished exactly ontime.&lt;BR /&gt;&lt;BR /&gt;My CRON script started but either the DB or HP Server was not completely up.&lt;BR /&gt;&lt;BR /&gt;We ended up had to do it manually anyway.&lt;BR /&gt;&lt;BR /&gt;The other option I was thinking of is to use openSSH.&lt;BR /&gt;&lt;BR /&gt;However, I don't know how to setup openSSH between a UNIX and a RedHat LINUX Server.&lt;BR /&gt;&lt;BR /&gt;Has anyone done something like this ?</description>
    <pubDate>Thu, 12 Apr 2007 11:12:26 GMT</pubDate>
    <dc:creator>Johnny Kwok</dc:creator>
    <dc:date>2007-04-12T11:12:26Z</dc:date>
    <item>
      <title>How to submit a remote script from UNIX to RedHat Linux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-submit-a-remote-script-from-unix-to-redhat-linux/m-p/3980187#M294268</link>
      <description>Hello All,&lt;BR /&gt;&lt;BR /&gt;We have an application running on a RedHat Linux Server communicating between our HP and DB Server.&lt;BR /&gt;&lt;BR /&gt;Our HP Servers have a weekly rebooting  schedule and after that, Sys Admin has to login the RedHat Linux Server to restart a script to re-establish the connection between HP and the DB Server.&lt;BR /&gt;&lt;BR /&gt;Can this process be automated ?&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Thu, 12 Apr 2007 10:55:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-submit-a-remote-script-from-unix-to-redhat-linux/m-p/3980187#M294268</guid>
      <dc:creator>Johnny Kwok</dc:creator>
      <dc:date>2007-04-12T10:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to submit a remote script from UNIX to RedHat Linux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-submit-a-remote-script-from-unix-to-redhat-linux/m-p/3980188#M294269</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Why not use cron on your RedHat apps server just after the rebooting schedule on HPUX servers.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Thu, 12 Apr 2007 11:00:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-submit-a-remote-script-from-unix-to-redhat-linux/m-p/3980188#M294269</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2007-04-12T11:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to submit a remote script from UNIX to RedHat Linux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-submit-a-remote-script-from-unix-to-redhat-linux/m-p/3980189#M294270</link>
      <description>Yes,&lt;BR /&gt;&lt;BR /&gt;cron can be used to restart the services that were connecting to the HP servers, or simply reboot an short time after the HP servers scheduled reboot.&lt;BR /&gt;&lt;BR /&gt;Many ways to solve the issue depending on what services are involved.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 12 Apr 2007 11:00:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-submit-a-remote-script-from-unix-to-redhat-linux/m-p/3980189#M294270</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-04-12T11:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to submit a remote script from UNIX to RedHat Linux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-submit-a-remote-script-from-unix-to-redhat-linux/m-p/3980190#M294271</link>
      <description>I tried but the rebooting schedule was so hectic, they never finished exactly ontime.&lt;BR /&gt;&lt;BR /&gt;My CRON script started but either the DB or HP Server was not completely up.&lt;BR /&gt;&lt;BR /&gt;We ended up had to do it manually anyway.&lt;BR /&gt;&lt;BR /&gt;The other option I was thinking of is to use openSSH.&lt;BR /&gt;&lt;BR /&gt;However, I don't know how to setup openSSH between a UNIX and a RedHat LINUX Server.&lt;BR /&gt;&lt;BR /&gt;Has anyone done something like this ?</description>
      <pubDate>Thu, 12 Apr 2007 11:12:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-submit-a-remote-script-from-unix-to-redhat-linux/m-p/3980190#M294271</guid>
      <dc:creator>Johnny Kwok</dc:creator>
      <dc:date>2007-04-12T11:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to submit a remote script from UNIX to RedHat Linux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-submit-a-remote-script-from-unix-to-redhat-linux/m-p/3980191#M294272</link>
      <description>A far, far better answer is to abandon your weekly rebootings. That is a state-of-the-art stupid approach to UNIX administration.</description>
      <pubDate>Thu, 12 Apr 2007 11:25:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-submit-a-remote-script-from-unix-to-redhat-linux/m-p/3980191#M294272</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-04-12T11:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to submit a remote script from UNIX to RedHat Linux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-submit-a-remote-script-from-unix-to-redhat-linux/m-p/3980192#M294273</link>
      <description>Unfortunately, we have no saying on the weekly rebooting schedule.&lt;BR /&gt;&lt;BR /&gt;Management long ago decided:&lt;BR /&gt;&lt;BR /&gt;1. Some bad apps running on this server will be "fixed" after the reboot,&lt;BR /&gt;&lt;BR /&gt;2. We need to block off this time slot for any hardware/software maintenance that we may need to do,&lt;BR /&gt;&lt;BR /&gt;3. The reboot should clear any memory leaks issue.</description>
      <pubDate>Thu, 12 Apr 2007 11:34:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-submit-a-remote-script-from-unix-to-redhat-linux/m-p/3980192#M294273</guid>
      <dc:creator>Johnny Kwok</dc:creator>
      <dc:date>2007-04-12T11:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to submit a remote script from UNIX to RedHat Linux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-submit-a-remote-script-from-unix-to-redhat-linux/m-p/3980193#M294274</link>
      <description>Well, it's rather simple to execute a remote command from HP-UX to Linux. While ssh is the more secure way, remsh will work just fine.&lt;BR /&gt;&lt;BR /&gt;Set up .rhosts in the user's (root?) home directory so that it looks something like this:&lt;BR /&gt;hpuxboxhostname root&lt;BR /&gt;&lt;BR /&gt;The .rhosts file should be owned by the user (root?) and have mode set to 400.&lt;BR /&gt;&lt;BR /&gt;Then on your HP-UX box as that user (root?):&lt;BR /&gt;remsh linuxboxhostname command&lt;BR /&gt;&lt;BR /&gt;You can verify that you have everything working by issueing something like:&lt;BR /&gt;&lt;BR /&gt;remsh dilbert ls -l /etc&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Apr 2007 11:47:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-submit-a-remote-script-from-unix-to-redhat-linux/m-p/3980193#M294274</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-04-12T11:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to submit a remote script from UNIX to RedHat Linux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-submit-a-remote-script-from-unix-to-redhat-linux/m-p/3980194#M294275</link>
      <description>&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;first of all, Clays 1st answer so far sounds as the best to me. Don't reboot, fix the application.&lt;BR /&gt;&lt;BR /&gt;However, the problem, as I understand it, is to have the timing right for starting the scripts.&lt;BR /&gt;&lt;BR /&gt;You might want to create some start script on the HP-Box that creates a file on the Linux-Box in some dir. &lt;BR /&gt;Let it start somewhere at the end of the boot process late in runlevel 2 or even 3.&lt;BR /&gt;&lt;BR /&gt;The Linux box controled by cron checks every minute if this file exists in a timeframe (maybe 1 hour) when the HP-Box is supposed to come up again.&lt;BR /&gt;The Linux-Box then calls a script (remsh to    HP and start processes) and erases the file that was created by the HP-Box.&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Fri, 13 Apr 2007 05:58:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-submit-a-remote-script-from-unix-to-redhat-linux/m-p/3980194#M294275</guid>
      <dc:creator>Dino_4</dc:creator>
      <dc:date>2007-04-13T05:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to submit a remote script from UNIX to RedHat Linux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-submit-a-remote-script-from-unix-to-redhat-linux/m-p/3980195#M294276</link>
      <description>&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;first of all, Clays 1st answer so far sounds as the best to me. Don't reboot, fix the application.&lt;BR /&gt;&lt;BR /&gt;However, the problem, as I understand it, is to have the timing right for starting the scripts.&lt;BR /&gt;&lt;BR /&gt;You might want to create some start script on the HP-Box that creates a file on the Linux-Box in some dir. &lt;BR /&gt;Let it start somewhere at the end of the boot process late in runlevel 2 or even 3.&lt;BR /&gt;&lt;BR /&gt;The Linux box controled by cron checks every minute if this file exists in a timeframe (maybe 1 hour) when the HP-Box is supposed to come up again.&lt;BR /&gt;The Linux-Box then starts the script to establish connection and erases the created file.&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Fri, 13 Apr 2007 06:02:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-submit-a-remote-script-from-unix-to-redhat-linux/m-p/3980195#M294276</guid>
      <dc:creator>Dino_4</dc:creator>
      <dc:date>2007-04-13T06:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to submit a remote script from UNIX to RedHat Linux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-submit-a-remote-script-from-unix-to-redhat-linux/m-p/3980196#M294277</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;Unattended restarts are very dangerous! It would be preferable that you just restart the process that you fear is causing a problem.&lt;BR /&gt;&lt;BR /&gt;good luck!&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Fri, 13 Apr 2007 08:24:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-submit-a-remote-script-from-unix-to-redhat-linux/m-p/3980196#M294277</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2007-04-13T08:24:54Z</dc:date>
    </item>
  </channel>
</rss>

