Installing Altus Director Server and Client on Google Compute Engine

Cloudera recommends that you install Altus Director server on your cloud provider in the subnet where you will create CDH clusters, because Altus Director must have access to the private IP addresses of the instances that it creates. To install Altus Director server, perform the following tasks.

RHEL 7 and CentOS 7

  1. In the Compute Engine > VM instances screen, click the SSH link next to your instance name.

    This opens a new window.

  2. 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.

  3. Download Altus Director by running the following commands:
    cd /etc/yum.repos.d/
    sudo wget "http://username:password@archive.cloudera.com/p/director6/6.2/redhat7/cloudera-director.repo"
  4. Install Altus Director server by running the following command:
    sudo yum install cloudera-director-server cloudera-director-client
  5. Start the Altus Director server by running the following command:
    sudo service cloudera-director-server start
  6. Disable and stop the firewall with the following commands:
    sudo systemctl disable firewalld
    sudo systemctl stop firewalld

You are now ready to configure a SOCKS proxy for your instances.

RHEL 6 and CentOS 6

  1. In the Compute Engine > VM instances screen, click the SSH link next to your instance name.

    This opens a new window.

  2. 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.

  3. Download Altus Director by running the following commands:
    cd /etc/yum.repos.d/
    sudo wget "http://username:password@archive.cloudera.com/p/director6/6.2/redhat6/cloudera-director.repo"
  4. Install Altus Director server by running the following command:
    sudo yum install cloudera-director-server cloudera-director-client
  5. Start the Altus Director server by running the following command:
    sudo service cloudera-director-server start
  6. Save the existing iptables rule set and disable the firewall:
    sudo service iptables save
    sudo chkconfig iptables off
    sudo service iptables stop

You are now ready to configure a SOCKS proxy for your instances.

Ubuntu

  1. In the Compute Engine > VM instances screen, click the SSH link next to your instance name.

    This opens a new window.

  2. 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 downloading the installation file to the EC2 instance, install the JDK. The following example installs JDK version 7:
      sudo apt-get update
      sudo apt-get install oracle-j2sdk1.8
      
    • OpenJDK
      Use the following command to download and install OpenJDK:
      sudo apt-get install openjdk-8-jre

      For more information, see How to download and install prebuilt OpenJDK packages.

  3. Download Altus Director and add the signing key.
    If you are on version 14.04, run the following commands:
    cd /etc/apt/sources.list.d/
    sudo curl -L "http://username:password@archive.cloudera.com/p/director6/6.2/ubuntu1404/cloudera-director.list" -O
    sudo curl -s -L "https://username:password@archive.cloudera.com/p/director6/6.2/ubuntu1404/archive.key" | sudo apt-key add -
    If you are on version 16.04, run the following commands:
    cd /etc/apt/sources.list.d/
    sudo curl -L "http://username:password@archive.cloudera.com/p/director6/6.2/ubuntu1604/cloudera-director.list" -O
    sudo curl -s -L "https://username:password@archive.cloudera.com/p/director6/6.2/ubuntu1604/archive.key" | sudo apt-key add -
  4. If you are on version 18.04, run the following commands:
    cd /etc/apt/sources.list.d/
    sudo curl -L "http://username:password@archive.cloudera.com/p/director6/6.2/ubuntu1804/cloudera-director.list" -O
    sudo curl -s -L "https://username:password@archive.cloudera.com/p/director6/6.2/ubuntu1804/archive.key" | sudo apt-key add -
  5. Install Altus Director server by running the following command:
    apt-get update
    apt-get install cloudera-director-server
    apt-get install oracle-j2sdk1.8
  6. Start the Altus Director server by running the following command:
    sudo service cloudera-director-server start
  7. Save the existing firewall rules and disable the firewall:
    iptables-save > ~/firewall.rules
    sudo service ufw stop

You are now ready to configure a SOCKS proxy for your instances.