3.5 Upgrading Oracle Exalytics for Oracle VM 3.0.3 or Later Version to Oracle VM 3.3.3

Note:

If you have already upgraded to Oracle VM 3.3.3, you can ignore this section and go directly to Applying the Oracle Exalytics Release 2.1 Upgrade on a Virtualized Environment.

It is suggested to re-image or install OVM 3.3.3 on X5-4 and X6-4 servers to use the NVME Flash cards according to the instructions in Configuring Exalytics Machine for Virtualization.

This section consists of the following topics:

3.5.1 Upgrading Oracle VM Manager 3.0.3 or Later version to Oracle VM Manager 3.3.3

To upgrade Oracle VM Manager 3.0.3 or later version to Oracle VM Manager 3.3.3, complete the following tasks:

  1. Upgrading Oracle VM Manager 3.0.3 or later version to Oracle VM Manager 3.2.9

    Note:

    If you are already running Oracle VM Manager 3.2.9, see Upgrading Oracle VM Manager 3.2.9 to Oracle VM Manager 3.3.3.

  2. Upgrading Oracle VM Manager 3.2.9 to Oracle VM Manager 3.3.3

3.5.1.1 Upgrading Oracle VM Manager 3.0.3 or later version to Oracle VM Manager 3.2.9

Note:

If you are already running Oracle VM Manager 3.2.9, go to "Upgrading Oracle VM Manager 3.2.9 to Oracle VM Manager 3.3.3".

Oracle VM Manager provides a graphical user interface to manage Oracle VM Servers, virtual machines, and resources.

Note:

If you are installing Oracle VM Manager for the first time, you can install Oracle VM Manager 3.3.3 directly. For information, see Installing and Configuring Oracle VM Manager.

To upgrade Oracle VM Manager 3.0.3 or later version to 3.2.9:

  1. Navigate to http://edelivery.oracle.com/oraclevm and perform the following steps:

    1. In the Select a Product Pack list, select Oracle VM.

    2. In the Platform list, select x86-64 bit.

    3. Click Go.

    4. Select Oracle VM 3.2.9, x86-64 bit, and click Continue.

    5. Download Oracle VM Manager 3.2.9 - Upgrade only (Part Number V74421-01).

  2. Follow the readme instructions for upgrading Oracle VM Manager.

3.5.1.2 Upgrading Oracle VM Manager 3.2.9 to Oracle VM Manager 3.3.3

Note:

If you are running Oracle VM Manager 3.0.3 or a version prior to Oracle VM Server 3.2.9, go to "Upgrading Oracle VM Manager 3.0.3 or later version to Oracle VM Manager 3.2.9".

To upgrade Oracle VM Manager 3.2.9 to Oracle VM Manager 3.3.3, complete the following procedures:

Prerequisites:

  1. Navigate to http://edelivery.oracle.com/oraclevm and perform the following steps:

    1. In the Select a Product Pack list, select Oracle VM.

    2. In the Platform list, select x86-64 bit.

    3. Click Go.

    4. Select Oracle VM 3.3.3, x86-64 bit, and click Continue.

    5. Download Oracle VM Manager 3.3.3 (Part Number V77113-01).

  2. The required passwords:

    • OVM Manager database password.

    • OVM Manager application password.

    • WebLogic domain administrator password.

To upgrade Oracle VM Manager 3.2.9 to Oracle VM Manager 3.3.3:

  1. Navigate to My Oracle Support and download the OVM Manager 3.3.3 iso file. File: ovmm-3.3.3-installer-OracleLinux-b1085.iso.

  2. Mount the iso file to a temporary directory, by running the following commands:

    # mkdir /tmp/ovm-mount

    # mount –o loop ovmm-3.3.3-installer-OracleLinux-b1085.iso /tmp/ovs-mount

  3. Run the following command:

    # /tmp/ovs-mount/runInstaller.sh

  4. When prompted to select the installation type, type 2 to select Upgrade.

  5. Enter the required password, when prompted.

  6. When prompted to confirm the upgrade process, type 1 to select Continue.

3.5.2 Upgrading Oracle VM Server 3.0.3 (Base Image 2.0.1.1) or Later Version to Oracle VM Server 3.3.3

Note:

If you are configuring Exalytics Machine for virtualization for the first time, you can install Oracle VM Server 3.3.3 directly. For information on installing Oracle VM Server 3.3.3, see Installing and Configuring Oracle VM Server.

To upgrade Oracle VM Server 3.0.3 (Base Image 2.0.1.1) or later version to Oracle VM Server 3.3.3, complete the following tasks:

  1. "Upgrading Oracle VM Server 3.0.3 (Base Image 2.0.1.1) or later version to Oracle VM Server 3.2.9"

    Note:

    If you are already running Oracle VM Server 3.2.9, see "Upgrading Oracle VM Server 3.2.9 to Oracle VM Server 3.3.3".

  2. "Upgrading Oracle VM Server 3.2.9 to Oracle VM Server 3.3.3"

