1 问题概述
数据库已经配置和IPV6和 IPV4双线协议,需要重新配置IPV6
2 关闭相关资源
1 root用户执行
./srvctl stop scan_listener -i 1
./srvctl stop scan
./srvctl stop listener -n orcldb1
./srvctl stop listener -n orcldb2
./srvctl stop vip -n orcldb1
./srvctl stop vip -n orcldb2
3 删除之前的IPV6 配置
./oifcfg getif
eno3 192.168.224.0 global public
ens3f0 10.2.0.0 global cluster_interconnect,asm
eno3 4509:8002:5A06:0120:0010:0000:0002:D000 global public
./oifcfg delif -global eno3/4509:8002:5A06:0120:0010:0000:0002:D000
./oifcfg getif
eno3 192.168.224.0 global public
ens3f0 10.2.0.0 global cluster_interconnect,asm
./srvctl config network
Network 1 exists
Subnet IPv4: 192.168.224.0/255.255.255.192/eno3, static
Subnet IPv6:
Ping Targets:
Network is enabled
Network is individually enabled on nodes:
Network is individually disabled on nodes:
./srvctl config vip -n orcldb1
VIP exists: network number 1, hosting node orcldb1
VIP Name: orcldb1-vip
VIP IPv4 Address: 192.168.224.16
VIP IPv6 Address: 4509:8002:5a06:120:10:0:2:d010 (inactive)
VIP is enabled.
VIP is individually enabled on nodes:
VIP is individually disabled on nodes:
4 配置新的IPV6配置
./srvctl modify network -subnet 4509:8002:5A06:0120:0010:0000:0002:D000/116/eno3
oifcfg setif eno3/4509:8002:5A06:0120:0010:0000:0002:D000:::public
./srvctl remove vip -vip orcldb1-vip
Please confirm that you intend to remove the VIPs orcldb1-vip (y/[n]) y
./srvctl remove vip -vip orcldb2-vip
Please confirm that you intend to remove the VIPs orcldb2-vip (y/[n]) y
./srvctl config vip -n orcldb1
./srvctl add vip -node orcldb1 -netnum 1 -address 192.168.224.16/255.255.255.192/eno3
./srvctl add vip -node orcldb2 -netnum 1 -address 192.168.224.17/255.255.255.192/eno3
./srvctl modify vip -node orcldb1 -netnum 1 -address 4509:8002:5A06:0120:0010:0000:0002:D010/116/eno3
./srvctl modify vip -node orcldb2 -netnum 1 -address 4509:8002:5A06:0120:0010:0000:0002:D011/116/eno3
./srvctl config vip -n orcldb1
VIP exists: network number 1, hosting node orcldb1
VIP IPv4 Address: 192.168.224.16
VIP IPv6 Address: 4509:8002:5a06:120:10:0:2:d010 (inactive)
VIP is enabled.
VIP is individually enabled on nodes:
VIP is individually disabled on nodes:
./srvctl config vip -n orcldb2
VIP exists: network number 1, hosting node orcldb2
VIP IPv4 Address: 192.168.224.17
VIP IPv6 Address: 4509:8002:5a06:120:10:0:2:d011 (inactive)
VIP is enabled.
VIP is individually enabled on nodes:
VIP is individually disabled on nodes:
./srvctl modify scan -scanname orcldb-scan
5 启动IPV6 IPV4双栈协议
./srvctl modify network -netnum 1 -iptype both
./srvctl start scan
./srvctl start scan_lisener -i 1
./srvctl start scan_listener -i 1
./srvctl start vip -n orcldb1
./srvctl start vip -n orcldb2
[grid@orcldb1 ~]$ ./srvctl start listener -n orcldb1
[grid@orcldb1 ~]$ ./srvctl start listener -n orcldb2文章来源:https://www.toymoban.com/news/detail-706363.html
./srvctl start vip -n orcldb1
./srvctl start vip -n orcldb2
[grid@orcldb1 ~]$ ./srvctl start listener -n orcldb1
[grid@orcldb1 ~]$ ./srvctl start listener -n orcldb2
6 配置监听
su - grid
cd $ORACLE_HOME
cd network/network/
vi listener.ora
LISTENER=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER))(ADDRESS = (PROTOCOL = TCP)(HOST =4509:8002:5A06:0120:0010:0000:0002:D011)(PORT = 1521)(IP=FIRST))(ADDRESS = (PROTOCOL = TCP)(HOST =4509:8002:5A06:0120:0010:0000:0002:D007)(PORT = 1521)(IP=FIRST))))
LISTENER=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER))(ADDRESS = (PROTOCOL = TCP)(HOST =4509:8002:5A06:0120:0010:0000:0002:D011)(PORT = 1521)(IP=FIRST))(ADDRESS = (PROTOCOL = TCP)(HOST =4509:8002:5A06:0120:0010:0000:0002:D007)(PORT = 1521)(IP=FIRST))))
# 增加ipv6的地址文章来源地址https://www.toymoban.com/news/detail-706363.html
到了这里,关于ORACLE集群管理-19C RAC重新配置IPV6的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!