Clone Service
List Lightbits clusters
List the Lightbits clusters connected to the DMS service.
A successful response.
Authentication required / Authentication failed
An unexpected error response.
Attach Lightbits cluster
Attach a Lightbits cluster to the DMS service.
Attaching a Lightbits cluster is a multi-step process:
- Get the service credentials (GetServiceCredentials).
- Import the public key into the Lightbits cluster. Save the decoded DMS pubKey to a file, and upload it to the Lightbits server: echo "" | base64 -d > /tmp/pub-key.pem scp /tmp/pub-key.pem @:/tmp/ rm -rf /tmp/pub-key.pem
- Add the credentials to the Lightbits cluster. SSH to the Lightbits server that the credentials were uploaded to, and execute the following (requires system-admin privileges): lbcli create credential --project-name=system --type=rsa256pubkey --id= /tmp/pub-key.pem
- Invoke the attach cluster API (this API).
A successful response.
Invalid argument.
Authentication required / Authentication failed
Internal error in the DMS service.
An unexpected error response.
Refresh Lightbits clusters information
This API will trigger a refresh of the Lightbits clusters information.
Lightbits clusters information is cached in the DMS service, and this API will trigger a refresh of the information. Changed information examples can be:
- A server was added to the cluster
- A server was removed from the cluster
- etc...
A successful response.
Authentication required / Authentication failed
Internal error in the DMS service.
An unexpected error response.
Detach Lightbits cluster
Detach a Lightbits cluster from the DMS service.
A successful response.
Invalid argument.
Authentication required / Authentication failed
Internal error in the DMS service.
An unexpected error response.
Get DMS service credentials
Get the service credentials to enable attaching a cluster. The public key returned in the response should be imported into the Lightbits cluster.
Attaching a Lightbits cluster is a multi-step process:
- Get the service credentials (this API).
- Import the public key into the Lightbits cluster. Save the decoded DMS pubKey to a file, and upload them to the Lightbits server: echo "" | base64 -d > /tmp/pub-key.pem scp /tmp/pub-key.pem @:/tmp/ rm -rf /tmp/pub-key.pem
- Add the credentials to the Lightbits cluster. SSH to the Lightbits server that the credentials were uploaded to, and execute the following (requires system-admin privileges): lbcli create credential --project-name=system --type=rsa256pubkey --id= /tmp/pub-key.pem
- Invoke the attach cluster API (AttachCluster).
A successful response.
Authentication required / Authentication failed
An unexpected error response.
Create a thick clone snapshot
Create a thick clone snapshot from a source snapshot.
A successful response.
Invalid argument.
Authentication required / Authentication failed
Internal error in the DMS service.
An unexpected error response.
Create a thick clone volume
Create a thick clone volume from a source snapshot.
A successful response.
Invalid argument.
Authentication required / Authentication failed
Internal error in the DMS service.
An unexpected error response.
List workflows
List the running and completed workflows.
A successful response.
Invalid argument.
Authentication required / Authentication failed
Internal error in the DMS service.
An unexpected error response.
Get a specific workflow by its ID
Get a specific workflow by its ID.
A successful response.
Invalid argument.
Authentication required / Authentication failed
Internal error in the DMS service.
An unexpected error response.
Cancel a workflow by its ID
Cancel a specific workflow by its ID.
A successful response.
Invalid argument.
Authentication required / Authentication failed
Internal error in the DMS service.
An unexpected error response.
Login to the DMS service
If successful, the response will contain a token that should be used in the Authorization header for all subsequent requests.
A successful response.
Authentication required / Authentication failed
Internal error in the DMS service.
An unexpected error response.