Connect a PLOSSYS 4 System¶
Install the node-p4rest service on the PLOSSYS 4 server. In SEAL Operator, the PLOSSYS 4 (p4) connector is active by default. You still need to specify some connection keys in Consul and connect the PLOSSYS 4 panel.
Caution - breaking change
SEAL Operator as of version 1.10.0 requires node-p4rest version 6.28.0 or higher.
Caution - access to the directories of PLOSSYS 4
The service account running the node-p4rest service needs write access to the gate directories of PLOSSYS 4.
Install the node-p4rest Service¶
At the PLOSSYS 4 server, install the node-p4rest service:
-
In a browser, log on to the SEAL Systems delivery platform with your logon data:
https://delivery.sealsystems.de
Hint - logon data
You receive the logon data from your Technical Project Manager at SEAL Systems.
-
Download the node-p4rest-6.28.0.990.msi file from the SEAL Systems delivery platform. The downloaded file has the name
node-p4rest-6.28.0.990.msi. -
Execute
node-p4rest-6.28.0.990.msi. This installs thenode-p4restservice. -
Open the Windows
Systemdialog and selectAdvanced System Settings. -
In the
System Propertiesdialog, selectEnvironment Variables. -
Specify the following mandatory keys in
System Variables:-
AUTH_ISSUER_URL: mandatory, OIDC issuer base URL -
ID_PROVIDER_NAME: mandatory, name of the OIDC identity provider
Example - set system variables
AUTH_ISSUER_URL=https://localhost:32769/realms/SEAL ID_PROVIDER_NAME=https://localhost:32769/realms/SEALHint - changed URLs as of Keycloak 21.0.1
As of SEAL-specific Keycloak version 21.0.1, the URLs needed for
AUTH_ISSUER_URLandID_PROVIDER_NAMEhave changed. For the old and new values, refer to the key descriptions. -
-
Specify the following optional keys in
System Variablesunless the respective default fits:-
ID_PROVIDER_CERT: optional, path and file name of the certificate generated by the OIDC identity provider. You need this key only if the automatic request of the certificate from the OIDC identity provider fails. -
INFOSERVER_URL: optional, URL of PLOSSYS Infoserver, defaultsocket://localhost:7125 -
PLSHOST: optional, server name of PLOSSYS Infoserver, defaultlocalhost -
PLSPORT: optional, port number of PLOSSYS Infoserver, default7125 -
PLSROOT: optional, PLOSSYS 4 installation directory, defaultc:\SEAL\applications -
PGHOST: optional, server name of the PLOSSYS 4 PostgreSQL database used for the job reply, defaultlocalhost -
PGPORT: optional, port number of the PLOSSYS 4 PostgreSQL database used for the job reply, default7128 -
RLIGATE: optional, name of the target directory for therliandrlistrepro list files, defaultrlipdmgate -
SERVICE_URL: optional, URL under which the service can be accessed
Literature - PLOSSYS 4 system variables
For further information about the PLOSSYS 4 system variables, refer to the PLOSSYS 4 System Description.
-
-
Start the
node-p4restservice:-
Open the Windows
Servicesdialog, for example by executingservices.msc. -
Select the
node-p4restservice. -
Select
Start the service.
-
Configure the Connector¶
In SEAL Operator, activate the connector and specify the keys for the connection:
-
Open a Command Prompt or PowerShell.
-
Export the complete configuration of SEAL Operator from Consul to a YAML file. This ensures that you edit the current configuration.
operator config export <filename>.yml --insecure -
Edit the exported file
<filename>.yml. -
In the section of the PLOSSYS 4 (
p4) connector, make sure thatcstatusis set toon. This is the default. The same applies to the Fileupload (scratch) connector.operator: connectors: ... p4: cstatus: 'on' serviceName: operator-p4 url: 'https://localhost:3010' scratch: cstatus: 'on' serviceName: operator-fileupload url: 'https://localhost:3009' ...Caution - do not turn off
Do not deactivate the Fileupload (
scratch) connector. Otherwise, the PLOSSYS 4 (p4) connector does not work!
Single PLOSSYS 4 Backend¶
-
In the
envsection, specify the following keys for theseal-operator-p4service in theoperator-p4section:-
ACTION_EXECUTOR: mandatory, backend system, hereP4 -
PLOSSYS_URL: mandatory, URL of the PLOSSYS 4 system to which SEAL Operator has to connect
env: service: ... operator-p4: tag: any: ACTION_EXECUTOR: P4 PLOSSYS_URL: 'https://<plossys_4_server_name>:3011' ...Literature - keys
For further information about available keys, refer to the Key Reference.
-
-
Specify the following optional keys if required:
-
APW_URL: optional, URL of the APW REST server -
JWT_USERNAME: optional, user name set in the JSON Web Token (JWT) -
PLOSSYS_TIMEOUT: optional, timeout for connecting and retrieving data from the PLOSSYS 4 system -
STAMP_META: optional, flag if additional sheets are stamped as well -
TARGET_CONTENT_TYPE: optional, PLOSSYS 4-specific job format, repro list or set collation -
TARGET_FILE_KEY: optional, key where to put the names of local files when exporting to a repro list -
USER_NAME_KEY: optional, key where to put the name of the logged-in user when exporting to a repro list
-
-
Save the
<filename>.ymlfile. -
Re-import the file to Consul.
operator config import <filename>.yml --insecure -
Check the imported value for
PLOSSYS_URL:operator config get PLOSSYS_URL --service operator-p4 --insecure
Multiple PLOSSYS 4 Backends¶
For multiple PLOSSYS 4 backends, define them in the SYSTEMS subsection of the operator-p4 environment. The recommended way is to export the existing configuration to a YAML file, add the entries, and re-import the configuration. For details on how to make those changes in Consul, refer to the hint below.
-
In the
envsection, specify the following keys for theseal-operator-p4service in theoperator-p4section:-
ACTION_EXECUTOR: mandatory, backend system, hereP4 -
SYSTEMS: mandatory, section containing a list of PLOSSYS 4 systems. Every list entry stands for a P4 system. In YAML format every list entry starts with a dash (-). When you make these changes in Consul, you need another indexed subsection for every system. For more details, refer to the hint in the next step.
-
-
Below the
SYSTEMSsection specify the following keys:-
PLOSSYS_URL: mandatory, URL of the PLOSSYS 4 system to which SEAL Operator has to connect -
PLOSSYS_NAME: optional, arbitrary unique name for backend system, default is host name inPLOSSYS_URL -
TARGET_CONTENT_TYPE: optional, PLOSSYS 4-specific job format, repro list or set collation -
TARGET_FILE_KEY: optional, key where to put the names of local files when exporting to a repro list -
USER_NAME_KEY: optional, key where to put the name of the logged-in user when exporting to a repro list
Example - configuration in YAML format
env: service: ... operator-p4: tag: any: ACTION_EXECUTOR: P4 SYSTEMS: - PLOSSYS_NAME: <system_1_name> PLOSSYS_URL: 'https://<plossys_4_server_1_name>:3011' - PLOSSYS_NAME: <system_2_name> PLOSSYS_URL: 'https://<plossys_4_server_2_name>:3011' ...Hint - structure in Consul
When you set the key via Consul, you need another indexed subsection. Consul does not support enumerations.
The same configuration as above transformed to Consul structure:
env: service: operator-p4: tag: any: SYSTEMS: 0: PLOSSYS_NAME: <system_1_name> PLOSSYS_URL: 'https://<plossys_4_server_1_name>:3011' 1: PLOSSYS_NAME: <system_2_name> PLOSSYS_URL: 'https://<plossys_4_server_2_name>:3011'The
PLOSSYS_URLfor the first system in Consul UI. Take notice of the emphasized breadcrumb line on top: -
-
In the
envsection, specify the following connector-specific keys for theseal-operator-p4service in theoperator-p4section if required.-
APW_URL: optional, URL of the APW REST server -
JWT_USERNAME: optional, user name set in the JSON Web Token (JWT) -
PLOSSYS_TIMEOUT: optional, timeout for connecting and retrieving data from the PLOSSYS 4 system -
STAMP_META: optional, flag if additional sheets are stamped as well
Literature - keys
For further information about available keys, refer to the Key Reference.
-
-
Save the
<filename>.ymlfile. -
Re-import the file to Consul.
operator config import <filename>.yml --insecure -
Check the imported value, for example for
ACTION_EXECUTOR:operator config get ACTION_EXECUTOR --service operator-p4 --insecure -
Make sure every PLOSSYS 4 backend system has a
node-p4restservice installed and running.
Connect PLOSSYS 4 Panel¶
To connect the PLOSSYS 4 panel, you need to specify the logon data for PLOSSYS 4 in the user interface:
-
In a browser, call the following URL to open the user interface and log on to it.
https://<operator_server>:3000 -
Open the
Server Settingsby selectingSettingsin the user menu. -
In the
PLOSSYS 4section of the server settings, switch to change mode, specify user name and password and save the settings.
Configure the Panel (Optional)¶
The PLOSSYS 4 panel pre-configuration comes with some standard parameters already set. But it is normally not sufficient to replace an existing P2P or PAD installation. For how to customize the panel, refer to PLOSSYS 4 Panel Customization.


