Configure Output Manager with SAP in a high availability environment
To enable print job submissions through a load balancer, each Input Service must be configured with a mapping. The mapping connects the source name specified in the SAP configuration to the NetWeaver source name in Output Manager. When the SAP print job submission request is received by the load balancer, and routed to one of the available Input Services, the source name specified by the request does not exist. In this case, the Input Service checks its configuration mapping to determine the NetWeaver source based on the source specified in the request.
Output Manager requires additional configuration when receiving query requests from SAP, and print jobs are submitted through a load balancer.
In addition, the DBM Service must be configured to answer query request from SAP. SAP queries Output Manager for the status of a device and the status of print jobs. This request uses the same source as the job submission request. Since that source does not exist in Output Manager but a mapping is configured on each Input Service, all sources mapped to the SAP source must be configured in the DBM. Each DBM service in a high availability environment must have the same configuration.
-
Configure the Input Service for use behind a load balancer.
Edit the NSiOutputManagerInputService.exe.config file in the OutputManager/Services/Input folder.
Add the <add key="HA_SOURCE_MAPPING" value="SAP_PRINT:SAP_PRINT1"> line to the <appSetting> section.
- SAP_PRINT
-
The SAP printer (OM source) name
- SAP_PRINT1
- The OM source name for this Input Service
If there is more than one SAP, use comma to separate the pairs, for example: SAP_PRINT:SAP_PRINT1 , ANOTHER_SAP_PRINT:ANOTHER_SAP_PRINT1 -
Configuring the DBM Service when the Input Service is configured.
Edit the NSiOutputManagerDbmService.exe.config file in the OutputManager/Services/DBM folder.
Add the <add key="HA_SOURCE_MAPPING" value="SAP_PRINT:SAP_PRINT1|SAP_PRINT2"> line to the <appSetting> section.
- SAP_PRINT
-
The SAP printer (OM source) name
- SAP_PRINT1
-
The first OM source name for this Input Service
- SAP_PRINT2
-
The second OM source name for this Input Service
The OM source name is separated by a pipe (|). If there is more than one SAP, use comma to separate the printers, for example: SAP_PRINT:SAP_PRINT1|SAP_PRINT2 , ANOTHER_SAP_PRINT:ANOTHER_SAP_PRINT1|ANOTHER_SAP_PRINT2