Azure的CentOS上安裝LIS (Linux Integration Service)


Azure上虛擬化技術都是采用的Hyper-v,每台Linux虛擬機都安裝了LIS(Linux Integration Service)。LIS的功能是為VM提供各種虛擬設備的驅動。所以LIS直接影響到VM和底層硬件運行的性能。

在客戶有VM各種高性能的處理需求的時候,LIS保證最新版本是非常重要的。本文將介紹如何在CentOS上正確的安裝LIS。

1 安裝LIS

在以下網站查看最新版的LIS:

https://technet.microsoft.com/en-us/windows-server-docs/compute/hyper-v/supported-centos-and-red-hat-enterprise-linux-virtual-machines-on-hyper-v#a-namebkmk6xarhelcentos-6x-series

在以下鏈接下載最新版的LIS:

https://www.microsoft.com/en-us/search/result.aspx?q=Linux+Integration+Services+Version&form=dlc

目前最新的LIS是4.1.2。

安裝前的版本:

[root@hwdsr01 ~]# modinfo hv_vmbus
filename: /lib/modules/2.6.32-431.29.2.el6.x86_64/kernel/drivers/hv/hv_vmbus.ko
version: 3.1
license: GPL
srcversion: 3E7D7FE31577CC7E47EA89E
alias: acpi*:VMBus:*
alias: acpi*:VMBUS:*
depends:
vermagic: 2.6.32-431.29.2.el6.x86_64 SMP mod_unload modversions

下載后安裝:

tar vxf lis-rpms-4.1.2-1.tar.gz
cd LISISO/

 

[root@hwdsr01 LISISO]# ./install.sh
Removing Hyper-V daemons
Invoking release specific install file in directory CentOS65
Installing the Linux Integration Services for Microsoft Hyper-V...
Preparing... ########################################### [100%]
1:kmod-microsoft-hyper-v ########################################### [100%]
Preparing... ########################################### [100%]
1:microsoft-hyper-v-debug########################################### [ 50%]
2:microsoft-hyper-v ########################################### [100%]
Saving old initramfs
Installing new initramfs
Adding KVP Daemon to Chkconfig....
Starting KVP Daemon....
Adding VSS Daemon to Chkconfig....
Starting VSS Daemon....
Adding FCOPY Daemon to Chkconfig....
Starting FCOPY Daemon....
Linux Integration Services for Hyper-V has been installed. Please reboot your system.

重啟后查看:

[root@hwdsr01 LISISO]# modinfo hv_vmbus
filename: /lib/modules/2.6.32-431.29.2.el6.x86_64/weak-updates/microsoft-hyper-v/hv_vmbus.ko
version: 4.1.2
license: GPL
srcversion: 82B9AE7A2B6BFE26B1AC6A4
alias: acpi*:VMBus:*
alias: acpi*:VMBUS:*
depends:
vermagic: 2.6.32-431.el6.x86_64 SMP mod_unload modversions

已經是最新的版本了。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM