Forum Discussion
Search for a string in ProxyPass Data group List
I'm using the proxypass IRule (TMOS13.x) to migrate 1200 apache vhosts. We plan to use not more than 20 vservers. I would like to find a simple method to search for a particular host:
www.example.com/ := www.example.com 192.168.12.105:80
www.example.org/ := www.example.org 192.168.23.105:81
www.you.me/ := www.you.me 192.168.21.1.36:88
You can find it by viewing the content of the String Records in the Data Group List. I'm afraid that this mode of operation can somehow raise problems for some colleagues without skills. The search mode should be used by people with few skills. Is there any way suitable for the purpose?
Regards Michele MasèHi,
Can you copy a link to that proxypass irule ?
You can develop an irule that display the content of your data group. You can add an html or js search input. You can also search for string in data group using tmsh :
tmsh list ltm data-group internal dg-name records { record_name }
Regards
Yann
- Michele_Masè_36
Nimbostratus
- Michele_Masè_36
Nimbostratus
- Yann_Desmarest_
Nacreous
Hi,
Can you copy a link to that proxypass irule ?
You can develop an irule that display the content of your data group. You can add an html or js search input. You can also search for string in data group using tmsh :
tmsh list ltm data-group internal dg-name records { record_name }
Regards
Yann
- Michele_Masè_36
Nimbostratus
- Michele_Masè_36
Nimbostratus
- Michele_Masè_36
Nimbostratus
I've found a 2 step solution.
tmsh list ltm data-group internal|awk '/data-group/ {print $4}' show all data group list tmsh list ltm data-group internal my_data_group records|awk -F'"' '/data/ {print $2}' print the content
But it is still not usable for some colleagues. Better ideas? Regards Michele MAsè
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