Forum Discussion
Get Current Device for Traffic Group in iControl
Is there a way to get the current device for a traffic group in an active/active cluster on v11 LTMs? I don't see this documented in iControl : Management : TrafficGroups. I have some automation tools that need to be aware of the "Current Device", so it knows which unit in the cluster to initially make changes on before performing a sync.
If I can't obtain it here, is there a way to query a Virtual Server or Virtual Address for this property?
Thanks!
3 Replies
- JRahm
Admin
in python:
>>> b.Management.Device.get_local_device() '/Common/ltm1.dc.local' - Brian_N_8667
Nimbostratus
I meant getting the device name which a certain traffic group is currently active on. Since my traffic group can move between devices, I need to know which one it is currently active on so that I can make changes on that particular device.
- Brian_N_8667
Nimbostratus
Does anyone know if the HAOrder object in iControl :: Management :: TrafficGroup :: get_ha_order will expose this information? If not, when is this expected?
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