Install Oracle VM Manager 3.2.9 on Exalytics X4-4

This  blog will guide you through the process of installing Oracle VM Manager (OVM) 3.2.9 on Exalytics X4-4. The implementation described in this blog is based on a server installation with a minimum resource allocations required by Oracle. This blog assumes that you’ve completed the installation of Oracle VM Server.Oracle VM Manager is used to manage Oracle VM Servers, virtual machines, and resources. It is comprised of a number of sub-components, including a web browser-based user interface; and a command line interface (CLI) allowing you to manage your infrastructure directly from the command line either via external scripts or by running manual command sequences. Each of these interfaces runs as a separate application to the Oracle VM Manager core and interfaces with this using the Web Services API.

Download Software

Hardware

  • Memory=6.0 GB (8.0 GB if using local MySQL)
  • Processor=Type 64 bit
  • Processor Speed =1.83 GHz*1
  • Swap Space=2.1 GB
  • Hard Disk Space
    • 5.5 GB in /u01
    • 2 GB in /tmp
    • 500 MB in /var
    • 500 MB in /usr

OS

Oracle VM Manager  3.2.9 is supported on the following operating systems:

  • Oracle Linux 5 Update 5 64-bit or later
  • Oracle Linux 6 64-bit or later
  • Red Hat Enterprise Linux 5 Update 5 64-bit or later
  • Red Hat Enterprise Linux 6 64-bit or later

Network

The host computer on which you install Oracle VM Manager must have the host name correctly configured (pingable). Make sure the computer’s host name matches the host name in the /etc/hosts file. 

Firewall

Turn of iptables

# service iptables stop
# chkconfig iptables off

createOracle.sh

# ./createOracle.sh

The createOracle.sh is a script that automatically:

  • Creates the required operating system users and groups (oracle/dba) in order for the components to run correctly.
  • Creates the /u01 directory if it does not already exist, and corrects permissions on required installation folders.
  • Sets the required parameters in the /etc/security/limits.conf file
  • Opens the required ports in the /etc/sysconfig/iptables file

Install Oracle VM Manager

Download the Oracle VM Manager software (Part number V74420-01.iso) from edelivery and scp the iso to the VM Manager host

To install Oracle VM Manager from a hard drive, locate the folder that contains the ISO file. Mount the ISO file to an existing directory using the following commands as root OS user:

# mkdir /OVMCD
# passwd oracle
# chown -R oracle:oinstall /OVMCD
# mount -o loop ~/V74420-01.iso /OVMCD

Run VM Manager installer

# cd /OVMCD/
# ./runInstaller.sh

Set of installer options are displayed. At the command prompt, enter 1 to perform a Simple installation

Please select an installation type:
 1: Simple (includes database if necessary)
 2: Custom (using existing Oracle database)
 3: Uninstall
 4: Help
 Select Number (1-4): 1

One password is used for all users created and used during the installation. Passwords must contain at least 1 lower case and 1 upper case letter. Passwords must contain at least 1 numeric value.

 Enter a password for all logins used during the installation: ******** 

Enter 1 to start installing the configured components

1: Continue
 2: Abort
 Select Number (1-2): 1

Make sure you delete the temporary configuration (/tmp/ovm_configid*) file created during the installation. This file is useful for debugging installation issues, but does contain some sensitive information that may present a security issue if left in place.

# rm -fr /tmp/ovm_config* 

Post Installation Task

Install TightVNC. Please note that you need to install tightvnc-java on the VM Manager host inorder to access a virtual machine’s console. You can get the latest TightVNC package from http://oss.oracle.com/oraclevm/manager/RPMS/

# rpm -ivh ~/tightvnc-java-1.3.9-3.noarch.rpm

Enable remote logins

# cd /u01/app/oracle/ovm-manager-3/bin
# ./secureOvmmTcpGenKeyStore.sh
# ./secureOvmmTcp.sh

Restart Oracle VM Manager (OVM)

# service ovmm stop
# service ovmm start
# service ovmm status

At this point Oracle VM Manager (OVM) install is complete. You can now create/discover Oracle virtual server (virtual machine)