This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Hyper-V driver installation

Hi

I currently have ASG installed on hyper-v using legacy network adapters which are causing a bottle neck. And hence would like to install the drivers for the synthetic network adapters.

I have managed to find the linux drivers for hyper-v, but need some help installing them via the command line interface.

Cheers

ANDY


This thread was automatically locked due to age.
  • Hi Andy

    I cant help you, because I use the asg on hyper-v only for mail scanning and there I need only a few KB/s.

    but check out this:
    https://community.sophos.com/products/unified-threat-management/astaroorg/f/53/t/32656

    its about the "time problem"

    yours
    Marco

    p.s. normally you can use insmod on the cli to import kernel modules
  • I've already sorted out the time issue by disabling the sync with host.

    The problem is with the network through put of the legacy network adapters.  Can only manage 10-15 Mbits and the cpu is only running 25%.

    I found some instructions online for installing the linux drivers, but became stuck at "add the kernel-source and gcc-c++ packages"

    The rest is straight forward, but I haven't a clue about the above.

    Instructions as per below:



    "Recently I have been seeing and getting many questions regarding the Linux Integration Components for Hyper-V virtual machines.

    Through a bit of questioning, I have discovered a couple things, and distinct levels to running Linux VMs on Hyper-V.

    Note: Since SuSE 10 SP2 is the ‘supported’ distribution, any instructions will be specific to it.

    I am assuming that you have obtained the SuSE media and performed a ‘vanilla’ installation into a new Hyper-V virtual machine.

    WARNING:  Level One can lead to Level Two.  And, always perform a backup / export / snapshot before proceeding.  All usual disclaimers apply.

    Level One – the beginning
    This is a simple installation of just the Linux operating system within a Hyper-V virtual machine.  The only caveat is that the VM needs a Legacy Network adapter for network connectivity.

    In this case you will end up with a working Linux VM.  It should auto detect an install an SMB (multi-processor) kernel and it should just work.  The performance is not the best that it could be, but it should run.

    Level Two – the path to enlightenment
    This is the simple installation from above, with the addition of the Hyper-V Linux drivers.

    This one is a bit more involved.  However, the end result is that you are running the synthetic Network Adapter, and the optimized storage, and display (and other) drivers.

    This optimizes drivers, but advanced integration features such as shutdown from the host (or SCVMM) is currently not available.

    To obtain driver enlightenment:
    a)      Obtain the LinuxIC.iso 

    Hyper-V v1: http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=ab7f4983-93c5-4a70-8c79-0642f0d59ec2#tm

    Hyper-V R2: Download details: Linux Integration Components

    b)      obtain the inputvsc.iso for the mouse driver

    Citrix Project Satori

    c)       add the kernel-source and gcc-c++ packages

    YaST can be used for this, either GUI or command line

    Note: if an ISO was previously attached, you may need to detach, pause, then attach the desired ISO for SuSE auto-mount to pick up the change.  

    If that does not work, make a mount point ( mkdir /media/CDROM ) and mount /dev/hdc /media/CDROM

    d)      Install the linuxic drivers

    a.       Open a Terminal

    b.      attach the downloaded LinuxIC.iso through the Hyper-V manager 

    c.       Create a folder and copy the contents to the folder

    d.      mkdir /tmp/linuxic

    e.      cp –rp /media/CDROM/* /tmp/linuxic

    f.        cd /tmp/linuxic

    g.       ./setup.pl drivers

    e)      Install the mouse driver

    a.       Attach the inputvsc.iso through the Hyper-V manager

    b.      Create a folder and copy the contents.

    c.       mkdir /tmp/inputvsc

    d.      cp –rp /media/CDROM/* /tmp/inputvsc

    Note: you may need to mount again: mount /dev/hdc /media/CDROM

    e.      cd /tmp/inputvsc

    f.        ./setup.pl

    f)       Power down the VM, remove the Legacy Network Adapter, add a Synthetic Network adapter, power on the VM (you could also do a shutdown now –hP )

    g)      Using YaST, configure the newly installed synthetic network adapter.