Mandatory Configuration Steps¶
Configure a Shared Replica Set¶
In MongoDB, a shared replica set has to be configured. For how to configure the shared replica set, refer to the SEAL-specific MongoDB documentation.
Initialize the Database¶
After configuring the shared replica set, you have to initialize the database. For how to initialize the database, refer to the SEAL-specific MongoDB documentation.
Configure MongoDB for Local Spooler¶
The keys for the cooperation with MongoDB are the same as for PLOSSYS Output Engine . For more information, refer to the Output Engine documentation.
Configure Local Spooler¶
For the configuration of Local Spooler, two configuration files are provided.
In the local-spooler.yml
configuration file you set the credentials needed for local spooler administration. In the relay-printer.yml
you configure the connection to the central PLOSSYS Output Engine.
System Configuration¶
-
Open the system configuration file
local-spooler.yml
in the installation directory of Local Spooler. -
Replace all occurrences of
<username>
and<password>
by a user name and password. They can be chosen freely. You will need them when using PLOSSYS CLI to administrate Local Spooler as shown in the Printer Configuration below. -
Save your changes and close the file.
-
Import the system configuration:
plossys config import local-spooler.yml --insecure
Printer Configuration¶
Local Spooler provides a relay printer queue. Any job addressed to a printer that can not be identified by Local Spooler, will be sent to the relay printer queue and thus via IPP to the target PLOSSYS Output Engine server. The final IPP connection URL for the Output Engine Server contains the job property orig.printerName
which is used to output the job to the designated printer at the Output Engine system.
-
Open the printer configuration file
relay-printer.yml
in the installation directory of Local Spooler. -
Replace all occurrences of
<remote-plossys-server>
by the server name or IP address of the target Output Engine system. All output jobs received by Local Spooler will be forwarded to this system.- printer: relay-printer connection: "ipp://<remote-plossys-server>/printers/{{orig.printerName}}" server: localhost webUrl: "https://<remote-plossys-server>:9000" nativeQueue: true
-
Save your changes and close the file.
-
Import the printer configuration. Replace
<username>
and<password>
by the values specified in the System Configuration:plossys printer import relay-printer.yml --insecure --user <username> --pass <password>