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

CentOS上安装LIS指南
本文介绍如何在CentOS上正确安装LIS (Linux Integration Services),以确保虚拟机在Azure上的高性能运行。文章提供了安装步骤及验证方法。

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

已经是最新的版本了。

转载于:https://www.cnblogs.com/hengwei/p/5983544.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值