Installing Altus Director Server and Client on Azure
To install Altus Director, follow the procedure for the OS you use. You must be running as root or using sudo to perform these tasks.
RHEL 7 and CentOS 7
- SSH to the Azure instance you created for Altus Director.
- Install a supported version of the Oracle JDK or OpenJDK on the Altus Director host.
Altus Director 6.x requires JDK version 8.
- Oracle JDK
For download and installation information, see Java SE Downloads on the Oracle web site.
After you download the RPM file to the EC2 instance, install the JDK:sudo yum localinstall jdk-version-linux-x64.rpm
- OpenJDK
Use the following command to download and install OpenJDK:
sudo yum install java-1.8.0-openjdk
For more information, see How to download and install prebuilt OpenJDK packages.
- Oracle JDK
- Add the Altus Director repository to the package manager:
cd /etc/yum.repos.d/ sudo wget "http://username:password@archive.cloudera.com/p/director6/6.2/redhat7/cloudera-director.repo"
- Install Altus Director server and client by running the following command:
sudo yum install cloudera-director-server cloudera-director-client
- Start the Altus Director server by running the following command:
sudo service cloudera-director-server start
- Disable and stop the firewall with the following commands:
sudo systemctl disable firewalld sudo systemctl stop firewalld
RHEL 6 and CentOS 6
- SSH to the Azure instance you created for Altus Director.
- Install a supported version of the Oracle JDK or OpenJDK on the Altus Director host.
Altus Director 6.x requires JDK version 8.
- Oracle JDK
For download and installation information, see Java SE Downloads on the Oracle web site.
After you download the RPM file to the EC2 instance, install the JDK:sudo yum localinstall jdk-version-linux-x64.rpm
- OpenJDK
Use the following command to download and install OpenJDK:
sudo yum install java-1.8.0-openjdk
For more information, see How to download and install prebuilt OpenJDK packages.
- Oracle JDK
- Add the Altus Director repository to the package manager:
cd /etc/yum.repos.d/ sudo wget "http://username:password@archive.cloudera.com/p/director6/6.2/redhat6/cloudera-director.repo"
- Install Altus Director server and client by running the following command:
sudo yum install cloudera-director-server cloudera-director-client
- Start the Altus Director server by running the following command:
sudo service cloudera-director-server start
- Save the existing iptables rule set and disable the firewall:
sudo service iptables save sudo chkconfig iptables off sudo service iptables stop
Sample Configurations
Sample configuration files are available on the Cloudera GitHub site. You can modify these configuration files to create clusters using the Altus Director CLI.
- azure.simple.conf: A simple Altus Director configuration that creates a Cloudera Manager node and a four-node cluster (one master and three workers).
- azure.reference.conf: A reference Altus Director configuration that creates an eight-node cluster (three masters and five workers) with high availability (HA) enabled.
- azure.kerberos.conf: The same Altus Director configuration as azure.reference.conf, but with Kerberos enabled.