Forum Discussion

Jeff_46763's avatar
Jeff_46763
Icon for Nimbostratus rankNimbostratus
Jun 09, 2014

TMSH Persistence and Server TCP profile command help

Hi all,

 

I have to create my VIP's over TMSH for our 3rd party to copy/paste the config in (won't do GUI). I'm fairly new to the TMSH, but stuck on how to create a custom persistence profile and apply to the VIP....Also how to create a server side TCP-LAN-Optimization profile and apply to the VIP. I can do the Client side, just server side is getting me a "duplicate profile exists error" see below for what I'm doing....wrong. Thanks.

 

tmsh create ltm virtual OEM12PROD_AgentRegistration_4889 destination x.x.x.x:yyyy profiles add { tcp-lan-optimized } profiles add { tcp-wan-optimized } pool OEM12PROD_AgentReg_4889 description "This is the Virtual Server for the Agent Registration service" snatpool ITSHAREDSVC_PROD_2040_NAT

 

3 Replies

  • tmsh create ltm virtual OEM12PROD_AgentRegistration_4889 destination x.x.x.x:yyyy profiles add { tcp-lan-optimized {context serverside}} profiles add { tcp-wan-optimized {context clientside}} pool OEM12PROD_AgentReg_4889 description "This is the Virtual Server for the Agent Registration service" snatpool ITSHAREDSVC_PROD_2040_NAT persist replace-all-with { somepersistence profile }

     

  • Thank you. What does the "replace-all-with" replace? My options are "none" or a "custom profile". When I hear "replace all", I'm thinking that its literally replacing everything I have in config....maybe taking it too literally.

     

    • Eric_St__John's avatar
      Eric_St__John
      Icon for Employee rankEmployee
      It will replace all existing profiles of the type your are using that command with, with the one you entered. So, if you had an existing persistence profile assigned to that virtual server, it would replace it with 'somepersistenceprofile'.