Forum Discussion
verlocs_96134
Aug 16, 2012Nimbostratus
VirtualServer: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
The 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.)
Prakash_Krishna
Apr 02, 2014Nimbostratus
Hi Todd and All,
I tried with transactions also by putting "remove and add" profiles into the same transaction, even then getting same error.And i am following the same thing like "verlocs"(remove profile followed by add profiles)
It helps me only in executing the subsequent commands when i get the error in add profile, but i just wanted to modify the protocols and profiles of a particular Virtual server. Do i have any other option to overcome this.
Regards,
Prakash.K
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