在安装Oracle Database的步骤“Specify Hardware Cluster Installation Mode”,“Select All”选中next会报如下错误“The user "oracle" does not have user equivalence setup on nodes "[rac1]." Please set up the user equivalence before proceeding.
PRKC-1030:Error checking accessibillty for node rac1,No RSA host key is known for rac1 and you have requested strict checking.Host key verification failed.”
因为没有创建用户等价,导致两台机器相互访问时需要输入密码,所以失败了;
解决方法:
配置SSH用户等价:
以oracle的用户在每一个节点上执行如下命令:
[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
然后将2个节点的authorized_keys文件合成一个,再用这个文件覆盖没有节点.ssh下面的authorized_keys文件;
[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/.
然后检查相互访问ssh是不需要密码的:
[oracle@rac1~]ssh rac2
[oracle@rac2]ssh rac1
然后再重新安装Oracle Database,这个问题就没有了。