Hyper-V Integrated Services
-
Just to clarify, I didn't say to install LIS.
hyperv-daemons hypervvssd hyperv-tools
packages are NOT LIS, but tools to support the guest in Hyper-V. -
@tim_g said
You do NOT need to and shouldn't install any kind of LIS when you use Fedora 26 on Hyper-V.
Earlier in the thread you said:
"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"Which is what I was questioning...
-
@tim_g said in Hyper-V Integrated Services:
Just to clarify, I didn't say to install LIS.
hyperv-daemons hypervvssd hyperv-tools
packages are NOT LIS, but tools to support the guest in Hyper-V.Can you explain that more?
Because I think those are also pre-installed.
-
@brrabill said in Hyper-V Integrated Services:
@tim_g said in Hyper-V Integrated Services:
Just to clarify, I didn't say to install LIS.
hyperv-daemons hypervvssd hyperv-tools
packages are NOT LIS, but tools to support the guest in Hyper-V.Can you explain that more?
Because I think those are also pre-installed.
If they are pre-installed, then I wasn't aware of that.
I assumed they aren't because if you run
dnf install hyperv-daemons hyperv-tools
, it lets you and doesn't say those are already installed. -
@tim_g said in Hyper-V Integrated Services:
@brrabill said in Hyper-V Integrated Services:
@tim_g said in Hyper-V Integrated Services:
Just to clarify, I didn't say to install LIS.
hyperv-daemons hypervvssd hyperv-tools
packages are NOT LIS, but tools to support the guest in Hyper-V.Can you explain that more?
Because I think those are also pre-installed.
If they are pre-installed, then I wasn't aware of that.
I assumed they aren't because if you run
dnf install hyperv-daemons hyperv-tools
, it lets you and doesn't say those are already installed.You are correct they are not installed.
-
@brrabill usually centos has external kernel drivers installable by microsoft, ubuntu runs its own set, don't know about fedora.
those are required to make app aware "stuff" possible from hyper-v BUT they aren't enough.
hypervisor searches for its own "agent", which is given by the cited packages. Then the "agent" leverages kernel space drivers to accomplish app aware "stuff".
basically you have more or less recent drivers but you miss the userland stuff that makes it actually work.
-
@matteo-nunziati said in Hyper-V Integrated Services:
@brrabill usually centos has external kernel drivers installable by microsoft, ubuntu runs its own set, don't know about fedora.
those are required to make app aware "stuff" possible from hyper-v BUT they aren't enough.
hypervisor searches for its own "agent", which is given by the cited packages. Then the "agent" leverages kernel space drivers to accomplish app aware "stuff".
basically you have more or less recent drivers but you miss the userland stuff that makes it actually work.
So what would happen if you don't install the "agent"?
I ask because everything seems to be working fine.
-
@brrabill said in Hyper-V Integrated Services:
dnf install hyperv-daemons hyperv-tools
I see from installing
hyperv-daemons hyperv-tools
it at a minimum puts the IP address in Hyper-V Manager.
-
So, hyperv-daemons does the following. I am still trying to figure out exactly what hyperv-tools does.
hyperv-daemon:
Suite of daemons for Linux guests running on Hyper-V, consisting of hv_fcopy_daemon, hv_kvp_daemon and hv_vss_daemon.hv_fcopy_daemon provides the file copy service, allowing the host to copy files into the guest.
hv_kvp_daemon provides the key-value pair (KVP) service, allowing the host to get and set the IP networking configuration of the guest. (This requires helper scripts which are not currently included.)
hv_vss_daemon provides the volume shadow copy service (VSS), allowing the host to freeze the guest filesystems while taking a snapshot.
-
@brrabill said in Hyper-V Integrated Services:
So, hyperv-daemons does the following. I am still trying to figure out exactly what hyperv-tools does.
hyperv-daemon:
Suite of daemons for Linux guests running on Hyper-V, consisting of hv_fcopy_daemon, hv_kvp_daemon and hv_vss_daemon.hv_fcopy_daemon provides the file copy service, allowing the host to copy files into the guest.
hv_kvp_daemon provides the key-value pair (KVP) service, allowing the host to get and set the IP networking configuration of the guest. (This requires helper scripts which are not currently included.)
hv_vss_daemon provides the volume shadow copy service (VSS), allowing the host to freeze the guest filesystems while taking a snapshot.
basically the agent requires both kenrel space and userland tools. due to the way linux is distributed you ended up with kernel drivers in place but missing userland.
to understand what userland does try making a backup or snapshot or similar. you can use stuff like an altaro trial : you will see if so called application aware backups are made or not.
this is one of the things which allow hypervisor level tools to interact properly with guests.not having the proper agent components basically limits this kind of things. also it reduces the introspection of guests, things like view their ip address and so...
this is the list of things provided by the full agent
I've never checked out which part of the agent does what
-
@matteo-nunziati said
this is the list of things provided by the full agent
I wish that chart broke it down by
- MS LIS and
- agent