Starting, Stopping, and Restarting Cloudera Manager Agents
Starting Agents
To start Agents, the supervisord process, and all managed service processes, use the following command:
- Start
sudo service cloudera-scm-agent start
Stopping and Restarting Agents
To stop or restart Agents while leaving the managed processes running, use one of the following commands:
- Stop
sudo service cloudera-scm-agent stop
- Restart
sudo service cloudera-scm-agent restart
Hard Stopping and Restarting Agents
Warning: The hard_stop and hard_restart commands kill all running managed service processes on the host(s) where the command is run.
Note: The procedures in this section require you to stop all roles on the host. If it is not possible
to stop all roles immediately, you must do so within 60 days of the hard stop or hard restart.
To stop or restart Agents, the supervisord process, and all managed service processes, use one of the following commands:
- Hard Stop
- Stop all roles running on the host. See Stopping All the Roles on a Host.
If it is not possible to stop all roles immediately, you must do so within 60 days of the hard stop.
- Run the following command:
- RHEL 7, SLES 12, Debian 8, Ubuntu 16.04 and higher
-
sudo systemctl stop supervisord
- RHEL 5 or 6, SLES 11, Debian 6 or 7, Ubuntu 12.04 or 14.04
-
sudo service cloudera-scm-agent hard_stop
- Stop all roles running on the host. See Stopping All the Roles on a Host.
- Hard Restart
- Stop all roles running on the host. See Stopping All the Roles on a Host.
If it is not possible to stop all roles immediately, you must do so within 60 days of the hard restart.
- Run the following command:
- RHEL 7, SLES 12, Debian 8, Ubuntu 16.04 and higher
-
sudo systemctl stop supervisord sudo systemctl start cloudera-scm-agent
- RHEL 5 or 6, SLES 11, Debian 6 or 7, Ubuntu 12.04 or 14.04
-
sudo service cloudera-scm-agent hard_restart
- You are upgrading Cloudera Manager and the supervisord code has changed between your current version and the new one. To properly do this upgrade you need to restart supervisor too.
- supervisord freezes and needs to be restarted.
- You want to clear out all running state pertaining to Cloudera Manager and managed services.
- Stop all roles running on the host. See Stopping All the Roles on a Host.
Checking Agent Status
To check the status of the Agent process, use the command:
sudo service cloudera-scm-agent status
Page generated August 29, 2019.
<< Cloudera Manager Agents | ©2016 Cloudera, Inc. All rights reserved | Configuring Cloudera Manager Agents >> |
Terms and Conditions Privacy Policy |