Hello Virtualization Nation. Probably you are thinking, how an Premier Field Engineer that loves Windows Server may help a Linux Community ? Well, before starting at Microsoft’s World I was a Linux enthusiast, I started my career managing SCO Unix, yes I was born in 1978 but leaving these years on the past, today I love to help customer to get better experience, it does not matter if virtual machines are Windows or Linux. Recently I gave the opportunity to help a important customer here in Brazil to win this challenge. Oracle DBA guy told me that Linux didn’t work very well on Hyper-V, he was working more than 1 months to try install Linux and nothing, nothing, nothing, I love to ear this customer that are not satisfied to our product because I always have an opportunity to change the game and their satisfaction.
So, we decided to do step by step all procedures to install Oracle Linux on Hyper-V, of course first step was download of ISO of Oracle Linux from Oracle Web Site (www.oracle.com), we used version Release 6 Update 3 64 bits. We didn’t try to use oldest versions but feel free to validate it.
Second step was to create a Virtual Machine without Network Interfaces ( yes ! no NICs synthetic or legacy). So create a VM into Hyper-V normally after remove Network Adapter, attach ISO and start it. Take a look VM settings below :
After that, install operating system using default values, during installation you will observe that Network settings will not available to set IP address, don’t worry and continue and finish installation. Select Install or upgrade an existing system.
Everybody know that Oracle Linux is a copy of Red Hat Linux, on the past there companies had contracts agreements broken because all customers that decided to use Oracle on Linux, Red Hat always was recommended, both companies won and had revenues. Leaving disagree between these companies, let’s go back to this article, during installation Configure Network button will not available (grey color), don’t worry and go ahead because you will set up it after.
# vi /etc/grub.conf set default = 1
# vi /etc/sysconfig/kernel, delete –uek from last of DEFUALT KERNEL..line
Insert ISO LIS 3.4 into virtual dvd
login as root again
# mount /dev/cdrom /media
# cd /media/RHEL63
Shutdown virtual machine (#halt)
Insert Network Adapter (not legacy)
Start VM, integration services should be fine
# cd /etc/sysconfig/network-scripts
# cp ifcfg-lo ifcfg-eth0
# vi /etc/sysconfig/network ( if it does not exist please create it )
# vi /etc/resolv.conf
or use system-config-network utility
Select Device Configuration
Finally, execute # ifup eth0 and after # ifconfig, observe that network interface eth0 is being showed now.
Linux Integration Services provides support for the modinfo command. To get module information for each installed kernel module, run the following command :
This command can be repeated for all kernel modules (hv_vmbus, hv_netvsc, hv_storvsc, hv_blkvsc, and hv_utils).
To verify that all subcomponents are running as the root user, issue the following command at a shell prompt :
,Remember : Don’t FORGET if your VM is on High Availability and you want to do Live Migration, MAC Address needs to be Static and no Dynamic
Change it on Advanced Features on Network Adapter Properties VM.
Well done ! Welcome to Linux on Hyper-V !! Interoperability is here !