Infrastructure Controller (ic)

Description

Manages infrastructure changes within the site, distributes and synchronizes configurations and maintains the system upgrade process within the site. Gets from mic and passes the configuration to servers within the site. Performs synchronization of dynamic configuration with other sites - server availability status. Provides data on site statistics.

Reserved in Active-Passive mode at each site. Not scalable.

When the role is unavailable, the system within the site continues to function properly, eliminating the ability to apply a new configuration to the site, update, synchronize server states with other sites. The system can be broken up into several zones, each of which continues to perform its functions separately.

Table 1. System Characteristics

Code

ic

Mode of operation

Service

Backup mode

Active-Passive

Types of sites

All of them

Layer

Configuration

Placement

Internal

Saving and restoring state on reboot

No

appendix

era_ic

Limitations

  • Should be located at every site.

  • Not available to move to another server in 1 step by changing the configuration.

Parameters

Table 2. Parameters
Name Type Default Description

name

str

required

Name. May consist of Latin letters and numbers, must begin with a letter.

roletype

str

required

Role Type. Possible values: "ic".

iface

str

required

The alias of the server network interface on which the roles will interact internally with each other.

ext

json

empty

Additional role options. Contains a json object or list.

enabled

bool

empty

Role activity flag. When set to false, the role does not participate in validation and is not started.

group

int

empty

Group Number.
Horizontal scaling within a site is not supported. All role instances on the site must have the same value.
Integer from 1 to 9999999.

order

int

required

The order of a role instance within a group.
Defines in what order the flow in the mode will take place Active-Passive.

refreshinterval

int

30

Interval of site statistics update, in sec.
Minimum value: 10.

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.

Example node
{
  "name": "ic2",
  "roletype": "ic",
  "iface": "eth0",

  "group": "11130",
  "order": "1",

  "refreshinterval": "60"
}

See also