Forum Discussion
verlocs_96134
Nimbostratus
Aug 16, 2012VirtualServer:add_profile cannot set a new client protocol profile
I've been writing a script that will need to replace the protocol profile (both server and client) on a large number of existing virtual servers.
I've found that when you attempt to add a ...
Todd_Cromwell_9
Nimbostratus
Dec 07, 2012The wrinkle I remember here is that the system internally adds a default profile when you delete the last profile on the VS. It sounds like that is what you are experiencing.
If you have version 11 or later of BIG-IP, you could get around this problem by using a transaction: remove the profiles and add the ones you want, all in the same transaction. (We generally try not to require the use of transactions in the iControl interface, so we try and put in "convenience methods" that do all the stuff you'd put into the transaction, even if those methods are sometime regrettably complex, but we have not yet added replace methods to most of the interfaces in which they'd be appropriate.)
Dhana_02_288024
Nimbostratus
May 25, 2017I am running in to the same problem, After running remove and add I am getting the duplicate entry.
If any one know the solution please post it.
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