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
文件。