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

    Use Hyper-V to replicate Linux vm file share

    IT Discussion
    hyper-v fedora 28 linux replication nfs file server nfs
    5
    49
    4.6k
    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:

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

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

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

        FATeknollogeeF 1 Reply Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller @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.

          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.

          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:

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

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

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

              1 Reply Last reply Reply Quote 1
              • 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:

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

                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:

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

                  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:

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

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

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

                        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.

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

                          If you need a GUI, than you need to buy something, or use Veeam linux agent free to some storage repository in Site B.

                          scottalanmillerS 1 Reply 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:

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

                            Why would you need a GUI? Replication is a background task. What would the GUI even do?

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

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

                              If you need a GUI, than you need to buy something, or use Veeam linux agent free to some storage repository in Site B.

                              That lacks the replication, though.

                              1 Reply 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:

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

                                Here you go, a GOOD tool, WITH a GUI. Of course, it should go without saying, the GUI is just bad and there is zero reason to use it. It only takes a good tool and makes it less good. But if that's your requirement...

                                https://www.unixmen.com/grsync-gadmin-rsync-graphical-front-end-applications-rsync-tool/

                                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:

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

                                  Here you go, a GOOD tool, WITH a GUI. Of course, it should go without saying, the GUI is just bad and there is zero reason to use it. It only takes a good tool and makes it less good. But if that's your requirement...

                                  https://www.unixmen.com/grsync-gadmin-rsync-graphical-front-end-applications-rsync-tool/

                                  Thank you.
                                  How about a GREAT tool without a GUI?

                                  DustinB3403D scottalanmillerS 2 Replies 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:

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

                                    Here you go, a GOOD tool, WITH a GUI. Of course, it should go without saying, the GUI is just bad and there is zero reason to use it. It only takes a good tool and makes it less good. But if that's your requirement...

                                    https://www.unixmen.com/grsync-gadmin-rsync-graphical-front-end-applications-rsync-tool/

                                    Thank you.
                                    How about a GREAT tool without a GUI?

                                    rsync

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

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

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

                                      Here you go, a GOOD tool, WITH a GUI. Of course, it should go without saying, the GUI is just bad and there is zero reason to use it. It only takes a good tool and makes it less good. But if that's your requirement...

                                      https://www.unixmen.com/grsync-gadmin-rsync-graphical-front-end-applications-rsync-tool/

                                      Thank you.
                                      How about a GREAT tool without a GUI?

                                      GUI = not great tool

                                      Just don't use the GUI.

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

                                        Why the GUI requirement? Having that rules out the BEST ways to do what you want to do?

                                        1 Reply Last reply Reply Quote 1
                                        • PhlipElderP
                                          PhlipElder
                                          last edited by

                                          Hyper-V Replica would work in this situation with a few caveats.

                                          There is a 15 second limit on replication cycles. If the VMs are running database/active services this could be a problem.

                                          Site link would be key relative to the amount of data changing on those VMs.

                                          If Site A gets flattened then spooling the VMs up at Site B may require some tweaks if Site-to-Site VPN was being used and thus different subnets.

                                          Then there's the need to either shift WAN IP(s) to Site B or flip DNS.

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

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

                                            Hyper-V Replica would work in this situation with a few caveats.

                                            There is a 15 second limit on replication cycles. If the VMs are running database/active services this could be a problem.

                                            That would be handled earlier in the process by the backup job. If the backup is good, the replication won't cause an issue. If the backup is bad, the replication can't fix it, of course, but will replicate the bad backup. But the only place that this can be addressed is in the backup step, the replication is of backup files, so not at a point in the process where it matters.

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