Forum Discussion
Michael_Yates
Nimbostratus
May 16, 2011.NET Assembly iControl
I gone through the On-Line SDK and cannot seem to find the method for Sync State between a redundant Load Balancer Pair.
Can someone point me to it?
Thanks!
2 Replies
- hoolio
Cirrostratus
Hi Michael,
You can use this example from Joe:
How to detect config sync status using iControl
http://devcentral.f5.com/Community/GroupDetails/tabid/1082223/asg/51/aft/3224/showtab/groupforums/Default.aspx
These values are stored in the internal database which can be accessed via the Management::DBVariable interface (http://devcentral.f5.com/wiki/default.aspx/iControl/Management__DBVariable.html).
The values you are looking for are:
"configsync.autodetect"
"configsync.localconfigtime"
"configsync.peerconfigtime"
"configsync.localsyncedtime"
"configsync.state"
Aaron - Michael_Yates
Nimbostratus
Thank you Hoolio.
The setup is a little different for the .NET iControl, but you pointed me to where I needed to search in order to find it.
For .NET iControl you can get a full list of Database Variables to query with:
Interfaces.ManagementDBVariable.get_list();
Once you have your variable list you must put them into an Array (even if it is an array of one) and call it with:
Interfaces.ManagementDBVariable.query(myArray);
Thank you again!
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects