11G Oracle安装介质中自带有ssh配置脚本,配置双机信任关系变的很简单,运行一下脚本就行,如下:
在rac1上运行
cd /mnt/hgfs/vmsharedir/Oracle11gR2p1linux/grid/sshsetup/
./sshUserSetup.sh -user root -hosts rac2 rac1 -advanced -exverify -confirm
在rac2上执行:
cd /mnt/hgfs/vmsharedir/Oracle11gR2p1linux/grid/sshsetup/
./sshUserSetup.sh -user root -hosts rac1 rac2 -advanced -exverify -confirm
自己相应的用户去执行
-user 后面带需要配置信任关系的用户名
-host 后面带需要配置信任关系的主机名
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/22531473/viewspace-746477/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/22531473/viewspace-746477/