zoukankan      html  css  js  c++  java
  • 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

    已经是最新的版本了。

  • 相关阅读:
    Python SOCKET网络编程
    网络基础 -- 子网划分
    网络基础 -- 网络协议篇
    面向对象练习:学生选课系统
    python 异常处理 断言
    Python 面向对象 中高级
    Python 面向对象 基础
    Python 练习
    Python 练习计算器
    Python 正则表达式
  • 原文地址:https://www.cnblogs.com/hengwei/p/5983544.html
Copyright © 2011-2022 走看看