Forum Discussion

rafaelbn_176840's avatar
rafaelbn_176840
Icon for Altocumulus rankAltocumulus
Aug 23, 2018

BIG-IP LTM - Usefull CLI health check commands

Hello Devs!

I'm trying to come up with a good list of CLI commands to do a health check on a BIG-IP LTM. The idea is to run all the commands on a BIG-IP to see if it's OK before/after a manual failover.

Here is what I came up with so far. I would love to hear what you guys think.

<> Check system CPU usage
tmsh show sys cpu

<> Check traffic-group active/standby mapping
tmsh show cm traffic-group

<> Check connection mirror process
tmsh show sys ha-mirror

<> Check sync status
tmsh show cm sync-status

<> Check how many current connections are up in every VS in all partitions
tmsh show ltm virtual /*/* | grep "Ltm::Virtual\|Availability\|Current Connections"

Any suggestions?

Thanks! Rafael

3 Replies

  • there are many...

    tmsh show sys memory // Check memory usage
    tmsh show sys cluster // Check status of slots from a guest
    tmsh show cm failover-status // Check failover status
    tmsh show sys disk // Check disk
    tmsh show sys raid // Check raid
    tmsh show sys hardware // Here you have info about status of power supply
    

    KR, Dario.

  • This sounds of more useful.

     

    So could you guys also list of cli commands for bigip health check that could be used before/after replacement of f5 bigip ltm/gtm

     

    • DarioGB_339840's avatar
      DarioGB_339840
      Icon for Altostratus rankAltostratus

      All mentioned commands are good. Also, you can use:

       

      tmsh show sys connection // check current open connections
      tmsh show ltm persistence persist-records // Check persist records
      tmsh show sys traffic // check statistics of traffic
      tmsh show sys tmm-traffic // check statistics of traffic at TMM
      tmsh show sys pva-traffic // check statistics of traffic at PVA
      tmsh show sys ip-stat // check statistics of IP traffic
      tmsh show sys icmp-stat // check statistics of ICMP traffic
      tmsh show sys performance  // check statistics of performance
      tmsh show sys mcp-state // show status of MCP
      tmsh show sys proc-info // check info of processes
      tmsh show sys log  // check logs (ltm, apm, gtm, audit,...)
      tmsh show net arp // show ARP table
      tmsh show net route // show Routing table
      tmsh show sys ip-address // show IP configured in BigIP
      

      There are many manual to troubleshoot LTM/GTM modules that you can use to perform a heath check.

       

      LTM -> https://devcentral.f5.com/s/articles/troubleshooting-big-ip-the-basics-24595

       

      GTM -> https://support.f5.com/csp/article/K13690

       

      ConfigSync -> https://support.f5.com/csp/article/K13946

       

      Failover -> https://support.f5.com/csp/article/K95002127

       

      KR, Dario.