Appearance
Register Service
In the previous section, we mentioned that because each TSF instance starts up with its own configuration file, we ultimately know all of the instances in the grid, where each one is in the network model, which services are running on which machine, etc. But each TSF instance just sends information about itself -- that is where the Register Service comes in. The Register Service is the next component needed to be started before TSF instances can be added to the grid. This component is only needed when running a grid of multiple TSF instances - when you are running a single TSF server, having a Register Service is not necessary.
The Register Service communicates with the TSF instances in the grid via the Network Service. The Register Service has many responsibilities, including:
- Managing all TSF Instances coming up when the grid first starts -- not allowing the grid to accept external connections until it is notified that all servers are either up or marked as failed by the Infrastructure Team (with access to our Management Console).
- Broadcasting that a TSF Instance has failed to all of the other active instances in the TSF. (TSF Instances will adjust their network paths to eliminate failed instances dynamically.)
- Broadcasting that a failed TSF Instance has been brought back online. (TSF Instances will adjust their network paths to add back these previously failed instances dynamically.)
- Handling the request for a TSF instance to be shutdown, which includes re-building the network model without that TSF instance and sending this updated model to all the other TSF instances.
- Adding a new TSF instance to the grid while the grid is running, which includes re-building the network model with that TSF instance and sending this updated model to all the other TSF instances.
Just like with the TSF Server Configuration file, there are defaults for each of the Register Service parameters that come built into the jar and can be overridden in the same way as with the TSF instances. For the full list of all of the configurable parameters for the Register Service, click here.
Tessellation Software