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 07, 2008I have an Automated F5 Draining solution that would drain our servers. When I wrote this I assumed there was only 1 F5. But now I've realized in production environment, we would have 2 F5(1 Active and 1 standby).
So I was trying to figure out how should I change my design.
I thought I'll always get both(active and passive) F5 APi's address.
- First figure out which one is active.
- Do all my operations in active F5
- Do a Synch operation
This's going to be my constructor;
public F5API(String loadBalancerAddress1, String loadBalancerAddress2, String userName, String password)
{
F5Interface.initialize(loadBalancerAddress1, userName, password);
if (F5nterface.SystemFailover.get_failover_state() == iControl.SystemFailoverFailoverState.FAILOVER_STATE_STANDBY)
{
F5interface.initialize(loadBalancerAddress2, username, password);
if (F5nterface.SystemFailover.get_failover_state() != iControl.SystemFailoverFailoverState.FAILOVER_STATE_ACTIVE)
{
throw new Exception("No active F5's found");
}
}
}
After I do my operations, how do I synch with StandBy F5?( How do I do it in c??) Or do we have "auto-configsync" right now and I don't have to do anything.
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