Linux Platform installation Oracle 11GSSH equivalent configuration simple
Construct a grid user relationship
Landing Rac1,rac2 run separately :
$ su-grid
$mkdir ~/.ssh
$chmod ~/.ssh
$ ssh-keygen-t RSA
$ ssh-keygen-t DSA
Login Rac1:
$CD ~/.ssh
$ cat Id_rsa.pub >> Authorized_keys
$cat id_dsa.pub >> Authorized_keys
$ SCP Authorized_keys rac2:/home/grid/.ssh/----(input grid password, return to car)
Login RAC2:
$CD ~/.ssh
$ cat Id_rsa.pub >> Authorized_keys
$cat id_dsa.pub >> Authorized_keys
$ SCP Authorized_keys rac1:/home/grid/.ssh/----(input grid password, return to car)
Perform the next noodle operation in Rac1&rac2 , run several times .
$ ssh Rac1 date; SSH RAC2 Date
$ ssh Rac1-priv date; SSH Rac2-priv Date
Configure Oracle User Trust relationships
Landing Rac1,rac2 run separately :
$ su-oracle
$mkdir ~/.ssh
$chmod ~/.ssh
$ ssh-keygen-t RSA
$ ssh-keygen-t DSA
Landing Rac1:
$ su-oracle
$CD ~/.ssh
$ cat Id_rsa.pub >> Authorized_keys
$cat id_dsa.pub >> Authorized_keys
$ SCP Authorized_keys rac2:/home/oracle/.ssh/----(Enter the oracle password. return car)
Landing RAC2:
$ su-oracle
$CD ~/.ssh
$ cat Id_rsa.pub >> Authorized_keys
$cat id_dsa.pub >> Authorized_keys
$ SCP Authorized_keys rac1:/home/oracle/.ssh/----(Enter the oracle password. return car)
Perform the following operations on RAC1&RAC2
$ ssh Rac1 date; SSH RAC2 Date
$ ssh Rac1-priv date; SSH Rac2-priv Date
Attention:
1. assume that the display time is not synchronized. must be manually synchronized;
2. The system is configured with a few net cards (hostname) must ensure that each network card and also have a node ssh does not need to input password!
Copyright notice: This article Bo Master original articles, blogs, without consent may not be reproduced.
Device 11g_rac Configuration Peering