Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[yugabyted] xCluster Integration with yugabyted. #22349

Open
1 task done
gargsans-yb opened this issue May 10, 2024 · 0 comments
Open
1 task done

[yugabyted] xCluster Integration with yugabyted. #22349

gargsans-yb opened this issue May 10, 2024 · 0 comments
Assignees
Labels
area/ecosystem Label for all ecosystem related projects kind/enhancement This is an enhancement of an existing feature priority/medium Medium priority issue status/awaiting-triage Issue awaiting triage

Comments

@gargsans-yb
Copy link
Contributor

gargsans-yb commented May 10, 2024

Jira Link: DB-11256

Description

Set-up and manage xCluster replication between clusters with yugabyted.

Feature Status
Create xCluster Checkpoint
Set-up xCluster replication
Deleting xCluster replication
Add database to a replication
Remove database from a replication

Set-up source cluster and create the schema for the databases to be replicated.

Checkpoint a xcluster replication:

Run on Source Node:

./bin/yugabyted xcluster checkpoint --replication_id <replication_id> --databases <comma_separated_list_of_databases>

--databases (Mandatory Flag): Comma separated list of databases to be added to the replication.
--replication_id (Mandatory Flag): A unique string to be defined by user which will be used to uniquely identify the replication.

Set-up a xcluster replication:

Run on Source Node:

./yugabyted xcluster set_up --replication_id <replication_id> --target_address <ip_of_target_node> --bootstrap_done

--target_address (Mandatory Flag): IP of any 1 of the target cluster nodes.
--replication_id (Mandatory Flag): replication_id for which replication is to be set-up.
--bootstrap_done (Mandatory Flag only when bootstrap is required to set-up xcluster): This flag indicates that the user has completed the required bootstrapping step.

See status of xcluster:

Run on any node:

./yugabyted xcluster status --base_dir ~/yb-cluster/node2 --replication_id test-xcluster1

--replication_id (Optional Flag): replication_id for which status is to be shown.

Delete a xcluster replication:

Run on source node:

./yugabyted xcluster delete --replication_id <replication_id> --target_address <ip_of_target_node>

--target_address (Mandatory Flag): IP of any 1 of the target cluster nodes.
--replication_id (Mandatory Flag): replication_id of the replication which is to be deleted.

Warning: Please confirm that this issue does not contain any sensitive information

  • I confirm this issue does not contain any sensitive information.
@gargsans-yb gargsans-yb added area/ecosystem Label for all ecosystem related projects status/awaiting-triage Issue awaiting triage area/ybd yugabyted project related Github tickets. labels May 10, 2024
@gargsans-yb gargsans-yb self-assigned this May 10, 2024
@yugabyte-ci yugabyte-ci added kind/enhancement This is an enhancement of an existing feature priority/medium Medium priority issue and removed area/ybd yugabyted project related Github tickets. labels May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ecosystem Label for all ecosystem related projects kind/enhancement This is an enhancement of an existing feature priority/medium Medium priority issue status/awaiting-triage Issue awaiting triage
Projects
None yet
Development

No branches or pull requests

2 participants