确认 Hyper-V 集成服务正在运行

确认 Hyper-V 集成服务正在运行

我正在尝试确认 Hyper-V 集成服务守护进程正在运行。

我已尝试安装所有守护进程,因此我想验证以下内容:

VSS Snapshot daemon

KVP daemon

fcopy daemon

"HWE kernel" # Virtual Kernel

https://docs.microsoft.com/en-us/windows-server/virtualization/hyper-v/supported-ubuntu-virtual-machines-on-hyper-v

答案1

当我重新使用 Hyper-V 进行工作时,我终于明白了。

root@openproject:~# systemctl status hv-fcopy-daemon.service
● hv-fcopy-daemon.service - Hyper-V File Copy Protocol Daemon
   Loaded: loaded (/lib/systemd/system/hv-fcopy-daemon.service; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2020-02-14 17:27:44 UTC; 6min ago
 Main PID: 1249 (hv_fcopy_daemon)
    Tasks: 1 (limit: 2224)
   CGroup: /system.slice/hv-fcopy-daemon.service
           └─1249 /usr/lib/linux-tools/5.0.0-1031-azure/hv_fcopy_daemon -n

Feb 14 17:27:44 openproject systemd[1]: Started Hyper-V File Copy Protocol Daemon.
Feb 14 17:27:44 openproject HV_FCOPY[1249]: starting; pid is:1249
Feb 14 17:27:44 openproject HV_FCOPY[1249]: kernel module version: 1
root@openproject:~# ps -u root | grep fcopy
  1249 ?        00:00:00 hv_fcopy_daemon
root@openproject:~# ps -u root | grep hv
    31 ?        00:00:00 hv_vmbus_con
    32 ?        00:00:00 hv_pri_chan
    33 ?        00:00:00 hv_sub_chan
   511 ?        00:00:00 hv_balloon
   526 ?        00:00:00 hv_kvp_daemon
  1249 ?        00:00:00 hv_fcopy_daemon
  1260 ?        00:00:00 hv_vss_daemon

注意:在旧系统上,您可能需要使用ps -u root | grep hyper

注:这些都是我找到的列表中的所有流程

hv_vmbus_con
hv_pri_chan
hv_sub_chan
hv_balloon
hv_kvp_daemon
hv_vss_daemon
hv_fcopy_daemon

相关内容