Forum Discussion

wayney_128269's avatar
wayney_128269
Icon for Nimbostratus rankNimbostratus
Oct 21, 2004

How to sync Primary and Failover BIGIP?

Hello,

 

 

How do I force a sync of configuration between the primary and secondary BIGIP devices?

 

 

thanks

 

Wayne

3 Replies

  • You are looking for the System::ConfigSync::synchronize_configuration() method.

     
     Enum SyncMode { 
         // Synchronizes only basic configuration, 
         // such as /config/bigip.conf.    
         CONFIGSYNC_BASIC = 0,  
         // Synchonizes all common files in /config, 
         // all common files in /etc, all common BIG/db 
         // keys, and any other information deemed 
         // necessary for a complete system configuration.    
         CONFIGSYNC_ALL = 1 
     }; 
     void synchronize_configuration( 
         in SyncMode sync_flag 
     );

    -Joe
  • Can anyone help me write a similar statement for python

     

     

    So far i have:

     

    systemConfigSync = pc.BIGIP(hostname=cluster,username=soapUser,password=soapPasswd,fromurl=True,wsdls=['System.ConfigSync'])

     

    systemConfigSync.System.ConfigSync.synchronize_configuration(systemConfigSync.System.ConfigSync.SyncMode.CONFIGSYNC_BASIC)

     

     

    but i get a 'object has no attribute SyncMode'

     

     

    Thx,

     

     

    Jim