Master Domain Center (mdc)
Description
A repository of domain entities.
Provides other roles within the site with access to data to organize processes. Some data is subject to pre-calculation within the role.
Has direct access to relational databases of all domains regardless of which sites they are served on. On startup, loads domain data from the appropriate databases into the cache.
Divided into microservices by domain. Data is automatically synchronized between sites serving the domain.
Reserved in Active-Passive mode. Scaled by domain tree partitioning.
Code |
|
Mode of operation |
|
Backup mode |
|
Types of sites |
|
Layer |
|
Placement |
|
Saving and restoring state on reboot |
|
appendix |
|
Own storage |
|
Limitations
-
Present in the initial configuration.
-
Should only be placed on the master site. Other sites use the role instead sdc
-
If the role is unavailable, the master site does not function. As a consequence, other sites in the system do not synchronize domain data among themselves. This matters when serving the domain to multiple sites.
Parameters
Configuration example
The configuration is managed in an application available to master domain administrators. The application hides the full content of the configuration, but it is nevertheless accessible via the API.
The configuration contains a section to describe all instances of all roles. Parameters are defined for each specific role instance.
{
"name": "mdc1",
"roletype": "mdc",
"iface": "eth0",
"dbconnstrings": [
"alias://pgdb_strings/b",
"alias://pgdb_strings/c"
],
"group": 11020,
"order": 2
}