Home Help Center

IcePack and locator

mwilsonmwilson Member Mark WilsonOrganization: Integrated Computer Solutions, Inc.Project: TBD ✭✭✭
Can the registry be used independently of a server being started by an IcePack node?

Comments

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

    Yes, you can use the IcePack registry without any nodes. You'll need to configure the IcePack registry to allow dynamic object adapter registration (see the description for the IcePack.Registry.DynamicRegistration property in the manual). Also, you can try this with the Ice-2.1.2/demo/Ice/hello demo by un-commenting some properties at the bottom on the "config" file.

    Benoit.
  • mwilsonmwilson Member Mark WilsonOrganization: Integrated Computer Solutions, Inc.Project: TBD ✭✭✭
    Okay, I got that working. Thanks!

    I am going to ask our admin folks to set the icepackregistry up to run as a daemon. I assume I should have it run as root with the --daemon option? Are there any other guidelines?

    Thanks.
    Mark
  • bernardbernard Jupiter, FLAdministrators, ZeroC Staff Bernard NormierOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    Hi Mark,

    The IcePack registry does not need to run as root, even when you run it as a daemon.

    A service started with --daemon ignores SIGHUP signals.
    "icepackregistry --daemon" also waits until the registry is ready: this is useful if you want to write a shell script that starts the registry before other processes that need the registry.

    Cheers,
    Bernard
Sign In or Register to comment.