Forum Discussion

vince1337_31232's avatar
vince1337_31232
Icon for Nimbostratus rankNimbostratus
Oct 31, 2018

GTM How to replace virtual-server destination ?

Hello,

 

I would like to know if there is a better solution than deleting object and recreate it ? I just want to modify "destination X.X.X.X:https" under "virtual-servers" from a "server" on my GTM Module.

 

Example : list gtm server my_server virtual-servers { /common/my_vs { destination x.x.x.x:https }

 

Thanks for your help

 

Vince

 

3 Replies

  • Hi

     

    Does this work....?

     

    modify gtm server my_server virtual-servers modify { my_vs { destination x.x.x.x:xx} }

     

  • Hello Guys, So here is my solution :

     

    modify gtm server "your_server" virtual-servers delete { "your_virtual_server" }

     

    modify gtm server "your_server" virtual-servers add { "your_virtual_server" { all_your_new_properties } }

     

    modify gtm pool "your_GTM_pool members add { "your_server":"your_virtual_server" { order x } }

     

    Vince