Forum Discussion
hotrod_127503
Nimbostratus
Jan 04, 2005Best Practice for Sync Between Primary and Failover
I am writing an auto-registration service that will allow machines to add themselves to the Load Balancer. Due to the transactional nature of this process, I am never quite sure when everyone is regi...
Eray_27463
Nimbostratus
Mar 12, 2008Thanks for your answer.
I've tried;
public void SynchNow()
{
if (this.F5Interface.SystemFailover.is_redundant())
{
this.F5Interface.SystemConfigSync.synchronize_configuration(
iControl.SystemConfigSyncSyncMode.CONFIGSYNC_ALL);
}
}
The problem is I am always getting a "timeout exception". First of all if I am only changing the state/availability of a pool member do I need to use;
SYNCMODE_BASIC or SYNCMODE_ALL? If I have to use SYNCMODE_ALL, do I need to change the Timeout variable?
Is synch operation "only" updating the difference between config files, or does it copy the whole config file?
Here's what I got If I go to High Availability->Config Sync;
ConfigSync Peer Use Primary Connection Mirror AddressSpecify IP Address...
ConfigSync Peer Address x.x.x.x
ConfigSync Peer Address
ConfigSync User Name: xxx
Password:
Encryption offon
Passphrase
Verify Passphrase
Detect ConfigSync Status Enabled
Status Message Local configuration and peer configuration have changed: Duplicate the changes, then perform ConfigSync
Last Change (Self) Wed Mar 12 06:59:48 PDT 2008
Last Change (Peer) Thu Mar 06 14:12:53 PST 2008
Last ConfigSync Tue Feb 19 14:10:05 PST 2008
Couple of questions here;
What does ""Local configuration and peer configuration have changed: Duplicate the changes, then perform ConfigSync " means?
Can I do a "Synch" operation only if I am a "ConfigSync User"?
Thanks,
Eray
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