Owner's Manual
84 配置网络
6
在每个节点上,键入
ifconfig
以验证专用接口的运行是否正常。
节点的专用
IP
地址必须分配给专用接口
bond0
。
7
每个节点上的所有专用
IP
地址设置完成后,请从一个节点对每个
IP
地
址执行
ping
命令,确保专用网络可以正常工作。
8
连接每个节点。通过键入以下命令验证专用网络和
ssh
是否正常运行:
ssh <
专用
IP
>
安装
Oracle
®
User Equivalence
配置
Secure Shell (ssh)
1
以用户
oracle
登录所有节点。
2
在系统中使用以下命令生成
RSA
密钥对:
ssh-keygen -t rsa
3
按
<Enter>
键以接受密钥文件的默认位置(在这种情况下为
/home/oracle/.ssh/id_rsa
)。
4
在两个段落提示符下分别都按一下
<Enter>
键以输入一个空密码短
语。
5
ssh-keygen
公用程序将结束该操作。系统将显示以下信息:
Your identification has been saved in
/home/oracle/.ssh/id.rsa.(您的标识已保存到
/home/oracle/.ssh/id.rsa
中。)
Your public key has been saved in
/home/oracle/.ssh/id_rsa.pub.(您的公共密钥已保存到
/home/oracle/.ssh/id_rsa.pub
中。)
The key fingerprint is:
xx:xx:xx:xx:xx:xx:xx:xx
(密钥指纹
为:
xx:xx:xx:xx:xx:xx:xx:xx
)
oracle@<
节点名称
>
6
导航至
cd /home/oracle/.ssh
并验证是否是使用
ls -al
命令创建了
id_rsa
和
id_rsa.pub
文件。