服务器配置
#
# The IceGrid instance name.
#
IceGrid.InstanceName=DemoIceGrid
#
# The IceGrid locator proxy.
#
Ice.Default.Locator=DemoIceGrid/Locator:default -p 4061
#
# IceGrid registry configuration.
#
IceGrid.Registry.Client.Endpoints=default -p 4061
IceGrid.Registry.Server.Endpoints=default
IceGrid.Registry.Internal.Endpoints=default
IceGrid.Registry.Data=db/registry
IceGrid.Registry.PermissionsVerifier=DemoIceGrid/NullPermissionsVerifier
IceGrid.Registry.AdminPermissionsVerifier=DemoIceGrid/NullPermissionsVerifier
IceGrid.Registry.SSLPermissionsVerifier=DemoIceGrid/NullSSLPermissionsVerifier
IceGrid.Registry.AdminSSLPermissionsVerifier=DemoIceGrid/NullSSLPermissionsVerifier
IceGrid.Node.Data=db/node
IceGrid.Node.Endpoints=default
IceGrid.Node.Name = 192.168.1.2//服务器地址
IceGrid.Node.CollocateRegistry=1//主服务器注册为1
启动服务器:icegridnode --Ice.Config=config2.grid
从服务端配置
#
# The IceGrid instance name.
#
IceGrid.InstanceName=Easyca
#
# The IceGrid locator proxy.
#
Ice.Default.Locator=DemoIceGrid/Locator:default -h 192.168.1.2 -p 4061//连接到主服务器
#
# IceGrid registry configuration.
#
IceGrid.Registry.Client.Endpoints=default -p 4061
IceGrid.Registry.Server.Endpoints=default
IceGrid.Registry.Internal.Endpoints=default
IceGrid.Registry.Data=db/registry
IceGrid.Registry.PermissionsVerifier=Easyca/NullPermissionsVerifier
IceGrid.Registry.AdminPermissionsVerifier=Easyca/NullPermissionsVerifier
IceGrid.Registry.SSLPermissionsVerifier=Easyca/NullSSLPermissionsVerifier
IceGrid.Registry.AdminSSLPermissionsVerifier=Easyca/NullSSLPermissionsVerifier
#
# IceGrid node configuration.
#
IceGrid.Node.Name=192.168.1.60
IceGrid.Node.Endpoints=default
IceGrid.Node.Data=db/node
IceGrid.Node.CollocateRegistry=0
#IceGrid.Node.Output=db
#IceGrid.Node.RedirectErrToOut=1
#
# Trace properties.
#
IceGrid.Node.Trace.Activator=1
#IceGrid.Node.Trace.Adapter=2
#IceGrid.Node.Trace.Server=3
#
# Dummy username and password for icegridadmin.
#
IceGridAdmin.Username=foo
IceGridAdmin.Password=bar
启动从服务端:icegridnode --Ice.Config=config.grid
于是就可以了