I am designing a new server project for my home network and have run into an interesting roadblock...
I currently have my home server running 1 instance of Ubuntu Server 19, and have a RAID 10 array set up with mdadm (the machine is only running 1 OS with no VM's, and the RAID 10 is on 4 physical drives). This RAID 10 provides data redundancy to my nginx configuration (runs Nextcloud over the internet) and my local Samba service. This works fine right now, because nginx and samba run on the same machine, and are connected to the same network.
The new server I am designing will use Hyper-V Server to utilize different VMs for different services. I will run 1 Ubuntu Server VM for nginx, inside a virtual DMZ (achieved through Hyper-V virtual networking). Then of course, I will run another VM for samba, but connect this one to my local network. I want the samba server to be detached from the DMZ.
The problem I can't solve is the RAID 10. If I give the nginx server the RAID 10 for data redundancy, the samba server won't get to use it; or vice versa. They would be on entirely different networks and on separate VMs.
What would be the best way to share the RAID 10 between the two VM's?
I currently have my home server running 1 instance of Ubuntu Server 19, and have a RAID 10 array set up with mdadm (the machine is only running 1 OS with no VM's, and the RAID 10 is on 4 physical drives). This RAID 10 provides data redundancy to my nginx configuration (runs Nextcloud over the internet) and my local Samba service. This works fine right now, because nginx and samba run on the same machine, and are connected to the same network.
The new server I am designing will use Hyper-V Server to utilize different VMs for different services. I will run 1 Ubuntu Server VM for nginx, inside a virtual DMZ (achieved through Hyper-V virtual networking). Then of course, I will run another VM for samba, but connect this one to my local network. I want the samba server to be detached from the DMZ.
The problem I can't solve is the RAID 10. If I give the nginx server the RAID 10 for data redundancy, the samba server won't get to use it; or vice versa. They would be on entirely different networks and on separate VMs.
What would be the best way to share the RAID 10 between the two VM's?