Hi,
I'm trying the 2 following method and everything was succefully configured to install oracle10+11g on Linux .

I hope will help you .


During the installation, both RSH and RSH-Server were installed.
Enable remote shell and rlogin by doing the following.

# chkconfig rsh on
# chkconfig rlogin on
# service xinetd reload

Create the /etc/hosts.equiv file as the root user.

# touch /etc/hosts.equiv
# chmod 600 /etc/hosts.equiv
# chown root:root /etc/hosts.equiv

Edit the /etc/hosts.equiv file to include all the RAC nodes:

+rac1 oracle
+rac2 oracle
+rac1-priv oracle
+rac2-priv oracle


And testing without asking for a password :

ON RAC1 as user root
#
# su - orale
rac1$
$ rsh rac2 -l oracle
rac2$
CTR-D
rac1$
rac1$ rsh rac2 "ls"
rac2$


Everything is OK...





=========================
Configure SSH on each node in the cluster.
Log in as the "oracle" user and perform the following tasks on each node.

su - oracle
mkdir ~/.ssh
chmod 700 ~/.ssh
/usr/bin/ssh-keygen -t rsa # Accept the default settings.

The RSA public key is written to the ~/.ssh/id_rsa.pub file and the private key to the ~/.ssh/id_rsa file.

Log in as the "oracle" user on RAC1, generate an "authorized_keys" file on RAC1 and copy it to RAC2 using the following commands.

su - oracle
cd ~/.ssh
cat id_rsa.pub >> authorized_keys
scp authorized_keys rac2:/home/oracle/.ssh/

Next, log in as the "oracle" user on RAC2 and perform the following commands.

su - oracle
cd ~/.ssh
cat id_rsa.pub >> authorized_keys
scp authorized_keys rac1:/home/oracle/.ssh/

The "authorized_keys" file on both servers now contains the public keys generated on all RAC nodes.

To enable SSH user equivalency on the cluster member nodes issue the following commands on each node.

ssh rac1 date
ssh rac2 date
exec /usr/bin/ssh-agent $SHELL
/usr/bin/ssh-add

You should now be able to SSH and SCP between servers without entering passwords.