How to Simplify user equivalence setup during RAC install(using rsh).
July 1, 2009 at 8:56 am | In Oracle Apps Tips and Tricks | Leave a CommentTags: clusterware installation preparation, configure rsh for oracle rac install, configure ssh for oracle rac install, configure user equivalence in RAC, rac installation preparation
There are tedious steps in during a Oracle RAC install–
while configuring user equivalence using ssh…
I will prefer configuring rsh instead of ssh since ssh failed for me
many times even after configuring correctly.
During Clusterware Install oui looks for either ssh or rsh to proceed further..
This is required in RAC Installation since you are installing from the first node to
other node(s).(like remote copy etc).
so best way is to configure rsh instead of ssh .I will discuss further as how to configure rsh
While installing Linux or Operating System choose rsh package and rlogin package
by customising the packages or install the proper rpm for rsh and rlogin using the option rpm -ivh package name
lets assume that rac1,rac2 are the RAC nodes in which RAC needs to be installed then
To enable the “rsh” and “rlogin” services,if its not enabled do the following
as root (do this on all nodes)
# chkconfig rsh on
# chkconfig rlogin on
# service xinetd reload
Reloading configuration: [ OK ]
To allow the “oracle” OS user account to be trusted among the RAC nodes,
create the /etc/hosts.equiv file (on all rac nodes )
# su -
# touch /etc/hosts.equiv
# chmod 600 /etc/hosts.equiv
# chown root.root /etc/hosts.equiv
Now add all RAC nodes to the /etc/hosts.equiv file similar to the following example for all nodes in the cluster:
# cat /etc/hosts.equiv
+rac1 oracle
+rac2 oracle
go to etc directory in the first node
in rac1 as root.
#cd /etc
create a new file in /etc called .rhosts
#vi .rhosts
add the entry rac1,rac2 in that file and save it..
#cat .rhosts
#rac1,rac2
repeat the same in the other nodes (although its not required).
Basically ,You need to do in the node where you start the installation(CRS,db)..
to verify that rsh is configured do the following
from rac1
su – oracle
use rsh binary which is in /usr/bin and not /user/kerberos
if so mv the kereberos rsh binary and also remove it in $PATH.
$rsh rac2
which will not ask password and will login you to rac2
test in reverse from rac2 to rac1 the same.
Happy RAC Learning..
Your comments and Questions are welcome.
– Vivek R
No Comments Yet »
RSS feed for comments on this post. TrackBack URI
Leave a comment
Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.
