ORACLE RAC
DBCA New Library
an examination:
SU – ORACLE
From the 1, SSH node 2, you are prompted to enter a password.
Prompted to enter the password.
From node 2, SSH-free nodes 1. Enter the password.
Solution:
SSH user equivalence:
User oracle to execute commands in each node:
[oracle@rac1~]cd $home
[oracle@rac1~]mkdir .ssh
[oracle@rac1~]chmod 700 .ssh
[oracle@rac1~]cd .ssh
[oracle@rac1~]ssh-keygen -t rsa
[oracle@rac1~]ssh-keygen -t dsa
[oracle@rac1~]cat *.pub > authorized_keys
Then authorized_keys file 2 into one node, then the node does not cover the document following .ssh authorized_keys file;
[oracle@rac2~]scp authorized_keys rac1:/home/oracle/.ssh/keys_dbs
[oracle@rac1~]cat keys_dbs >> authorized_keys
[oracle@rac1~]scp authorized_keys rac2:/home/oracle/.ssh/.
Then check each other is ssh access without a password:
[oracle@rac1~]ssh rac2
[oracle@rac2]ssh rac1