To configure user equivalence between two servers just follow below command.
On Server 1
Login as Oracle user :
$/usr/bin/ssh-keygen -t rsa
$/usr/bin/ssh-keygen -t dsa
$cd /home/oracle/.ssh/
$touch authorized_keys
$cat id_rsa.pub >> authorized_keys
$cat id_dsa.pub >> authorized_keys
on Server 2
Login as Oracle user:
$/usr/bin/ssh-keygen -t rsa
$/usr/bin/ssh-keygen -t dsa
$cd /home/oracle/.ssh/
$scp oracle@server1:/home/oracle/.ssh/authorized_keys /home/oracle/.ssh/.
$cat id_rsa.pub >> authorized_keys
$cat id_dsa.pub >> authorized_keys
$scp authorized_keys oracle@server1:/home/oracle/.ssh/
Now check user equivalence by doing ssh between both servers by login with oracle user. It will not ask password while login to another server for Oracle user.
User Equivalence between Cell Storage and Database Servers
No comments:
Post a Comment