Proxmox with LXC, Snapraid and remote backup server?

alexw1982

New Member
Aug 9, 2016
5
0
1
46
hi there,

I am currently thinking of moving my existing lxc setup to proxmox and wanted to make sure that what I want to setup is actually possible.

Right now I have a ubuntu 16.04 server as a base machine running with various LXC containers on top (also ubuntu 16.04 images). The base system only runs smart monitoring for hard disk failures and daily backup scripts to a different server as well as a nightly sync of a snapraid setup with 3 disks (rarely changing files / backups).

The disk setup is as follows:
1x SSD ext4 with base system (ubuntu 16.04)
4x SSD Raid5 mdadm ext4 with often changing data
3x 3TB HDDs ext4 (snapraid with 2 data drives and one parity drive)
2x 5TB HDDs ext4 (one data drive and one backup drive that mirrors nightly)

various folders on the HDDs are being made availible to multiple LXC containers (this is important for my setup).

Why did I go for this setup: power consumption! all HDDs go to sleep when not used - which is not the case with ZFS or mdadm raid. In idle with disk sleep power consumption is below 25Watts.

With proxmox the SSDs could become one ZFS pool but I want to leave the hard disks as individual drives to enable disk sleep (most drive are only active 2-3 hours per day) while maintaining snapshot raid functionality. Obviously I am open to other solutions that provide the same features (1 drive failure and disk sleep)

Another important part is the remote backup server. Right now the whole system is being mirrored at night to a second server. this server is only there for disaster purposes. The LXC container are not running and will only be switched on if the main server becomes unavailable (hardware failures, etc). High availability is not an issue - manually switching the VMs on on the other machine in case of error is totally sufficient. It is merely a backup that can be switched to in case of major hardware failures...

hence my simple question: is this possible with proxmox? :)

Key points:
- mirror server in remote location which can be activated as the main server in case of failures
- snapshot raid with disk sleep (ideally simply with snapraid as it is familiar)
- sharing of disk and data across LXC container (shouldnt be an issue)


Thanks in advance
Alex
 
Last edited:
anybody? am I missing something? Or is this simply not at all possible or recommended (which I find hard to believe)...
 
since proxmox uses debian underneath, you can do everything a normal debian can do (without integration of the gui of course)
for replicating to another server there is pve-zsync which uses zfs send and receive to backup vms to another server
 
Thanks,

Does pve-zsync Sync the complete Server including settings and non-ZFS data drives or just VMs hosted on a ZFS drive?
 
you can sync either vms directly, or a zfs pool/dataset
 
thatnks - in your wiki I read the following on pve-zsync:

  • Name resolution not taken into account, you have to use IP Addresses, even using hosts file hostnames will not work

is this still true? I want to sync to a domain via ssh with a changing IP behind that - that would not be possible as I understand it - right?