Hyper-V Integrated Services
-
@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.
-
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 -
@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-vYes, that's the one.
-
@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-vYes, that's the one.
How does one confirm if its still needed for XFS file systems?
-
@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-vYes, 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.
-
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?
-
@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.
-
@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/
-
@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?
-
@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?
-
@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.
-
@tim_g the OP clearly stated that he is trying to setup and nginx instance on a Linux based VM on Hyper-V server.
-
@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.
-
@tim_g he is not either. He is turning up a Hyper-V system in his lab to try instead of XS.
-
@jaredbusch said in Hyper-V Integrated Services:
@tim_g he is not either. He is turning up a Hyper-V system in his lab to try instead of XS.
And while that may someday lead to wanting to try nested virtualization, nothing in this thread hinted that, and posting extraneous information does nothing to answer the OP or the other responders in the thread.
-
@jaredbusch said in Hyper-V Integrated Services:
@jaredbusch said in Hyper-V Integrated Services:
@tim_g he is not either. He is turning up a Hyper-V system in his lab to try instead of XS.
And while that may someday lead to wanting to try nested virtualization, nothing in this thread hinted that, and posting extraneous information does nothing to answer the OP or the other responders in the thread.
QQ more?
What information is or is not extraneous / relevant can be very subjective, and thankfully, isn't your call to make. The last I was aware, ML is a discussion forum.
-
So ... just to take this back to Hyper-V LIS...
@Tim_G you said that you still need to install stuff for LIS to work. However, from all my research, that does not appear to be the case, and in fact it is built into most modern Linux OSes.
Let's take the recent ML darling, Fedora as an example.
You set up a new Fedora VM using the manual PS method to create a VHDX. Once the VM boots up and you update it, what do you do?
I content there is nothing more to do.
-
BTW: I am talking about Hyper-V 2016, BTW.
I think that is also some of the confusion out there.
-
@brrabill said in Hyper-V Integrated Services:
BTW: I am talking about Hyper-V 2016, BTW.
I think that is also some of the confusion out there.
# Hyper-V Guest Agents sudo dnf -y install hyperv-daemons hyperv-tools # Hot-Add support sudo tee /etc/udev/rules.d/100-balloon.rules <<EOF SUBSYSTEM=="memory", ACTION=="add", ATTR{state}="online" EOF
-
And what does that DO exactly.
If you go to the LIS page on Microsft's site, you can see the following...
Microsoft provides Linux Integration Services for a broad range of Linux distros as documented in the Linux and FreeBSD Virtual Machines on Hyper-V topic on TechNet. Per that documentation, **many Linux distributions and versions have Linux Integration Services built-in and do not require installation of this separate LIS package from Microsoft**. This LIS package is available for a subset of supported distributions in order to provide the best performance and fullest use of Hyper-V features. It can be installed in the listed distribution versions that do not already have LIS built in, and **can be installed as an upgrade in listed distribution versions that already have LIS built-in**. The built-in Red Hat Enterprise Linux Integration Services drivers for Hyper-V (available since Red Hat Enterprise Linux 6.4) are sufficient for Red Hat Enterprise Linux guests to run using the high performance synthetic devices on Hyper-V hosts. These built-in drivers are certified by Red Hat for this use, and certified configurations can be viewed on the Red Hat Customer Portal. It is not necessary to download and install this Linux Integration Services package from the Microsoft Download Center to use Red Hat Enterprise Linux on Hyper-V, and doing so may limit your Red Hat support as described in Red Hat Knowledgebase article 1067.
Reading through this, what sticks out to me is that there is NO NEED to install anything. In fact, it says for RHEL installing more can actually limit official support. Which is why I am asking what you are installing.
Also, it also says you can upgrade to the latest versions if your Linux OS doesn't have it, but that is a file to be downloaded from Microsoft, much as in the example @JaredBusch gave on how to install LIS.
So, a few loose ends here, which is why I am asking...