Home Help Center

how to use DynamicRegistration

hisensewxzhisensewxz Member wang xin zhongOrganization: HisenseProject: grid node
I think it can run the node without the registry
but in the IceGrid\simple,it only use icegridnode --Ice.Config=config.grid.
without the registry and dynamicregistration.
can you give me a demo about the DynamicRegistration? thanks

Comments

  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    Hi,

    You can't run an IceGrid node without an IceGrid registry. The demo from demo/IceGrid/simple only uses the IceGrid node process but this IceGrid node process also provides a collocated IceGrid registry (configured with the IceGrid.Node.CollocateRegistry property set to 1).

    IceGrid dynamic registration (enabled with IceGrid.Registry.DynamicRegistration set to 1) allows the registration of server endpoints which are not managed by an IceGrid node. With this mode, you don't have to use IceGrid nodes for your servers. You can manually start the server processes and still have the advantages of the "indirect binding" provided with IceGrid (see Indirect Binding here for a definition).

    For more information on IceGrid dynamic registration, I recommend checking out the IceGrid chapter in the Ice manual and Michi's newsletter article "Teach Yourself IceGrid in 10 Minutes".

    Cheers,
    Benoit.
  • hisensewxzhisensewxz Member wang xin zhongOrganization: HisenseProject: grid node
    Thank you!
    Your answer is very clear.I see,it can run the server without the node.
Sign In or Register to comment.