vinfra service backup geo-replication slave update-certificates

Update the primary cluster’s configuration on the secondary cluster:

usage: vinfra service backup geo-replication slave update-certificates
                                                                --dc-config-file
			                                         <dc-config-file>
--dc-config-file <dc-config-file>
Path to the configuration file of the primary cluster

Example:

# vinfra service backup geo-replication slave update-certificates \
--dc-config-file primary_dc_updated.conf
+---------+--------------------------------------+
| Field   | Value                                |
+---------+--------------------------------------+
| task_id | 0ab89de1-b02d-426b-a03c-b1922e610594 |
+---------+--------------------------------------+

This command creates a task to update the configuration of the primary backup cluster.

Task outcome:

# vinfra task show 0ab89de1-b02d-426b-a03c-b1922e610594
+---------+----------------------------------------------------+
| Field   | Value                                              |
+---------+----------------------------------------------------+
| details |                                                    |
| name    | backend.tasks.message_dispatcher.CommandDispatcher |
| result  |                                                    |
| state   | success                                            |
| task_id | 0ab89de1-b02d-426b-a03c-b1922e610594               |
+---------+----------------------------------------------------+