APPLIES TO:
Oracle Database - Enterprise Edition - Version 12.2.0.1 and later
Information in this document applies to any platform.SYMPTOMS
On 12.2 GI, the public network resource has been modified from IPV4 to IPV6 and the prefix is 120.
srvctl config network
Network 1 exists
Subnet IPv4:
Subnet IPv6: xxxx:xxxx:xxxx:1:xxxx:0:xxxx:xxxx/120/<Interface_name>, static <==
Ping Targets:
Network is enabled
Network is individually enabled on nodes:
Network is individually disabled on nodes:
When stopping the cluster, the local VIP resource cannot be stopped with the following error in
crsd_orarootagent_root.trc.
(null) category: -2, operation: ioctl, loc: SIOCDIFADDR, OS error: 99,
other: failed to delete address2023-03-23 15:09:23.045 :CLSDYNAM:3909191424: [ora.orcldb1.vip]{0:10:2} [check] Failed to check 10.228.224.16 on eno3
2023-03-23 15:09:23.045 :CLSDYNAM:3909191424: [ora.orcldb1.vip]{0:10:2} [check] (null) category: 0, operation: , loc: , OS error: 0, other:
2023-03-23 15:09:23.045 :CLSDYNAM:3909191424: [ora.orcldb1.vip]{0:10:2} [check] VipAgent::checkIp/checkIpv6/both returned false
2023-03-23 15:09:23.045 :CLSDYNAM:3909191424: [ora.orcldb1.vip]{0:10:2} [check] VipAgent::check - ipv6 is good but not ipv4.stopping ipv6 before going to offline
2023-03-23 15:09:23.045 :CLSDYNAM:3909191424: [ora.orcldb1.vip]{0:10:2} [check] VipActions::stopIpV6 {
2023-03-23 15:09:23.045 :CLSDYNAM:3909191424: [ora.orcldb1.vip]{0:10:2} [check] Deleting ipv6 address '2409:8002:36ra:0120:0010:0000:0002:d010', on the interface name 'eno3'
2023-03-23 15:09:23.045 :CLSDYNAM:3909191424: [ora.orcldb1.vip]{0:10:2} [check] sclsideladdrsv6 returned
2023-03-23 15:09:23.045 :CLSDYNAM:3909191424: [ora.orcldb1.vip]{0:10:2} [check] Failed to delete 2409:8002:36ra:0120:0010:0000:0002:d010 on eno3
2023-03-23 15:09:23.045 :CLSDYNAM:3909191424: [ora.orcldb1.vip]{0:10:2} [check] (null) category: -2, operation: ioctl, loc: SIOCDIFADDR, OS error: 99, other: failed to delete address
2023-03-23 15:09:23.045 :CLSDYNAM:3909191424: [ora.orcldb1.vip]{0:10:2} [check] VipActions::stopIpV6 }
2023-03-23 15:09:23.045 :CLSDYNAM:3909191424: [ora.orcldb1.vip]{0:10:2} [check] VipActions::stopIpV6 {
2023-03-23 15:09:23.045 :CLSDYNAM:3909191424: [ora.orcldb1.vip]{0:10:2} [check] Deleting ipv6 address '2409:8002:36ra:0120:0010:0000:0002:d010', on the interface name 'eno3'
2023-03-23 15:09:23.045 :CLSDYNAM:3909191424: [ora.orcldb1.vip]{0:10:2} [check] sclsideladdrsv6 returned
2023-03-23 15:09:23.045 :CLSDYNAM:3909191424: [ora.orcldb1.vip]{0:10:2} [check] Failed to delete 2409:8002:36ra:0120:0010:0000:0002:d010 on eno3
2023-03-23 15:09:23.045 :CLSDYNAM:3909191424: [ora.orcldb1.vip]{0:10:2} [check] (null) category: -2, operation: ioctl, loc: SIOCDIFADDR, OS error: 99, other: failed to delete address
2023-03-23 15:09:23.045 :CLSDYNAM:3909191424: [ora.orcldb1.vip]{0:10:2} [check] VipActions::stopIpV6 }
2023-03-23 15:09:24.045 :CLSDYNAM:3909191424: [ora.orcldb1.vip]{0:10:2} [check] VipActions::stopIpV6 {
2023-03-23 15:09:24.045 :CLSDYNAM:3909191424: [ora.orcldb1.vip]{0:10:2} [check] Deleting ipv6 address '2409:8002:36ra:0120:0010:0000:0002:d010', on the interface name 'eno3'
2023-03-23 15:09:24.045 :CLSDYNAM:3909191424: [ora.orcldb1.vip]{0:10:2} [check] sclsideladdrsv6 returned
2023-03-23 15:09:24.045 :CLSDYNAM:3909191424: [ora.orcldb1.vip]{0:10:2} [check] Failed to delete 2409:8002:36ra:0120:0010:0000:0002:d010 on eno3
2023-03-23 15:09:24.045 :CLSDYNAM:3909191424: [ora.orcldb1.vip]{0:10:2} [check] (null) category: -2, operation: ioctl, loc: SIOCDIFADDR, OS error: 99, other: failed to delete address
2023-03-23 15:09:24.045 :CLSDYNAM:3909191424: [ora.orcldb1.vip]{0:10:2} [check] VipActions::stopIpV6 }
CHANGES
Modified public network IP from IPV4 to IPV6 with the prefix length is set to 120.
CAUSE
This is due to Bug 32128969. 升级到19.11
The prefix in the current code is hardcoded as 64, this is the problem.
On Linux, we see the following error when prefix length is 120.
(null) category: -2, operation: ioctl, loc: SIOCDIFADDR, OS error: 99,
other: failed to delete address
SOLUTION
VIP can be stopped normally if the prefix length is set to 64.