Hi All,
I have configured DB2 HA using db2haicu utility.
Setup Details:
test14 and test15 are using shared filesystem which is always mounted as /DB2.
I see the expected output on both machines for lssam command.
db2inst1@test14:~> lssam
Online IBM.ResourceGroup:db2_db2inst1_0-rg Nominal=Online
|- Online IBM.Application:db2_db2inst1_0-rs
|- Online IBM.Application:db2_db2inst1_0-rs:test14
'- Offline IBM.Application:db2_db2inst1_0-rs:test15
'- Online IBM.ServiceIP:db2ip_9_1_69_84-rs
|- Online IBM.ServiceIP:db2ip_9_1_69_84-rs:test14
'- Offline IBM.ServiceIP:db2ip_9_1_69_84-rs:test15
db2inst1@test14:~>
db2inst1@test15:~> lssam
Online IBM.ResourceGroup:db2_db2inst1_0-rg Nominal=Online
|- Online IBM.Application:db2_db2inst1_0-rs
|- Online IBM.Application:db2_db2inst1_0-rs:test14
'- Offline IBM.Application:db2_db2inst1_0-rs:test15
'- Online IBM.ServiceIP:db2ip_9_1_69_84-rs
|- Online IBM.ServiceIP:db2ip_9_1_69_84-rs:test14
'- Offline IBM.ServiceIP:db2ip_9_1_69_84-rs:test15
db2inst1@test15:~>
I have also verified that the switch over happens as expected after rebooting active node. I have observed that IP gets switch over from active node to passive node immediately after rebooting active node, but db2 goes in pending state and takes around 3 to 4 mins to become online.
Questions:
Is that expected to switch over from active node to passive node? If no, what might have gone wrong? How should I fix this?
Thanks and Regards,
-Shashank