当前位置:网站首页>About RAC modifying scan IP
About RAC modifying scan IP
2022-06-28 08:10:00 【Record】
About modification scan ip when , No need to stop the database instance ,asm or crs
for example :scan ip Need from 192.168.10.24 Change it to 192.168.10.25
- At the node 1, use root User access grid Installed bin Catalog , View the current scan ip State information
[[email protected] ~]# cd /grid/app/11g/bin
[[email protected] bin]# ./srvctl config scan
SCAN name: rac-cluster-scan, Network:1/192.168.10.0/255.255.255.0/eth0
SCAN VIP name: scan1, IP:/rac-cluster-scan/192.168.10.24
- use root The user stopped scan_listener,scan ip service
[[email protected] bin]# ./srvctl stop scan_listener
[[email protected] bin]# ./srvctl stop scan
[[email protected] bin]#./srvctl status scan
SCAN VIP scan1 is enabled
SCAN VIP scan1 is not running
- At all nodes /etc/hosts Modify new... In the file scan ip Address ( Remember that all nodes need to be modified !!!)
[[email protected] bin]# vi /etc/hosts
192.168.10.20 rac1
192.168.10.21 rac2
192.168.10.22 rac1-vip
192.168.10.23 rac2-vip
100.0.0.101 rac1-priv
100.0.0.102 rac2-priv
192.168.10.25 rac-scan
- use root The user to change scan ip
[[email protected] bin]# ./srvctl modify scan -n 192.168.10.25
- Confirm after modification
[[email protected] bin]# ./srvctl config scan
SCAN name: 192.168.10.25, Network: 1/192.168.10.0/255.255.255.0/eth0
SCAN VIP name: scan1, IP: /192.168.10.25/192.168.10.25
You can see that it has been modified .
- start-up scan_listener,scan service
[[email protected] bin]# ./srvctl start scan
[[email protected] bin]# ./srvctl start scan_listener
- Conduct ping test
[[email protected] bin]# ping 192.168.10.25
PING 192.168.10.25 (192.168.10.25) 56(84) bytes of data.
64 bytes from 192.168.10.25: icmp_seq=1 ttl=64 time=1.01 ms
64 bytes from 192.168.10.25: icmp_seq=2 ttl=64 time=1.11ms
64 bytes from 192.168.10.25: icmp_seq=3 ttl=64 time=0.445 ms
64 bytes from 192.168.10.25: icmp_seq=4 ttl=64 time=0.517 ms
- confirm scan,scan_listener.ora state
[[email protected] ~]$ ./crs_stat -t | grep scan
ora.scan1.vip ora....ip.type ONLINE ONLINE rac2
[[email protected] ~]$ ./crs_stat -t | grep lsnr
ora....ER.lsnr ora....er.type ONLINE ONLINE rac1
ora....N1.lsnr ora....er.type ONLINE ONLINE rac2
ora....H1.lsnr application ONLINE ONLINE rac1
ora....H2.lsnr application ONLINE ONLINE rac2
边栏推荐
猜你喜欢
随机推荐
npm清理缓存
MySQL single table access method
SOC clock configuration
Activity implicit jump
【学习笔记】拟阵
Introduction to kubernetes (I)
Study notes 22/1/19 and 22/1/20
安装nrm后,使用nrm命令报错internal/validators.js:124 throw new ERR_INVALID_ARG_TYPE(name, ‘string‘, value)
Study notes 22/1/11
asp. Net registration page
App automated testing appium tutorial 2 - ADB command
MySQL implements transaction persistence using redo logs
Ambari (VI) -- ambari API use
Software design of power control board
B_ QuRT_ User_ Guide(29)
匿名页的反向映射
Ambari (VII) --- ambari integrated hue4.2 document (valid for personal test)
ZYNQ_ IIC read / write m24m01 record board status
Update pip to the latest version
Conversion between HJ integer and IP address







![[shangpinhui] project notes](/img/aa/043dd16c20348f1f80ca5e9e4ad330.png)
