RAC 11G
[root@rac1 bin]# ./crsctl stat res -t
--------------------------------------------------------------------------------
NAME TARGET STATE SERVER STATE_DETAILS
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.DATA.dg
ONLINE ONLINE rac1
ONLINE ONLINE rac2
ora.LISTENER.lsnr
ONLINE ONLINE rac1
ONLINE ONLINE rac2
ora.asm
ONLINE ONLINE rac1 Started
ONLINE ONLINE rac2 Started
ora.eons
ONLINE ONLINE rac1
ONLINE ONLINE rac2
ora.gsd
OFFLINE OFFLINE rac1
OFFLINE OFFLINE rac2
ora.net1.network
ONLINE ONLINE rac1
ONLINE ONLINE rac2
ora.ons
ONLINE ONLINE rac1
ONLINE ONLINE rac2
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE rac1
ora.oc4j
1 OFFLINE OFFLINE
ora.rac.db
1 OFFLINE OFFLINE
2 OFFLINE OFFLINE
ora.rac1.vip
1 ONLINE ONLINE rac1
ora.rac2.vip
1 ONLINE ONLINE rac2
ora.scan1.vip
1 ONLINE OFFLINE
[root@rac1 bin]#
[root@rac1 bin]# ./srvctl stop scan_listener
[root@rac1 bin]# ./srvctl stop scan
[root@rac1 bin]# ./srvctl status scan
SCAN VIP scan1 is enabled
SCAN VIP scan1 is not running
[root@rac1 bin]#
[root@rac1 bin]# ./srvctl config scan
SCAN name: rac-scan.localdomain, Network: 1/192.168.0.0/255.255.255.0/eth0
SCAN VIP name: scan1, IP: /rac-scan.localdomain/192.168.2.201
[root@rac1 bin]#
[root@rac1 bin]# ./srvctl stop scan_listener
[root@rac1 bin]# ./srvctl stop scan
[root@rac1 bin]# ./srvctl status scan
SCAN VIP scan1 is enabled
SCAN VIP scan1 is not running
[root@rac1 bin]#
[root@rac1 bin]# ./srvctl config scan
SCAN name: rac-scan.localdomain, Network: 1/192.168.0.0/255.255.255.0/eth0
SCAN VIP name: scan1, IP: /rac-scan.localdomain/192.168.2.201
[root@rac1 bin]#
[root@rac1 bin]# vi /etc/hosts
[root@rac1 bin]#
[root@rac1 bin]# ./srvctl start scan
PRCR-1079 : Failed to start resource ora.scan1.vip
CRS-5009: The VIP address 192.168.2.201 does not belong to the subnet 192.168.0.0
CRS-2674: Start of 'ora.scan1.vip' on 'rac1' failed
CRS-5009: The VIP address 192.168.2.201 does not belong to the subnet 192.168.0.0
CRS-2674: Start of 'ora.scan1.vip' on 'rac2' failed
CRS-2632: There are no more servers to try to place resource 'ora.scan1.vip' on that would satisfy its placement policy
[root@rac1 bin]#
[root@rac1 bin]# ./srvctl modify scan -n rac-scan.localdomain
[root@rac1 bin]#
[root@rac1 bin]# ./srvctl start scan
[root@rac1 bin]# ./srvctl start scan_listener
[root@rac1 bin]#
-- ---------------------------------------------------------------------------------
-- VERIFICATION
-- ---------------------------------------------------------------------------------
[oracle@rac1 ~]$ oifcfg getif
eth1 192.168.0.0 global cluster_interconnect
eth0 192.168.0.0 global public
[oracle@rac1 ~]$
[oracle@rac1 ~]$ srvctl config nodeapps -a
VIP exists.:rac1
VIP exists.: /rac1-vip/192.168.0.73/255.255.255.0/eth0
VIP exists.:rac2
VIP exists.: /rac2-vip/192.168.0.74/255.255.255.0/eth0
[oracle@rac1 ~]$
[oracle@rac1 ~]$ srvctl config scan
SCAN name: rac-scan.localdomain, Network: 1/192.168.0.0/255.255.255.0/eth0
SCAN VIP name: scan1, IP: /rac-scan.localdomain/192.168.0.75
[oracle@rac1 ~]$
[root@rac1 bin]# ./crsctl stat res -t
--------------------------------------------------------------------------------
NAME TARGET STATE SERVER STATE_DETAILS
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.DATA.dg
ONLINE ONLINE rac1
ONLINE ONLINE rac2
ora.LISTENER.lsnr
ONLINE ONLINE rac1
ONLINE ONLINE rac2
ora.asm
ONLINE ONLINE rac1 Started
ONLINE ONLINE rac2 Started
ora.eons
ONLINE ONLINE rac1
ONLINE ONLINE rac2
ora.gsd
OFFLINE OFFLINE rac1
OFFLINE OFFLINE rac2
ora.net1.network
ONLINE ONLINE rac1
ONLINE ONLINE rac2
ora.ons
ONLINE ONLINE rac1
ONLINE ONLINE rac2
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE rac1
ora.oc4j
1 OFFLINE OFFLINE
ora.rac.db
1 OFFLINE OFFLINE
2 OFFLINE OFFLINE
ora.rac1.vip
1 ONLINE ONLINE rac1
ora.rac2.vip
1 ONLINE ONLINE rac2
ora.scan1.vip
1 ONLINE OFFLINE
[root@rac1 bin]#
[root@rac1 bin]# ./srvctl stop scan_listener
[root@rac1 bin]# ./srvctl stop scan
[root@rac1 bin]# ./srvctl status scan
SCAN VIP scan1 is enabled
SCAN VIP scan1 is not running
[root@rac1 bin]#
[root@rac1 bin]# ./srvctl config scan
SCAN name: rac-scan.localdomain, Network: 1/192.168.0.0/255.255.255.0/eth0
SCAN VIP name: scan1, IP: /rac-scan.localdomain/192.168.2.201
[root@rac1 bin]#
[root@rac1 bin]# ./srvctl stop scan_listener
[root@rac1 bin]# ./srvctl stop scan
[root@rac1 bin]# ./srvctl status scan
SCAN VIP scan1 is enabled
SCAN VIP scan1 is not running
[root@rac1 bin]#
[root@rac1 bin]# ./srvctl config scan
SCAN name: rac-scan.localdomain, Network: 1/192.168.0.0/255.255.255.0/eth0
SCAN VIP name: scan1, IP: /rac-scan.localdomain/192.168.2.201
[root@rac1 bin]#
[root@rac1 bin]# vi /etc/hosts
[root@rac1 bin]#
[root@rac1 bin]# ./srvctl start scan
PRCR-1079 : Failed to start resource ora.scan1.vip
CRS-5009: The VIP address 192.168.2.201 does not belong to the subnet 192.168.0.0
CRS-2674: Start of 'ora.scan1.vip' on 'rac1' failed
CRS-5009: The VIP address 192.168.2.201 does not belong to the subnet 192.168.0.0
CRS-2674: Start of 'ora.scan1.vip' on 'rac2' failed
CRS-2632: There are no more servers to try to place resource 'ora.scan1.vip' on that would satisfy its placement policy
[root@rac1 bin]#
[root@rac1 bin]# ./srvctl modify scan -n rac-scan.localdomain
[root@rac1 bin]#
[root@rac1 bin]# ./srvctl start scan
[root@rac1 bin]# ./srvctl start scan_listener
[root@rac1 bin]#
-- ---------------------------------------------------------------------------------
-- VERIFICATION
-- ---------------------------------------------------------------------------------
[oracle@rac1 ~]$ oifcfg getif
eth1 192.168.0.0 global cluster_interconnect
eth0 192.168.0.0 global public
[oracle@rac1 ~]$
[oracle@rac1 ~]$ srvctl config nodeapps -a
VIP exists.:rac1
VIP exists.: /rac1-vip/192.168.0.73/255.255.255.0/eth0
VIP exists.:rac2
VIP exists.: /rac2-vip/192.168.0.74/255.255.255.0/eth0
[oracle@rac1 ~]$
[oracle@rac1 ~]$ srvctl config scan
SCAN name: rac-scan.localdomain, Network: 1/192.168.0.0/255.255.255.0/eth0
SCAN VIP name: scan1, IP: /rac-scan.localdomain/192.168.0.75
[oracle@rac1 ~]$
No comments:
Post a Comment