-
Documentation task
-
Resolution: Fixed
-
Major
-
6.0.32
-
None
-
S24-W30/31
-
0.125
The description and example command to remove an HA node is not correct.
<target> must be an ID or name, not a number.
https://www.zabbix.com/documentation/6.0/en/manual/concepts/server/ha#managing-ha-cluster
ha_remove_node=target - remove an HA node identified by its <target> - number of the node in the list (the number can be obtained from the output of running ha_status), e.g.:
zabbix_server -R ha_remove_node=2
Actual output of the command "zabbbix_server -R ha_status" is below.
ID of HA1 is "clz7s4lxg00011581h0g3vi78" but "1" could be mistaken for ID.
test@ha1:~$ sudo zabbix_server -R ha_status Failover delay: 60 seconds Cluster status: # ID Name Address Status Last Access 1. clz7s4lxg00011581h0g3vi78 HA1 192.168.64.28:10051 active 3s 2. clz7sk9uh0001cv82o6v8i0v0 HA2 192.168.64.29:10051 standby 5s test@ha1:~$
ZBXNEXT-9371 is derived from this issue.