5.5 Installing and Configuring Application Software on Virtual Machines


If you are an existing customer and have already installed and configured software on the virtual Exalytics Machine, you can ignore this section.

The process of installing Exalytics software on virtual machines is identical to installing the software on the non-virtual Exalytics Machine, except that the virtual machines cannot access the entire Exalytics memory. Keep in mind this limitation when setting kernel parameters related to shared memory or creating hugepages.

This section consists of the following topics:

5.5.1 Prerequisites to Installing and Configuring Exalytics Software on Virtual Machines

The following prerequisites must be met before installing the Exalytics software on the virtual machines:

5.5.2 Installing and Configuring Exalytics Software on Virtual Machines

This section consists of the following topics: Creating and Mounting a /u01 Partition

Before you can install the Exalytics software, you create and mount a /u01 partition on the virtual disk.


The following procedure assumes the /u01 partition size of 1.6TB. Depending on your specific needs and configuration, you can use a different size for the /u01 partition.

To create and mount a /u01 partition:

After logging in as the root user, configure the /u01 directory on the virtual disk using commands such as the following ones:

  1. To create a partition, enter the following commands:

    parted /dev/xvdb

    GNU Parted 1.8.1

    Using /dev/xvdb

    Welcome to GNU Parted! Type 'help' to view a list of commands.

    (parted) mklabel msdos

    (parted) mkpart primary 0 1600GB

    (parted) print

    Model: Xen Virtual Block Device (xvd)

    Disk /dev/xvdb: 1600GB

    Sector size (logical/physical): 512B/512B

    Partition Table: msdos

    Number Start End Size Type File system Flags

    1 32.3kB 1600GB 1600GB primary

    (parted) quit

  2. To create logical volume, enter the following commands:

    lvm pvcreate /dev/xvdb1

    Physical volume "/dev/xvdb1" successfully created

    lvm vgcreate VolGroup01 /dev/xvdb1

    Volume group "VolGroup01" successfully created

  3. To view free extents on VolGroup01, enter the following commands:

    vgs -o +vg_free_count,vg_extent_count

    VG #PV #LV #SN Attr VSize VFree Free Ext

    VolGroup01 1 0 0 wz--n- 1.46T 1.46T 381469 381469

    lvm lvcreate --extents 381469 --name LogVol00 VolGroup01

    Logical volume "LogVol00" created

  4. To create a file system, enter the following command:

    mkfs.ext4 /dev/VolGroup01/LogVol00

  5. Add the following line to the /etc/fstab file:

    /dev/VolGroup01/LogVol00 /u01 ext4 defaults 0 0

  6. To mount the directory, enter the following commands:

    mkdir /u01

    mount /u01

  7. Verify that the partition has been created by entering the following command:

    df –lh Modifying the Oracle User and Granting Permissions

The Virtual Machine template contains "oracle" as the operating system user name. Associate the user name with the "oinstall" group and create a password for it.

The procedures throughout this section assume a user named "oracle" and a group named "oinstall".


To add a different user and group, enter the following commands as a root user:

groupadd <name of the group>

useradd -g <name of the group> <name of the user>

To modify the Oracle user and grant permissions:

  1. Log in as root user.
  2. Enter the following commands to associate the user name "oracle" with the group "oinstall" and to create a password:

    groupadd oinstall

    usermod –g oinstall oracle

    passwd oracle

  3. Enter the following commands to grant permissions to the /u01 drive where the software is to be installed:

    chown oracle:oinstall /u01

    chmod 775 /u01

  4. Start the VNC Server on the virtual machine. Installing Application Software Components

The process of installing application software components on a virtual Exalytics Machine is similar to installing them on the non-virtualized Exalytics Machine. See Installing Software on an Exalytics Machine.