Hi everyone,
I want to know about lxd clusters like how it works and scenarios?
Turning down a node in lxd using command lxd stop container name it automatically stops the node2 but what i need is does the node2 will be available when node1 is down.
You need a minimal of 3 LXD servers to operate a cluster which will not go offline when a server goes down.
Instances running on a server which goes down will be unavailable until that server comes back up, that’s unless you’ve got your storage on Ceph in which case you can move instances from an offline server to one which is online (manually) and then start them back up rather than wait for the server to come back online.
It means it’s not a database node and that if node1 goes offline everything will go offline as we mentioned earlier for redundancy you need at least 3 nodes at which point they all will be marked as database nodes.
ok will try with 3 nodes.
This is a different case:
created a lxd cluster and then removed it, again trying to join a cluster through cmd lxd init but i get this err.
What IP address or DNS name should be used to reach this node? [default=192.168.1.244]:
Invalid input: Can’t bind address “192.168.1.244:8443”: listen tcp 192.168.1.244:8443: bind: address already in use