ice icon indicating copy to clipboard operation
ice copied to clipboard

The status of a server started by hand does not show up in the IceGridGUI

Open bernardnormier opened this issue 6 years ago • 0 comments

Using the IceGrid/simple demo, when I start a server on the command line:

C:\builds\ice\demo\IceGrid\simple>server --Ice.Config=C:\builds\ice\demo\IceGrid \simple\db\node\servers\SimpleServer-1\config\config "--Ice.Default.Locator=Demo IceGrid/Locator:tcp -p 12000" --Ice.ServerId=SimpleServer-1

This server does not show up as running in the GUI.

The idea to implement this support:

  • IceGrid dynamic registration needs to be enabled (with IceGrid.Registry.DynamicRegistration)
  • the server registers its process admin facet with the registry and maintains a connection up to the registry
  • the connection between the server and the registry is used to monitor the liveliness of the server
  • the server needs to implement a retry mechanism to ensure the connection to the registry remains up
  • We could use bi-dir over this connection to allow the registry to invoke on the admin facets (without needed to enable admin endpoints on the server). We have to consider the case when registries are replicated.

ICE-671

bernardnormier avatar Apr 26 '18 20:04 bernardnormier