0 Replies Latest reply: Oct 23, 2012 3:45 PM by J Peters-Oracle RSS

    Conversion OL6u1 HVM to PV

    J Peters-Oracle
      OL6 features "pvops" alllowing simple conversion of HVM to PV requiring no modification to the OL6 VM host.
      The following details OL6u1 system with same methodology applicable to OL6u3.

      [root@ovm222]# cat /etc/ovs-info
      Ovs summary
      ovs-release: 2.2.2
      ovs-date: Wed Feb 24 2010
      xen-release: 3.4.0-0.1.30
      xen-date: Wed Sep 5 2010
      xen-changeset: 22160

      [root@OL6u1 ~]# cat /etc/issue | head -1
      Oracle Linux Server release 6.1

      Update "vm.cfg",

      [root@ovm222 ~]# cd /OVS/OL6u1

      [root@ovm222 OL6u1]# cp vm.cfg vm.cfg.hvm

      [root@ovm222 OL6u1]# vi vm.cfg

      [root@ovm222 OL6u1]# diff vm.cfg vm.cfg.hvm
      5,6c5,6
      < #kernel = '/usr/lib/xen/boot/hvmloader'
      < #builder = 'hvm'
      ---
      kernel = '/usr/lib/xen/boot/hvmloader'
      builder = 'hvm'
      8c8
      < #device_model ='/usr/lib/xen/bin/qemu-dm'
      ---
      device_model ='/usr/lib/xen/bin/qemu-dm'
      15c15
      < bootloader = '/usr/bin/pygrub'
      ---
      #bootloader = '/usr/bin/pygrub'
      37,39c37
      < #disk = [ 'file:/OVS/OracleLinux-R6-U1-Server-x86_64-dvd.iso,hdc:cdrom,r', 'file:/OVS/OL6u1/System.img,xvda,w', 'file:/OVS/OL6u1/u01.img,xvdb,w', ]
      <
      < disk = [ 'file:/OVS/OL6u1/System.img,xvda,w', 'file:/OVS/OL6u1/u01.img,xvdb,w', ]
      ---
      disk = [ 'file:/OVS/OracleLinux-R6-U1-Server-x86_64-dvd.iso,hdc:cdrom,r', 'file:/OVS/OL6u1/System.img,xvda,w', 'file:/OVS/OL6u1/u01.img,xvdb,w', ]
      65,66c63
      < #boot = "cd"
      < boot = "c"
      ---
      boot = "cd"
      75,80c72,75
      < #vnc=1
      < #vncunused=1
      < #vnclisten="0.0.0.0"
      < #vncpasswd=''
      <
      < vfb = [ "type=vnc,vncunused=1" ]
      ---
      vnc=1
      vncunused=1
      vnclisten="0.0.0.0"
      vncpasswd=''