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
- Log in to the Cloudera Manager Admin Console.
- On the Cluster and select Stop to stop all the services in the cluster. tab, click the options menu to the right of each
- Do one of the following to stop the Cloudera Management
Service:
-
- Select .
- Select .
- On the Cloudera Management Service and select Stop. tab, click the options menu to the right of
-
Stop Cloudera Manager Server
- 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:
- 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*
-
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.