Archived

This forum has been archived. Please start a new discussion on GitHub.

about configration about icegrid!

hi:
Now I have some troubles.
There are three hosts such as Node1,Node2,Node3.
The client is on the host Node1.
The server1 is on the host Node2.
The registry is ont the host Node2. The directory for registry is f:\server\db\registry
The server2 is on the host Node3.



I set the property Ice.Default.Locator as IceGrid/Locator:default -h host2 -p 12000 for the client.

How can i config the following properties for server2:
Ice.Default.Locator=
IceGrid.Registry.Client.Endpoints=
IceGrid.Registry.Server.Endpoints=
IceGrid.Registry.Internal.Endpoints=
IceGrid.Registry.Admin.Endpoints=
IceGrid.Registry.Data=

#
# IceGrid node configuration.
#
IceGrid.Node.Name=
IceGrid.Node.Endpoints=
IceGrid.Node.Data=
IceGrid.Node.CollocateRegistry=


When edit the element server in the file XML, the property exe is the physical path of executable on the node?
eg. For Node2,exe="f:\server\server.exe"
For Node3,exe="d:\bin\server.exe"
Is it right?
Thank you!

Comments

  • matthew
    matthew NL, Canada
    You should look at the article I wrote on IcePack in Connections to find out how to set the configuration properties (or the Ice manual).

    The exe property is as you say. However, its generally simpler to either use the same directory structure on each node, or to add the directory containing the executable into the PATH so that the exe element can be the same on all nodes.
  • Ok

    I see,thank you very much!