Forum Discussion

Ed_27382's avatar
Ed_27382
Icon for Nimbostratus rankNimbostratus
Jan 23, 2014

F5 Primary/Standby and iControl

Hey quick questing, I am writing an icontrol script to easily toggle members on and off. The script I downloaded from devcentral works great just making some enhancements to it.

However my F5 Administrator said that I need to sync the configuration changes after I toggle the state of a member to the secondary server. This does not sound correct to me, but I have been known to be wrong. Can someone help shed some light on why I also need to sync a configuration change when I am only doing a:

 $MemberSessionState =
    {
            member => $member,
            session_state => $toggleState,
            monitor_state => $toggleState
    };
    push @MemberSessionStateList, $MemberSessionState;
    push @MemberSessionStateLists, [@MemberSessionStateList];

Thanks

Ed

2 Replies

  • Since it's actually performing a configuration change on the active unit by disabling a pool member, the configurations between the active/standby pair become out of sync. If a primary unit failure were to happen, then your standby unit wouldn't have the most updated configuration.

     

  • Ok, weird but guess I have to accept the answer. I'll have to add a sync process at the end of the disable/enable process.

     

    Thanks