Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 07-07-2005
gminorcoles gminorcoles is offline
Registered User
 
Name: George Coles
Organization: QIM LLC
Project: Trading Application
 
Join Date: Jan 2005
Location: Charlottesville, VA
Posts: 11
icepack proxy binding

I am not sure from the icepack docs how I would do the following.

1.Activate and deploy servers to different machines using icepack, remotely. How can I start and stop nodes on differnet hosts from a remote machine? Can the icepack admin tool do that?

2.Bind to instances of the server directly on a given machine. We sometimes require that a specific host be chosen, and I want one node per host. So I would like icepack to give me a proxy from host foo when I ask for it explicitly, not just a proxy from a random host in the configuration.

Thanks,
George Coles
__________________
...
Reply With Quote
  #2 (permalink)  
Old 07-07-2005
bernard's Avatar
bernard bernard is offline
ZeroC Staff
 
Name: Bernard Normier
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Palm Beach Gardens, FL
Posts: 813
Hi George,

To start servers using IcePack on a host, you need to run an IcePackNode on that host. With icepackadmin (or programmatically, using the IcePack API), you can stop an IcePackNode process; however, IcePack can't start IcePackNodes ... the IcePackNode is what IcePack uses to start processes.

For your second question, I am not sure what you're referring to:

Quote:
So I would like icepack to give me a proxy from host foo when I ask for it explicitly, not just a proxy from a random host in the configuration.
The most common lookup performed by IcePack is adapterId to actual endpoints. So far, for a given adapterId, you can only have one server providing these endpoints: IcePack does not pick between several servers, since there is only one.

Cheers,
Bernard
Reply With Quote
  #3 (permalink)  
Old 07-07-2005
gminorcoles gminorcoles is offline
Registered User
 
Name: George Coles
Organization: QIM LLC
Project: Trading Application
 
Join Date: Jan 2005
Location: Charlottesville, VA
Posts: 11
Bernard,
Thanks for the prompt reply. I want to take advantage of icepack's features, but I also want to be able to run instances of a server on specific hosts sometimes. Can the icepack registry give me a proxy for a server that is running on a specific machine?
__________________
...
Reply With Quote
  #4 (permalink)  
Old 07-07-2005
mes's Avatar
mes mes is online now
ZeroC Staff
 
Name: Mark Spruiell
Organization: ZeroC, Inc.
Project: Ice Developer
 
Join Date: Feb 2003
Location: California
Posts: 971
Hi,

IcePack requires each registered object adapter to have a unique id. This means your client could use a stringified proxy of the form "objectIdentity @ AdapterOnHostXYZ" in order to communicate with a servant on host XYZ.

Would that achieve what you want?

Take care,
- Mark
Reply With Quote
  #5 (permalink)  
Old 07-07-2005
gminorcoles gminorcoles is offline
Registered User
 
Name: George Coles
Organization: QIM LLC
Project: Trading Application
 
Join Date: Jan 2005
Location: Charlottesville, VA
Posts: 11
Using the adapter name would, do it, I think. Thanks for the suggestion.
__________________
...
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting Couldn't invoke on the object to get its interface while binding to IcePack jaggu Help Center 7 07-18-2005 05:38 PM
About Direct Binding and Indirect Binding eyexercise Help Center 0 12-02-2004 03:57 AM
Indirect Binding Jennie Help Center 2 11-05-2004 03:19 PM
C# binding, when? shantanu_k06 Comments 1 12-22-2003 04:14 PM
C# binding Claes Comments 2 10-20-2003 05:32 AM


All times are GMT -4. The time now is 06:53 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.