Site Domain Center (sdc)
Description
Domain entity storage.
Provides other roles with access to data for organizing processes. Some data is pre-calculated inside the role.
Split into microservices by domains. Data is automatically synchronized between sites serving the domain.
Made redundant in Active-Passive mode. Scaled by splitting the domain tree.
Code |
|
Operation mode |
|
Redundancy mode |
|
Site types |
|
Layer |
|
Placement |
|
State preservation and recovery on restart |
|
Application |
|
Own storage |
|
Limitations
-
Cannot be located on the master site; the mdc role is used there instead.
-
Must be located on every worker site.
-
Data synchronization between sites is performed through the mdc role on the master site with a total period of up to 1 minute.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
|
|
required |
Name. May consist of Latin letters and digits and must start with a letter. |
|
|
required |
Role type. Possible values: |
|
|
empty |
Additional role options. Contains a JSON object or list. |
|
|
empty |
Role activity flag. When set to false, the role does not participate in validation and is not started. |
|
|
empty |
Limit on the number of CPU logical cores used. Default: 0 - unlimited. |
|
|
empty |
Default logging level set specifically for the role instance (microservice type). More |
|
|
|
Flag allowing parameter differences in roles of the same group. Default: false - not allowed. |
|
required |
Group number. |
|
|
required |
Order of the role instance within the group. |
|
|
empty |
List of domain names served by this group. |
|
|
4 |
Limit on the number of simultaneously loaded domains. |
|
|
|
global |
Takeover mode switch.
|
|
|
Domain distribution group number. Instances with the same value share the domain subtree ( |
Configuration example
Configuration management is performed in an application available to master domain administrators. The application hides the full configuration content, but it is still available through the API.
The configuration contains a section describing all instances of all roles. Parameters are defined for each specific role instance.
{
"name": "sdc1",
"roletype": "sdc",
"group": 21020,
"order": 1
}