Forum Discussion
Creating an iRule Data Group via bigpipe?
Is there a way to create a Data Group for an iRule via a bigpipe command like I can for pools?
Maybe something like: bigpipe datagroup Name {members 1.2.3.4 2.3.4.5 3.4.5.6}
I need to update an existing one to replace the current IP list with a new list. I don't know if I can delete the group first if it's accessed in a working iRule or not as well.
Thanks.
3 Replies
- StephanManthey
Nacreous
A while ago I was struggeling with creating a new datagroup via bigpipe.
There is a man page about it. But didnt work for me.
I would recommend to get an excerpt of your current datagroup stored in /config/bigip.conf and to create an adjusted version with a new name in a file to be stored in /var/tmp/my_new_data_group.
You can merge it into your running configuration with:
bigpipe merge /var/tmp/my_new_data_groupSave the configuration:
bigpipe saveNow you can replace the referenced data group in your iRule. New connections should be handled by the iRule according to the updated datagroup.
- hoolio
Cirrostratus
Here are a couple of articles from Jason Rahm on data group formatting for v10 and v11:
https://devcentral.f5.com/articles/irules-data-group-formatting-rules (v10) https://devcentral.f5.com/articles/v11-irules-data-group-updates
https://devcentral.f5.com/questions/adding-string-members-into-an-internal-class-in-v101
The bigpipe guide should have more info as well.
Aaron
- kelemvor_50002
Nimbostratus
So I got it to work on one of our F5s since it's older and supports Bigpipe. However our newer one doesn't support bigpipe any more. :(
I guess I have to go read up on tmsh...
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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