Updates the connection settings with an Entrust database appliance.

clusterctl database set appliance [--secroot-password=<secroot-password>] [--ca-certificate <ca-certificate>] [--hosts <hosts>]

See below for a description of each parameter. 

Redeploy solutions using the database appliance after running this command.

--secroot-password=<secroot-password>

Set <secroot-password> as the new password for the secroot user.

Mandatory: Use an empty <secroot-password> to prompt the password interactively. For example;

$ sudo clusterctl database set appliance --secroot-password=
Enter the Database Appliance 'secroot' user password.
Password:
 
Setting done ╢▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌╟ 100 %
 
The Database Appliance configuration has been set.
db-appliance-watchdog is up and running
You can manage the Database Appliance cluster in any of the following addresses:
https://10.1.141.30/appliance
https://10.1.141.31/appliance
https://10.1.141.32/appliance

--ca-certificate <ca-certificate>

Set <ca-certificate> as the CA certificate chain to validate the Entrust database appliance server certificate, where <ca-certificate> is the path of a PEM file containing a certificate or a certificate chain.

See Updating the validation chain of the database TLS certificate for how to replace the CA chain of the database certificate.

Mandatory: No.

--hosts <hosts>

Connect to the PKI DB Appliance <hosts>, where <hosts> is a comma-separated list of the nodes in the PKI DB Appliance cluster. For example, if the CSP appliance database is deployed on a single node:

$ sudo clusterctl install --db-appliance-hosts 10.1.141.30

If the CSP appliance database is deployed on a node cluster:

$ sudo clusterctl install --db-appliance-hosts 10.1.141.30,10.1.141.31,10.1.141.32

Mandatory: When adding, removing, or updating PKI DB Appliance nodes.