Use Hyper-V to replicate Linux vm file share
-
In the past (see google) there have been comments about Msft's implementation of NFS.
Would that be a concern? -
@fateknollogee said in Use Hyper-V to replicate Linux vm file share:
@dustinb3403 said in Use Hyper-V to replicate Linux vm file share:
@fateknollogee said in Use Hyper-V to replicate Linux vm file share:
@scottalanmiller said in Use Hyper-V to replicate Linux vm file share:
Think of using Veeam to back up Linux, or Unitrends to back up Windows. Do either of those seem weird? Yet one is Windows to Linux, the other is Linux to Windows. Nothing weird in the slightest.
Just thought there might be a Linux option that could do the same for $0.00
From the Linux Foundation, I can't think of any solution that would be a Veeam or Unitrends replacement. But there are definitely backup solutions that are FOSS that can do this for free. UrBackup would do this without any complaint.
I meant replicating via the hypervisor.
Nvm, I thought that said "I meant replicate the hypervisor" not "replicating VIA the hypervisor"
-
@fateknollogee said in Use Hyper-V to replicate Linux vm file share:
Lets say you have 10 Fedora 28 (could be servers, workstations etc).
You back them up (via NFS) to a file share.
The file share is a vm running on Hyper-V.
You now use Hyper-V's built in replication to replicate from Site A to Site B.The above doesn't make much sense but at first glance it sounds good.
Flame suit is on!
Comment away!So you want to replicate backups (a backup repository on a Hyper-V VM) from Site A to Site B? Sure, you can replicate ANY Hyper-V VM from site to site.
But for what purpose?
-
Hyper-V can already do this with Hyper-V Replica
-
@obsolesce said in Use Hyper-V to replicate Linux vm file share:
So you want to replicate backups (a backup repository on a Hyper-V VM) from Site A to Site B? Sure, you can replicate ANY Hyper-V VM from site to site.
But for what purpose?
Purpose: replication, DR, offsite etc.
The question is whether this is a good tool to use?
FreeNAS is an option, it has built in replication. (Let me duck while I wait for @scottalanmiller FreeNAS response) -
@fateknollogee said in Use Hyper-V to replicate Linux vm file share:
@obsolesce said in Use Hyper-V to replicate Linux vm file share:
So you want to replicate backups (a backup repository on a Hyper-V VM) from Site A to Site B? Sure, you can replicate ANY Hyper-V VM from site to site.
But for what purpose?
Purpose: replication, DR, offsite etc.
The question is whether this is a good tool to use?
FreeNAS is an option, it has built in replication. (Let me duck while I wait for @scottalanmiller FreeNAS response)Hyper-V Replication works well. I've not had any replica issues ever. The only issues I've had was when site links were bad, the replication stops... but then you can either resume replication, or it starts fresh again. But it always works.
-
@Obsolesce Where is your Site B, is it a co-lo?
-
@fateknollogee said in Use Hyper-V to replicate Linux vm file share:
@scottalanmiller said in Use Hyper-V to replicate Linux vm file share:
Think of using Veeam to back up Linux, or Unitrends to back up Windows. Do either of those seem weird? Yet one is Windows to Linux, the other is Linux to Windows. Nothing weird in the slightest.
Just thought there might be a Linux option that could do the same for $0.00
Hyper-V does it for zero dollars, too. But Linux can do it, sure. DRBD, RSYNC, etc.
-
@fateknollogee said in Use Hyper-V to replicate Linux vm file share:
@Obsolesce Where is your Site B, is it a co-lo?
We have several buildings, one is next door, two are a couple blocks away. One used to be a mile away and over a MPLS.
-
@fateknollogee said in Use Hyper-V to replicate Linux vm file share:
@dustinb3403 said in Use Hyper-V to replicate Linux vm file share:
@fateknollogee said in Use Hyper-V to replicate Linux vm file share:
@scottalanmiller said in Use Hyper-V to replicate Linux vm file share:
Think of using Veeam to back up Linux, or Unitrends to back up Windows. Do either of those seem weird? Yet one is Windows to Linux, the other is Linux to Windows. Nothing weird in the slightest.
Just thought there might be a Linux option that could do the same for $0.00
From the Linux Foundation, I can't think of any solution that would be a Veeam or Unitrends replacement. But there are definitely backup solutions that are FOSS that can do this for free. UrBackup would do this without any complaint.
I meant replicating via the hypervisor.
Why do you want it replicated via the hypervisor? Seems like this is part of what you'd want to fix. I can see why you'd want this if you couldn't find a good solution, but it feels like this is bad in the grand scheme and only okay if there wasn't something better. But lots of better things.
-
@fateknollogee said in Use Hyper-V to replicate Linux vm file share:
In the past (see google) there have been comments about Msft's implementation of NFS.
Would that be a concern?It's improved, but not applicable here. Your fileserver should be Fedora, not Windows. There should be no Microsoft NFS involved in what you have described.
-
@fateknollogee said in Use Hyper-V to replicate Linux vm file share:
@obsolesce said in Use Hyper-V to replicate Linux vm file share:
So you want to replicate backups (a backup repository on a Hyper-V VM) from Site A to Site B? Sure, you can replicate ANY Hyper-V VM from site to site.
But for what purpose?
Purpose: replication, DR, offsite etc.
But none of those are specifically assisted by Hyper-V Replication. If anything, I think it makes it worse. Now I realize you've not mentioned alternatives, but we have. For the purpose of replication, DR, offsite, etc. I would avoid Hyper-V and Hyper-V Replication.
-
@scottalanmiller said in Use Hyper-V to replicate Linux vm file share:
@fateknollogee said in Use Hyper-V to replicate Linux vm file share:
In the past (see google) there have been comments about Msft's implementation of NFS.
Would that be a concern?It's improved, but not applicable here. Your fileserver should be Fedora, not Windows. There should be no Microsoft NFS involved in what you have described.
My bad, I was over-thinking.
Yes, with a Fedora fileserver, NFS would be built-in. -
@fateknollogee said in Use Hyper-V to replicate Linux vm file share:
FreeNAS is an option, it has built in replication. (Let me duck while I wait for @scottalanmiller FreeNAS response)
FreeNAS offers NO features. None. It's just a crippled version of other things.
I feel like this thread is just slightly in a case of "being weird." You are looking at weird, inappropriate technologies to handle something super simple and common. Why are you not looking at the "normal, enterprise, free" ways of doing this? Why only bizarre solutions that are either "never use crap" like FreeNAS or totally the wrong technology like Hyper-V Replication?
-
@fateknollogee said in Use Hyper-V to replicate Linux vm file share:
@scottalanmiller said in Use Hyper-V to replicate Linux vm file share:
@fateknollogee said in Use Hyper-V to replicate Linux vm file share:
In the past (see google) there have been comments about Msft's implementation of NFS.
Would that be a concern?It's improved, but not applicable here. Your fileserver should be Fedora, not Windows. There should be no Microsoft NFS involved in what you have described.
My bad, I was over-thinking.
Yes, with a Fedora fileserver, NFS would be built-in.As would replication.
-
@scottalanmiller said in Use Hyper-V to replicate Linux vm file share:
@fateknollogee said in Use Hyper-V to replicate Linux vm file share:
@scottalanmiller said in Use Hyper-V to replicate Linux vm file share:
@fateknollogee said in Use Hyper-V to replicate Linux vm file share:
In the past (see google) there have been comments about Msft's implementation of NFS.
Would that be a concern?It's improved, but not applicable here. Your fileserver should be Fedora, not Windows. There should be no Microsoft NFS involved in what you have described.
My bad, I was over-thinking.
Yes, with a Fedora fileserver, NFS would be built-in.As would replication.
Just edited my op.
Must have a gui.
Pls point me to the solution since Hyper-V doesn't qualify. -
@fateknollogee said in Use Hyper-V to replicate Linux vm file share:
@scottalanmiller said in Use Hyper-V to replicate Linux vm file share:
@fateknollogee said in Use Hyper-V to replicate Linux vm file share:
@scottalanmiller said in Use Hyper-V to replicate Linux vm file share:
@fateknollogee said in Use Hyper-V to replicate Linux vm file share:
In the past (see google) there have been comments about Msft's implementation of NFS.
Would that be a concern?It's improved, but not applicable here. Your fileserver should be Fedora, not Windows. There should be no Microsoft NFS involved in what you have described.
My bad, I was over-thinking.
Yes, with a Fedora fileserver, NFS would be built-in.As would replication.
Just edited my op.
Must have a gui.
Pls point me to the solution since Hyper-V doesn't qualify.So the goal or end-game here is to have backups located off-site for DR purposes? Tape works well for that, using any regular GUI backup software.
-
@obsolesce said in Use Hyper-V to replicate Linux vm file share:
So the goal or end-game here is to have backups located off-site for DR purposes? Tape works well for that, using any regular GUI backup software.
Yes, kind of.
Tape is not an option, 'coz I don't have tape. -
Hyper-V Replication is hardware redundancy, if a time comes in which your server dies, and you cannot get it back up again in a reasonable amount of time, and the 30 seconds to 15 minutes of data loss is worth it.
It's also very helpful for planned failovers, so you can do maintenance on the host without downtime.
If you want to replicate backups off-site for DR purposes, and you don't really have any options...
I woudl probably set up a Fedora NFS server VM in Site B, then use ReaR on the servers you want to back up, using that NFS server in Site B to back up to.
-
If you need a GUI, than you need to buy something, or use Veeam linux agent free to some storage repository in Site B.