Loading...

Installing Operating System Updates

Operating system (OS) updates can be installed on HyperScale nodes to ensure that the OS has the most recent updates from Red Hat.

Before You Begin

  • CommServe and HyperScale nodes must be in the following Service Pack and Hot Fix level:
    • Service Pack 15 with hotfix pack 34 (or higher)
    • Service Pack 16 with hotfix pack 7 (or higher)
    • Service Pack 17 or higher
  • Verify the version in the clients associated with the CommServe server and HyperScale nodes before upgrading the OS. For more information on verifying the version information in a client, see Viewing the Service Pack Details for One or More Clients.
  • The update process updates provided by Red Hat for the OS. The process does not update other RPMs that may have been manually installed on the nodes.
  • Navigate to /etc/yum.repos.d and cleanup everything, except redhat.repo. Download software will fail if it there is anything other than the redhat repository.
  • If you have Cisco severs, verify and ensure that you meet the firmware requirements stated in Design Specifications.

Procedure

  1. Setup a remote cache on one of the nodes in the storage pool that has the DDB configured on it. The OS updates will be installed, (or orchestrated) from this node.
    1. From the CommCell Console ribbon, on the Tools tab, click Add/Remove Software > Software Cache Configuration.
    2. In the Software Cache Configuration dialog box, click the Remote Software Cache tab and then click Add.
    3. From the Computer list, select the client associated with the HyperScale node where you want to configure the remote cache directory.

      In the Please Specify Cache Directory box, the default location for the remote cache is provided.

      Important: Use the default location.

    4. Click Configure Packages to Sync.
    5. In the Configure Packages to Sync dialog box, choose the Customize Packages option. (The Sync Packages option will be enabled by default. Do not select any other options.)
    6. Click OK to save your configuration changes.
    7. Click OK to close the Modify Remote Software Cache Information dialog box.

      Note: If there are multiple HyperScale clusters on a CommServe, one remote cache is required for each cluster.

  2. Download the latest updates and populate the remote cache as follows:
    1. From the CommCell Console ribbon, on the Tools tab, click Add/Remove Software > Download Software.

      The Download and Sync Cache Options dialog box will be displayed.

    2. In the General tab, select an appropriate option to download the necessary updates.

      Note: The latest OS updates will be downloaded, irrespective of the selected option.

    3. In the Options tab, select the Download and Sync option to ensure that the remote cache configured in the HyperScale node is automatically synchronized.
    4. Click Advanced.

      The Advanced Options for Download and Sync Cache dialog box will be displayed.

    5. In the Operating Systems tab, clear the Windows check box and then select the Unix check box.
    6. Click OK twice to close the dialog boxes.

    Monitor the progress of the download job in the Job Controller to ensure that the software is successfully downloaded and synchronized.

  3. Set the MediaAgents associated with the nodes in the Maintenance mode. For more information about setting the MediaAgents in the Maintenance mode, see Marking a MediaAgent Offline for Maintenance.

    Important: Make sure that all the MediaAgents in the storage pool are set in the maintenance mode before proceeding to the next step.

  4. Login to the HyperScale node in which the remote cache is configured and navigate to the following folder:

    /opt/commvault/MediaAgent

    Use the system console to login to the node. For example, using KVM, not SSH.

  5. Start the update installation using one of the following commands:
    • Use the following command to install OS updates without any manual intervention:

      ./cvupgradeos.py

      Note: cvupgradeos.py must be run using the console. Do not run cvupgradeos.py using SSH.

    • Alternatively, use the following steps to install the OS updates in the following situations:
      • If you have a 1Gb management network in which the peers (private/public/backup network) are not known in the cvupgradeos.py context.
      • When login to ovirt-engine might fail. (Including the above situation.)
      • If you would like to manually stop the CommServe and Hosted Engine VMs.
      • If the HyperScale MediaAgents point to an external CommServe, but you have added a Hosted Engine in the HyperScale nodes.
      1. Shut down the VM associated with the CommServe. To do this, access the Virtualization Manager, and shut down the VM associated with the CommServe from the virtual machines pane.
      2. Use the following commands to shutdown the Hosted Engine:

        hosted-engine --set-maintenance --mode=global
        hosted-engine --vm-shutdown
        hosted-engine --vm-poweroff

      3. Use the following command to install OS updates on all the cluster nodes:

        ./cvupgradeos.py -no_vm_management

    The following prompt will be displayed:

    Important: Make sure that all the nodes in the cluster are listed.

  6. Type y and press Enter to continue.

    The installation process will start. The updates will be installed sequentially on each HyperScale node available in the current cluster. At the end of update installation, each node will be rebooted before moving on to the next node.

    The progress of the installation is displayed. The following logs can also be used to view the progress of the installation:

    1. /var/log/commvault/Log_Files/cvupgradeos.log
    2. Detailed progress of yum update can be monitored in yum.log and yum.err.log available in <commvault_logs>/hsupgradedbg folder

    A message will be displayed when the installation process is finished.

  7. Once the installation is completed, check the status of the installation using the following command:

    ./cvupgradeos.py -status

    This will display a message similar to the following:

    If there is a failure, investigate the reason for the failure in /var/log/commvault/Log_Files/cvupgradeos.log. Correct the issue causing the failure and then rerun cvupgradeos.py to install the updates in the failed node.

  8. Once the updates are successfully installed, remove the MediaAgents associated with the nodes from Maintenance mode. For more information about removing the MediaAgents from Maintenance mode, see Marking a MediaAgent Offline for Maintenance.

Result

  • The updates will be installed in all the HyperScale nodes.
  • If the OS version is upgraded, you can verify the OS version as follows:
    • Open the CommCell Console and click Client Computers.
    • The Client Name, OS Version and other details will be displayed on the right pane.

Last modified: 2/4/2020 8:15:04 PM