Step 3: Before you upgrade the Operating System to a new Major Version

Loading Filters ... 7.11.3 7.7.3 7.7.1 7.6.7 7.6.1 7.4.4 7.3.1 7.1.9 7.1.8 7.1.7.3000 7.1.7.2000 7.1.7.1000 7.1.7 7.1.6 7.1.9.1000 7.1.9 7.1.8 7.1.7.3000 7.1.7.2000 7.1.7.1000 7.1.7

This topic describes steps you must perform before upgrading the operating system on all hosts managed by Cloudera Manager.

Stop Running Clusters

  1. Log in to the Cloudera Manager Admin Console.
  2. On the Home > Status tab, click the options menu to the right of each Cluster and select Stop to stop all the services in the cluster.
  3. Do one of the following to stop the Cloudera Management Service:
      1. Select Clusters > Cloudera Management Service.
      2. Select Actions > Stop.
    • On the Home > Status tab, click the options menu to the right of Cloudera Management Service and select Stop.

Stop Cloudera Manager Server

  1. On the Cloudera Manager Server host, stop the Cloudera Manager Service by running the following command:
    sudo systemctl stop cloudera-scm-server

Remove Packages & Parcels

Packages and parcels for the older operating system will not be able to start on the new operating system. Perform the following steps on every host in the cluster:

  1. Run the following command to remove old packages from the host:
    RHEL / CentOS
    sudo yum remove cloudera-manager-server cloudera-manager-daemons cloudera-manager-agent
    sudo rm /etc/yum.repos.d/cloudera*manager.repo*
    SLES
    sudo zypper remove cloudera-manager-server cloudera-manager-daemons cloudera-manager-agent
    sudo rm /etc/zypp/repos.d/cloudera*manager.repo*
    Ubuntu
    sudo apt-get remove cloudera-manager-server cloudera-manager-daemons cloudera-manager-agent 
    sudo rm /etc/apt/sources.list.d/cloudera*.list*
  2. Remove old parcels from the host.

    Empty the contents of the following directories. These are the defaults for parcel storage - if you use other directories, please change accordingly.

    sudo rm -rf /opt/cloudera/parcels/*
    sudo rm -rf /opt/cloudera/parcel-cache/*

Upgrade the Operating System

Use the operating system upgrade procedures provided by your operating system vendor (for example: RedHat or Ubuntu) to download their software and perform the operating system upgrade.