3.6 Applying the Oracle Exalytics Release 2.1 Upgrade on a Virtualized Environment

This section consists of the following topics:

3.6.1 Upgrading Exalytics Base Image for Oracle VM to 2.2.0.0.0

You upgrade the Exalytics Base Image for Oracle VM 2.2.0.0.0 by applying the upgrade patch on Oracle VM Server. The patch upgrades the Base Image to 2.2.0.0.0, installs Flash drivers and utilities.

Note:

This step is mandatory for all Exalytics virtualized servers when installing Release 2.1.0.0.0.

To upgrade Oracle Exalytics Base Image for Oracle VM to 2.2.0.0.0:

  1. Navigate to My Oracle Support and download patch number 20431965: Patchset Upgrade Utility for Exalytics Base Image 2.2.0.0.0 Oracle VM for Linux x86-64. The patch contains the p20431965_20001_Linux-x86-64.zip file.

    The zipped file contains Flash drivers and Flash configuration scripts.

  2. Log on to the Exalytics Machine as the root user.
  3. Extract the contents of the file into an appropriate directory on the Exalytics Machine.
  4. Unzip the file into a temporary (/tmp) directory.

    The following directory is created:

    exalytics_ovs_server_base_image_2.2.0.0.0.ovs-3.3.3

  5. Navigate to the directory by entering the following command:

    # cd exalytics_ovs_server_base_image_2.2.0.0.0.ovs-3.3.3

  6. To upgrade the Base Image to 2.2.0.0.0 and to install Flash, enter the following command:

    # /update.sh

    The output looks similar to the following:

    current_kernel_version=2.6.39-400.215.9.el6uek 
    minimum_kernel_version=2.6.39-400.215.9.el6uek
     
    OS Version check passed..
    Update to 2.2.0.0.0.ovs-3.3.3 starting at DAY-DD-MM-YYYY HR:MIN:SEC
    Removing unnecessary packages...
    Skipping removing rpm kernel-ib-devel as it doesn't exist...
     
    Skipping removing rpm kernel-ib as it doesn't exist...
    Skipping removing rpm ibvf-config as it doesn't exist...
    Removing RPM OpenIPMI-tools ...
    Done
     
    Running new install steps...
    Preparing...         ################################################## [100%]
    exalogic.tools       ################################################## [100%]
    --------------------------------------------------------
     
           Successfully installed exalogic.tools
     
    --------------------------------------------------------
    .....[exalogic.tools] := Post Transaction called...............
    Running update...
    Applying libibumad
    Preparing...          ################################################## [100%]
    libibumad             ################################################## [100%]
    Preparing...          ################################################## [100%]
    libibmad              ################################################## [100%]
    Preparing...          ################################################## [100%]
    openib                ################################################## [100%]
    Preparing...          ################################################## [100%]
    opensm-libs           ################################################## [100%]
    opensm                ################################################## [100%]
    error: Failed dependencies:
    infiniband-diags is needed by ovsvf-config-1.0-10.noarch
     
    Preparing...          ################################################## [100%]
    infiniband-diags      ################################################## [100%]
    Preparing...          ################################################## [100%]
    exalytics-flash       ################################################## [100%]
    postInstall (exalytics-flash) 1 ...
    [EXALYTICS_INFO:GENERAL] Updating exalytics-flash-config file to set FLASH_INSTALL_TYPE=OVS ...
    postInstall (exalytics-flash) 1; done
    Preparing...          ################################################## [100%]
    Installing....
    Lib_Utils             ################################################## [100%]
    MegaCli               ################################################## [100%]
    Preparing...          ################################################## [100%]
    hesiod                ################################################## [100%]
    autofs                ################################################## [100%]
    sas_snmp              ################################################## [100%]
    Starting snmpd
    Starting snmpd: [  OK  ]
     
    Registering Service lsi_mrdsnmpd
    Starting LSI SNMP Agent
    Starting LSI SNMP Agent:LSI MegaRAID SNMP Agent Ver 3.18.0.2 (Oct 30th, 2012) Started
    [  OK  ]
    Preparing...          ################################################## [100%]
    policycoreutils-1.33.12-14.8.el6
    oracle-hmp-libs       ################################################## [100%]
    oracle-hmp-hwmgmt     ################################################## [100%]
    /usr/sbin/semanage: SELinux policy is not managed or store cannot be accessed.
    ipmiflash             ################################################## [100%]
    ipmitool              ################################################## [100%]
     
    mstflint              ################################################## [100%]
    oracle-hmp-snmp       ################################################## [100%]
    oracle-hmp-tools      ################################################## [100%]
    oracle-hmp-tools-biosconfig############################################# [100%]
    oracle-hmp-tools
    ubiosconfig           ################################################## [100%]
    QConvergeConsoleCLI   ################################################## [100%]
    Preparing...          ################################################## [100%]
    package glibc-common-2.5-123.0.1.el6_11.1.x86_64 is already installed
    package glibc-2.5-123.0.1.el6_11.1.x86_64 is already installed
    package glibc-2.5-123.0.1.el6_11.1.i686 is already installed
    package nscd-2.5-123.0.1.el6_11.1.x86_64 is already installed
     
    Removing bm flash scripts...
    Running post install script...
    Running post patch script
    
    Setting SET_IPOIB_CM=yes
    file /etc/sysconfig/network-scripts/ifcfg-bondib0 not found
    /usr/lib/init-exalogic-node/init-ipoib.sh not exist in /etc/rc.local , nothing to delete
    Completed post patch script
    
    Enabling services...
    Updating dom0 memory to 16G.. 
    Copying Exa* files...
    Updating imageinfo...
    Image name in imageinfo is already uptodate
    finished; DAY-DD-MM-YYYY HR:MIN:SEC
    finished; DAY-DD-MM-YYYY HR:MIN:SEC
    
  7. To verify that the upgrade was successful, enter the following command:

    # imageinfo

    The output looks similar to the following:

    Exalytics 2.2.0.0.0.ovs-3.3.3 (build:r20150409.1)
     
    Image version : 2.2.0.0.0.ovs-3.3.3
    Image build version : 20150409.1
    Creation timestamp : DAY-DD-MM-YYYY HR:MIN:SEC
    Kernel version : 2.6.39-400.215.9.el6uek
    Image activated : DAY-DD-MM-YYYY HR:MIN:SEC
    Image status : SUCCESS
    
  8. To verify that Flash is installed and the number of Flash cards installed, enter the following command for X2-4, X3-4, and X4-4 configurations:

    # ddcli

    For an X4-4 configuration, three Flash cards are displayed. For an X2-4 or X3-4 configuration, six Flash cards are displayed. The output looks similar to the following:

    ****************************************************************************
    LSI Corporation WarpDrive Management Utility
    Version 107.00.00.04 (2012.06.05) 
    Copyright (c) 2011 LSI Corporation. All Rights Reserved.
    ****************************************************************************
     
    ID    WarpDrive     Package Version    PCI Address
    --    ---------     ---------------    -----------
     1     ELP-4x100-4d-n    06.05.09.00    00:11:00:00
     2     ELP-4x100-4d-n    06.05.09.00    00:21:00:00
     3     ELP-4x100-4d-n    06.05.07.00    00:31:00:00
     4     ELP-4x100-4d-n    06.05.07.00    00:a1:00:00
     5     ELP-4x100-4d-n    06.05.01.00    00:c1:00:00
     6     ELP-4x100-4d-n    06.05.01.00    00:d1:00:00
    

    To view the list of Flash cards in an X5-4 or X6-4 configuration, enter the following command:

    #nvmeadm list

    The output appears as follows:

    SUNW-NVME-1
    SUNW-NVME-2
    SUNW-NVME-3
    

