Forum Discussion
Kumar_107292
Nimbostratus
Oct 03, 2012What does root folder mean when it comes to vertual server Create
Hi
I have some code where I am creating a LoadBalancer configuration.. It used to work pretty well but when I upgraded my iControl from 10 to 11 i am getting some sort of errors.
Now this i...
John_Gruber_432
Oct 03, 2012Historic F5 Account
The behavior did change. In v11, objects are separted into Folders. It his how applicaiton level objects are grouped for iApps and other mechanisms which are looking at partitioning configuration objects for management. You will also notice that in v11, the Folder reference is prefixed to object names from get_list. Each iControl interface has a get_version method you can check to see if you are v10 or v11.
The error you are getting states that your current active folder is "/". You can not create virtual servers in "/". That's not a valid Folder location for virtual service objects.
There will always a /Common folder. If your intent is to create a virtual in the Common partition, then use System::Session::set_active_folder method to set the Folder to '/Common' before you create your virtual service.
If your intent was to create a virtual service in a specific Partition which is not Common, then use the System::Session::set_active_folder method to set the Folder to '/[Partition name]' before you create your virtual service.
John
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
