exec /usr/bin/ssh-agent $SHELL /usr/bin/ssh-add |
(请注意,用户等效性仅为当前会话建立。如果您切换到其他会话或注销并重新登录,则必须再次运行ssh-agent和ssh-add才能重新建立用户等效性。)
测试连通性
如果一切均设置正确,则您现在就可以使用ssh在其他集群主机上不必输入口令而登录、执行程序和复制文件了。 通过在远程集群主机上运行诸如date等简单命令来验证用户等效性:
ssh linux2 hostname linux2 |
测试每个方向上所有服务器的连通性是非常重要的。这样会确保当OUI在CRS和数据库软件安装期间试图复制文件时不会出现类似以下的消息。该消息只有在远程节点上第一次执行操作时才会出现,因此通过测试连通性,您不仅确保了远程操作的正常运行,还完成了初始的安全密钥交换。
To ensure that X11 forwarding will not cause the installation to fail, create a user- level SSH client configuration file for the Oracle software owner user, as follows: Using any text editor, edit or create the ~oracle/.ssh/config file. Make sure that the ForwardX11 attribute is set to no. For example: Host * ForwardX11 no |
5、验证各节点的软件包
6、设置各节点的内核参数
原文出处:http://i.mop.com/pennycheung00/tuya/index.jsp