RPC Outer (rpco)

Description

Service role that provides communication between servers of different sites without a direct full-mesh connection. It also solves the problem of sites not having direct visibility into each other’s address spaces. Each node in the system has an rpco client for such requests. rpco server roles are configured.

Made redundant in Active-Active mode, but the first available instance is predominantly used.

Table 1. System characteristics

Code

rpco

Operation mode

Service

Redundancy mode

Active-Active

Site types

All

Layer

Configuration

Placement

Internal

State preservation and recovery on restart

Yes

Application

era_rpco

Limitations

  • Present in the initial configuration.

  • Must be present on all sites.

  • Must be located on those site servers that have access to the subnets addressing role instances on other sites; otherwise interaction between sites and distributed service of the same set of domains on them is impossible.

  • If the rpco role addresses of another site cannot be reached directly, an attempt is made through instances on the master site.

Parameters

Table 2. Parameters
Name Type Default Description

name

str

required

Name. May consist of Latin letters and digits and must start with a letter.

roletype

str

required

Role type. Possible values: "rpco".

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.

limit_of_cores

int

empty

Limit on the number of CPU logical cores used. Default: 0 - unlimited.

logging_default_level

int

empty

Default logging level set specifically for the role instance (microservice type). More

allow_divergence

bool

false

Flag allowing parameter differences in roles of the same group. Default: false - not allowed.

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.

Node example
{
  "name": "rpco1",
  "roletype": "rpco"
}

See also