3.5.2.1 Upgrading Oracle VM Server 3.0.3 (Base Image 2.0.1.1) or later version to Oracle VM Server 3.2.9

Note:

If you are already running Oracle VM Server 3.2.9, go to "Upgrading Oracle VM Server 3.2.9 to Oracle VM Server 3.3.3".

To upgrade Oracle VM Server 3.0.3 (Base Image 2.0.1.1) or later version to Oracle VM Server 3.2.9, complete the following tasks:

  1. "Preupgrade Tasks"

  2. "Upgrading Oracle VM Server 3.0.3 (Base Image 2.0.1.1) or Later Version to Oracle VM Server 3.2.9"

Preupgrade Tasks

This section consists of the following topics:

Editing the Grub Configuration File to Increase Memory

Edit the Grub configuration file to increase the allocated memory from 2 GB to 16 GB.

To edit the Grub configuration file to increase memory:

  1. Log on as the root user.

  2. Open the /etc/grub.conf file in a text editor.

  3. Change the allocated memory from 2 GB to 16 GB.

  4. Modify the kernel /xen.gz line in grub.conf file so it displays as follows:

    kernel /xen.gz dom0_mem=16384M allowsuperpage dom0_vcpus_pin dom0_max_vcpus=20 no-bootscrub

  5. Modify the module/vmlinuz line in the grub.conf file so it displays as follows:

    module /vmlinuz-2.6.39-300.32.6.el6uek ro root=UUID=5d6c3568-1894-41cd-80d9-5d190b4529f5 no-bootscrub swiotlb=131072

  6. Stop and start Oracle VM Server. For instructions, see "Stopping and Starting Oracle VM Server".

Stopping and Starting Oracle VM Server

To stop and start Oracle VM Server:

  1. To stop and start Oracle VM Server, perform the following steps:

    1. Stop all applicable processes running on the Exalytics Machine.

    2. Stop all virtual machines running on the server.

    3. Connect to Oracle VM Manager.

    4. Select the Servers and VMs tab.

    5. In the left pane, expand Server Pools, and then select the server pool containing the Exalytics Machine.

    6. Right-click the Exalytics Machine, and select Restart Server.

      The Oracle VM Server stops and starts automatically.

  2. Confirm that Oracle VM Server has restarted.

Upgrading Oracle VM Server 3.0.3 (Base Image 2.0.1.1) or Later Version to Oracle VM Server 3.2.9

Before you upgrade Oracle VM Server, ensure that you have upgraded Oracle VM Manager.

