Forum Discussion

Amrit_Lalli_952's avatar
Amrit_Lalli_952
Icon for Nimbostratus rankNimbostratus
Nov 01, 2006

How to find out if ACTIVE, and STANDBY BigIp's are in Sync

1) Is there a way through the iControl Api to determine if a high availability pair of bigip's are in Sync?

 

 

I have saved the base config (SAVE_BASE_LEVEL_CONFIG)

 

And then i am downloading that, and doing a checksum on it from the ACTIVE, and STANDBY bigip's, but i guess that was a bad idea, since those configs will always be different.

 

 

Is there another way to do this?

 

 

 

2)

 

Also, I am able to save configuration for:

 

-SAVE_BASE_LEVEL_CONFIG

 

But it is not saving the configuration for:

 

-SAVE_HIGH_LEVEL_CONFIG or

 

-SAVE_FULL

 

 

this is how i am doing it.

 

 

$client->save_configuration("/var/tmp/myTestFile_base", "SAVE_BASE_LEVEL_CONFIG");

 

$client->save_configuration("/var/tmp/myTestFile_high", "SAVE_HIGH_LEVEL_CONFIG");

 

 

It is not giving me an error for the HIGH LEVEL one, but it isnt producing the file.

 

 

Thanks,

 

 

Amrit
  • I think i figured out my first question.

     

     

    I need to download config/bigip.conf, and then compare those on both bigip's.

     

     

    Which i have done, and that seems to be working.
  • If i have an ACTIVE bigip (A), and a STANDBY bigip (B)

     

     

    IF i connect to B, via Icontrol, and issue a syncronize_configuration,

     

     

    Does copy A's Confuration to B ?

     

     

     

    What affects what gets copied to what.

     

     

    Active to Standby

     

     

    or is it The bigip the command is issued on, to the other one (or vice versa) ?

     

     

     

    Thx

     

     

     

    Amrit
  • That didnt quite work. I still need to know how to save the configuration, and then get the updated one. (which wasnt working for me).
  • I thought this would work for a sec, It still might,

     

     

    These two ARE in Sync (

     

     

    ACTIVE

     

    Array

     

    (

     

    [Configsync.PeerConfigTime] => 1162410407

     

    [Configsync.LocalSyncedTime] => 1162410407

     

    [Configsync.LocalConfigTime] => 1162405913

     

    )

     

     

    STANDBY

     

    Array

     

    (

     

    [Configsync.PeerConfigTime] => 1162410415

     

    [Configsync.LocalSyncedTime] => 1162410415

     

    [Configsync.LocalConfigTime] => 1162410412

     

    )

     

     

    These two ARE NOT in Sync (

     

    ACTIVE

     

    Array

     

    (

     

    [Configsync.PeerConfigTime] => 1162513630

     

    [Configsync.LocalSyncedTime] => 1162512489

     

    [Configsync.LocalConfigTime] => 1162441835

     

    )

     

     

    STANDBY

     

    Array

     

    (

     

    [Configsync.PeerConfigTime] => 1162512489

     

    [Configsync.LocalSyncedTime] => 1162512489

     

    [Configsync.LocalConfigTime] => 1162513625

     

    )

     

     

     

    In your message you said to make sure the localConfigTime is equal to the PeerConfigTime (As you can see this is doesnt ever seem to be the case, even when they are in sync)

     

     

    You didnt mean if LocalSyncedTime == PeerConfigTime, did you?