Forum Discussion

VFB's avatar
VFB
Icon for Cirrus rankCirrus
Apr 02, 2014

Viewing GTM cluster and synchronization

I'm setting up 2 stand alone GTM's and did the gtm_add but what I don't understand it when I create a wide IP or a pool, it doesn't replicate to the other standalone device. Both devices can see each other and I can do a dig on a DNS entry I've created. I'm also curious about a command or window in the GUI that I can see the other GTM's I've added to the cluster? thanks in advance

 

8 Replies

  • uni's avatar
    uni
    Icon for Altostratus rankAltostratus

    To see what GTMs are connected, use

    netstat -anp | grep "ESTABLISHED.*big3d"
    This will show all nodes in a working GTM cluster

    • VFB's avatar
      VFB
      Icon for Cirrus rankCirrus
      Thanks uni. My device didn't like the command so I shortened it to netstat -anp | grep big3d and it worked like a charm
  • I was able to figure out the sync issue ( system >> configuration >> global traffic and enable sync button at the top). The looming question now is to actually see how many GTM's are sync'd together.
  • Unfortunately, there isn't an easy way to do this with GTM sync groups. About the only thing you can do is check log messages to see which devices have joined/left the sync group. Messages would appear in /var/log/gtm and look like this:

     

    gtmd[11895]: 011a5008:1: SNMP_TRAP: BIG-IP GTM /Common/ () joined sync group default

     

    And you can see if synchronizations are occurring by checking /var/log/ltm and looking for messages like this one:

     

    Mar 20 18:37:05 hostname notice mcpd[6608]: 010714a0:5: Sync of device group /Common/gtm to commit id 263 5992942257632424507 /Common/hostname 0 from device complete.

     

    • VFB's avatar
      VFB
      Icon for Cirrus rankCirrus
      Thanks Cory. It's a bit depressing not being able to see that to be honest. Even Cisco got that piece right with their GSS devices.
    • Cory_50405's avatar
      Cory_50405
      Icon for Noctilucent rankNoctilucent
      The feature would certainly be well received if they decided to implement. We encountered an issue where a code upgrade caused GTM sync to break (think it was in 11.1). So with four GTM sync group members, something like this would have been great.
  • To see what GTMs are connected, use

    netstat -anp | grep "ESTABLISHED.*big3d"
    This will show all nodes in a working GTM cluster

    • VFB's avatar
      VFB
      Icon for Cirrus rankCirrus
      Thanks uni. My device didn't like the command so I shortened it to netstat -anp | grep big3d and it worked like a charm