码迷,mamicode.com
首页 > 系统相关 > 详细

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

时间:2016-10-21 11:06:50      阅读:299      评论:0      收藏:0      [点我收藏+]

标签:code   color   file   please   mfs   com   net   tin   ram   

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

已经是最新的版本了。

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

标签:code   color   file   please   mfs   com   net   tin   ram   

原文地址:http://www.cnblogs.com/hengwei/p/5983544.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!