otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


 Subscribe Blogs:RSS
 Subscribe Forums:RSS
OTMFAQ Home
OTMFAQ Blogs
OTMFAQ Forums
OTMFAQ Tutorials

OTM SIG
MavenWire


SysAdmin and Management Managing and monitoring OTM / G-Log and other administrative activities.

Tags: , , , ,

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old May 25th, 2007, 17:30
chrisplough's Avatar
Site Moderator
 
Join Date: Jun 2006
Location: West Chester, PA
Posts: 847
Blog Entries: 7
Thanks: 53
Thanked 205 Times in 124 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 10
chrisplough has a spectacular aura aboutchrisplough has a spectacular aura aboutchrisplough has a spectacular aura about
Send a message via AIM to chrisplough
[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
File Type: zip mw-OtmRshRestart.zip (1.2 KB, 9 views)
__________________
Chris Plough
MavenWire

www.MavenWire.com

Last edited by chrisplough : June 12th, 2007 at 17:28.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old June 12th, 2007, 17:39
chrisplough's Avatar
Site Moderator
 
Join Date: Jun 2006
Location: West Chester, PA
Posts: 847
Blog Entries: 7
Thanks: 53
Thanked 205 Times in 124 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 10
chrisplough has a spectacular aura aboutchrisplough has a spectacular aura aboutchrisplough has a spectacular aura about
Send a message via AIM to chrisplough
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
__________________
Chris Plough
MavenWire

www.MavenWire.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SCRIPT] Remote Restart of OTM via SSH chrisplough SysAdmin and Management 0 June 12th, 2007 17:37
[SOLVED] EBS applmgr profile script chrisplough SysAdmin and Management 0 June 4th, 2007 18:56
[SCRIPT] DB Usage - mw-dbusage.sql chrisplough Database Administration 2 May 15th, 2007 18:12
[SCRIPT] Testing Integration - mw-OtmPostWMServlet.pl chrisplough Integration and Data Mapping 0 April 27th, 2007 18:17
[SOLVED] Server Restarts bfolan SysAdmin and Management 4 April 26th, 2007 07:05



All times are GMT. The time now is 03:28.
Copyright © 2008, Open Book Solutions LLC. All rights reserved.

Sponsored by MavenWire - MavenWire.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37