Tuesday, May 28, 2013

Oracle VM installation woes for VMWare veterans

I'll keep this simple:

If you are installing Oracle VM on a single host, without shared storage (say, for testing), do yourself a favor and create two virtual disks at the RAID controller level. OVM will not 'see' unused space on a partitioned volume.

If you have /dev/sda containing partitions sda1, sda2, and sda3 and gobs of free space left over, OVM will not mount the remaining space in /OVS, which is where your virtual machine files should go. So, save yourself some trouble:

  1. Scrub the RAID config you just did on the host machine and create two virtual disks on the same array. Init the disks. It's not like you have data there anyway!
  2. Run the OVM Server installer
  3. Deselect the larger /sd? as a volume to install on.
  4. Complete the installation. 
  5. Log in to OVM Manager and create a server pool. UNCHECK 'Clustered Server Pool'. 
  6. Create a repository. 
  7. Set the location to 'Physcial disk.' Specify the desired pool.
I understand a single server environment is not Oracle's desired target. But, by contrast, once you learn to administer a single VMWare machine, exteding into vCenter is very natural. Take a hint, gang.