Forum Discussion
Best way to query for active member in cluster
- Apr 22, 2014
Auto config sync is only available for Sync-Only groups, so there is no concept of the 'active' device, and in addition this happens when a change is made to any group members
For failover/sync groups I think you can manually initiate config-sync from any of the devices (doesn't have to be active).
If you're using a single traffic-group, you can use this:
curl -sk -u admin:admin -H "Content-Type: application/json" -X GET
but if you are using multiple traffic groups, every cluster member will show active. Thus, it's better to query the traffic groups for the active member of that group alone:
curl -sk -u admin:admin -H "Content-Type: application/json" -X GET
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com