ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Use Hyper-V to replicate Linux vm file share

    Scheduled Pinned Locked Moved IT Discussion
    hyper-vfedora 28linuxreplicationnfs file servernfs
    49 Posts 5 Posters 5.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmillerS
      scottalanmiller @FATeknollogee
      last edited by

      @fateknollogee said in Use Hyper-V to replicate Linux vm file share:

      You now use Hyper-V's built in replication to replicate from Site A to Site B.

      The only issue I see here is using the heavy full VM replication to copy the entire file server between sites, instead of just having the data replicated at the OS level.

      For example, if you have a file server at site A and another file server at site B, you can just copy the files between them with RSYNC. No need for the Hyper-V replication, no need to copy OSes, no need to have one file server offline while the other is online, no need for dealing with the complications of moving a server to a different LAN, etc. Seems overly complex and heavy for something that could be much simpler.

      1 Reply Last reply Reply Quote 1
      • scottalanmillerS
        scottalanmiller @DustinB3403
        last edited by

        @dustinb3403 said in Use Hyper-V to replicate Linux vm file share:

        @scottalanmiller I think he is wanting to do DR with HyperV replicant. The entire set of VM's to Site B.

        Well he is, but it's only one VM mentioned, just the VM for the file server.

        DustinB3403D 1 Reply Last reply Reply Quote 1
        • DustinB3403D
          DustinB3403 @scottalanmiller
          last edited by

          Ah I see, he wants to back up everything to a file server, and then back up that file server to Site B.

          The biggest issue I might have with this is uncompressing all of those VMs (or raw data) to restore quickly.

          FATeknollogeeF 1 Reply Last reply Reply Quote 0
          • FATeknollogeeF
            FATeknollogee @scottalanmiller
            last edited by

            @scottalanmiller said in Use Hyper-V to replicate Linux vm file share:

            Where is the part you think might be weird?

            Using Hyper-V to "copy" Linux files!

            scottalanmillerS DustinB3403D 2 Replies Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller @FATeknollogee
              last edited by

              @fateknollogee said in Use Hyper-V to replicate Linux vm file share:

              @scottalanmiller said in Use Hyper-V to replicate Linux vm file share:

              Where is the part you think might be weird?

              Using Hyper-V to "copy" Linux files!

              That's not weird. First because it's not, you are copying Hyper-V file(s). Second, because "copy" is "copy" regardless of which copy technology you are using.

              scottalanmillerS 1 Reply Last reply Reply Quote 1
              • DustinB3403D
                DustinB3403 @FATeknollogee
                last edited by

                @fateknollogee said in Use Hyper-V to replicate Linux vm file share:

                @scottalanmiller said in Use Hyper-V to replicate Linux vm file share:

                Where is the part you think might be weird?

                Using Hyper-V to "copy" Linux files!

                A file is a file is a file, this isn't weird in any way.

                1 Reply Last reply Reply Quote 1
                • FATeknollogeeF
                  FATeknollogee @DustinB3403
                  last edited by

                  @dustinb3403 said in Use Hyper-V to replicate Linux vm file share:

                  Ah I see, he wants to back up everything to a file server, and then back up that file server to Site B.

                  Yes

                  1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller
                    last edited by

                    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.

                    FATeknollogeeF 1 Reply Last reply Reply Quote 1
                    • scottalanmillerS
                      scottalanmiller @scottalanmiller
                      last edited by

                      @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:

                      Where is the part you think might be weird?

                      Using Hyper-V to "copy" Linux files!

                      That's not weird. First because it's not, you are copying Hyper-V file(s). Second, because "copy" is "copy" regardless of which copy technology you are using.

                      Also, I think this "feels" weird because of false associations. Like feeling that Hyper-V is more tied to Windows than to Linux. But it is not. Hyper-V is a hypervisor, not an OS, and made by Microsoft, a Linux and UNIX vendor. Would it be weird to do the same thing with ESXi? KVM? Xen?

                      Hyper-V runs Linux equally well as Windows. It's not associated with one or the other. Same with Xen, or ESXi. They are just hypervisors, what workloads run on top of them is a separate thing.

                      FATeknollogeeF 1 Reply Last reply Reply Quote 0
                      • FATeknollogeeF
                        FATeknollogee @scottalanmiller
                        last edited by

                        @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

                        DustinB3403D scottalanmillerS 2 Replies Last reply Reply Quote 0
                        • FATeknollogeeF
                          FATeknollogee @scottalanmiller
                          last edited by

                          @scottalanmiller said in Use Hyper-V to replicate Linux vm file share:

                          Also, I think this "feels" weird because of false associations. Like feeling that Hyper-V is more tied to Windows than to Linux. But it is not. Hyper-V is a hypervisor, not an OS, and made by Microsoft, a Linux and UNIX vendor. Would it be weird to do the same thing with ESXi? KVM? Xen?

                          Hyper-V runs Linux equally well as Windows. It's not associated with one or the other. Same with Xen, or ESXi. They are just hypervisors, what workloads run on top of them is a separate thing.

                          I hear you, I think those days are long gone.
                          I don't think of hypervisors (Type1) in terms of Windows or Linux...I mean we run Windows on KVM!!

                          1 Reply Last reply Reply Quote 0
                          • DustinB3403D
                            DustinB3403 @FATeknollogee
                            last edited by

                            @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.

                            FATeknollogeeF 1 Reply Last reply Reply Quote 1
                            • FATeknollogeeF
                              FATeknollogee @DustinB3403
                              last edited by

                              @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.

                              DustinB3403D scottalanmillerS 2 Replies Last reply Reply Quote 0
                              • FATeknollogeeF
                                FATeknollogee
                                last edited by

                                In the past (see google) there have been comments about Msft's implementation of NFS.
                                Would that be a concern?

                                scottalanmillerS 1 Reply Last reply Reply Quote 0
                                • DustinB3403D
                                  DustinB3403 @FATeknollogee
                                  last edited by DustinB3403

                                  @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"

                                  1 Reply Last reply Reply Quote 0
                                  • ObsolesceO
                                    Obsolesce @FATeknollogee
                                    last edited by

                                    @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?

                                    FATeknollogeeF 1 Reply Last reply Reply Quote 0
                                    • DustinB3403D
                                      DustinB3403
                                      last edited by

                                      Hyper-V can already do this with Hyper-V Replica

                                      1 Reply Last reply Reply Quote 0
                                      • FATeknollogeeF
                                        FATeknollogee @Obsolesce
                                        last edited by

                                        @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)

                                        ObsolesceO scottalanmillerS 3 Replies Last reply Reply Quote 0
                                        • ObsolesceO
                                          Obsolesce @FATeknollogee
                                          last edited by

                                          @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.

                                          1 Reply Last reply Reply Quote 0
                                          • FATeknollogeeF
                                            FATeknollogee
                                            last edited by

                                            @Obsolesce Where is your Site B, is it a co-lo?

                                            ObsolesceO 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • First post
                                              Last post