Forum Discussion

wayney_128269's avatar
wayney_128269
Icon for Nimbostratus rankNimbostratus
Aug 09, 2006

findout if bigip pair is synchronized

 

What method would I use to find if an active and standby bigip pair are synchronized?

 

 

thanks

 

wayne
  • I am also wondering this.

     

     

    Looking through the perl sample code, I see the function i pasted below. But when i look in the api, i dont see any get_configuration_checksum for System->ConfigSync?

     

     

    sub checksumConfiguration()

     

    {

     

    my ($configName, $quiet) = (@_);

     

    my $success = 0;

     

     

    if ( "" eq $configName )

     

    {

     

    &usage("checksum");

     

    }

     

     

    eval

     

    {

     

    $soap_response = $ConfigSync->get_configuration_checksum

     

    (

     

    SOAP::Data->name(filename => $configName)

     

    );

     

    };

     

     

    if ( $soap_response and $soap_response->fault )

     

    {

     

    if ( 1 != $quiet )

     

    {

     

    print $soap_response->faultcode, " ", $soap_response->faultstring, "\n";

     

    }

     

    }

     

    else

     

    {

     

    $success = 1;

     

    $checksum = $soap_response->result;

     

    if ( 1 != $quiet )

     

    {

     

    print "Configuration '$sConfigName' checksum: '$checksum'\n";

     

    }

     

    }

     

    return $success;

     

    }

     

     

  • That method was not ported to 9.x. Honestly, I can't recall the reason why but I believe it had something to do with the fact that our configurations are not stored differently than they were on 4.x.

     

    See this post I just did on using db variables to get the configuration's last timestamp:

     

    http://devcentral.f5.com/Default.aspx?tabid=53&forumid=1&postid=11038&view=topic

     

    Click here

     

    -Joe