Forum Discussion

Bryan_T_'s avatar
Mar 13, 2018

Need to find a DNS command

I'm trying to find the tmsh command (12.1.2) to change the member order in a GTM pool that uses global-availability.

 

This is as far as I can get:

 

modify gtm pool a /Common/pool_1 members modify {/Common/webserver1_vs}

 

1 Reply

  • I dont have a v12 to test it. But it should be same across all version,

    Please try the below:

    tmsh modify gtm pool gtm_pool_name members modify { 1.1.1.1:1_1_1_1_80 { order 1 } 2.2.2.2:2_2_2_2_80 { order 0 } }

    (/Common)(tmos) list gtm pool gtm_pool_name                           
    gtm pool gtm_pool_name {
        members {
            1.1.1.1:1_1_1_1_80 {
                order 0
            }
            2.2.2.2:2_2_2_2_80 {
                order 1
            }
        }
    }
    (/Common)(tmos) modify gtm pool gtm_pool_name members modify { 1.1.1.1:1_1_1_1_80 { order 1 } 2.2.2.2:2_2_2_2_80 { order 0 } }
    (/Common)(tmos) list gtm pool gtm_pool_name
    gtm pool gtm_pool_name {
    members {
        1.1.1.1:1_1_1_1_80 {
            order 1
        }
        2.2.2.2:2_2_2_2_80 {
            order 0
        }
    }
    }