ORACLE集群管理-19c ipv6配置实战
阿里云国内75折 回扣 微信号:monov8 |
阿里云国际,腾讯云国际,低至75折。AWS 93折 免费开户实名账号 代冲值 优惠多多 微信号:monov8 飞机:@monov6 |
其中对应的subnet为gw-1
2409:8002:5A06:0120:0010:0000:0002:D000 =subnet
116为netmask
1 修改/etc/hosts文件
2 修改network
[root@orcl1 bin]# ./srvctl modify network -subnet 2409:8002:5A06:0120:0010:0000:0002:D000/116/eno3
[root@orcl1 bin]# ./srvctl condig network[root@orcl1 bin]# ./srvctl config network
Network 1 exists
Subnet IPv4: 192.168.12..0/255.255.255.192/eno3, static
Subnet IPv6: 2409:8002:5a06:120:10:0:2:d000/116/eno3, static (inactive)
Ping Targets:
Network is enabled
Network is individually enabled on nodes:
Network is individually disabled on nodes:
[root@orcl1 bin]#
3 修改VIP
[root@orcl1 bin]# ./srvctl modify vip -node orcl1 -netnum 1 -address orcl1-vip/116
[root@orcl1 bin]# ./srvctl modify vip -node orcl2 -netnum 1 -address orcl2-vip/116[root@orcl2 bin]# ./srvctl config vip -node orcl2
VIP exists: network number 1, hosting node orcl2
VIP Name: orcl2-vip
VIP IPv4 Address: 192.168.12..17
VIP IPv6 Address: 2409:8002:5a06:120:10:0:2:d011 (inactive)
VIP is enabled.
VIP is individually enabled on nodes:
VIP is individually disabled on nodes:
[root@orcl2 bin]#
[root@orcl1 bin]# ./srvctl config vip -node orcl1
VIP exists: network number 1, hosting node orcl1
VIP Name: orcl1-vip
VIP IPv4 Address: 192.168.12..16
VIP IPv6 Address: 2409:8002:5a06:120:10:0:2:d010 (inactive)
VIP is enabled.
VIP is individually enabled on nodes:
VIP is individually disabled on nodes:
[root@orcl1 bin]#
4 修改PUBLIC IP
oifcfg setif -global eno3/2409:8002:5A06:0120:0010:0000:0002:D000:public
[grid@orcl1 ~]$ oifcfg getif
eno3 192.168.12..0 global public
ens3f0 10.2.0.0 global cluster_interconnect,asm
eno3 2409:8002:5A06:0120:0010:0000:0002:D000 global public
5 修改SCAN
[root@orcl1 bin]# ./srvctl modify scan -scanname eomsdb-scan
[root@orcl1 bin]# ./srvctl modify network -netnum 1 -iptype both
6 查看与连接V6
lsnrctl status listener_scan1
sqlplus system/ora#123@[IPV6ADDERSS]:1522/arsystem