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

    Hyper-V Integrated Services

    IT Discussion
    hyper-v hyper-v 2012 r2 linux integrated services
    7
    41
    3.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.
    • gjacobseG
      gjacobse
      last edited by

      Setting up an nginx box on a Hyper-V VM, when I go to install the Integrated Services, it fails:

      0_1505513367705_2017-09-15 18_06_22-SSI-VMHOST-4 - NTG - Connected.png

      Any thoughts on what could be the issue. Google isn't coming back with anything on what the issue is.

      coliverC 1 Reply Last reply Reply Quote 0
      • coliverC
        coliver @gjacobse
        last edited by

        @gjacobse said in Hyper-V Integrated Services:

        Setting up an nginx box on a Hyper-V VM, when I go to install the Integrated Services, it fails:

        0_1505513367705_2017-09-15 18_06_22-SSI-VMHOST-4 - NTG - Connected.png

        Any thoughts on what could be the issue. Google isn't coming back with anything on what the issue is.

        Check and see if the cdrom of mounted. If it is use umount to disconnect it.

        1 Reply Last reply Reply Quote 3
        • gjacobseG
          gjacobse
          last edited by

          Yup - That did it.

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

            When you bring up a Fedora 26 VM on Hyper-V, all you need to do is run this:
            dnf install hyperv-daemons hypervvssd hyperv-tools

            What .iso are you using?

            Also, if creating a Linux VM on Hyper-V, you'll need to create the .vhdx like this:
            New-VHD -Path "E:\Hyper-V\Virtual Hard Disks\linuxvm.vhdx" -SizeBytes 150GB -Dynamic -BlockSizeBytes 1MB
            The important part is the -BlockSizeBytes. Make the -SizeBytes what you want.

            black3dynamiteB BRRABillB 2 Replies Last reply Reply Quote 3
            • black3dynamiteB
              black3dynamite @Obsolesce
              last edited by black3dynamite

              @tim_g
              You don't have to include hypervvssd anymore. Its one of the dependencies when installing hyperv-daemons package.

              You can find out by typing the following command:

              sudo dnf deplist hyperv-daemons
              
              1 Reply Last reply Reply Quote 1
              • BRRABillB
                BRRABill @Obsolesce
                last edited by

                @tim_g said

                Also, if creating a Linux VM on Hyper-V, you'll need to create the .vhdx like this:
                New-VHD -Path "E:\Hyper-V\Virtual Hard Disks\linuxvm.vhdx" -SizeBytes 150GB -Dynamic -BlockSizeBytes 1MB
                The important part is the -BlockSizeBytes. Make the -SizeBytes what you want.

                Why is this?

                What if you are using the GUI to do this? Is this still required?

                ObsolesceO 2 Replies Last reply Reply Quote 0
                • ObsolesceO
                  Obsolesce @BRRABill
                  last edited by

                  @brrabill said in Hyper-V Integrated Services:

                  Why is this?

                  Because of some technical reasons I read before but don't remember off the top of my head without looking again.

                  Also, Microsoft recommends and says to do it that way themselves officially.

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

                    @brrabill said in Hyper-V Integrated Services:

                    What if you are using the GUI to do this? Is this still required?

                    Yes, still required. The GUI uses defaults. So you'll need to do this via PowerShell.

                    1 Reply Last reply Reply Quote 1
                    • BRRABillB
                      BRRABill
                      last edited by

                      Interesting.

                      I (and others who shall remained unnamed) started playing with Hyper-V a little bit recently.

                      This is what I think you were referencing...
                      https://docs.microsoft.com/en-us/windows-server/virtualization/hyper-v/best-practices-for-running-linux-on-hyper-v

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

                        @brrabill said in Hyper-V Integrated Services:

                        Interesting.

                        I (and others who shall remained unnamed) started playing with Hyper-V a little bit recently.

                        This is what I think you were referencing...
                        https://docs.microsoft.com/en-us/windows-server/virtualization/hyper-v/best-practices-for-running-linux-on-hyper-v

                        Yes, that's the one.

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

                          @tim_g said in Hyper-V Integrated Services:

                          @brrabill said in Hyper-V Integrated Services:

                          Interesting.

                          I (and others who shall remained unnamed) started playing with Hyper-V a little bit recently.

                          This is what I think you were referencing...
                          https://docs.microsoft.com/en-us/windows-server/virtualization/hyper-v/best-practices-for-running-linux-on-hyper-v

                          Yes, that's the one.

                          How does one confirm if its still needed for XFS file systems?

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

                            @black3dynamite said in Hyper-V Integrated Services:

                            @tim_g said in Hyper-V Integrated Services:

                            @brrabill said in Hyper-V Integrated Services:

                            Interesting.

                            I (and others who shall remained unnamed) started playing with Hyper-V a little bit recently.

                            This is what I think you were referencing...
                            https://docs.microsoft.com/en-us/windows-server/virtualization/hyper-v/best-practices-for-running-linux-on-hyper-v

                            Yes, that's the one.

                            How does one confirm if its still needed for XFS file systems?

                            I briefly looked around for that same answer, and I couldn't find anything. So until I can find otherwise, I'm sticking to the recommendation.

                            1 Reply Last reply Reply Quote 0
                            • BRRABillB
                              BRRABill
                              last edited by

                              Speaking of LIS, is there anything else that needs to be done on the VM side ohter than install?

                              For example, with Fedora 26, it appears all the Hyper-V stuff is already installed in the OS itself. Does anything else need to be installed in the VM?

                              black3dynamiteB ObsolesceO 2 Replies Last reply Reply Quote 0
                              • black3dynamiteB
                                black3dynamite @BRRABill
                                last edited by

                                @brrabill said in Hyper-V Integrated Services:

                                Speaking of LIS, is there anything else that needs to be done on the VM side ohter than install?

                                For example, with Fedora 26, it appears all the Hyper-V stuff is already installed in the OS itself. Does anything else need to be installed in the VM?

                                Hot-Add support is not enabled by default.

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

                                  @brrabill said in Hyper-V Integrated Services:

                                  Speaking of LIS, is there anything else that needs to be done on the VM side ohter than install?

                                  For example, with Fedora 26, it appears all the Hyper-V stuff is already installed in the OS itself. Does anything else need to be installed in the VM?

                                  Nothing other than what's already mentioned in this thread... but if you want to do nested virtualization, see here: https://www.timothygruber.com/hyper-v-2/run-a-nested-vm-on-kvm-qemu-vm-in-hyper-v/

                                  BRRABillB JaredBuschJ 2 Replies Last reply Reply Quote 0
                                  • BRRABillB
                                    BRRABill @Obsolesce
                                    last edited by

                                    @tim_g said

                                    Nothing other than what's already mentioned in this thread...

                                    You mean install the hyperv-daemons?

                                    But I am wondering if that is already installed? AKA, there is nothing to do?

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

                                      @tim_g said in Hyper-V Integrated Services:

                                      @brrabill said in Hyper-V Integrated Services:

                                      Speaking of LIS, is there anything else that needs to be done on the VM side ohter than install?

                                      For example, with Fedora 26, it appears all the Hyper-V stuff is already installed in the OS itself. Does anything else need to be installed in the VM?

                                      Nothing other than what's already mentioned in this thread... but if you want to do nested virtualization, see here: https://www.timothygruber.com/hyper-v-2/run-a-nested-vm-on-kvm-qemu-vm-in-hyper-v/

                                      WTF does nested virtualization have to do with anything?

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

                                        @jaredbusch said in Hyper-V Integrated Services:

                                        @tim_g said in Hyper-V Integrated Services:

                                        @brrabill said in Hyper-V Integrated Services:

                                        Speaking of LIS, is there anything else that needs to be done on the VM side ohter than install?

                                        For example, with Fedora 26, it appears all the Hyper-V stuff is already installed in the OS itself. Does anything else need to be installed in the VM?

                                        Nothing other than what's already mentioned in this thread... but if you want to do nested virtualization, see here: https://www.timothygruber.com/hyper-v-2/run-a-nested-vm-on-kvm-qemu-vm-in-hyper-v/

                                        WTF does nested virtualization have to do with anything?

                                        Wtf exactly are you doing in this thread? Posting helpful replies (as always) I see... perhaps this is another one in which you can shove it.

                                        Anyways,

                                        He never specified his intentions or goals with running Linux in Hyper-V. For all I know he may want to toy with KVM or something else requiring virtualization extensions. Which if that is the case, it's likely unknown that there are some extra steps you can't do via the GUI. So, I figured I'd throw that out there to save him (and others) some time... as this is probably one thread that will show up in search results down the road for that purpose.

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

                                          @tim_g the OP clearly stated that he is trying to setup and nginx instance on a Linux based VM on Hyper-V server.

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

                                            @jaredbusch said in Hyper-V Integrated Services:

                                            @tim_g the OP clearly stated that he is trying to setup and nginx instance on a Linux based VM on Hyper-V server.

                                            It wasn't the OP who I was responding to, if maybe, you know, you'd take the time to read instead of troll.

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