Connecting to Cloudera Manager with Cloudera Director Client
After the cluster is ready, log in to Cloudera Manager and access the cluster.
To access Cloudera Manager:
- Use the status command to get the host IP address of Cloudera Manager:
$ cloudera-director status cluster.conf
Cloudera Director displays output similar to the following:Cloudera Director 2.0.0 initializing ... Cloudera Manager: * Instance: 10.0.0.110 Owner=wintermute,Group=manager * Shell: ssh -i /root/.ssh/launchpad root@10.0.0.110 Cluster Instances: * Instance 1: 10.0.0.39 Owner=wintermute,Group=master * Shell 1: ssh -i /root/.ssh/launchpad root@10.0.0.39 * Instance 2: 10.0.0.148 Owner=wintermute,Group=slave * Shell 2: ssh -i /root/.ssh/launchpad root@10.0.0.148 * Instance 3: 10.0.0.150 Owner=wintermute,Group=slave * Shell 3: ssh -i /root/.ssh/launchpad root@10.0.0.150 * Instance 4: 10.0.0.147 Owner=wintermute,Group=slave * Shell 4: ssh -i /root/.ssh/launchpad root@10.0.0.147 * Instance 5: 10.0.0.149 Owner=wintermute,Group=slave * Shell 5: ssh -i /root/.ssh/launchpad root@10.0.0.149 * Instance 6: 10.0.0.151 Owner=wintermute,Group=slave * Shell 6: ssh -i /root/.ssh/launchpad root@10.0.0.151 * Instance 7: 10.0.0.254 Owner=wintermute,Group=gateway * Shell 7: ssh -i /root/.ssh/launchpad root@10.0.0.254 * Instance 8: 10.0.0.32 Owner=wintermute,Group=master * Shell 8: ssh -i /root/.ssh/launchpad root@10.0.0.32 * Instance 9: 10.0.0.22 Owner=wintermute,Group=master * Shell 9: ssh -i /root/.ssh/launchpad root@10.0.0.22 Launchpad Gateway: * Gateway Shell: ssh -i /path/to/launchpad/host/keyName.pem -L 7180:10.0.0.110:7180 -L 7187:10.0.0.110:7187 root@ec2-54-77-57-3.eu-west-1.compute.amazonaws.com Cluster Consoles: * Cloudera Manager: http://localhost:7180 * Cloudera Navigator: http://localhost:7187
In this example, the host IP address is 10.0.0.110.
- Change to the directory where your keyfile.pem file is located. Then, route the connection over SSH:
$ ssh -L 7180:cm-host-private-ip:7180 ec2-user@director-client-public-ip # go to http://localhost:7180 in your browser and login with admin/admin
- Open a web browser and enter http://localhost:7180 to connect to Cloudera Manager. Use admin as both the username and password.
- Add any additional services to the cluster. The CDH 5 parcel was already distributed by Cloudera Director.