dmscli attach cluster

Attaches a new Lightbits storage cluster to the DMS system.

Synopsis

Bash
Copy

Attaching a new Lightbits cluster to the DMS system is a two-step process.

Step 1: Get credentials from the DMS service and add them to the Lightbits cluster.

Invoke this command to get a Base64-encoded public key and the public key ID. The Base64-encoded public key will be saved to: ~/.local/dms/<pubKeyId>.pem.

The file should then be copied to the Lightbits cluster:

YAML
Copy

It should then be passed as an argument to the following command issued to the relevant cluster:

Bash
Copy

Step 2: Attach the Lightbits cluster to the DMS system. This is the second step for attaching a cluster.

To connect the Lightbits cluster to the DMS system, use the attach command providing a Lightbits cluster API endpoint address.

Example:

Bash
Copy
FlagShortTypeDefaultDescription
--help-hboolHelp for cluster.
--api-endpointboolLightbits storage cluster API endpoint address.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard