Forum Discussion
Enabling ASM profile from iRule fails
- Jul 20, 2022
Thanks for replying, what is your current BIGIP version?
Do you happen to see this message in /var/log/ts/bd.log as well?
did not receive account configuration after 600 seconds
If you see this you the cause might be BUG ID850673
Also, is the policy name shown as expected in bigip.conf file? Does this only happen on test policy or is it the same for all names? Since you said this is a test policy, have you tried deleting it and creating a new one?
Any reason why you are doing this in an iRule and not the Local Traffic Policy?
I know iRules are often still much more flexible, but specifically for this purpose of switching pool/policy based on hostname, I find the LTM policies very straight forward.
Not sure if this would fix your problem, but maybe worth a try.
Well that would probably work just as fine, but it would mean we´d need to mantain the logic in the policy, whereas this way we just need to add a hostname to the data class and create the pool and asm policy for everything to work. Also the pool part is already working and fully automated. Moving to LTM policies would imply refactoring all our automatisms.
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