Announcement

Collapse
No announcement yet.

[SCRIPT] Remote Restart of OTM via SSH

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

  • chrisplough
    replied
    Re: [SCRIPT] Remote Restart of OTM via SSH

    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

    Leave a comment:


  • chrisplough
    started a topic [SCRIPT] Remote Restart of OTM via SSH

    [SCRIPT] Remote Restart of OTM via SSH

    All,

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

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

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

    Hope this helps!
    --Chris
    Attached Files
Working...
X