Activity of Processes
Activity of processes within redundant group
Application server processes
After connecting to the server, application server processes receive the information on the current state
of the server in the view of the redundant group (HS or SBS states). They control own activity according
to the state. If the server is in the HS state, process performs its task according to the configuration
of its children (DODM relations). If the process is connected to a SBS server,
its activity depends on the type of process.
If the processes support instance mode (e.g. /WSELF,1),
the active instance connected to HS performs its task and in other three cases
(passive instance connected to HS, any instance connected to
SBS) its activity depends on the type of process
D2000 Event Handler
D2000 KOM
D2000 CALC
D2000 ARCHIV
D2000 DbManager
D2000 ALARM
D2000 GATEWAY
D2000 CNF
D2000 HI
D2000 GrEditor
D2000 Event Handler
Yes | |
When changing the server state (HS->SBS or SBS->HS), the process is stopped and started again according to the process configuration. | |
Activity when connected to a server in the SBS state |
|
No object of Event type will be started. | |
Activity when changing the server status HS-->SBS |
|
All running object of Event type stop their operations with no possibility to react. If a list of pending requests for starting events exists, it will be cleared. | |
Activity when changing the server status SBS-->HS |
|
The activity of the process D2000 Event Handler is the same as when starting. Start Up events and Server Events will be started. | |
Process supports the instances (parameter /Wmeno, instNr). If the process is active (on HS), its activity is obeyed a configuration of relevant children (objects of Event type). If the process is inactive, all the ESL scripts are inactive, too. When process changes from active state to inactive one all the ESL scripts are stopped. The situation is the similar as when server transfers from HS state to SBS state. A log about it will be created for each aborted script into log database.
D2000 KOM
Yes | |
When changing the server state (HS->SBS or SBS->HS), the process automatically finds a new HS and connect it. Further it keeps its normal activity. | |
Support of instance mode via parameter /Wname,instance | Yes |
In the instance mode when the instance is active and connected to HS server, the process works normally. | |
Activity when connected to a server in the SBS state or in instance mode the passive instance connected to HS server or any instance connected to SBS server |
|
The state is only supported by some communication protocols, the support is described in
the individual documentations of communication protocols. Communication protocols supporting the
state do not perform active communication. If it is a communication protocol on serial communication
line, the protocol tries to monitor the data swapped between the KOM process connected to the HS and
measuring devices (I/O devices) and its analysis. Changes of I/O tag values are not further propagated
into the system. | |
Activity when changing the server status HS-->SBS or when instance becomes passive |
|
Communication protocols supporting redundancy stop the active communication (stop transmission,
close sockets,...) and if it is technically possible, they trace the communication among the KOM
process connected to the HS and measuring devices (I/O devices) and perform its analysis. Changes
of I/O tag values are not further propagated into the system. | |
Activity when changing the server status SBS-->HS or when instance becomes active |
|
Communication protocols supporting redundancy start the active communication, if it is possible,
when the communication of the previous KOM process connected to the HS was finished. Changes of
I/O tag values are to be propagated into the system. | |
WARNING:
We strongly recommend not using the communication protocols, which do not support redundancy, in the redundant systems
with 2 or more KOM processes.
The correct configuration is to run a single KOM process on a selected computer using
/RD or
/RF parameters.
D2000 CALC
No | |
Activity when connected to a server in the SBS state |
|
The process operates according to configuration of eval tags, but possible changes of their values are not further propagated into the system. It ensures, that inner states in the expressions of called functions are continuously updated. | |
Activity when changing the server status HS-->SBS |
|
The process stops propagating the values of eval tags. | |
Activity when changing the server status SBS-->HS |
|
The process starts propagating the values of eval tags. | |