Starting, Stopping, and Restarting Cloudera Manager Agents
Starting Agents
To start Agents, the
cloudera-scm-supervisord process, and all managed
service processes, use the following command:- Start
sudo systemctl start cloudera-scm-agent
Stopping and Restarting Agents
To stop or restart Agents while leaving the managed processes running,
use one of the following commands:
- Stop
sudo systemctl stop cloudera-scm-agent - Restart
sudo systemctl restart cloudera-scm-agent
Hard Stopping and Restarting Agents
To stop or restart Agents, the
cloudera-scm-supervisord process, and
all managed service processes, use one of the following commands:- Hard Stop
- RHEL 7, SLES 12, Ubuntu 18.04 and higher
-
sudo systemctl stop cloudera-scm-supervisord.service sudo systemctl stop cloudera-scm-agent
- Hard Restart
- RHEL 7, SLES 12, Ubuntu 18.04 and higher
-
sudo systemctl stop cloudera-scm-supervisord.service sudo systemctl restart cloudera-scm-agent
- You are upgrading Cloudera Manager and the
cloudera-scm-supervisordcode has changed between your current version and the new one. To properly complete this upgrade, you must restart thecloudera-scm-supervisordprocess as well. - The
cloudera-scm-supervisordfreezes and needs to be restarted. - You want to clear out all running state pertaining to Cloudera Manager and managed services.
Checking Agent Status
To check the status of the Agent process, use the
command:
sudo systemctl status cloudera-scm-agent