vinfra service backup geo-replication slave setup
Configure geo-replication for the secondary cluster:
usage: vinfra service backup geo-replication slave setup --dc-config-file <dc-config-file>
--dc-config-file <dc-config-file>
- Path to the configuration file of the primary cluster on the local server
Example:
# vinfra service backup geo-replication slave setup \
--dc-config-file master_dc.conf +---------+--------------------------------------+ | Field | Value | +---------+--------------------------------------+ | task_id | d34b3a4f-6e16-4e60-b20a-844052945d3e | +---------+--------------------------------------+
This command creates a task to configure geo-replication for the secondary backup cluster.
Task outcome:
# vinfra task show d34b3a4f-6e16-4e60-b20a-844052945d3e +---------+----------------------------------------------------+ | Field | Value | +---------+----------------------------------------------------+ | details | | | name | backend.tasks.message_dispatcher.CommandDispatcher | | result | | | state | success | | task_id | d34b3a4f-6e16-4e60-b20a-844052945d3e | +---------+----------------------------------------------------+