Using the Command Line Interface
The command-line interface (CLI) includes commands and options for running Cloudera Director locally or for bootstrapping or terminating Cloudera Director on a remote server.
Local commands
The commands in this table can be used when running Cloudera Manager locally (in standalone mode):
Command | Description | Options |
---|---|---|
bootstrap | Bootstraps an environment, deployment, and cluster locally (in standalone mode). |
lp.bootstrap.resume.policy=interactive|resume|restart
|
status | Reports status on various entities, including deployment, cluster, Cloudera Manager instance, and cluster instances. | |
terminate | Terminates a cluster and deployment locally (in standalone mode). |
lp.terminate.assumeYes=true|false
|
update | Updates an environment, deployment, and cluster locally (in standalone mode). | |
validate | Validates a configuration locally (in standalone mode). |
lp.validate.dumpTemplates=true|false
|
Remote commands
The following CLI commands can be used to bootstrap or terminate Cloudera Director on a remote server:
Command | Description | Option |
---|---|---|
bootstrap-remote | Bootstraps an environment, deployment, and cluster on a remote server. |
lp.remote.hostAndPort=host[:port]
lp.remote.username=Cloudera Director server username lp.remote.password=Cloudera Director server password |
terminate-remote | Terminates a cluster and deployment on a remote server. |
lp.remote.hostAndPort=host[:port]
lp.remote.username=Cloudera Director server username lp.remote.password=Cloudera Director server password lp.remote.terminate.assumeYes=true|false
|