Learn F5 Technologies, Get Answers & Share Community Solutions Join DevCentral

Filter by:
  • Solution
  • Technology
Answers

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}

0
Rate this Question

Answers to this Question

placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

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
    }
}
}
0
Comments on this Answer
Comment made 13-Mar-2018 by bryan 69

Modified that a bit and found it

tmsh modify gtm pool a googleyahoo_pool members modify { dc1labltm:/Common/google_redirect_vs { member-order 0 } dc1labltm:/Common/yahoo_redirect_vs { member-order 1 } }

0