Forum Discussion
OTS02
Mar 30, 2009Cirrus
dump persistence records
Is it possible to dump the persistence records to a file, using iConntrol? I am using source ip affinity persistence.
Viewing persistence records fro the GUI, generates the following sy...
Apr 07, 2009
The second parameter to get_persistence_record is a 1-d array of PersistenceMode's, also, you have a bunch of extra variables in there you don't need. The code can be reduced to this.
private void b_persistence_Click(object sender, EventArgs e)
{
string[] vsname1 = new string[] { "Bolifo_COMM_PL4-12340" };
iControl.LocalLBPersistenceMode[] vs_persmodes =
new iControl.LocalLBPersistenceMode[]
{ iControl.LocalLBPersistenceMode.PERSISTENCE_MODE_DESTINATION_ADDRESS_AFFINITY };
iControl.LocalLBPersistenceRecord[][] persistence_records =
m_interfaces.LocalLBVirtualServer.get_persistence_record(vsname1, vs_persmodes);
}
Hope this helps...
-Joe
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