Forum Discussion
Joel_Moses
Nimbostratus
Aug 30, 2007Dumping persistence record table for a VS
Hi, everyone.
Trying to get a start on something here, and am fairly new to iControl. I was wondering if anyone had an example of an iControl script that would dump a persistence table (the whole thing) for an existing VS. It's a little unclear to me given the state of the Wiki exactly how to do this effectively -- not sure whether the PersistenceRecord struct is what is returned from a get_persistence_record call directly, or whether you have to set record bounds.
Any help here?
Thanks,
Joel
1 Reply
- LocalLB::VirtualServer::get_persistence_record() is the one you want. The only limitation is that you can only query for one persistence mode at a time.
Give a VS and the persistence mode, that method will return lists of PersistenceRecord structs containing all the persistence record data for that given VS and mode.
Due to the possibly large response size of this method, we recommend you only use one virtual server/mode per method call.
-Joe
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
