修改RACBDB SCAN 配置步骤如下:
1. 修改racb1/racb2主机/etc/hosts配置文件
删除10.39.229.219 raca-scan
增加 10.39.229.229 racb-scan
2. 修改SCAN,并UPDATE SCAN Listener中的配置
root@racb1:/>srvctl modify scan -n racb-scan
root@racb1:/>srvctl modify scan_listener –u
root@racb1:/>srvctl config scan
SCAN name: racb-scan, Network: 1/10.39.229.0/255.255.255.0/en17
SCAN VIP name: scan1, IP: /racb-scan/10.39.229.229
3. 启动SCAN 资源
root@racb1:/>crsctl start res ora.scan1.vip
CRS-2672: Attempting to start 'ora.scan1.vip' on 'racb2'
CRS-2676: Start of 'ora.scan1.vip' on 'racb2' succeeded
root@racb1:/>
root@racb1:/>
root@racb1:/>crsctl stat res -t
--------------------------------------------------------------------------------
NAME TARGET STATE SERVER STATE_DETAILS
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.LISTENER.lsnr
ONLINE ONLINE racb1
ONLINE ONLINE racb2
ora.asm
OFFLINE OFFLINE racb1
OFFLINE OFFLINE racb2
ora.gsd
OFFLINE OFFLINE racb1
OFFLINE OFFLINE racb2
ora.net1.network
ONLINE ONLINE racb1
ONLINE ONLINE racb2
ora.net2.network
ONLINE ONLINE racb1
ONLINE ONLINE racb2
ora.ons
ONLINE ONLINE racb1
ONLINE ONLINE racb2
ora.registry.acfs
OFFLINE OFFLINE racb1
OFFLINE OFFLINE racb2
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
1 OFFLINE OFFLINE
ora.racadb.db
1 ONLINE ONLINE racb1 Open
2 ONLINE ONLINE racb2 Open
ora.racb1.vip
1 ONLINE ONLINE racb1
ora.racb2.vip
1 ONLINE ONLINE racb2
ora.cvu
1 ONLINE ONLINE racb1
ora.oc4j
1 ONLINE ONLINE racb1
ora.scan1.vip
1 ONLINE ONLINE racb2
启动成功。
4. 修改remote_listener配置, 并重启数据库
SQL> alter system set remote_listener='racb-scan:1521' scope=spfile;
SQL>shutdown immediate
$srvctl start database -d racadb
[@more@]来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/90901/viewspace-1056605/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/90901/viewspace-1056605/