Lxd version : snap version 3.2
Host : ubuntu 18.04
I am trying to figure out the best backup strategy for my Lxd cluster.
I have a 5 node lxd cluster with 8 disks each. Out of these 8 disks 1 is for system, 2 are for lxd zfs pool and rest 5 are for ceph cluster.
I have added a zfs pool as storage for each host (lxd-local) and a ceph storage common to all as (lxd-remote).
The idea is zfs pool will be used to run non-essential containers and ceph storage will be used to host images, backups and important containers.
I understand that using same Ceph Rbd pool in all hosts is not supported. My questoins are
- How can I keep my images on ceph pool and use zfs pool to run them?
- If i create an rbd pool for each host on ceph cluster can i use the same cluster for all hosts?
- If i use ceph rbd pool and for some reason i need to rebuild the host again how can I do lxd init to use the already existing ceph storage rbd pool.