Forum Discussion

e0013192_143645's avatar
e0013192_143645
Icon for Nimbostratus rankNimbostratus
Mar 07, 2017

Performance (Layer4) VS

Can I please get some help with creating an iApp that will create a Performance (Layer4) virtual server? Is there an example somewhere?

 

5 Replies

  • Is your question related to the format of the TMSH command that will create a Performance (Layer 4) - or fastL4 - virtual server? Or do you need help in creating the iApp itself? You could duplicate the iApp template and just change the tmsh command that creates the virtual to eliminate the TCP protocol profile it assigns by default. (When you create a virtual using TMSH, if you don't specify a protocol profile, it creates a fastL4 virtual by default.)

     

  • This is pretty simple - create a template of the virtual server that you want, grab the config and work out the relevant tmsh command to create it and within the iApp implementation section create it with tmsh::create ltm virtual $name destination ....

     

    I'm sure that you appreciate that a Performance Layer 4 VS requires the fastl4 profile.

     

  • is this what your saying I should remove ip-protocol tcp? Sorry I'm still working to understand the iApp. If this is all I have to remove how can I tell its really a layer4 virtual? I did remove the ip-protocol tcp and I didn't see any difference in the actual virtual server configuration.

     

  • Open the iApp, go to line 1918 and find the VIRTUAL SERVERS section. This is where the virtual servers are created.

     

    Add the fastl4 profile to the profiles sections:

     

    profiles replace-all-with { $vs_profiles fastl4 }

     

  • what am I missing? Line 1918 is not related to the virtual servers. I do see the line profiles replace-all-with { $vs_profiles } in the array vs_arr. There are 4 statements that include this so which one do I change. The 1,1 also includes a redirect and the profile is already set to http which I assume is related to the redirect vs.