View Single Post
  #1 (permalink)  
Old 12-13-2005
brian brian is offline
Registered User
 
Name: brian whitney
Organization: boulder research and development
Project: MarketBank
 
Join Date: Oct 2003
Posts: 119
IceGrid 3.0 Admin migration

Unlike IcePack.Admin, IceGrid.Admin does not have addServer() and removeServer() methods. I'm trying to figure out what I need to do to migrate. Neither he 3.0 manual migration guide nor the article about IceGrid migration in the latest issue of Connections mentioned what to do here. I noticed there is an instantiateServer call in 3.0, but it is for "instantiating server templates" which we do not use and the args are vastly different from the old addServer(). In our old call to addServer() we are specifying a node name, serviceName, descriptor file name, and target list.

As far as removeServer() migration, there is a removeServers sequence in the NodeUpdateDescriptor used by the ApplicationUpdateDescriptor set by the IceGrid.Session.updateApplication() method. Is this what we should use now? The old removeServers() call did not require a node name, but just a server name. Is there some other way to remove a server just by name? I saw that icegridadmin still allows one to do this.

Perhaps I missed something in the docs so feel free to point me to existing info. Any help would be greatly appreciated.

Thanks,
Brian
__________________
Brian Whitney
Boulder Research and Development
www.robotrade.com
Reply With Quote