Archived

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

IceGrid - Run Registry and Node on the same Computer

Is it possible to run icegridregistry and icegridnode on the same computer ?

I'm using 3 files :
config.client - for the client
#
# The IceGrid locator proxy.
#
Ice.Default.Locator=DemoIceGrid/Locator:default -p 12000
config.grid - for the registry
IceGrid.InstanceName=DemoIceGrid

#
# The IceGrid locator proxy.
#
Ice.Default.Locator=DemoIceGrid/Locator:default -p 12000

#
# IceGrid registry configuration.
#
IceGrid.Registry.Client.Endpoints=default -p 12000
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 configuration.
#
IceGrid.Node.Name=localhost
IceGrid.Node.Endpoints=default
IceGrid.Node.Data=db/node
IceGrid.Node.CollocateRegistry=1
#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
config.node - for the node

What would be the content of config.node to do that ?

(Actually I'm running demo/IceGrid/allocate (Ice3.2) on a single computer)

Comments

  • matthew
    matthew NL, Canada
    Yes, its possible -- you don't have to do anything special. The node requires very little configuration. You need to specify the locator proxy, the node name, the node endpoints and the location of the database. In fact, the configuration you've supplied would work if you remove the IceGrid.Node.CollocateRegistry=1 property.
  • Thanks

    It works !

    Thanks :)