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

    Kooler on DFS-R Issues

    IT Discussion
    dfs dfs-r windows server storage file server nas smb
    8
    45
    6.9k
    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.
    • bigbearB
      bigbear
      last edited by

      Few TB of live data being accessed between two sites WAS the scenario. The company has reorganized and split in to two new companies at this point. Now I am just curious as I have been in Microsoft mode all weekend.

      Before it was a lot of CAD drawings access remotely, edited and collaborated on between offices.

      1 Reply Last reply Reply Quote 0
      • JaredBuschJ
        JaredBusch @Obsolesce
        last edited by

        @Tim_G said in Kooler on DFS-R Issues:

        So... Keeping in mind you can use free Hyper-V server and free StarWind virtual SAN to build a two-node shared nothing SMB3 clustered file server free of charge... I think it's time to retire DFS-R See Step-by-Step guide:

        Hyper-V: Free “Shared Nothing” SMB3 Failover File Server

        https://www.starwindsoftware.com/blog/part-2-smb-3-0-file-server-on-free-microsoft-hyper-v-server-20...

        Except this violates the Hyper-V Server 20xx license and is illegal. Do it on Windows Server and all is well. You'll need two Windows Server licenses, but StarWind vSAN is free. Or use Linux with StarWind vSAN.

        I'm not too sure about SMB 3.x on Linux, but there may be ways.

        I only skimmed things, was this enabling a role on the hyper-v server itself? If so, this is completely against the license agreement and not something anyone related to this forum should be supporting or posting.

        bigbearB scottalanmillerS KOOLERK 3 Replies Last reply Reply Quote 0
        • bigbearB
          bigbear @JaredBusch
          last edited by

          @JaredBusch I actually couldn't figure out why the OP violated the licensing agreement. Its running a 3rd party image on the free version of Hyper-V

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

            @JaredBusch said in Kooler on DFS-R Issues:

            @Tim_G said in Kooler on DFS-R Issues:

            So... Keeping in mind you can use free Hyper-V server and free StarWind virtual SAN to build a two-node shared nothing SMB3 clustered file server free of charge... I think it's time to retire DFS-R See Step-by-Step guide:

            Hyper-V: Free “Shared Nothing” SMB3 Failover File Server

            https://www.starwindsoftware.com/blog/part-2-smb-3-0-file-server-on-free-microsoft-hyper-v-server-20...

            Except this violates the Hyper-V Server 20xx license and is illegal. Do it on Windows Server and all is well. You'll need two Windows Server licenses, but StarWind vSAN is free. Or use Linux with StarWind vSAN.

            I'm not too sure about SMB 3.x on Linux, but there may be ways.

            I only skimmed things, was this enabling a role on the hyper-v server itself? If so, this is completely against the license agreement and not something anyone related to this forum should be supporting or posting.

            Not against the license, but not free. Requires consuming one of your two VM licenses to do it if it is the only workload.

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

              @bigbear said in Kooler on DFS-R Issues:

              @JaredBusch I actually couldn't figure out why the OP violated the licensing agreement. Its running a 3rd party image on the free version of Hyper-V

              I spoke to them about this and apparently even MS has some uncertainty as to their license here and they've been trying to work it out. Some people at MS have told them that if they is used purely in the support of Hyper-V (including other Hyper-V) that it qualifies the same as a backup agent under the free use. but if you use it as a general SAN, of course it does not apply, like connecting it to ESXi. But because you are able to run pieces like this in a hyperconverged mode under the free license, it makes sense that you can in a non-hyperconverged mode as well.

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

                But of course, if you are doing this to make an SMB server to serve files directly to end users, doesn't work without consuming a license.

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

                  @scottalanmiller said in Kooler on DFS-R Issues:

                  @bigbear said in Kooler on DFS-R Issues:

                  @JaredBusch I actually couldn't figure out why the OP violated the licensing agreement. Its running a 3rd party image on the free version of Hyper-V

                  I spoke to them about this and apparently even MS has some uncertainty as to their license here and they've been trying to work it out. Some people at MS have told them that if they is used purely in the support of Hyper-V (including other Hyper-V) that it qualifies the same as a backup agent under the free use. but if you use it as a general SAN, of course it does not apply, like connecting it to ESXi. But because you are able to run pieces like this in a hyperconverged mode under the free license, it makes sense that you can in a non-hyperconverged mode as well.

                  The physical server running Hyper-V Server (the hypervisor) cannot act as a file server, serving files to users or clients. It can only be used for supporting Hyper-V... including clustering, monitoring, etc.

                  I think I linked licensing information specific to this either here or on SW. I don't feel like digging it up atm, but will later if I need to.

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

                    @Tim_G said in Kooler on DFS-R Issues:

                    The physical server running Hyper-V Server (the hypervisor) cannot act as a file server, serving files to users or clients. It can only be used for supporting Hyper-V... including clustering, monitoring, etc.

                    The problem is, those are conflicting statements. Supporting Hyper-V Clustering is specifically what it is used for. Otherwise, you consume a license using Starwind always or even not using Starwind, just using local disks. But we know that local disks are okay. So using Starwind for Hyper-V clustering is logically okay as well. It just makes sense. It follows by the wording and the intent of the license.

                    Now maybe there is an argument that Hyper-V cannot provide its own storage via SMB3 and only iSCSI, in which case, I could see that being convoluted and weird, but could make sense.

                    ObsolesceO KOOLERK 2 Replies Last reply Reply Quote 1
                    • ObsolesceO
                      Obsolesce @scottalanmiller
                      last edited by

                      @scottalanmiller said in Kooler on DFS-R Issues:

                      @Tim_G said in Kooler on DFS-R Issues:

                      The physical server running Hyper-V Server (the hypervisor) cannot act as a file server, serving files to users or clients. It can only be used for supporting Hyper-V... including clustering, monitoring, etc.

                      The problem is, those are conflicting statements. Supporting Hyper-V Clustering is specifically what it is used for. Otherwise, you consume a license using Starwind always or even not using Starwind, just using local disks. But we know that local disks are okay. So using Starwind for Hyper-V clustering is logically okay as well. It just makes sense. It follows by the wording and the intent of the license.

                      Now maybe there is an argument that Hyper-V cannot provide its own storage via SMB3 and only iSCSI, in which case, I could see that being convoluted and weird, but could make sense.

                      I meant clustering as in you can add your Hyper-V Server hypervisor to a hyper-v cluster. Then sure you can have a licensed windows VM running on that cluster that is doing the storage services and file serving... but not at the host level for the file services roles and features.

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

                        You can't install a 3rd party software to do storage or file server roles in place of the built in, thinking that is a way around it. It's not.

                        scottalanmillerS KOOLERK 2 Replies Last reply Reply Quote 1
                        • scottalanmillerS
                          scottalanmiller @Obsolesce
                          last edited by

                          @Tim_G said in Kooler on DFS-R Issues:

                          ... but not at the host level for the file services roles and features.

                          Right, not for FS role.

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

                            @Tim_G said in Kooler on DFS-R Issues:

                            You can't install a 3rd party software to do storage or file server roles in place of the built in, thinking that is a way around it. It's not.

                            Correct, I agree. In the clustering scenario, Hyper-V can do it with or without SW.

                            1 Reply Last reply Reply Quote 1
                            • bigbearB
                              bigbear
                              last edited by

                              Does this solution not work on any other hypervisors?

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

                                @bigbear said in Kooler on DFS-R Issues:

                                Does this solution not work on any other hypervisors?

                                It does, but requires a Windows VM.

                                bigbearB 1 Reply Last reply Reply Quote 0
                                • KOOLERK
                                  KOOLER Vendor @Obsolesce
                                  last edited by

                                  @Tim_G said in Kooler on DFS-R Issues:

                                  So... Keeping in mind you can use free Hyper-V server and free StarWind virtual SAN to build a two-node shared nothing SMB3 clustered file server free of charge... I think it's time to retire DFS-R See Step-by-Step guide:

                                  Hyper-V: Free “Shared Nothing” SMB3 Failover File Server

                                  https://www.starwindsoftware.com/blog/part-2-smb-3-0-file-server-on-free-microsoft-hyper-v-server-20...

                                  Except this violates the Hyper-V Server 20xx license and is illegal. Do it on Windows Server and all is well. You'll need two Windows Server licenses, but StarWind vSAN is free. Or use Linux with StarWind vSAN.

                                  I'm not too sure about SMB 3.x on Linux, but there may be ways.

                                  1. Yup. That's why there's a disclaimer on the page I reference 🙂

                                  Disclaimer: Please, do not violate license agreements for financial benefit. If you can do something, it doesn’t mean you should. This post is dedicated for one-time sole use of the mentioned setup – non-commercial, home lab or experiment. If you plan to earn money, please refrain from proceeding repeating the test described in this post.

                                  1. There are third-party stacks like Visuality Systems NQ or MoSMB. I don't think Samba is going anywhere 😞
                                  1 Reply Last reply Reply Quote 1
                                  • bigbearB
                                    bigbear @scottalanmiller
                                    last edited by

                                    @scottalanmiller Ahh

                                    1 Reply Last reply Reply Quote 0
                                    • KOOLERK
                                      KOOLER Vendor @scottalanmiller
                                      last edited by

                                      @scottalanmiller said in Kooler on DFS-R Issues:

                                      @Tim_G said in Kooler on DFS-R Issues:

                                      The physical server running Hyper-V Server (the hypervisor) cannot act as a file server, serving files to users or clients. It can only be used for supporting Hyper-V... including clustering, monitoring, etc.

                                      The problem is, those are conflicting statements. Supporting Hyper-V Clustering is specifically what it is used for. Otherwise, you consume a license using Starwind always or even not using Starwind, just using local disks. But we know that local disks are okay. So using Starwind for Hyper-V clustering is logically okay as well. It just makes sense. It follows by the wording and the intent of the license.

                                      Now maybe there is an argument that Hyper-V cannot provide its own storage via SMB3 and only iSCSI, in which case, I could see that being convoluted and weird, but could make sense.

                                      You can do that but you need to buy CALs for that purpose.

                                      1 Reply Last reply Reply Quote 0
                                      • KOOLERK
                                        KOOLER Vendor
                                        last edited by

                                        Scott, thank you for bring in this thread! I've actually forgot about performance. Both source and destination updated 🙂

                                        1. Performance issues

                                        DFS isn't in-line, it writes file first to read it and replicate later. This means there's 100% IOPS (read) overhead on everything you write to DFS-R enabled share.

                                        DFS-R is reading from one replica always so there's no performance "boost" on reading data from the second copy as well (this is something what active-active clustered guys will do).

                                        ObsolesceO 1 Reply Last reply Reply Quote 2
                                        • ObsolesceO
                                          Obsolesce @KOOLER
                                          last edited by

                                          @KOOLER said in Kooler on DFS-R Issues:

                                          Scott, thank you for bring in this thread! I've actually forgot about performance. Both source and destination updated 🙂

                                          1. Performance issues

                                          DFS isn't in-line, it writes file first to read it and replicate later. This means there's 100% IOPS (read) overhead on everything you write to DFS-R enabled share.

                                          DFS-R is reading from one replica always so there's no performance "boost" on reading data from the second copy as well (this is something what active-active clustered guys will do).

                                          Yeah, this is the biggest thing I dislike about DFS-R. I get the logic behind why they did it that way... but there are much better ways to do it. There was then, and there is now.

                                          1 Reply Last reply Reply Quote 1
                                          • KOOLERK
                                            KOOLER Vendor @JaredBusch
                                            last edited by KOOLER

                                            @JaredBusch said in Kooler on DFS-R Issues:

                                            @Tim_G said in Kooler on DFS-R Issues:

                                            So... Keeping in mind you can use free Hyper-V server and free StarWind virtual SAN to build a two-node shared nothing SMB3 clustered file server free of charge... I think it's time to retire DFS-R See Step-by-Step guide:

                                            Hyper-V: Free “Shared Nothing” SMB3 Failover File Server

                                            https://www.starwindsoftware.com/blog/part-2-smb-3-0-file-server-on-free-microsoft-hyper-v-server-20...

                                            Except this violates the Hyper-V Server 20xx license and is illegal. Do it on Windows Server and all is well. You'll need two Windows Server licenses, but StarWind vSAN is free. Or use Linux with StarWind vSAN.

                                            I'm not too sure about SMB 3.x on Linux, but there may be ways.

                                            I only skimmed things, was this enabling a role on the hyper-v server itself? If so, this is completely against the license agreement and not something anyone related to this forum should be supporting or posting.

                                            1. Sourced page has a disclaimer right on top about people violating licensing agreement by just doing things AS IS.

                                            2. You absolutely can do what article is suggesting as long as you buy CALs. This is a blessed and hugged way. By Microsoft.

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