I am bringing up a HA cluster and have 2 linux VM with NCS-3.4.1 installed.
When the ha cluster is activated I see the state as master for both NCS.
[root@localhost etc]# hostname
nso-172-67
[root@localhost etc]# ncs_cli -uadmin
admin connected from 127.0.0.1 using console on nso-172-67
admin@ncs> show ha-cluster
NAME STATUS
---------------------
nso-172-67 master
[ok][2015-05-29 15:45:46]
admin@ncs>
[root@localhost ncs]# hostname
nso-172-66
[root@localhost ncs]# ncs_cli -u admin
admin connected from 127.0.0.1 using console on nso-172-66
admin@ncs> show ha-cluster
NAME STATUS
---------------------
nso-172-66 master
nso-172-67 unknown
[ok][2015-05-29 15:46:08]
admin@ncs>
admin@ncs> show configuration ha-cluster
auto-start disable;
master-ip {
enable;
vip 172.25.86.68;
member nso-172-66 {
interface ens192;
}
member nso-172-67 {
interface ens192;
}
}
members nso-172-66 {
address 172.25.86.66;
role master;
}
members nso-172-67 {
address 172.25.86.67;
role slave;
transition-enabled true;
master-capable true;
}
[ok][2015-05-29 15:46:32]
admin@ncs>
Kindly let me know if anything is missing.
Solved! Go to Solution.
This normally happens when slave node is unable to communicate with master node on the port being used for HA.
Please take a look at HA documentation.
This normally happens when slave node is unable to communicate with master node on the port being used for HA.
Please take a look at HA documentation.
After the ip tables are flushed this worked.