Cloudera Manager Startup/Shutdown

Prathamesh Nimkar
2 min readApr 1, 2020

--

Assumptions:

Irrespective of your choice of cloud for free-use, I cannot stress how important it is to always shutdown your Cloudera Manager Services/Roles, Agents and Server before you shutdown/stop your cloud VMs. This will help you to save free-credits.

Startup

# Login into instance-1 using root
sudo su -
# Starting up the Cloudera Manager Server and Agent and checking status
service cloudera-scm-server start
service cloudera-scm-server status
service cloudera-scm-agent start
service cloudera-scm-agent status
# Enter instance-2, startup the Cloudera agent, check status and exit
ssh instance-2
service cloudera-scm-agent start
service cloudera-scm-agent status
exit
# Enter instance-3, startup the Cloudera agent, check status and exit
ssh instance-3
service cloudera-scm-agent start
service cloudera-scm-agent status
exit
# Enter instance-4, startup the Cloudera agent, check status and exit
ssh instance-4
service cloudera-scm-agent start
service cloudera-scm-agent status
exit

Open Cloudera Manager using http://<external IP of instance-1>:7180/
Enter your username/password, typically admin/admin
On the homepage, next to <generic cluster name> click on the drop-down, hit startup to start all Cloudera Manager hosted roles/services

Shutdown

Open Cloudera Manager using http://<external IP of instance-1>:7180/
Enter your username/password, typically admin/admin
On the homepage, next to <generic cluster name> click on the drop-down, hit shutdown to stop all Cloudera Manager hosted roles/services

# Login into instance-1 using root
sudo su -
# Stopping the Cloudera Manager Server and Agent
service cloudera-scm-server stop
service cloudera-scm-agent stop
service cloudera-scm-server status
service cloudera-scm-agent status
# Enter instance-2, stop the Cloudera agent, check status and exit
ssh instance-2
service cloudera-scm-agent stop
service cloudera-scm-agent status
exit
# Enter instance-2, stop the Cloudera agent, check status and exit
ssh instance-3
service cloudera-scm-agent stop
service cloudera-scm-agent status
exit
# Enter instance-2, stop the Cloudera agent, check status and exit
ssh instance-4
service cloudera-scm-agent stop
service cloudera-scm-agent status
exit

--

--