How is the primary hub identified by the other hubs?

Document ID : KB000074004
Last Modified Date : 16/03/2018
Show Technical Document Details
Question:
KB000073868 describes how to prevent secondary hubs from propagating changes to the security.cfg.

When implemented how does a hub verify that the incoming change to security.cfg comes from the primary hub
Answer:
  • The hub uses the callback "gethubs" to check if it is a primary or not.
  • This callback returns a key called "is_primary" and if this has the value 1 then it is the primary hub.
  • The callback uses the following criteria to determine if the hub is a primary hub.
    1. data_engine probe is present.
    2. data_engine probe is in active state.
  • If these conditions are both met then the is_primary value is 1.