Upgrading Altus Director
By default, Altus Director 6.2 creates clusters with Cloudera Manager 6.2 and CDH 6.2. When you upgrade to Director 6.2, you can continue to manage existing clusters with Cloudera Manager and CDH parcels 5.7 and higher.
You can upgrade to Altus Director 6.2 only from Altus Director 6.x versions. To upgrade from Altus Director 2.x, you must first upgrade to Altus Director 6.0 and then upgrade from Altus Director 6.0 to Altus Director 6.2.
- Review the upgrade requirements.
Altus Director 6.2 has different requirements than the previous version. Make sure that you understand the requirements before you start the upgrade process.
- Perform the tasks required for the upgrade.
If your current Altus Director does not meet the Altus Director 6.2 requirements, the upgrade process will fail. For example, you cannot upgrade from an Altus Director version that is earlier than version 6.0. You must upgrade to Altus Director 6.0 before you start the upgrade to Altus Director 6.2.
- Upgrade to Altus Director 6.2.
Follow the instructions for upgrading the Altus Director server and client on your operating system.
- Restore the settings to match the configuration of the previous version.
If you customized the configuration of the previous Altus Director 6.x instance, you can restore the configuration from your backup files and use the same configuration in Altus Director 6.2.
Complete this step before you start the Altus Director 6.2 server.
- Restart the Altus Director 6.2 server.
Step 1: Review the Upgrade Requirements
Altus Director 6.2 has the following requirements:
- You can upgrade to Altus Director 6.2 only from Altus Director 6.x versions.
- You cannot upgrade to Altus Director 6.2 from any other Director version.
- Altus Director 6.2 supports RHEL and CentOS versions 6.7, 6.8, 7.2, 7.4, 7.5, and 7.6 for Cloudera Manager and clusters.
-
Altus Director 6.2 cannot create clusters on other versions of the operating systems. Likewise, Altus Director 6.2 does not work with existing Cloudera Manager and clusters that are running on other versions of the operating systems.
For the complete list of requirements for Altus Director, see Requirements and Supported Versions.
Step 2. Perform Tasks Required for the Upgrade
Complete all the necessary tasks to meet the upgrade requirements to ensure that you can successfully upgrade to Altus Director 6.2.
Before you upgrade to Altus Director 6.x, complete the following tasks:
- Verify that you are upgrading from Altus Director 6.x.
- Required.
- Verify that your Java version is version 8.
- Required.
- Upgrade all Cloudera Manager instances that are older than version 5.7
- Required.
- Back up the Altus Director 6.x properties file.
- Recommended.
- Back up the configuration files for the Altus Director 6.x plug-ins.
- Recommended.
- Back up the Altus Director 6.x database that stores state information.
- Recommended.
Step 3. Upgrade to Altus Director 6.2
The upgrade procedure differs based on the operating system where the current Altus Director is installed.
RHEL and CentOS
- Stop the Altus Director server service by running the following command:
sudo service cloudera-director-server stop
Before you proceed, verify that the Altus Director instance that you are upgrading meets all upgrade requirements. See Step 1: Review the Upgrade Requirements.
- Download the Altus Director cloudera-director.repo file for Altus Director 6.2.
The cloudera-director.repo file is the YUM repository configuration file for Altus Director. The base URL in the latest cloudera-director.repo file points to the Altus Director 6.2 repository.
Run the following commands to download the latest Altus Director cloudera-director.repo file :
RHEL and CentOS 7.x:cd /etc/yum.repos.d/ sudo wget "https://username:password@archive.cloudera.com/p/director6/6.2.0/redhat7/cloudera-director.repo"
RHEL and CentOS 6.x:cd /etc/yum.repos.d/ sudo wget "https://username:password@archive.cloudera.com/p/director6/6.2.0/redhat6/cloudera-director.repo"
- Run the following commands to upgrade the Altus Director server and client:
sudo yum clean all sudo yum update cloudera-director-server cloudera-director-client
The Altus Director upgrade installs all required plug-in packages.
After the Altus Director server and client upgrade completes, rerun the service manager in the operating system.
- Run the following command to re-execute the systemd manager:
sudo systemctl daemon-reexec
Ubuntu
- Stop the Altus Director server service by running the following command:
sudo service cloudera-director-server stop
Before you proceed, verify that the Altus Director instance that you are upgrading meets all upgrade requirements. See Step 1: Review the Upgrade Requirements.
- Download the Altus Director cloudera-director.list file for Altus Director 6.2.
The cloudera-director.list file is the repository configuration file for Altus Director. The base URL in the latest cloudera-director.list file points to the Altus Director 6.2 repository.
Run the following commands to download the latest Altus Director cloudera-director.list file :
Ubuntu 14.04cd /etc/apt/sources.list.d/ sudo curl -L "http://username:password@archive.cloudera.com/p/director6/6.2/ubuntu1404/cloudera-director.list" -O
Ubuntu 16.04:cd /etc/apt/sources.list.d/ sudo curl -L "http://username:password@archive.cloudera.com/p/director6/6.2/ubuntu1604/cloudera-director.list" -O
Ubuntu 18.04:cd /etc/apt/sources.list.d/ sudo curl -L "http://username:password@archive.cloudera.com/p/director6/6.2/ubuntu1804/cloudera-director.list" -O
- Run the following commands to upgrade the Altus Director server and client:
sudo apt-get clean sudo apt-get update sudo apt-get dist-upgrade sudo apt-get install cloudera-director-server cloudera-director-client
The Altus Director upgrade installs all required plug-in packages.
Step 4. Restore the Configuration
If you want Altus Director 6.2 to have the same configuration as the previous version, restore the configuration settings from the backup files. Do not restart the Altus Director 6.2 server until you have updated the configuration files.
- Restore the Altus Director configuration.
- If you modified the application.properties file in the previous version, you can use the same configuration in Altus Director 6.2. Restore the configuration from the backup file.
- Restore the plug-in configuration files.
- If you modified the configuration files for any of the Altus Director plug-ins in the previous version, restore the configuration files to the Altus Director 6.2 plug-in directory
before you restart the Altus Director 6.2 server.
The Altus Director plug-in files are in the following directory: /var/lib/cloudera-director-plugins/
The directory contains a separate versioned subdirectory for each plug-in. Although the version suffix in the subdirectory names changes for every version, the plug-in directory structure and plug-in configuration file names in Altus Director 6.2 is the same as in previous versions.
You can copy the plug-in configuration files from your backup and overwrite the corresponding configuration files in the Altus Director 6.2 plug-in directory.
Step 5. Restart Director
sudo service cloudera-director-server start
The command to start Altus Director is the same in RHEL, CentOS, and Ubuntu.