Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

The KOM Archive function is the function of process D2000 KOM that allows process to work in the offline mode (no connection to process D2000 Server) and to save values acquired from communication into a file (archive) for their later transmission into D2000 system.

This functionality enables a remotely running D2000 KOM process to avoid communication data losses:

  • in case of network disruption between D2000 KOM and D2000 Server processes
  • in case of failure of the D2000 Server process or the entire application server
  • in case of D2000 upgrade 

Process D2000 KOM with the function KOM Archive may be started with parameters /KA <ArchivSize> and /KX. The parameter /KA enables the KOM Archive function and the parameter ArchivSize is the size of the archive file in megabytes (1 up to 400). The parameter /KX enables the operation of process D2000 KOM after a loss of the communication with D2000 Server. The parameter /KM defines the method for sending values from the KOM archive after connection with D2000 Server.

Process D2000 KOM with the function KOM Archive can be also run without process D2000 Server running. In that case, the configuration is loaded from the file, that is placed in the subdirectory \KOMARC of the application directory. The subdirectory is created automatically after running process D2000 KOM with the parameter /KA. Besides the above mentioned parameters, there is also the parameter /KC<ApplicationName> required for the location of the configuration file.
Condition to run process D2000 KOM without process D2000 Server is the existence of the configuration file. The file is created and updated automatically after connecting process D2000 KOM to process D2000 Server. The file is updated after each change of objects that belong to given process D2000 KOM.
A particular solution (working while at least one process D2000 Server is in the system) is to run process D2000 KOM in the "shadow" mode (the parameters /RD<GroupName> and /W<MyName>,<MyNumber>)
Example:
KOM nr.1:  kom  /RDmy_group /Wself,1 /KCmy_application /KX /KA100 /TP
KOM nr.2:  kom  /RDmy_group /Wself,2 /KCmy_application /KX /KA100 /TP

...