Hello all,
I'm using Proxmox@home for months now and I really like the product. Well designed, stable, etc, ...
My environment is based on 2 NUCs (pvetest repo) and 2 Synos.
Right now, each Syno provides NFS storage to the cluster and one of them is also providing a VM (phpvirtualbox) used as 3rd node for the HA quorum. I've defined a "physical" group with the 2 NUCs and HA VMs are bound to the group.
Yesterday I have had a power outage, longer than the UPS were able to backup. So everything went down properly (PVEs are upsmon clients and UPS are managed by the Synos). But I've forgot to set the "autostart after power failure" option on one Syno so the VMs hosted on it were "HA:error" when power came back.
My question is, regarding my environment, what could I do to set-up a redundant storage ?
I thought of:
1.- Create a 500GB iSCSI LUN on each Syno
2.- Attach (debian level) the Syno1 LUN to PVE1 as /dev/sdb
3.- Attach (debian level) the Syno2 LUN to PVE2 as /dev/sdb
4.- Create a single /dev/sdb1 partition on each LUN.
5.- Install drdb on PVE1/PVE2 to mirror the LUNs (active/active 2 nodes) and create a GFS fs over /dev/drbd1 metadevice
6.- Add /dev/drdb1 metadevice as a (shared?) directory in datacenter/storage
7.- Migrate (move disk) the VMs to the new storage.
What do you think ? Another solution maybe should be better ?
Thanks a lot in advance !
Olivier
PS: Regarding my power outage yesterday, even after the 2nd Syno restarted and storage flagged enabled:yes in datacenter, I was not able to start the HA VMs. I have had to remove them from HA control (one started just being set as disabled in HA), start and put them back under HA control. What is the correct way to restart such VMs after an outage ?
I'm using Proxmox@home for months now and I really like the product. Well designed, stable, etc, ...
My environment is based on 2 NUCs (pvetest repo) and 2 Synos.
Right now, each Syno provides NFS storage to the cluster and one of them is also providing a VM (phpvirtualbox) used as 3rd node for the HA quorum. I've defined a "physical" group with the 2 NUCs and HA VMs are bound to the group.
Yesterday I have had a power outage, longer than the UPS were able to backup. So everything went down properly (PVEs are upsmon clients and UPS are managed by the Synos). But I've forgot to set the "autostart after power failure" option on one Syno so the VMs hosted on it were "HA:error" when power came back.
My question is, regarding my environment, what could I do to set-up a redundant storage ?
I thought of:
1.- Create a 500GB iSCSI LUN on each Syno
2.- Attach (debian level) the Syno1 LUN to PVE1 as /dev/sdb
3.- Attach (debian level) the Syno2 LUN to PVE2 as /dev/sdb
4.- Create a single /dev/sdb1 partition on each LUN.
5.- Install drdb on PVE1/PVE2 to mirror the LUNs (active/active 2 nodes) and create a GFS fs over /dev/drbd1 metadevice
6.- Add /dev/drdb1 metadevice as a (shared?) directory in datacenter/storage
7.- Migrate (move disk) the VMs to the new storage.
What do you think ? Another solution maybe should be better ?
Thanks a lot in advance !
Olivier
PS: Regarding my power outage yesterday, even after the 2nd Syno restarted and storage flagged enabled:yes in datacenter, I was not able to start the HA VMs. I have had to remove them from HA control (one started just being set as disabled in HA), start and put them back under HA control. What is the correct way to restart such VMs after an outage ?
Last edited: