Stop and restart an environment
You can stop an environment if you need to suspend but not terminate the resources within the environment. When you stop an environment, all of the resources within the environment are also stopped, including Data Lakes and Cloudera Data Hub clusters. You can also restart the environment.
Required role: EnvironmentAdmin or Owner
Steps
- Navigate to the environment in Cloudera Management Console > Environments.
- Click and confirm the action.
- To restart the environment, click .
Use the following command to stop an environment:
cdp environments stop-environment --environment-name <ENVIRONMENT_NAME>
Use the following commands to start an environment:
cdp environments start-environment --environment-name <ENVIRONMENT_NAME> [--with-datahub-start]
Use the following commands to start an environment and all Cloudera Data Hub clusters running in it:
cdp environments start-environment --environment-name <ENVIRONMENT_NAME> --with-datahub-start