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

Support Create, Describe, List and Delete DR #255

Merged
merged 6 commits into from
Oct 17, 2024
Merged

Conversation

posriniv
Copy link
Collaborator

@posriniv posriniv commented Oct 15, 2024

bash-5.2$ ./ybm cluster dr create --cluster-name brilliant-partridge --dr-name first-dr --target-cluster-name passionate-coyote  --databases test1
The DR first-dr has been created
Id                                     Name       Source Cluster        Target Cluster      Databases   State         Created On
1c1ea9a1-fec6-4c2f-bd8a-4cb06b3824b7   first-dr   brilliant-partridge   passionate-coyote   test1       Replicating   2024-10-17,12:27
bash-5.2$ ./ybm cluster dr list --cluster-name brilliant-partridge
Id                                     Name       Source Cluster        Target Cluster      Databases   State         Created On
1c1ea9a1-fec6-4c2f-bd8a-4cb06b3824b7   first-dr   brilliant-partridge   passionate-coyote   test1       Replicating   2024-10-17,12:27
bash-5.2$ ./ybm cluster dr describe --cluster-name brilliant-partridge --dr-name first-dr
Id                                     Name       Source Cluster        Target Cluster      Databases   State         Created On
1c1ea9a1-fec6-4c2f-bd8a-4cb06b3824b7   first-dr   brilliant-partridge   passionate-coyote   test1       Replicating   2024-10-17,12:27
bash-5.2$ ./ybm cluster dr delete --cluster-name brilliant-partridge --dr-name first-dr
? Are you sure you want to delete dr-name: first-dr for cluster: brilliant-partridge Yes
The DR first-dr has been deleted

@posriniv posriniv requested a review from a team as a code owner October 15, 2024 18:36
@posriniv posriniv changed the title Support Create DR Create DR Oct 15, 2024
@posriniv
Copy link
Collaborator Author

@yugabyte/ybm-cli-owners can one of you please review.

@posriniv posriniv changed the title Create DR Support Create, Describe, List and Delete DR Oct 17, 2024
@posriniv posriniv merged commit fac1338 into main Oct 17, 2024
2 checks passed
@posriniv posriniv deleted the posriniv/create-dr branch October 17, 2024 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants