修改grid scan ip地址
原系統使用hosts檔案解析,改為使用dns解析。
[BEGIN] 12/13/2016 10:24:39 AM
[root@app02~]# /u01/app/11.2.0/grid/bin/srvctl config scan
SCAN name: scan, name: 1/10.138.16.0/255.255.255.0/bond0
SCAN VIP name: scan1, IP: /scan/192.0.2.16
[root@app02~]# /u01/app/11.2.0/grid/bin/srvctl config scan_listener
SCAN namename LISTENER_SCAN1 namenamename: TCP:1521
[root@app02~]# /u01/app/11.2.0/grid/bin/srvctl status scan_listener
SCAN namename LISTENER_SCAN1 name
SCAN namename LISTENER_SCAN1 namename rrsjkptapp04 name
[root@app02~]# /u01/app/11.2.0/grid/bin/srvctl status scan
SCAN VIP scan1 is enabled
SCAN VIP scan1 is running rrsjkptapp04 name
[root@app02~]# /u01/app/11.2.0/grid/bin/srvctl stop scan_listener
[root@app02~]# /u01/app/11.2.0/grid/bin/srvctl stop scan
[root@app02~]# /u01/app/11.2.0/grid/bin/srvctl status scan
SCAN VIP scan1 is disable
[root@app02~]# /u01/app/11.2.0/grid/bin/srvctl stop scan_listener
PRCC-1016 : LISTENER_SCAN1
PRCR-1005 : name ora.LISTENER_SCAN1.lsnr
[root@app02~]# /u01/app/11.2.0/grid/bin/srvctl modify scan jkptapp.jxjg.corp.com
PRKO-2002 : namenamename?: rrsjkptapp.jxjg.corp.haier.com
[root@app02~]# /u01/app/11.2.0/grid/bin/srvctl modify scan -n jkptapp.jxjg.corp.com
[root@app02~]# /u01/app/11.2.0/grid/bin/srvctl modify scan_listener -u
[root@app02~]# /u01/app/11.2.0/grid/bin/srvctl config scan
SCAN name: rrsjkptapp.jxjg.corp.haier.com, name: 1/192.0.2.0/255.255.255.0/bond0
SCAN VIP name: scan1, IP: /jkptapp.jxjg.corpcom/192.0.2.16
SCAN VIP name: scan2, IP: /jkptapp.jxjg.corp.com/192.0.2.17
SCAN VIP name: scan3, IP: /jkptapp.jxjg.corpcom/192.0.2.18
[root@app02~]# /u01/app/11.2.0/grid/bin/srvctl config scan_listener
SCAN namename LISTENER_SCAN1 namenamename: TCP:1521
SCAN namename LISTENER_SCAN2 namenamename: TCP:1521
SCAN namename LISTENER_SCAN3 namenamename: TCP:1521
[root@app02~]# /u01/app/11.2.0/grid/bin/srvctl status scan_listener
SCAN namename LISTENER_SCAN1 name?
SCAN namename LISTENER_SCAN1 name?
SCAN namename LISTENER_SCAN2 name?
SCAN namename LISTENER_SCAN2 name?
SCAN namename LISTENER_SCAN3 name?
SCAN namename LISTENER_SCAN3 name?
[root@app02~]# /u01/app/11.2.0/grid/bin/srvctl status scan
SCAN VIP scan1 name?
SCAN VIP scan1 name?
SCAN VIP scan2 name?
SCAN VIP scan2 name?
SCAN VIP scan3 name?
SCAN VIP scan3 name?
[root@app02~]# /u01/app/11.2.0/grid/bin/srvctl start scan_listener
[root@app02~]# /u01/app/11.2.0/grid/bin/srvctl status scan_listener
SCAN namename LISTENER_SCAN1 name?
SCAN namename LISTENER_SCAN1 namename app02name?
SCAN namename LISTENER_SCAN2 name?
SCAN namename LISTENER_SCAN2 namename app04 name?
SCAN namename LISTENER_SCAN3 name?
SCAN namename LISTENER_SCAN3 namename app04 name?
[root@app02~]# /u01/app/11.2.0/grid/bin/crsctl stat res -t
--------------------------------------------------------------------------------
NAME TARGET STATE SERVER STATE_DETAILS
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.DATA.dg
ONLINE ONLINE app04
ONLINE ONLINE app02
ora.LISTENER.lsnr
ONLINE ONLINE app04
ONLINE ONLINE app02
ora.SYS.dg
ONLINE ONLINE app04
ONLINE ONLINE app02
ora.asm
ONLINE ONLINE app04 Started
ONLINE ONLINE app02 Started
ora.gsd
OFFLINE OFFLINE tapp04
OFFLINE OFFLINE app02
ora.net1.network
ONLINE ONLINE app04
ONLINE ONLINE app02
ora.ons
ONLINE ONLINE app04
ONLINE ONLINE app02
ora.registry.acfs
ONLINE ONLINE app04
ONLINE ONLINE app02
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE app02
ora.LISTENER_SCAN2.lsnr
1 ONLINE ONLINE app04
ora.LISTENER_SCAN3.lsnr
1 ONLINE ONLINE app04
ora.cvu
1 ONLINE ONLINE tapp04
ora.oc4j
1 ONLINE ONLINE app04
ora.rrsjkptapp04.vip
1 ONLINE ONLINE app04
ora.rrsjkptapp05.vip
1 ONLINE ONLINE app02
ora.scan1.vip
1 ONLINE ONLINE app02
ora.scan2.vip
1 ONLINE ONLINE app04
ora.scan3.vip
1 ONLINE ONLINE app04
[END] 12/13/2016 10:28:04 AM
[root@app02~]# /u01/app/11.2.0/grid/bin/srvctl config scan
SCAN name: scan, name: 1/10.138.16.0/255.255.255.0/bond0
SCAN VIP name: scan1, IP: /scan/192.0.2.16
[root@app02~]# /u01/app/11.2.0/grid/bin/srvctl config scan_listener
SCAN namename LISTENER_SCAN1 namenamename: TCP:1521
[root@app02~]# /u01/app/11.2.0/grid/bin/srvctl status scan_listener
SCAN namename LISTENER_SCAN1 name
SCAN namename LISTENER_SCAN1 namename rrsjkptapp04 name
[root@app02~]# /u01/app/11.2.0/grid/bin/srvctl status scan
SCAN VIP scan1 is enabled
SCAN VIP scan1 is running rrsjkptapp04 name
[root@app02~]# /u01/app/11.2.0/grid/bin/srvctl stop scan_listener
[root@app02~]# /u01/app/11.2.0/grid/bin/srvctl stop scan
[root@app02~]# /u01/app/11.2.0/grid/bin/srvctl status scan
SCAN VIP scan1 is disable
[root@app02~]# /u01/app/11.2.0/grid/bin/srvctl stop scan_listener
PRCC-1016 : LISTENER_SCAN1
PRCR-1005 : name ora.LISTENER_SCAN1.lsnr
[root@app02~]# /u01/app/11.2.0/grid/bin/srvctl modify scan jkptapp.jxjg.corp.com
PRKO-2002 : namenamename?: rrsjkptapp.jxjg.corp.haier.com
[root@app02~]# /u01/app/11.2.0/grid/bin/srvctl modify scan -n jkptapp.jxjg.corp.com
[root@app02~]# /u01/app/11.2.0/grid/bin/srvctl modify scan_listener -u
[root@app02~]# /u01/app/11.2.0/grid/bin/srvctl config scan
SCAN name: rrsjkptapp.jxjg.corp.haier.com, name: 1/192.0.2.0/255.255.255.0/bond0
SCAN VIP name: scan1, IP: /jkptapp.jxjg.corpcom/192.0.2.16
SCAN VIP name: scan2, IP: /jkptapp.jxjg.corp.com/192.0.2.17
SCAN VIP name: scan3, IP: /jkptapp.jxjg.corpcom/192.0.2.18
[root@app02~]# /u01/app/11.2.0/grid/bin/srvctl config scan_listener
SCAN namename LISTENER_SCAN1 namenamename: TCP:1521
SCAN namename LISTENER_SCAN2 namenamename: TCP:1521
SCAN namename LISTENER_SCAN3 namenamename: TCP:1521
[root@app02~]# /u01/app/11.2.0/grid/bin/srvctl status scan_listener
SCAN namename LISTENER_SCAN1 name?
SCAN namename LISTENER_SCAN1 name?
SCAN namename LISTENER_SCAN2 name?
SCAN namename LISTENER_SCAN2 name?
SCAN namename LISTENER_SCAN3 name?
SCAN namename LISTENER_SCAN3 name?
[root@app02~]# /u01/app/11.2.0/grid/bin/srvctl status scan
SCAN VIP scan1 name?
SCAN VIP scan1 name?
SCAN VIP scan2 name?
SCAN VIP scan2 name?
SCAN VIP scan3 name?
SCAN VIP scan3 name?
[root@app02~]# /u01/app/11.2.0/grid/bin/srvctl start scan_listener
[root@app02~]# /u01/app/11.2.0/grid/bin/srvctl status scan_listener
SCAN namename LISTENER_SCAN1 name?
SCAN namename LISTENER_SCAN1 namename app02name?
SCAN namename LISTENER_SCAN2 name?
SCAN namename LISTENER_SCAN2 namename app04 name?
SCAN namename LISTENER_SCAN3 name?
SCAN namename LISTENER_SCAN3 namename app04 name?
[root@app02~]# /u01/app/11.2.0/grid/bin/crsctl stat res -t
--------------------------------------------------------------------------------
NAME TARGET STATE SERVER STATE_DETAILS
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.DATA.dg
ONLINE ONLINE app04
ONLINE ONLINE app02
ora.LISTENER.lsnr
ONLINE ONLINE app04
ONLINE ONLINE app02
ora.SYS.dg
ONLINE ONLINE app04
ONLINE ONLINE app02
ora.asm
ONLINE ONLINE app04 Started
ONLINE ONLINE app02 Started
ora.gsd
OFFLINE OFFLINE tapp04
OFFLINE OFFLINE app02
ora.net1.network
ONLINE ONLINE app04
ONLINE ONLINE app02
ora.ons
ONLINE ONLINE app04
ONLINE ONLINE app02
ora.registry.acfs
ONLINE ONLINE app04
ONLINE ONLINE app02
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE app02
ora.LISTENER_SCAN2.lsnr
1 ONLINE ONLINE app04
ora.LISTENER_SCAN3.lsnr
1 ONLINE ONLINE app04
ora.cvu
1 ONLINE ONLINE tapp04
ora.oc4j
1 ONLINE ONLINE app04
ora.rrsjkptapp04.vip
1 ONLINE ONLINE app04
ora.rrsjkptapp05.vip
1 ONLINE ONLINE app02
ora.scan1.vip
1 ONLINE ONLINE app02
ora.scan2.vip
1 ONLINE ONLINE app04
ora.scan3.vip
1 ONLINE ONLINE app04
[END] 12/13/2016 10:28:04 AM
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/20747382/viewspace-2130356/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle 11gR2 RAC修改SCAN IP地址Oracle
- 修改scan ip
- 【RAC】如何修改SCAN IP的IP地址、名稱、埠等資訊
- Oracle RAC修改Scan IP,Public IP的方法Oracle
- Oracle RAC修改public, VIP, SCAN IPOracle
- RAC修改IP地址
- Oracle 11G 修改scan_ipOracle
- Oracle 11g修改RAC SCAN IPOracle
- Oracle RAC修改public,private,vip scan IPOracle
- Oracle RAC 修改 IP 地址Oracle
- 修改CentOS的IP地址CentOS
- Debian 修改IP地址
- linux修改IP地址Linux
- Oracle 11gR2 RAC修改SCAN IPOracle
- CentOS8修改IP地址CentOS
- Linux(CentOS)修改IP地址LinuxCentOS
- ubuntu系統 IP地址修改Ubuntu
- Ubuntu配置和修改IP地址Ubuntu
- oracle linux 11.2 rac grid infrastructure add scan ipOracleLinuxASTStruct
- redhat linux 11.2 rac grid infrastructure add scan ipRedhatLinuxASTStruct
- 11g RAC 修改PUBLIC-IP、VIP、PRIV-IP、SCAN-IP
- oracle 11gR2 修改 DNS 方式 SCAN IPOracleDNS
- 如何修改 Rancher Server 的 IP 地址Server
- Oracle RAC修改IP和VIP地址Oracle
- ubuntu22.04修改IP地址Ubuntu
- 新增SCAN IP
- HP-UX修改主機IP地址UX
- oracle 11gR2 如何修改scan vip 地址 /etc/hosts方式Oracle
- 11gr2 rac改IP系列之三:修改SCAN IP為同網段其它IP
- win10 ip地址怎麼設定_win10修改ip地址的方法Win10
- ubuntu修改mac地址及配置靜態ipUbuntuMac
- Linux IP地址修改與配置問題Linux
- Linux 修改IP地址和閘道器Linux
- RAC重建SCAN IP
- RAC 增加SCAN IP
- scan IP 學習
- 修改IP地址選擇高質量IP波段選用技巧!
- Windows下通過指令碼快速修改IP地址Windows指令碼