My network is composed of two PVE servers:
one primary server where all the VM runs and one secondary backup server used to store VM backups and as a backup PVE (in case the primary server fails it must be capable of restoring and running the VMs).
Both servers runs on ZFS, all the disk on the machines are used for PVE (and VMs).
I need to make the backup storage of the secondary server accessible both from the local PVE and from the primary server;
as PVE does not allow to share disk from the GUI i have to use a service like PBS (proxmox backup server).
There are three way to run PBE:
1. Installed on the PVE:
very easy to do, shares all the PVE resources with minimal drawbacks, no need to change anything as they share the same logins and disks but can be accessed on different ports on the same IP.
May not be ideal as it's integrated on the hypervisor.
2. As a VM on the secondary PVE server:
Allow more separation as the service is encapsulated on a VM, the drawback is that the local PVE does not have direct access to the data and must relay on the VM ( uses resources to access data, if the VM is off or down i cannot access the backups, data resides on a virtual disk).
Note: i cannot dedicate the disk to PBE as they are shared with the local PVE.
3. Installed on a Debian CT:
Allow more separation, the PVE backup folder may be shared with the CT (bin mount) so that if the CT to allow direct access to the data from the PVE even if the CT is off.
The disk and ZFS status are not readable even in privileged CT (SMART status,etc.) but PVE does have the same interface so it's a non issue.
What's the best way to run PBE in this scenario?
one primary server where all the VM runs and one secondary backup server used to store VM backups and as a backup PVE (in case the primary server fails it must be capable of restoring and running the VMs).
Both servers runs on ZFS, all the disk on the machines are used for PVE (and VMs).
I need to make the backup storage of the secondary server accessible both from the local PVE and from the primary server;
as PVE does not allow to share disk from the GUI i have to use a service like PBS (proxmox backup server).
There are three way to run PBE:
1. Installed on the PVE:
very easy to do, shares all the PVE resources with minimal drawbacks, no need to change anything as they share the same logins and disks but can be accessed on different ports on the same IP.
May not be ideal as it's integrated on the hypervisor.
2. As a VM on the secondary PVE server:
Allow more separation as the service is encapsulated on a VM, the drawback is that the local PVE does not have direct access to the data and must relay on the VM ( uses resources to access data, if the VM is off or down i cannot access the backups, data resides on a virtual disk).
Note: i cannot dedicate the disk to PBE as they are shared with the local PVE.
3. Installed on a Debian CT:
Allow more separation, the PVE backup folder may be shared with the CT (bin mount) so that if the CT to allow direct access to the data from the PVE even if the CT is off.
The disk and ZFS status are not readable even in privileged CT (SMART status,etc.) but PVE does have the same interface so it's a non issue.
What's the best way to run PBE in this scenario?