Forum Discussion
Syntax to Map Virtual-Server's Character with Data-Group which Contains Pool Name
Hi Kevin,
Awesome, getting cool concepts. Ok a final summarization:
A. Case 1 : Irule format:( using the below)
[class match [virtual] equals dg_parveez_dynamic_pools]
So, into this case my String Data-Group can be added as the original format correct ?
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
B. Case 2; Irule format:( using the below)
[class match [string tolower [virtual]] equals dg_parveez_dynamic_pools]
So, in this case my String Data-Group should be added as the lower format. But our requirement still works right despite of the Capital segment of the Virtual-Server Part in Production environment ?
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
C.Thirdly : while adding this String-Data-Group up from GUI , kindly verify the steps:
1.On the Main tab of the navigation pane, expand Local Traffic, and click iRules. The iRules screen opens. 2.On the menu bar, click Data Group List. 3.In the upper right corner of the screen, click Create. 4.In the Name box, type a unique name for the data group, such as dg_parveez_dynamic_pools. 5.In the Type box, select String. The screen expands to show the string-specific settings. 6.In the String box, type the first string for the data group. 7.Click Add. 8.Click Finished.
While adding the same is the format good ? Concentrating into := , is that correct.
apuat.leni2.com-vs-http := pool_apuat_leni2.com_http
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