Altus Director Upgrade
By default, Altus Director 6.0 creates clusters with Cloudera Manager 6.0 and CDH 6.0. When you upgrade to Director 6.0, you can continue to manage existing clusters with Cloudera Manager and CDH parcels 5.7 and higher.
Altus Director 6.0 has a number of changes that are not compatible with Altus Director 2.8. Before you start the upgrade process, review the list of changes in the release notes to understand the effects of upgrading to Altus Director 6.0. See Changes in Altus Director 6.0.
- Review the upgrade requirements.
Altus Director 6.0 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.0 requirements, the upgrade process will fail. For example, you cannot upgrade from an Altus Director version that is earlier than version 2.8. You must upgrade to Altus Director 2.8 before you start the upgrade to Altus Director 6.0.
- Upgrade to Altus Director 6.0.
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 Altus Director 2.8 instance, you can restore the configuration from your backup files and use the same configuration in Altus Director 6.0. Note that the names of some configuration properties have changed in Altus Director 6.0. Review the changes to verify that you are using the correct property names in Altus Director 6.0.
Complete this step before you start the Altus Director 6.0 server.
- Restart the Altus Director 6.0 server.
Step 1: Review the Upgrade Requirements
Altus Director 6.0 has the following requirements:
- Only Altus Director 2.8 can be upgraded to Altus Director 6.0.
- You cannot upgrade to Altus Director 6.0 from any other Director version.
- Altus Director 6.0 requires Oracle JDK version 8.
- Altus Director 6.0 supports only Java 8. Altus Director 6.0 does not support earlier or later versions of Java.
- Altus Director 6.0 requires Cloudera Manager version 5.7 or higher.
- Altus Director 6.0 does not work with Cloudera Manager instances earlier than version 5.7.
- Altus Director 6.0 supports RHEL and CentOS versions 6.7, 6.8, 7.2, 7.4, and 7.5 for Cloudera Manager and clusters.
-
Altus Director 6.0 supports installation of Cloudera Manager and clusters on the following OS versions:
- For AWS and Google Cloud Platform only, Altus Director 6.0 now supports RHEL and CentOS version 7.5
- For all cloud service providers, Altus Director 6.0 continues to support RHEL and CentOS versions 6.7, 6.8, 7.2, and 7.4
Altus Director 6.0 cannot create clusters on other versions of the operating systems. Likewise, Altus Director 6.0 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.0.
Before you upgrade to Altus Director 6.0, complete the following tasks:
- Verify that you are upgrading from Director 2.8 to Altus Director 6.0.
- Required.
- Verify that your Java version is Oracle Java 8.
- Required.
- Upgrade all Cloudera Manager instances that are older than version 5.7
- Required.
- Back up the Altus Director 2.8 properties file.
- Recommended.
- Back up the configuration files for the Altus Director 2.8 plug-ins.
- Recommended.
- Back up the Altus Director 2.8 database that stores state information.
- Recommended.
Step 3. Upgrade to Altus Director 6.0
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.0.
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.0 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.0.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.0.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.0.
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.0 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.0/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.0/ubuntu1604/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.0 to have the same configuration as the previous version, restore the configuration settings from the backup files. Do not restart the Altus Director 6.0 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.0. Restore the
configuration from the backup file.
In Altus Director 6.0, the names of the following properties in the application.properties have changed:
Old property name New property name lp.terminate.deployment.clouderaManagerServerStopWaitTimeInMs lp.cleanup.cm.stopWaitTimeInMs lp.terminate.deployment.timeBetweenConnectionRetriesInMs lp.cleanup.cm.timeBetweenConnectionRetriesInMs Before you overwrite the application.properties file in Altus Director 6.0, check whether you have modified any of the properties that have new names. Update the application.properties backup file before you copy it to the /etc/cloudera-director-server/ directory in Altus Director 6.0.
- 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.0 plug-in directory
before you restart the Altus Director 6.0 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.0 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.0 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.