Forum Discussion
Syntax to Map Virtual-Server's Character with Data-Group which Contains Pool Name
Hi Kevin,
Sorry for bothering you, but this is just to clear my doubts as we used to get valuable information from your post and we just admire it.
Kindly let me explain what I understood: 1. As we got to know that in our production environment, we have the below format:
virtual-servername-VS-HTTP(virtual-server name small while VS-HTTP Large) and Pool all in same. Example:
a) Virtual-server : apuat.leni2.com-VS-HTTP , Pool : pool_apuat_leni2.com_http
b) Virtual-server : apbuild.leni2.com-VS-HTTP , Pool : pool_apbuild.leni2.com_http
c) Virtual-server : apctdev.leni2.com-VS-HTTP Pool : pool_apctdev.leni2.com_http
- But in our Irule syntax as per suggestion we are going to use:
[class match [string tolower [virtual]] equals dg_parveez_dynamic_pools]
And as into the Irule we are using "string tolower" , so is that mean we need to add all in lower format into the Data-Group like the below ?( but actually the naming convention in production of VS-HTTP is in capital part., so that is fine right incase we add all in small in Data-group ?)
apuat.leni2.com-vs-http := pool_apuat_leni2.com_http
apbuild.leni2.com-vs-http := pool_apbuild.leni2.com_http
apctdev.leni2.com-vs-http := pool_apctdev.leni2.com_http
- I am more comfortable in GUI than CLI, we in case I go to String Data-Group list to add those:
Than in String section, what is the best format to add those ( can we add as same format) into that ? Will the below exact format will work ? (V.S:=Pool)
apuat.leni2.com-vs-http := pool_apuat_leni2.com_http
- Additional Point: for my own knowledge, incase we have environment where the format of the Virtual-server is not as per the standard( lets say some in capital letter while some in small letter and same with pool, but we need to still match the same requirement, how my Irule part will change ?
I mean the below one:
[class match [string tolower [virtual]] equals dg_parveez_dynamic_pools]
Thanks and Regards Parveez
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com