Skip to content

PKI Server Subsystem Database Replication CLI

Endi S. Dewata edited this page Dec 3, 2023 · 9 revisions

Overview (Not Yet Implemented)

The pki-server <subsystem>-db-repl commands can be used to manage subsystem database replication.

Setting Up Replication

$ pki-server <subsystem>-db-repl-setup \
    --master-replication-port <port> \
    --replica-replication-port <port> \
    --replication-security <security>

Adding Replication Manager

$ pki-server <subsystem>-db-repl-manager-add \
    --password <password> \
    <name>

Removing Replication Manager

$ pki-server <subsystem>-db-repl-manager-del <name>

Adding Replication Object

$ pki-server <subsystem>-db-repl-add

Removing Replication Object

$ pki-server <subsystem>-db-repl-del

Adding Replication Agreement

$ pki-server <subsystem>-db-repl-agmt-add <name> \
    --hostname <hostname> \
    --port <port> \
    --security <security> \
    --user <user> \
    --password <password>

Removing Replication Agreement

$ pki-server <subsystem>-db-repl-agmt-del <name>

Initializing Replication Agreement

$ pki-server <subsystem>-db-repl-agmt-init

See Also

Clone this wiki locally