标签:lob conf srv sharp work asm 1.0 host 主机
修改前host文件 198.27.73.21 ht-d01 198.27.73.22 ht-d02 198.27.73.25 ht-d01-vip 198.27.73.26 ht-d02-vip 198.27.73.29 ht-db-scanip 9.24.20.31 ht-d01-priv1 9.24.20.32 ht-d02-priv1 9.24.21.31 ht-d01-priv2 9.24.21.32 ht-d02-priv2 修改前的ip vip scanip oifcfg getif en6 9.24.20.0 global cluster_interconnect en7 9.24.21.0 global cluster_interconnect en8 198.27.73.0 global public srvctl config nodeapps -a Network exists: 1/198.27.73.0/255.255.255.0/en8, type static VIP exists: /ht-d01-vip/198.27.73.25/198.27.73.0/255.255.255.0/en8, hosting node ht-d01 VIP exists: /ht-d02-vip/198.27.73.26/198.27.73.0/255.255.255.0/en8, hosting node ht-d02 srvctl config scan SCAN name: ht-db-scanip, Network: 1/198.27.73.0/255.255.255.0/en8 SCAN VIP name: scan1, IP: /ht-db-scanip/198.27.73.29 修改前先备份ocr(2台主机都备份) export GRID_HOME=/oracle/app/crs $GRID_HOME/bin/ocrconfig -export /home/grid/myocr1 停止数据库 srvctl stop database -d zrr 修改主机ip(root用户执行) export CRS_HOME=/oracle/app/crs $CRS_HOME/bin/oifcfg delif -global en8/198.27.73.0 $CRS_HOME/bin/oifcfg setif -global en8/198.27.79.0:public 修改完检查 [root@ht-d01 /]# $CRS_HOME/bin/oifcfg getif en6 9.24.20.0 global cluster_interconnect en7 9.24.21.0 global cluster_interconnect en8 198.27.79.0 global public 主机工程师修改ip地址,主机修改完以后修改host文件 198.27.79.11 ht-d01 198.27.79.12 ht-d02 198.27.79.15 ht-d01-vip 198.27.79.16 ht-d02-vip 198.27.79.19 ht-db-scanip 9.24.20.31 ht-d01-priv1 9.24.20.32 ht-d02-priv1 9.24.21.31 ht-d01-priv2 9.24.21.32 ht-d02-priv2 停止vip $CRS_HOME/bin/srvctl stop vip -n ht-d01 -f $CRS_HOME/bin/srvctl stop vip -n ht-d02 -f 修改vip $CRS_HOME/bin/srvctl modify nodeapps -n ht-d01 -A 198.27.79.15/255.255.255.128/en8 $CRS_HOME/bin/srvctl modify nodeapps -n ht-d02 -A 198.27.79.16/255.255.255.128/en8 修改完查看 [+ASM1]@ht-d01[/home/grid]$srvctl config nodeapps -a Network exists: 1/198.27.79.0/255.255.255.128/en8, type static VIP exists: /198.27.79.15/198.27.79.15/198.27.79.0/255.255.255.128/en8, hosting node ht-d01 VIP exists: /198.27.79.16/198.27.79.16/198.27.79.0/255.255.255.128/en8, hosting node ht-d02 起动vip及查看 $CRS_HOME/bin/srvctl start vip -n ht-d01 $CRS_HOME/bin/srvctl start vip -n ht-d02 ifconfig -a $CRS_HOME/bin/crsctl stat res -t 停止scan监听和scan服务 $CRS_HOME/bin/srvctl stop scan_listener $CRS_HOME/bin/srvctl stop scan 修改scan ip $CRS_HOME/bin/srvctl modify scan -n ht-db-scanip 修改完查看 [+ASM1]@ht-d01[/home/grid]$srvctl config scan SCAN name: ht-db-scanip, Network: 1/198.27.79.0/255.255.255.128/en8 SCAN VIP name: scan1, IP: /ht-db-scanip/198.27.79.19 [+ASM1]@ht-d01[/home/grid]$srvctl config scan_listener SCAN Listener LISTENER_SCAN1 exists. Port: TCP:1521
oracle 11.2.0.4 rac 修改 ip vip scan ip
标签:lob conf srv sharp work asm 1.0 host 主机
原文地址:https://www.cnblogs.com/omsql/p/9597589.html