To upgrade Oracle VM Server 3.0.3 (Base Image 2.0.1.1) or a later version to Oracle VM Server 3.2.9:

  1. Stop Oracle VM Server, by performing the following steps:

    1. Stop all applicable processes running on the Exalytics Machine.

    2. Stop all virtual machines running on the server.

    3. Connect to Oracle VM Manager.

    4. Select the Servers and VMs tab.

    5. In the left pane, expand Server Pools, and then exalytics_server_pool.

    6. Right-click the Exalytics Machine, and select Stop Server.

    For more information, see "Section 6.10.7 Stopping Oracle VM Servers" in Oracle VM User's Guide for Release 3.2.

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

    http://edelivery.oracle.com

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

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

  5. Click Go.

  6. Select Oracle Exalytics Software Media Pack for Linux x86-64 (Release 2.1.0.0).

  7. Click Continue.

  8. Download and unzip the Oracle Exalytics Base Image 2.2.0.0.0 for Exalytics Oracle VM x86-64 file (part number V 76307-01) to a local directory.

    The zip file contains the following iso file:

    • Exalytics_2.2.0.0.0_Upgrade_OVS-3.2.9-751_<DATE>.iso: You use this iso file to upgrade to Oracle VM Server 3.2.9.

  9. On the Exalytics Machine, connect and log on to Oracle Integrated Lights Out Manager (ILOM).

    Note:

    If you are upgrading to Oracle VM Server 3.2.9 on an X2-4 or X3-4 Exalytics Machine, you must use ILOM 3.1.2.24.d. If you are upgrading to Oracle VM Server 3.2.9 on an X4-4, X5-4, or X6-4 Exalytics Machine, you must use ILOM version 3.2.4.18 or later version.

    For the latest Exalytics certified ILOM versions, see the Oracle Exalytics Certification Matrix. The Oracle Exalytics Certification Matrix is located at:

    http://www.oracle.com/technetwork/middleware/ias/downloads/fusion-certification-100350.html

  10. On the Summary Information screen, under Actions, click Launch to launch the Remote Console.

    The ILOM remote console is displayed.

  11. Depending on the configuration of the Exalytics Machine, perform one of the following actions:

    • For X2-4 or X3-4 Exalytics Machine, in ILOM version 3.1.2.24.d, from the menu bar, select Devices, then CD-ROM Image to link the Oracle VM Server 3.2.9 upgrade image (Exalytics_2.2.0.0.0_Upgrade_OVS-3.2.9-751_<DATE>.iso) as a remote virtual CD-ROM in ILOM.

    • For X4-4, X5-4, or X6-4 Exalytics Machine, in ILOM version 3.2.4.18, from the menu bar, select KVMS, then Storage. Click Add to link to the Oracle VM Server 3.2.9 upgrade image (Exalytics_2.2.0.0.0_Upgrade_OVS-3.2.9-751_<DATE>.iso) as a remote virtual CD-ROM in ILOM. Click Connect.

  12. In the left pane of the ILOM, expand Host Management, then click Host Control. In the Next Boot Device list, select CDROM, then click Save.

  13. Restart the machine by expanding in the left pane of the ILOM, Host Management, then click Power Control. In the Select Action list, select Power Cycle, then click Save.

    The Exalytics Machine restarts and the CD Found screen is displayed.

  14. Press OK to start the media test.

    The Media Check screen is displayed.

  15. Press Test to test the CD in the drive.

    At the conclusion of the test, the Media Check Result screen is displayed.

  16. Press OK.

    The Media Check screen is displayed.

  17. Press Continue.

    The Keyboard Selection screen is displayed.

  18. Select the model keyboard attached to the Exalytics Machine, and click OK.

    The OVS EULA screen is displayed.

  19. Press Accept.

    The System to Upgrade screen is displayed.

  20. Select the currently installed Oracle VM Server, and press OK.

    The Upgrade Boot Loader Configuration screen is displayed.

  21. Select Skip updating boot loader configuration, and press OK.

  22. Press OK.

  23. Confirm the upgrade completes successfully, and then press Reboot.

    The Exalytics Machine restarts.

  24. Perform the following steps to rediscover the upgraded Oracle VM Server:

    1. Connect to Oracle VM Manager.

    2. Select the Servers and VMs tab.

    3. In the left pane, expand Server Pools, and then exalytics_server_pool.

    4. Right-click the Exalytics Machine and select Rediscover Server.

    5. Enter the following information for the server:

      - Oracle VM Agent Port. The default port number is 8899.

      - Oracle VM Agent Password. The default password is "oracle".

      - IP Address.

    6. Click OK.

    For more information, see "Section 6.10.7 Stopping Oracle VM Servers" in Oracle VM User's Guide for Release 3.2.

  25. Upgrade Oracle VM Server 3.2.9 to Oracle VM Server 3.3.3. For more information, see "Upgrading Oracle VM Server 3.2.9 to Oracle VM Server 3.3.3".

3.5.2.2 Upgrading Oracle VM Server 3.2.9 to Oracle VM Server 3.3.3

Note:

If you are running Oracle VM Server 3.0.3 (Base Image 2.0.1.1) or a version prior to Oracle VM Server 3.2.9, go to "Upgrading Oracle VM Server 3.0.3 (Base Image 2.0.1.1) or later version to Oracle VM Server 3.2.9".

To upgrade Oracle VM Server 3.2.9 to Oracle VM Server 3.3.3, complete the following procedures:

Prerequisites:

  1. Upgraded to Oracle VM Server 3.2.9.

  2. Before you upgrade Oracle VM Server, ensure that you have upgraded Oracle VM Manager.

  3. If there are any RAID devices configured in OVS 3.2.9, complete the following steps to restore the RAID device after upgrade:

    1. Ensure that the RAID is configured:

      1. To check the configured devices, run the following command:

        # mdadm --detail --scan

      2. To verify the contents of the mdamd.conf file, run the following command:

        # cat /etc/mdadm.conf

        The output looks similar to the following:

        ARRAY /dev/md2 level=raid1 num-devices=2 metadata=0.90 UUID=ce2fa269:741add38:3862df88:521ea08a 
        minimum_kernel_version=2.6.39-400.215.9.el6uek
        
      3. Add the missing entries in the mdamd.conf file, if any.

    2. To backup the mdamd.conf file, run the following command:

      # cp /etc/mdadm.conf /etc/mdadm.conf_bfr_bkup

      This ensures that the mdadm.conf entry is available after the upgrade.

