Announcement

Collapse
No announcement yet.

[SCRIPT] Remote Restarts of OTM via RSH

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [SCRIPT] Remote Restarts of OTM via RSH

    All,

    In response to my previous post on setting up RSH for remote OTM restarts (http://www.otmfaq.com/forums/f30/setup-rsh-215/) - I've created a script to facilitate restarting OTM on various remote servers.

    NOTE: I highly recommend using SSH instead of RSH, as it is much more secure.

    Details:
    Code:
    # purpose: Restart OTM on remote servers via rsh
    # file: mw-OtmRshRestart.sh
    # version: 0.1
    # syntax: mw-OtmRshRestart.sh [stop|start|restart]
    # author: Chris Plough, May 2007
    Note: the WaitForServer.pl script that this script references can be found in your /install/serverutils/ directory.

    Hope this helps!
    --Chris
    Attached Files
    Last edited by chrisplough; June 12, 2007, 17:28.

  • #2
    Re: Script: Remote Restarts of OTM via RSH

    Just FYI - I've now created a script to accomplish this via SSH. You can find the Forum post here:

    http://www.otmfaq.com/forums/f30/script-remote-restart-otm-via-ssh-295/

    I HIGHLY recommend doing this via SSH instead, since it is a much more secure protocol.

    Thanks!
    --Chris

    Comment


    • #3
      Re: [SCRIPT] Remote Restarts of OTM via RSH

      FYI - got an update from a friend - there is a bug in the script that should be fixed:

      In the new sshotmrestart.sh script, line 54 needs a minor correction, red ‘P’ is missing.

      $PERL_BIN $SCRIPT_PATH/WaitForServer.pl $OTM_APP_IP $OTM_APP_PORT

      --Chris

      Comment

      Working...
      X