oracle中RAC验证节点信任关系
两台笔记本通过局域网做RAC,两台笔记本都使用OracleVMVirtualBox安装了rh5.5,数据库是11.2的每个笔记本的虚拟机网卡都是公用的ip选择桥接方式,p...
两台笔记本通过局域网做RAC ,两台笔记本都使用Oracle VM VirtualBox安装了rh5.5,数据库是11.2的
每个笔记本的虚拟机网卡都是公用的ip选择桥接方式,priv的ip选择了host_only方式.
两个节点的/etc/hosts是
[root@node2 ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost
192.168.0.120 node1
192.168.0.121 node1-vip
10.10.10.1 node1-priv
192.168.0.122 node2
192.168.0.123 node2-vip
10.10.10.2 node2-priv
192.168.0.124 rac_scan
节点的IP地址如下:
[oracle@node2 ~]$ cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Intel Corporation 82540EM Gigabit Ethernet Controller
DEVICE=eth0
BOOTPROTO=static
IPADDR=192.168.0.122
NETMASK=255.255.255.0
GATEWAY=192.168.0.1
ONBOOT=yes
[oracle@node2 ~]$ cat /etc/sysconfig/network-scripts/ifcfg-eth1
# Intel Corporation 82540EM Gigabit Ethernet Controller
DEVICE=eth1
BOOTPROTO=static
IPADDR=10.10.10.2
ONBOOT=yes
然而在做节点间的验证关系时出现以下状况:
ORACLE用户:
[root@node2 ~]# su - oracle
[oracle@node2 ~]$ ssh node1 date
Sat May 18 01:27:13 CST 2013
[oracle@node2 ~]$ ssh node1-priv date
ssh: connect to host node1-priv port 22: No route to host
[oracle@node2 ~]$ ssh node2 date
Sat May 18 01:27:18 CST 2013
[oracle@node2 ~]$ ssh node2-priv date
Sat May 18 01:27:23 CST 2013
grid用户:
[grid@node2 ~]$ ssh node1 date
Sat May 18 01:33:40 CST 2013
[grid@node2 ~]$ ssh node1-priv date
ssh: connect to host node1-priv port 22: No route to host
[grid@node2 ~]$ ssh node2-priv date
Sat May 18 01:33:36 CST 2013
[grid@node2 ~]$ ssh node2 date
Sat May 18 01:33:43 CST 2013
节点1同节点2配置是一样的
就是node1和node2 分别对对方的priv 地址验证失败提示那个信息 展开
每个笔记本的虚拟机网卡都是公用的ip选择桥接方式,priv的ip选择了host_only方式.
两个节点的/etc/hosts是
[root@node2 ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost
192.168.0.120 node1
192.168.0.121 node1-vip
10.10.10.1 node1-priv
192.168.0.122 node2
192.168.0.123 node2-vip
10.10.10.2 node2-priv
192.168.0.124 rac_scan
节点的IP地址如下:
[oracle@node2 ~]$ cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Intel Corporation 82540EM Gigabit Ethernet Controller
DEVICE=eth0
BOOTPROTO=static
IPADDR=192.168.0.122
NETMASK=255.255.255.0
GATEWAY=192.168.0.1
ONBOOT=yes
[oracle@node2 ~]$ cat /etc/sysconfig/network-scripts/ifcfg-eth1
# Intel Corporation 82540EM Gigabit Ethernet Controller
DEVICE=eth1
BOOTPROTO=static
IPADDR=10.10.10.2
ONBOOT=yes
然而在做节点间的验证关系时出现以下状况:
ORACLE用户:
[root@node2 ~]# su - oracle
[oracle@node2 ~]$ ssh node1 date
Sat May 18 01:27:13 CST 2013
[oracle@node2 ~]$ ssh node1-priv date
ssh: connect to host node1-priv port 22: No route to host
[oracle@node2 ~]$ ssh node2 date
Sat May 18 01:27:18 CST 2013
[oracle@node2 ~]$ ssh node2-priv date
Sat May 18 01:27:23 CST 2013
grid用户:
[grid@node2 ~]$ ssh node1 date
Sat May 18 01:33:40 CST 2013
[grid@node2 ~]$ ssh node1-priv date
ssh: connect to host node1-priv port 22: No route to host
[grid@node2 ~]$ ssh node2-priv date
Sat May 18 01:33:36 CST 2013
[grid@node2 ~]$ ssh node2 date
Sat May 18 01:33:43 CST 2013
节点1同节点2配置是一样的
就是node1和node2 分别对对方的priv 地址验证失败提示那个信息 展开
展开全部
另一个网卡配置priv ip地址
[root@node1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth1
# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]
DEVICE=eth1
BOOTPROTO=static
BROADCAST=172.25.255.255
HWADDR=00:0C:29:C1:A7:9C
IPADDR=172.25.1.200
NETMASK=255.255.0.0
NETWORK=172.25.0.0
ONBOOT=yes
网易云信
2023-12-06 广告
2023-12-06 广告
UIkit是一套轻量级、模块化且易于使用的开源UI组件库,由YOOtheme团队开发。它提供了丰富的界面元素,包括按钮、表单、表格、对话框、滑块、下拉菜单、选项卡等等,适用于各种类型的网站和应用程序。UIkit还支持响应式设计,可以根据不同...
点击进入详情页
本回答由网易云信提供
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询