To upgrade Oracle VM Server 3.2.9 to Oracle VM Server 3.3.3:

  1. Navigate to My Oracle Support and download the OVM Server 3.3.3 iso file: Patch number 22546910. The patch contains the Exalytics_2.2.0.0.0_X5-4_OVS3.3.3_01082016.iso file.

  2. Mount the iso file to a temporary directory, by running the following commands:

    # mkdir /tmp/ovs-mount

    # mount –o loop Exalytics_2.2.0.0.0_X5-4_OVS3.3.3_01082016.iso /tmp/ovs-mount

  3. Copy the mounted files to a location under the /var/www directory, by running the following commands:

    # mkdir /var/www/repos

    # cp –rp /tmp/ovs-mount/* /var/www/repos/

  4. Run the following commands:

    # cd /var/www/repos/Server

    #createrepo .

  5. Are there any non-native packages?

    No: Go to the step 6.

    Yes: Complete the steps in the following section.

    If you have non-native packages:

    If there are non-native packages detected then the upgrade script displays an error message. The error message looks similar to the following:

    Wed Feb 24 05:30:29 2016 INFO: Checking servers for non-native packages (those installed after initial server installation)
    Wed Feb 24 05:30:30 2016 INFO: Non-native package status://
    Wed Feb 24 05:30:30 2016 INFO: Non-native package Status in 3.3_ovs_repoWed Feb 24 05:30:30 2016 INFO: ----------------------------- ----------------------
    Wed Feb 24 05:30:30 2016 INFO: Lib_Utils ERROR: Missing package!
    Wed Feb 24 05:30:30 2016 INFO: MegaCli ERROR: Missing package!
    Wed Feb 24 05:30:30 2016 INFO: QConvergeConsoleCLI ERROR: Missing package!
    Wed Feb 24 05:30:30 2016 INFO: autofs ERROR: Missing package!
    Wed Feb 24 05:30:30 2016 INFO: exalogic.tools ERROR: Missing package!
    Wed Feb 24 05:30:30 2016 INFO: exalytics-flash ERROR: Missing package!
    Wed Feb 24 05:30:30 2016 INFO: hesiod ERROR: Missing package!
    Wed Feb 24 05:30:30 2016 INFO: infiniband-diags ERROR: Missing package!
    Wed Feb 24 05:30:30 2016 INFO: ipmiflash ERROR: Missing package!
    Wed Feb 24 05:30:30 2016 INFO: ipmitool ERROR: Missing package!
    Wed Feb 24 05:30:30 2016 INFO: libibmad ERROR: Missing package!
    Wed Feb 24 05:30:30 2016 INFO: libibumad ERROR: Missing package!
    
    
    1. Run the following commands to remove the additional packages:

      # rpm -e ovsvf-config-1.0-10 exalogic.tools sas_snmp openib hesiod Lib_Utils MegaCli QConvergeConsoleCLI autofs

      # rpm -e --nodeps hesiod

    2. To run the update script, run the following command:

      # /u101/app/oracle/ovm-manager-3/ovm_tools/bin/UpgradeServers.py -v <server>

      Where, <server> is the server that you want to update.

    3. The script displays a confirmation message. Type Yes to continue with the upgrade script.

    4. Apply the patch (file: p20431965_20001_Linux-x86-64.zip) that is downloaded with the OVM Server 3.3.3 iso file: Patch number 22546910. For information about how to apply the patch, see the readme file that is provided in the OVM Server 3.3.3 iso file.

  6. To go the repos directory, run the following command:

    # cd /var/www

  7. To start the http server, run the following command:

    # python –m SimpleHTTPServer 80

  8. Perform the following steps to configure the Yum repositories in OVM:

    1. Connect to Oracle VM Manager.

    2. Select Tools and Resource > Click Server Update Groups.

    3. In the left pane, click GlobalX86ServerUpdate Configuration and select the + icon to add the transitional repository.

    4. Enter the following information for the server:

      - Name: 3.3_trans_repo.

      - Repository Name: 3.3_trans_repo.

      - URL: http://example.com/repos/Transition.

      - Enabled: select the check box.

      - Package Signature Key: From the drop-down list, select None.

    5. Click OK.

      The transitional repository is created.

    6. In the left pane, select the + icon to add the update repository.

    7. Enter the following information for the server:

      - Name: 3.3_ovs_repo.

      - Repository Name: 3.3_ovs_repo.

      - URL: http://example.com/repos/Server.

      - Enabled: select the check box.

      - Package Signature Key: From the drop-down list, select None.

    8. Click OK.

      The update repository is created.

  9. Start the OVM server update:

    # /u01/app/oracle/ovm-manager-3/ovm_tools/bin/UpgradeServers.py -v <server>

    Where, <server> is the server that you want to update.

  10. When prompted to enter the OVM username, enter admin.

  11. When prompted to enter the OVM password, enter password.

Post installation: If there were any RAID devices configured before the upgrade, complete the following steps to restore the RAID devices:

  1. Go to the mdamd.conf file and delete the following entry:

    DEVICE /no/device

  2. To copy the contents of the previous setup to the current mdadm.conf file, run the following command:

    # cat /etc/mdadm.conf_bfr_bkup >> /etc/mdadm.conf

  3. Restart the server and ensure that the RAID devices are available with the previous partitions and data.