Archived

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

IcePack and locator

Can the registry be used independently of a server being started by an IcePack node?

Comments

  • benoit
    benoit Rennes, France
    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.
  • 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
  • bernard
    bernard Jupiter, FL
    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