Instant backup promotion

DEMONmachine

Cadet
Joined
Aug 17, 2019
Messages
6
Hello.
Now I'am designing datastore infrastructure for virtual environment.
Planning to use one FN as the main DS, and second one as backup.
Backup is replicated by snapshots from the main.
The idea is in case disaster on primary DS instantly promote backup to the primary simply by changing it's IP and reboot (reconnect) hypervisors.

Example:
FN1 with ip 10.0.0.10 has two pools:
FN1-HDD
FN1-SSD

In is mounted to hypervisors as NFS by 10.0.0.10/mnt/FN1-HDD and 10.0.0.10/mnt/FN1-SSD

FN2 with ip 10.0.0.20 replicating this two pools from primary FN to one common pool
FN2-BKP with subdatasets
+----FN1-HDD
+----FN1-SSD

The problem is:
by default their mount points are /mnt/FN2-BKP/FN1-HDD and /mnt/FN2-BKP/FN1-SSD respectively.
And if I'll change ip to primaty (10.0.0.10) Mountpoints will not fit for hypervisor.

My goal is:
to make fully mirrored mountpoints for fast disaster recovery.

I have tryed:
- symlink on the FN2 from /mnt/FN1-HDD to /mnt/FN2-BKP/FN1-HDD
it works, but FN refusing to mount this as NFS
- same hardlink. Is not possible because we need a directory
- unmount pool from /mnt/FN2-BKP/FN1-HDD and mount it to /mnt/FN1-HDD.
works. By still not accepted by FN to create a NFS access point

Any ideas to make it possible? Or some other way to achieve a similar result?
 
Top