Results 1 to 5 of 5

Thread: icepack proxy binding

  1. #1
    gminorcoles is offline Registered User
    Name: George Coles
    Organization: QIM LLC
    Project: Trading Application
    Join Date
    Jan 2005
    Location
    Charlottesville, VA
    Posts
    14

    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
    ...

  2. #2
    bernard's Avatar
    bernard is offline ZeroC Staff
    Name: Bernard Normier
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Palm Beach Gardens, FL
    Posts
    1,294
    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:

    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

  3. #3
    gminorcoles is offline Registered User
    Name: George Coles
    Organization: QIM LLC
    Project: Trading Application
    Join Date
    Jan 2005
    Location
    Charlottesville, VA
    Posts
    14
    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?
    ...

  4. #4
    mes's Avatar
    mes
    mes is offline ZeroC Staff
    Name: Mark Spruiell
    Organization: ZeroC, Inc.
    Project: Ice Developer
    Join Date
    Feb 2003
    Location
    California
    Posts
    1,441
    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

  5. #5
    gminorcoles is offline Registered User
    Name: George Coles
    Organization: QIM LLC
    Project: Trading Application
    Join Date
    Jan 2005
    Location
    Charlottesville, VA
    Posts
    14
    Using the adapter name would, do it, I think. Thanks for the suggestion.
    ...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Indirect Binding
    By Jennie in forum Help Center
    Replies: 5
    Last Post: 10-19-2011, 03:00 PM
  2. Replies: 7
    Last Post: 07-18-2005, 04:38 PM
  3. About Direct Binding and Indirect Binding
    By eyexercise in forum Help Center
    Replies: 0
    Last Post: 12-02-2004, 02:57 AM
  4. C# binding, when?
    By shantanu_k06 in forum Comments
    Replies: 1
    Last Post: 12-22-2003, 03:14 PM
  5. C# binding
    By Claes in forum Comments
    Replies: 2
    Last Post: 10-20-2003, 04:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •