dcmanager¶
dcmanager is the command-line interface for the Distributed Cloud Manager APIs. dcmanager is applicable only in the SystemController region of the central cloud in a distributed cloud configuration.
This page documents the dcmanager command.
For a full description of usage and optional arguments for a specific dcmanager command, enter:
~(keystone_admin)]$ dcmanager help <command>
dcmanager usage¶
dcmanager [--version] [-v] [--log-file LOG_FILE] [-q] [-h] [--debug]
[--dcmanager-url DCMANAGER_URL]
[--dcmanager-api-version DCMANAGER_VERSION]
[--dcmanager-service-type SERVICE_TYPE]
[--os-endpoint-type ENDPOINT_TYPE] [--os-username USERNAME]
[--os-password PASSWORD] [--os-tenant-id TENANT_ID]
[--os-project-id PROJECT_ID] [--os-tenant-name TENANT_NAME]
[--os-project-name PROJECT_NAME] [--os-auth-token TOKEN]
[--os-project-domain-name PROJECT_DOMAIN_NAME]
[--os-project-domain-id PROJECT_DOMAIN_ID]
[--os-user-domain-name USER_DOMAIN_NAME]
[--os-user-domain-id USER_DOMAIN_ID] [--os-auth-url AUTH_URL]
[--os-cacert CACERT] [--insecure] [--profile HMAC_KEY]
<subcommand> ...
For a list of all dcmanager subcommands and options, enter:
dcmanager help
Subcommands¶
For a full description of usage and optional arguments for a specific dcmanager command, enter:
dcmanager help COMMAND
Distributed cloud centralized alarms¶
Displays the aggregated counts of critical, major, minor, and warning alarms across all subclouds.
alarm summaryList alarm summaries of subclouds.
Distributed subcloud management¶
This set of commands provides subcloud management, including basic add, delete, list, show, and update operations on a subcloud.
subcloud addAdd a new subcloud.
Note that this command will create the subcloud in the central cloud’s database, run the Ansible bootstrap playbook on the new subcloud, and optionally run a deployment playbook.
subcloud deleteDelete subcloud details from the database.
subcloud deploy showShow the uploaded deployment files.
subcloud deploy uploadUpload the subcloud deployment files.
subcloud-group addAdd a new subcloud group.
subcloud-group deleteDelete subcloud group details from the database.
subcloud-group listList subcloud groups.
subcloud-group list-subcloudsList subclouds referencing a subcloud group.
subcloud-group showShow the details of a subcloud group.
subcloud-group updateUpdate attributes of a subcloud group.
subcloud listList subclouds.
subcloud manageManage a subcloud. Enables the active synchronization of data between the central cloud and the subcloud.
subcloud deploy configRe-run the deployment playbook on a subcloud using an updated configuration file.
subcloud redeployRedeploy a subcloud.
subcloud restoreRestore a subcloud.
subcloud showShow the details of a subcloud.
subcloud unmanageUnmanage a subcloud. Disables the active synchronization of data between the central cloud and the subcloud.
subcloud updateUpdate attributes of a subcloud.
Distributed cloud patching/updating¶
Important
The following commands are not supported upstream.
The patch-strategy commands create, apply, and monitor the orchestration of software patch application (or updates) across all subclouds and all hosts of subclouds. patch-strategy commands orchestrate software updates across an entire distributed cloud solution.
patch-strategy abortAbort a patch strategy.
patch-strategy applyApply a patch strategy.
patch-strategy createCreate a patch strategy.
patch-strategy deleteDelete patch strategy from the database.
patch-strategy showShow the details of a patch strategy for a subcloud.
patch-strategy-config deleteDelete per subcloud patch options.
patch-strategy-config listList patch options.
patch-strategy-config showShow patch options, defaults or per subcloud.
patch-strategy-config updateUpdate patch options, defaults or per subcloud.
strategy-step listList strategy steps.
strategy-step showShow the details of a strategy step.
Distributed cloud firmware updating¶
The following set of commands create, apply, and monitor the orchestration of N3000 FPGA firmware load updating across all subclouds and all hosts of subclouds.
fw-update-strategy abortAbort a firmware update strategy.
fw-update-strategy applyApply a firmware update strategy.
fw-update-strategy createCreate a firmware update strategy.
fw-update-strategy deleteDelete firmware update strategy from the database.
fw-update-strategy showShow the details of a firmware update strategy for a subcloud.
Distributed cloud Kubernetes version upgrading¶
The following set of commands create, apply, and monitor the orchestration of Kubernetes version upgrading across all subclouds and all hosts of subclouds.
kube-upgrade-strategy abortAbort a Kubernetes upgrade strategy.
kube-upgrade-strategy applyApply a Kubernetes upgrade strategy.
kube-upgrade-strategy createCreate a Kubernetes upgrade strategy.
kube-upgrade-strategy deleteDelete Kubernetes upgrade strategy from the database.
kube-upgrade-strategy showShow the details of a Kubernetes upgrade strategy for a subcloud.