paulo_bruck
(Paulo Ricardo Bruck)
May 10, 2019, 10:16pm
1
Hi
I used to work with small cluster ( normaly 2 nodes) with H.A. using drbd + kvm + heartbeat.( debian or Ubuntu)
Now I’m studing to migrate to LXD. I know that I can use ceph , but is to much to a single environment… I see this post that is interesting:
https://www.thomas-krenn.com/en/wiki/HA_Cluster_with_Linux_Containers_based_on_Heartbeat,_Pacemaker,_DRBD_and_LXC
Is there any options to move from 2 nodes using drbd+kvm to LXD ?
Thanks in advanced
paulo_bruck
(Paulo Ricardo Bruck)
May 15, 2019, 8:08pm
2
Hi
Looking at General I realize that someone has already discuss this topic…
I don’t think so, I always make sure that I have redundant containers running on all hosts and haproxy directing traffic . That way if a container goes down I don’t need to worry about moving it and just wait for the host to come back up.
Additionally, I’m using ucarp to provide virtual IP addresses for applications like haproxy that need to share a single IP address and failover to a node that’s alive if the host goes down.
Imagine a scenario where you have a large redis dataset and LXD autom…
But as I said using ceph with a single 2 nodes is not advisable. Should be nice if lxd could support any kind os storage type as nfs, drbd and others. I know that is a huge effort , hope I see it soon …80)))
paulo_bruck
(Paulo Ricardo Bruck)
May 15, 2019, 8:10pm
3
Sorry, correct link is below…
Hi !
I’ve setup a lxd cluster with three nodes. Aside this, for container storage, I’ve setup a complete ceph cluster and of course defined this on my lxd cluster.
Here is the output of lxc storage list :
lxdpool ceph created 4
And the output of lxc storage show lxdpool :
config:
ceph.cluster_name: ceph
ceph.osd.pg_num: “40”
ceph.osd.pool_name: cephfs
ceph.user.name: admin
volatile.pool.pristine: “true”
description: “”
name: lxdpool
driver: ceph
used_by:
/1.0/containers/lxc-dr…