Forum Discussion
qqdixf5_74186
Nimbostratus
Jun 12, 2008Change vs' http profile
We have a virtual server using an iRule that requires the vs has a http profile associated to it. Now I am working on an application that changes virtual server settings, including reset http profile. My question is, how can I change vs' http profile using iControl? qq
I see LocalLBVirtualServer has two methods, add_profile() and remove_profile(). I was trying to remove the old profile and then add the new profile. However, removal operation fails because the iRule requires a http profile. But, I can't simply add the new profile since I am getting a "duplicate profile" error.
Is there any other method available that can make this work? Thank you!
2 Replies
Sort By
- hoolio
Cirrostratus
Could you remove the rule, then the HTTP profile, add the new HTTP profile and then the rule? - qqdixf5_74186
Nimbostratus
sure, I can do that. I was wondering if there is a cleaner way to do that.
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects