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

    Network setup - Hyper-V

    IT Discussion
    13
    143
    11.2k
    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.
    • DashrenderD
      Dashrender @CCWTech
      last edited by

      @ccwtech said in Network setup - Hyper-V:

      @dashrender said in Network setup - Hyper-V:

      @CCWTech what versions of SMB are enabled on the server and the clients?

      I haven't tried SMB 1 yet. Is that something that needs to be done on physical, hyper-v, and clients?

      I'm curious as to what's currently enabled?

      CCWTechC 1 Reply Last reply Reply Quote 0
      • Reid CooperR
        Reid Cooper
        last edited by

        So the app is fast when using local storage and slow when using network storage? Seems like a not unexpected behaviour.

        CCWTechC 1 Reply Last reply Reply Quote 0
        • CCWTechC
          CCWTech @Dashrender
          last edited by

          @dashrender said in Network setup - Hyper-V:

          @ccwtech said in Network setup - Hyper-V:

          @dashrender said in Network setup - Hyper-V:

          @CCWTech what versions of SMB are enabled on the server and the clients?

          I haven't tried SMB 1 yet. Is that something that needs to be done on physical, hyper-v, and clients?

          I'm curious as to what's currently enabled?

          Just defaults.

          Does SMB1 need to be enabled on ALL servers (Physical, Hyper-V Applications) and then all clients?

          If so, can that be done when they are in production?

          DashrenderD 1 Reply Last reply Reply Quote 0
          • black3dynamiteB
            black3dynamite
            last edited by

            Temporary exclude the software directory and/or processes of that software from Windows Defender AV on server to see if that helps.

            1 Reply Last reply Reply Quote 0
            • CCWTechC
              CCWTech @Reid Cooper
              last edited by

              @reid-cooper said in Network setup - Hyper-V:

              So the app is fast when using local storage and slow when using network storage? Seems like a not unexpected behaviour.

              Except that it is. Of course running it locally with be always faster, but I'm talking about very significant slowdowns. I said above that I have done several of these servers for clients that use the software and have not had this issue.

              Reid CooperR DashrenderD 2 Replies Last reply Reply Quote 0
              • Reid CooperR
                Reid Cooper @CCWTech
                last edited by

                @ccwtech said in Network setup - Hyper-V:

                @reid-cooper said in Network setup - Hyper-V:

                So the app is fast when using local storage and slow when using network storage? Seems like a not unexpected behaviour.

                Except that it is. Of course running it locally with be always faster, but I'm talking about very significant slowdowns. I said above that I have done several of these servers for clients that use the software and have not had this issue.

                Have you looked for things like a broken switch, unnecessary route hops, high latency between nodes, packet loss, or things of that nature?

                1 Reply Last reply Reply Quote 0
                • DashrenderD
                  Dashrender @CCWTech
                  last edited by

                  @ccwtech said in Network setup - Hyper-V:

                  @dashrender said in Network setup - Hyper-V:

                  @ccwtech said in Network setup - Hyper-V:

                  @dashrender said in Network setup - Hyper-V:

                  @CCWTech what versions of SMB are enabled on the server and the clients?

                  I haven't tried SMB 1 yet. Is that something that needs to be done on physical, hyper-v, and clients?

                  I'm curious as to what's currently enabled?

                  Just defaults.

                  Does SMB1 need to be enabled on ALL servers (Physical, Hyper-V Applications) and then all clients?

                  If so, can that be done when they are in production?

                  need? I would hope not, but I don't know.. Have you confirmed what is actually enabled? What's the output of Get-SmbClientConfiguration and Get-SmbConnection on both the hosting VM and the client computers?

                  1 Reply Last reply Reply Quote 0
                  • DashrenderD
                    Dashrender @CCWTech
                    last edited by

                    @ccwtech said in Network setup - Hyper-V:

                    @reid-cooper said in Network setup - Hyper-V:

                    So the app is fast when using local storage and slow when using network storage? Seems like a not unexpected behaviour.

                    Except that it is. Of course running it locally with be always faster, but I'm talking about very significant slowdowns. I said above that I have done several of these servers for clients that use the software and have not had this issue.

                    Right, but difference now is - Windows server version and Hyper-V version? what about hardware differences?

                    CCWTechC 1 Reply Last reply Reply Quote 0
                    • CCWTechC
                      CCWTech @Dashrender
                      last edited by

                      @dashrender said in Network setup - Hyper-V:

                      @ccwtech said in Network setup - Hyper-V:

                      @reid-cooper said in Network setup - Hyper-V:

                      So the app is fast when using local storage and slow when using network storage? Seems like a not unexpected behaviour.

                      Except that it is. Of course running it locally with be always faster, but I'm talking about very significant slowdowns. I said above that I have done several of these servers for clients that use the software and have not had this issue.

                      Right, but difference now is - Windows server version and Hyper-V version? what about hardware differences?

                      Server 2016 is new. They all have been 2012 R2 and earlier. However the vendor says they have tested 2016 and had no problems. I don't know how much testing they have done with hyper-v (although they so support it).

                      Hardware is essentially the same setup.

                      1 Reply Last reply Reply Quote 0
                      • DashrenderD
                        Dashrender
                        last edited by

                        When possible, you should have a copy of the data so you can just restore it to a test location for something like the following.

                        Windows 10 PC (Desktop/laptop hardware) put the data there and access it using the same client machine via the same switch as the server uses, see if there is a difference.

                        Then test the same setup with Server 2016 on that hardware.

                        1 Reply Last reply Reply Quote 0
                        • DashrenderD
                          Dashrender
                          last edited by

                          I believe you said that you put the data directly on the Hyper-V host and shared it? if so, what was the outcome?

                          I also recall that you shared it from the VM, and accessed it on the Hyper-V host via that share, and it was slow - is that still the case?

                          1 Reply Last reply Reply Quote 0
                          • CCWTechC
                            CCWTech
                            last edited by

                            Output from Physical Server:

                            ConnectionCountPerRssNetworkInterface : 4
                            DirectoryCacheEntriesMax : 16
                            DirectoryCacheEntrySizeMax : 65536
                            DirectoryCacheLifetime : 10
                            DormantFileLimit : 1023
                            EnableBandwidthThrottling : True
                            EnableByteRangeLockingOnReadOnlyFiles : True
                            EnableInsecureGuestLogons : True
                            EnableLargeMtu : True
                            EnableLoadBalanceScaleOut : True
                            EnableMultiChannel : True
                            EnableSecuritySignature : True
                            ExtendedSessionTimeout : 1000
                            FileInfoCacheEntriesMax : 64
                            FileInfoCacheLifetime : 10
                            FileNotFoundCacheEntriesMax : 128
                            FileNotFoundCacheLifetime : 5
                            KeepConn : 600
                            MaxCmds : 50
                            MaximumConnectionCountPerServer : 32
                            OplocksDisabled : False
                            RequireSecuritySignature : False
                            SessionTimeout : 60
                            UseOpportunisticLocking : True
                            WindowSizeThreshold : 1

                            Output from Applications server:

                            ConnectionCountPerRssNetworkInterface : 4
                            DirectoryCacheEntriesMax : 16
                            DirectoryCacheEntrySizeMax : 65536
                            DirectoryCacheLifetime : 10
                            DormantFileLimit : 1023
                            EnableBandwidthThrottling : True
                            EnableByteRangeLockingOnReadOnlyFiles : True
                            EnableInsecureGuestLogons : True
                            EnableLargeMtu : True
                            EnableLoadBalanceScaleOut : True
                            EnableMultiChannel : True
                            EnableSecuritySignature : True
                            ExtendedSessionTimeout : 1000
                            FileInfoCacheEntriesMax : 64
                            FileInfoCacheLifetime : 10
                            FileNotFoundCacheEntriesMax : 128
                            FileNotFoundCacheLifetime : 5
                            KeepConn : 600
                            MaxCmds : 50
                            MaximumConnectionCountPerServer : 32
                            OplocksDisabled : False
                            RequireSecuritySignature : False
                            SessionTimeout : 60
                            UseOpportunisticLocking : True
                            WindowSizeThreshold : 1

                            ServerName ShareName UserName Credential Dialect NumOpens


                            HOMETOWN-APPS Data HTVET\hvh2 HTVET\HVH2 3.1.1 1
                            HOMETOWN-APPS Data HTVET\HVH3 HTVET\HVH3 3.1.1 1
                            HOMETOWN-APPS Data HTVET\HVH8 HTVET\HVH8 3.1.1 1

                            Output from one of the workstations:
                            ConnectionCountPerRssNetworkInterface : 4
                            DirectoryCacheEntriesMax : 16
                            DirectoryCacheEntrySizeMax : 65536
                            DirectoryCacheLifetime : 10
                            DormantFileLimit : 1023
                            EnableBandwidthThrottling : True
                            EnableByteRangeLockingOnReadOnlyFiles : True
                            EnableInsecureGuestLogons : True
                            EnableLargeMtu : True
                            EnableLoadBalanceScaleOut : True
                            EnableMultiChannel : True
                            EnableSecuritySignature : True
                            ExtendedSessionTimeout : 1000
                            FileInfoCacheEntriesMax : 64
                            FileInfoCacheLifetime : 10
                            FileNotFoundCacheEntriesMax : 128
                            FileNotFoundCacheLifetime : 5
                            KeepConn : 600
                            MaxCmds : 50
                            MaximumConnectionCountPerServer : 32
                            OplocksDisabled : False
                            RequireSecuritySignature : False
                            SessionTimeout : 60
                            UseOpportunisticLocking : True
                            WindowSizeThreshold : 8

                            ServerName ShareName UserName Credential Dialect NumOpens


                            HOMETOWN-APPS Data HTVET\hvh HTVET.LOCAL\hvh 3.1.1 1

                            1 Reply Last reply Reply Quote 0
                            • CCWTechC
                              CCWTech
                              last edited by

                              It is still slow when running the app on the physical server from the hyper-v (apps) server.

                              I have put the application on a directory on the physical server and shared that out for testing. More to come...

                              1 Reply Last reply Reply Quote 0
                              • DashrenderD
                                Dashrender
                                last edited by

                                I gave the wrong command.

                                Get-SmbServerConfiguration
                                This one will tell you what SMB versions you have enabled for serving up shares. Only needed on the server side.

                                CCWTechC 1 Reply Last reply Reply Quote 0
                                • CCWTechC
                                  CCWTech @Dashrender
                                  last edited by

                                  @dashrender said in Network setup - Hyper-V:

                                  I gave the wrong command.

                                  Get-SmbServerConfiguration
                                  This one will tell you what SMB versions you have enabled for serving up shares. Only needed on the server side.

                                  Physical or virtual or both?

                                  DashrenderD 1 Reply Last reply Reply Quote 0
                                  • CCWTechC
                                    CCWTech
                                    last edited by

                                    @ccwtech said in Network setup - Hyper-V:

                                    Get-SmbServerConfiguration

                                    This is from the hyperv/apps server:

                                    AnnounceComment :
                                    AnnounceServer : False
                                    AsynchronousCredits : 512
                                    AuditSmb1Access : False
                                    AutoDisconnectTimeout : 15
                                    AutoShareServer : True
                                    AutoShareWorkstation : True
                                    CachedOpenLimit : 0
                                    DurableHandleV2TimeoutInSeconds : 180
                                    EnableAuthenticateUserSharing : False
                                    EnableDownlevelTimewarp : False
                                    EnableForcedLogoff : True
                                    EnableLeasing : True
                                    EnableMultiChannel : True
                                    EnableOplocks : False
                                    EnableSecuritySignature : False
                                    EnableSMB1Protocol : True
                                    EnableSMB2Protocol : True
                                    EnableStrictNameChecking : True
                                    EncryptData : False
                                    IrpStackSize : 15
                                    KeepAliveTime : 2
                                    MaxChannelPerSession : 32
                                    MaxMpxCount : 50
                                    MaxSessionPerConnection : 16384
                                    MaxThreadsPerQueue : 20
                                    MaxWorkItems : 1
                                    NullSessionPipes : HydraLsPipe,TermServLicensing
                                    NullSessionShares :
                                    OplockBreakWait : 35
                                    PendingClientTimeoutInSeconds : 120
                                    RejectUnencryptedAccess : True
                                    RequireSecuritySignature : False
                                    ServerHidden : True
                                    Smb2CreditsMax : 8192
                                    Smb2CreditsMin : 512
                                    SmbServerNameHardeningLevel : 0
                                    TreatHostAsStableStorage : False
                                    ValidateAliasNotCircular : True
                                    ValidateShareScope : True
                                    ValidateShareScopeNotAliased : True
                                    ValidateTargetName : True

                                    1 Reply Last reply Reply Quote 0
                                    • DashrenderD
                                      Dashrender @CCWTech
                                      last edited by

                                      @ccwtech said in Network setup - Hyper-V:

                                      @dashrender said in Network setup - Hyper-V:

                                      I gave the wrong command.

                                      Get-SmbServerConfiguration
                                      This one will tell you what SMB versions you have enabled for serving up shares. Only needed on the server side.

                                      Physical or virtual or both?

                                      both, since you're now testing both.

                                      Also, you can wrap each block of text with 3 tick marks ` before and after

                                      to see it like this
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • DashrenderD
                                        Dashrender
                                        last edited by

                                        You're Hyper-V has SMB1 enabled

                                        https://i.imgur.com/nudzdn9.png

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

                                          @dashrender said in Network setup - Hyper-V:

                                          You're Hyper-V has SMB1 enabled

                                          https://i.imgur.com/nudzdn9.png

                                          But Hyper-V shouldn't be involved in SMB communications.

                                          DashrenderD 1 Reply Last reply Reply Quote 0
                                          • CCWTechC
                                            CCWTech
                                            last edited by

                                            Physical Server

                                            
                                            AnnounceComment                 : 
                                            AnnounceServer                  : False
                                            AsynchronousCredits             : 512
                                            AuditSmb1Access                 : False
                                            AutoDisconnectTimeout           : 15
                                            AutoShareServer                 : True
                                            AutoShareWorkstation            : True
                                            CachedOpenLimit                 : 10
                                            DurableHandleV2TimeoutInSeconds : 180
                                            EnableAuthenticateUserSharing   : False
                                            EnableDownlevelTimewarp         : False
                                            EnableForcedLogoff              : True
                                            EnableLeasing                   : True
                                            EnableMultiChannel              : True
                                            EnableOplocks                   : True
                                            EnableSecuritySignature         : False
                                            EnableSMB1Protocol              : True
                                            EnableSMB2Protocol              : True
                                            EnableStrictNameChecking        : True
                                            EncryptData                     : False
                                            IrpStackSize                    : 15
                                            KeepAliveTime                   : 2
                                            MaxChannelPerSession            : 32
                                            MaxMpxCount                     : 50
                                            MaxSessionPerConnection         : 16384
                                            MaxThreadsPerQueue              : 20
                                            MaxWorkItems                    : 1
                                            NullSessionPipes                : 
                                            NullSessionShares               : 
                                            OplockBreakWait                 : 35
                                            PendingClientTimeoutInSeconds   : 120
                                            RejectUnencryptedAccess         : True
                                            RequireSecuritySignature        : False
                                            ServerHidden                    : True
                                            Smb2CreditsMax                  : 8192
                                            Smb2CreditsMin                  : 512
                                            SmbServerNameHardeningLevel     : 0
                                            TreatHostAsStableStorage        : False
                                            ValidateAliasNotCircular        : True
                                            ValidateShareScope              : True
                                            ValidateShareScopeNotAliased    : True
                                            ValidateTargetName              : True
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 7 / 8
                                            • First post
                                              Last post