Forum Discussion

bes_newer_14056's avatar
bes_newer_14056
Icon for Nimbostratus rankNimbostratus
Feb 12, 2014

How can I update the VirtualServer using IControl?

   The VirtualServer::Create method API says: Creates or updates virtual servers from the specified resources. Takes additional, optional parameters that enable you to override the default optional values. How can I update virtual server? I always get the error message 'The requested virtual server (xxxx) already exists in partition Common'. I want to update lots of properties once time. Does anyone know of anything that can help me? thx~

3 Replies

  • It all depends on what you are wanting to update.

     

    Go here: LocalLB::VirtualServer

     

    Look at the set options which will require you to input the Virtual Server that you are wanting to set the properties on. You cannot use the Create Options for an existing item (if you want to go down that road and create it from scratch you will need to delete it first).

     

  • Michael, Thanks for the clarification. I see the LocalLB::VirtualServer::create method, Perhaps the description of the create method is ambiguous.