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:

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old May 1st, 2007, 16:42
chrisplough's Avatar
Site Moderator
 
Join Date: Jun 2006
Location: West Chester, PA
Posts: 790
Blog Entries: 7
Thanks: 51
Thanked 194 Times in 119 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
[SOLVED] Setup RSH

In some environments, you may have to setup RSH to allow scripts to run commands on remote servers. An example would be a centralized restart script (perhaps used as part of a clustered or HACMP solution) that needs to restart OTM on remote servers. While I prefer to use SSH, since it is much more secure, some environments don't allow it. Here's a quick overview on how to setup it up on a Red Hat server:

Info:
[hostname_1] - host that will initiate rsh commands
[hostname_2] - host where rsh commands will be run

1. Check that rsh is installed on [hostname_2]:
rpm -qa | grep rsh-server
2. If does not exist, need to install the rsh-server RPM package: rsh-server-*.rpm
up2date --install rsh-server
3. Next enable rsh on [hostname_2]:
chkconfig rsh on
4. Append the following per lines to the /etc/securetty file on [hostname_2]:
rsh
5. Allow certain hosts to connect via rsh to [hostname_2]:
echo [hostname_1] >/root/.rhosts
6. Restart the xinitd service on [hostname_1]:
/etc/rc.d/init.d/xinetd restart
You should now be able to test this by going to the remote host and running:
rsh [hostname_2] -l root ls
Hope this helps!

--Chris
__________________
Chris Plough
MavenWire

www.MavenWire.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread



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
Multiple version of same external distance engine setup karims@schneider.com Planning 1 March 13th, 2008 13:59
Not able to view BPEL system configuration setup section on External System create RPANREDDY Integration and Data Mapping 1 February 13th, 2008 21:33
[SOLVED] COnditional booking setup bob_romijn Planning 2 November 6th, 2007 11:04
[SOLVED] Rate Setup - Build Shipment error saufil chang Planning 2 June 29th, 2007 07:14



All times are GMT. The time now is 11:29.
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