TOPIC 3

Date: 2/5/2014
Server virtualization with KVM
Linux for Engineering and IT Applications


Deployment a CentOS appliance VM.


  • Download a CentOS VM and deploy it
    
    wget http://engshare.rutgers.edu/KVM/CentOS_VM.tgz
    tar -xvf CentOS_VM.tgz
    cp CentOS_VM/CentOS6.2.xml  /etc/libvirt/qemu
    cp CentOS_VM/centos6.2.img  /var/lib/libvirt/images
    chown hostadm:hostadm /etc/libvirt/qemu/CentOS6.2.xml
    chown hostadm:hostadm /var/lib/libvirt/images/centos6.2.img 
    virsh define /etc/libvirt/qemu/CentOS6.2.xml
    
    Start the new VM:
    
    virsh start CentOS6.2
    

  • Login to the new VM console as user root with password unisys:
    
    virsh console CentOS6.2
    
    On the VM, clear the old MAC address and reboot:
    
    cp /dev/null /etc/udev/rules.d/70-persistent-net.rules
    reboot
    
    After rebooting, the VM should be able to get the network settings.


  • Take me to the Course Website