Forum Discussion

maximillean_953's avatar
maximillean_953
Icon for Nimbostratus rankNimbostratus
Aug 06, 2014

Find X node members which nddes with partition

Hi,

 

tmsh list ltm pool I can see pool members with this but on only common partition members. How can i see all pools when i setup everything with partition setup?

 

I want to see all partition pools with tmsh list?

 

2 Replies

  • can you try something like this?

    e.g.

    root@(B6900-R69-S40)(cfg-sync Standalone)(Active)(/Common)(tmos) cd /
    root@(B6900-R69-S40)(cfg-sync Standalone)(Active)(/)(tmos) list ltm recursive pool
    ltm pool Common/foo {
        members {
            Common/200.200.200.101:80 {
                address 200.200.200.101
            }
        }
    }
    ltm pool test1/foo1 {
        members {
            Common/200.200.200.111:80 {
                address 200.200.200.111
            }
        }
        partition test1
    }
    ltm pool test2/foo2 {
        members {
            Common/200.200.200.102:80 {
                address 200.200.200.102
            }
        }
        partition test2
    }
    
  • it does not list all of em. I find the way.

     

    save full config

     

    tmsh save sys config file /tmp/1.txt

     

    then grep from in it and all of em are there.

     

    For example or write correct grep syntax etc. for you is the only way. non ofthe tmsh commands list all partition pools with members at once if you dont specify partition and pool name. It only prints the commons one. I try your command it only lists 10 of em and non of the rest will shown.

     

    cat 1.txt|grep "ltm pool" -A10|grep API01 -B5|grep "ltm pool"