操作系统版本:
文档 ID 1063571.1往集群添加network的步骤,是会有问题的,具体过程如下:
-
[root@rac2 ~]# srvctl add network -k 2 -S 20.20.20.0/255.255.255.0/eth3
-
[root@rac2 ~]# srvctl config network
-
Network exists: 1/192.168.28.0/255.255.255.0/eth0, type static
-
Network exists: 2/20.20.20.0/255.255.255.0/eth3, type static
-
[root@rac2 ~]# srvctl status vip -n rac1
-
VIP 20.20.20.111 is enabled
-
VIP 20.20.20.111 is not running
-
VIP rac1-vip is enabled
-
VIP rac1-vip is running on node: rac1
-
[root@rac2 ~]# srvctl status vip -n rac2
-
VIP 20.20.20.222 is enabled
-
VIP 20.20.20.222 is not running
-
VIP rac2-vip is enabled
-
VIP rac2-vip is running on node: rac2
-
[root@rac2 ~]#
-
[root@rac2 ~]# srvctl start vip -n rac1
-
PRKO-2420 : VIP is already started on node(s): rac1
-
[root@rac2 ~]# srvctl start vip -i 20.20.20.111
-
PRKO-2420 : VIP is already started on node(s): rac2
-
[oracle@rac2 ~]$ ifconfig eth3:1
-
eth3:1 Link encap:Ethernet HWaddr 00:0C:29:ED:B0:AB
-
inet addr:20.20.20.111 Bcast:20.20.20.255 Mask:255.255.255.0
-
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
跑节点2上去了,让它跑回节点1:
-
[root@rac2 admin]# crsctl stop res ora.rac1-vip2.vip
-
CRS-2673: Attempting to stop 'ora.rac1-vip2.vip' on 'rac2'
-
CRS-2677: Stop of 'ora.rac1-vip2.vip' on 'rac2' succeeded
-
[root@rac2 admin]# crsctl start res ora.rac1-vip2.vip -n rac1
-
CRS-2672: Attempting to start 'ora.net2.network' on 'rac1'
-
CRS-2676: Start of 'ora.net2.network' on 'rac1' succeeded
-
CRS-2672: Attempting to start 'ora.rac1-vip2.vip' on 'rac1'
-
CRS-2676: Start of 'ora.rac1-vip2.vip' on 'rac1' succeeded
-
[root@rac2 admin]# srvctl start vip -n rac2
-
PRKO-2420 : VIP is already started on node(s): rac2
-
[root@rac2 admin]# ifconfig eth3:1
-
eth3:1 Link encap:Ethernet HWaddr 00:0C:29:ED:B0:AB
-
inet addr:20.20.20.222 Bcast:20.20.20.255 Mask:255.255.255.0
-
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
-
[root@rac2 admin]# srvctl config vip -n rac1
-
VIP exists: /20.20.20.111/20.20.20.111/20.20.20.0/255.255.255.0/eth3, hosting node rac1
-
VIP exists: /rac1-vip/192.168.28.111/192.168.28.0/255.255.255.0/eth0, hosting node rac1
-
[root@rac2 admin]# srvctl config vip -n rac2
-
VIP exists: /20.20.20.222/20.20.20.222/20.20.20.0/255.255.255.0/eth3, hosting node rac2
-
VIP exists: /rac2-vip/192.168.28.222/192.168.28.0/255.255.255.0/eth0, hosting node rac2
-
[root@rac2 admin]# srvctl status vip -n rac1
-
VIP 20.20.20.111 is enabled
-
VIP 20.20.20.111 is running on node: rac1
-
VIP rac1-vip is enabled
-
VIP rac1-vip is running on node: rac1
-
[root@rac2 admin]# srvctl status vip -n rac2
-
VIP 20.20.20.222 is enabled
-
VIP 20.20.20.222 is running on node: rac2
-
VIP rac2-vip is enabled
-
VIP rac2-vip is running on node: rac2
-
[root@rac2 admin]# crsctl stat res -t
-
---省略部分内容---
-
--------------------------------------------------------------------------------
-
Cluster Resources
-
--------------------------------------------------------------------------------
-
ora.LISTENER_SCAN1.lsnr
-
1 ONLINE ONLINE rac2
-
ora.cvu
-
1 ONLINE ONLINE rac2
-
ora.oc4j
-
1 ONLINE ONLINE rac1
-
ora.proc.db
-
1 ONLINE ONLINE rac1 Open
-
2 ONLINE ONLINE rac2 Open
-
ora.rac1-vip2.vip
-
1 ONLINE INTERMEDIATE rac1 FAILED OVER
-
ora.rac1.vip
-
1 ONLINE ONLINE rac1
-
ora.rac2-vip2.vip
-
1 ONLINE INTERMEDIATErac2 FAILED OVER
-
ora.rac2.vip
-
1 ONLINE ONLINE rac2
-
ora.scan1.vip
-
1 ONLINE ONLINE rac2
查看日志并无明显错误信息。
-
[root@rac2 admin]# srvctl stop vip -n rac1
-
PRCR-1014 : Failed to stop resource ora.rac1.vip
-
PRCR-1065 : Failed to stop resource ora.rac1.vip
-
CRS-2529: Unable to act on 'ora.rac1.vip' because that would require stopping or relocating 'ora.LISTENER.lsnr', but the force option was not specified
-
[root@rac2 admin]#
-
[root@rac2 admin]# srvctl stop vip -n rac1 -f
-
PRCC-1017 : 20.20.20.111 was already stopped on rac1
-
PRCR-1005 : Resource ora.rac1-vip2.vip is already stopped
-
[root@rac2 admin]# srvctl stop vip -n rac2 -f
-
[root@rac2 admin]#
-
[root@rac2 admin]# crsctl stop res ora.net2.network
-
CRS-2673: Attempting to stop 'ora.net2.network' on 'rac2'
-
CRS-2673: Attempting to stop 'ora.net2.network' on 'rac1'
-
CRS-2677: Stop of 'ora.net2.network' on 'rac1' succeeded
-
CRS-2677: Stop of 'ora.net2.network' on 'rac2' succeeded
-
[root@rac2 admin]# srvctl config vip -n rac1
-
VIP exists: /20.20.20.111/20.20.20.111/20.20.20.0/255.255.255.0/eth3, hosting node rac1
-
VIP exists: /rac1-vip/192.168.28.111/192.168.28.0/255.255.255.0/eth0, hosting node rac1
-
[root@rac2 admin]# srvctl remove vip -i 20.20.20.111
-
Please confirm that you intend to remove the VIPs 20.20.20.111 (y/[n]) y
-
[root@rac2 admin]# srvctl remove vip -i 20.20.20.222
-
Please confirm that you intend to remove the VIPs 20.20.20.222 (y/[n]) y
-
[root@rac2 admin]# srvctl remove network -k 2
-
PRCR-1001 : Resource ora.net2.network does not exist
-
[root@rac2 admin]#
文章标题:OracleRAC环境添加新的network和listener(未完成)
URL链接:
http://www.cdkjz.cn/article/ieseco.html