Repository navigation
Replies: 3 comments
|
Using the following command didn't fail with an error However using partonictl list did not show any tags applied to the hosts. Any pointers on how to set tags and if they would update the cluster and re-assign roles ? |
|
Tags could be set only in the configuration file. |
|
Thanks for the clarification. I have one more question. Lets say I have a cluster of 4 members, 2 members in each data center. I am aiming to have the Leader and "Sync Standby" in one data center and every so often switch between data centers. To do this I could: To switch over I remove the tags from the non-active side, reload and restart the Sync Standby member. This will switch the Sync Standby member over to the non-active data center, at which point I can fail-over the Leader. Once the Leader has switched over, I can add the nosync tags to the previously active side. Is this roughly the process ? |
Uh oh!
There was an error while loading. Please reload this page.
Is the a API call to tag a running cluster member as nosync and force it to relinquish the "Sync Standby" role and adopt a "Replica" role ? I just tried:
curl -k -v -X PATCH https://192.168.1.90:8008/tag -H "Content-Type: application/json" -d '{"nosync": true}'But this failed with : Error code explanation: 501 - Server does not support this operation.
Any other suggestion if this can be done.
All reactions