3.6.2 Upgrading Oracle VM Guest to 2.2.0.0.0

You can either upgrade Oracle VM Guest to 2.2.0.0.0 or create Oracle VM Guest 2.2.0.0.0. See Creating Oracle VM Guest 2.2.0.0.0.

Note:

You can only upgrade Oracle VM Guest on the same Linux operating system. For example, you cannot upgrade Oracle VM Guest that is installed on a Linux 5 operating system to Oracle VM Guest 2.2.0.0.0 that is installed on a Linux 6 operating system.

You upgrade Oracle VM Guest to 2.2.0.0.0 by applying the patch on each Oracle VM Guest in your system. The patch upgrades Oracle VM Guest to 2.2.0.0.0.

Note:

You must apply the patch mentioned in this section on each Oracle VM Guest and not on Oracle VM Server.

To upgrade Oracle VM Guest to 2.2.0.0.0:

  1. Navigate to My Oracle Support and download patch number 20618011:Upgrade Utility for Exalytics Virtualized Guest from 2.0.1.4.0 to 2.2.0.0.0 that contains the p20618011_10060_Linux-x86-64.zip file.

  2. Log in to Oracle VM Guest as the root user.

  3. Using FTP, navigate to a temporary (/tmp) directory on the Exalytics Oracle VM Guest.

  4. Enter the following commands to navigate to the /tmp directory and unzip the zip file:

    # cd/tmp

    # unzip p20618011_10060_Linux-x86-64.zip

  5. Disable all existing yum repositories (if any), by performing the following actions:

    1. Enter the following command to check for any existing repositories:

      Check /etc/yum/repos.d/ directory

    2. Set enabled=0 for each existing repository.

  6. Enter the following command to run the upgrade script:

    # ./update.sh

  7. Restart Oracle VM Guest from Oracle VM Manager.

  8. Enter the following commands to verify the current RPM versions:

    • # uname - rm

      The output looks similar to the following:

      2.6.39-400.248.3.el6uek x86_64
      
    • # cat /etc/oracle-release

      The output looks similar to the following:

      Oracle Linux Server release 6.6
      
  9. To verify that the upgrade was successful, enter the following command:

    # imageinfo

    • For the Linux 6 operating system, the output looks similar to the following:

      Exalytics 2.2.0.0.0.el6 (build:r04102015.1)
      Image version : 2.2.0.0.0.el6
      Image build version : 04102015.1
      Creation timestamp : DAY-DD-MM-YYYY HR:MIN:SEC
      Kernel version : 2.6.39-400.248.3.el6uek
      Image activated : DAY-DD-MM-YYYY HR:MIN:SEC
      Image status : SUCCESS
      

3.6.3 Creating Oracle VM Guest 2.2.0.0.0

Note:

You can ignore this section if you have upgraded Oracle VM Guest to 2.2.0.0.0. See Upgrading Oracle VM Guest to 2.2.0.0.0.

This section consists of following topics:

Downloading VM Templates

To install and configure Oracle VM Guest 2.2.0.0.0, you must download the latest VM templates.

To download VM templates:

  1. Navigate to the Oracle Software Delivery Cloud web site at the following link:

    http://edelivery.oracle.com

  2. In the Select a Product Pack list, select Oracle Business Intelligence.

  3. In the Platform list, select Linux X86-64.

  4. Click Go.

  5. Select Oracle Exalytics Software Media Pack for Linux x86-64 (Release 2.0.0.0).

  6. Click Continue.

  7. To install VM template on a Linux 6 operating system, download the template Oracle Exalytics Oracle VM Template 2.2.0.0.0.el6, Part Number: V76309-01.

  8. Save the template on a web server.

Importing VM Templates into Oracle VM Manager

After downloading the templates, you import them into Oracle VM Manager.

To import VM templates into Oracle VM Manager:

  1. Log on to Oracle VM Manager.

  2. Select the Repositories tab.

  3. In the left pane, select the Repository in which you want to store the template.

  4. Select VM Templates.

  5. In the toolbar, click Import VM Template to display the Import VM Template dialog.

  6. Select the Oracle VM Server and enter the URL or FTP server to the VM template that you downloaded on the web server.

  7. Click OK to import the VM template.

Creating Virtual Machines from VM Template

After importing the template in Oracle VM Manager, you use the template to create virtual machines.

Before you create virtual machines, keep the following guidelines in mind:

  • Ensure that Hyperthreading is disabled on Oracle VM Server.

    Note:

    Oracle recommends that Hyperthreading be disabled when creating new virtual machines.

  • Maximum number of virtual machines you can create for a non-InfiniBand configuration on an X2-4, X3-4, X4-4, X5-4, and X6-4 Exalytics Machine is ten.

  • Total virtual processors (vCPUs) you can assign on Oracle VM Server for an X2-4, X3-4, X4-4, X5-4, and X6-4 Exalytics Machine is ten.

  • Total memory you can allocate on Oracle VM Server for an X2-4, X3-4, X4-4, X5-4, and X6-4 Exalytics Machine is 16 GB.

  • Review Table 3-2 for the total vCPUs and memory you can allocate on all virtual machines and the maximum vCPUs and memory you can allocate to each virtual machine.

Table 3-2 Total and Maximum vCPUs and Memory Allowed For Virtual Machines

System Total vCPUs for all Virtual Machines Maximum vCPUs for each Virtual Machine Total RAM for all Virtual Machines Maximum RAM for each Virtual Machine

X2-4

40

28

984 GB

800 GB

X3-4

40

28

984 GB

800 GB

X4-4

60

28

1984 GB

800 GB

X5-4

72

28

1984 GB

800 GB

X6-4

72

28

1984 GB

800 GB

Note:

For the X2-4 and X3-4 Exalytics Machine, total memory on Oracle VM Server (Dom0) (16 GB) and all virtual machines (984 GB) cannot exceed 1000 GB. For the X4-4, X5-4, and X6-4 Exalytics Machine, total memory on Oracle VM Server (Dom0) (16 GB) and all virtual machines (1984 GB) cannot exceed 2000 GB.

To create virtual machines from the VM template:

  1. Select the Servers and VMs tab.

  2. Log on to Oracle VM Manager.

  3. In the left pane toolbar, click Create Virtual Machine.

    The Create Virtual Machine dialog is displayed.

  4. Select Clone from an existing VM Template.

  5. Perform the following steps:

    1. In the Clone Count list, select the number of machines you want to clone.

    2. In the Repository list, select a repository for the machine.

    3. In the VM Template list, select the VM template from which you want to create the virtual machine.

    4. Enter a name for the virtual machine.

    5. In the Server Pool list, select a server pool.

    6. Enter a description for the virtual machine.

  6. Click Finish.

    The virtual machine is created and is ready to be configured.

    To configure and start a virtual machine, configure a network on a virtual machine, and configure SWAP on a virtual machine, see Maintaining Virtual Machines.

    Note:

    When you start the virtual machine for the first time, the virtual machine takes approximately fifteen minutes to initialize.

    For more information, see "Chapter 7, Managing Virtual Machines" in Oracle VM User's Guide for Release 3.2.