I am referring to the examples given for ha (‘dummy’ folder). The setup came up fine and things are working properly. Now when I want to turn one node as a relay (as explained in section 24.8 of documents), I am not able to create the setup.
- Created node0 as master and node1, node2, node3 as slaves (all on same host - with the same ports given in sample)
- Moved node3 to none state using ctrl. (later I wanted it to be relay-slave)
- Added handling to support relay in ‘ctrl’ and trying to change the state of node2 to ‘relay’ - by calling confd_ha_berelay but I get this error “Failed to bind relay socket for HA” (CONFD_ERR_HA_BIND)