You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### These have changed. In older clusters, these are 'true/false' or 'online/offline', but now show as a timestamp.
3595
+
# in_ccm - Corosync member
3596
+
my$in_ccm = 0;
3597
+
if (($anvil->data->{cib}{parsed}{cib}{node_state}{$node_id}{in_ccm} eq"true") or ($anvil->data->{cib}{parsed}{cib}{node_state}{$node_id}{in_ccm} =~ /^\d+$/))
3598
+
{
3599
+
$in_ccm = 1;
3600
+
}
3601
+
# crmd - In corosync process group
3602
+
my$crmd = 0;
3603
+
if (($anvil->data->{cib}{parsed}{cib}{node_state}{$node_id}{crmd} eq"online") or ($anvil->data->{cib}{parsed}{cib}{node_state}{$node_id}{crmd} =~ /^\d+$/))
3604
+
{
3605
+
$crmd = 1;
3606
+
}
3607
+
# join - Completed controller join process
3608
+
my$join = 0;
3609
+
if (($anvil->data->{cib}{parsed}{cib}{node_state}{$node_id}{'join'} eq"member") or ($anvil->data->{cib}{parsed}{cib}{node_state}{$node_id}{'join'} =~ /^\d+$/))
3610
+
{
3611
+
$join = 1;
3612
+
}
3613
+
3602
3614
# If the global maintenance mode is set, set maintenance mode to true.
3603
3615
if (($anvil->data->{cib}{parsed}{data}{cluster}{'maintenance-mode'}) && ($anvil->data->{cib}{parsed}{data}{cluster}{'maintenance-mode'} eq"true"))
0 commit comments