PaperCut

1 Introduction

PaperCut is a full print management solution providing simplicity, visibility, and availability. With a portfolio of products such as PaperCut NG, PaperCut MF, PaperCut Hive, and PaperCut Pocket, organizations can finally take full control of all the printing infrastructure.

The Kemp LoadMaster delivers an exceptional, cost effective, and easy to use solution which by employing High Availability (HA), Global Server Load Balancing (GSLB), intelligent load balancing, and intelligent server health checking can support an always-on application experience.

1.1 Document Purpose

This document provides the recommended LoadMaster settings used when load balancing PaperCut. The Kemp Support team is available to provide solutions for scenarios not explicitly defined. The Kemp Support site can be found at: https://support.kemptechnologies.com.

1.2 Intended Audience

This document is intended to be read by anyone who is interested in configuring the LoadMaster to optimize PaperCut.

2 Template

Kemp has developed a template containing our recommended settings for this workload. You can install this template to help create Virtual Services (VSs) because it automatically populates the settings. You can use the template to easily create the required VSs with the recommended settings. For some workloads, additional manual steps may be required such as assigning a certificate or applying port following, these steps are covered in the document, if needed.

You can remove templates after use and this will not affect deployed services. If needed, you can make changes to any of the VS settings after using the template.

Download released templates from the Templates section on the Kemp Documentation page.

For more information and steps on how to import and use templates, refer to the Virtual Services and Templates, Feature Description on the Kemp Documentation page.

3 Architecture

PaperCut consists of several print server roles including an Application Server, Print Server, and Site Server. Site Servers can be leveraged when multiple site reliability is required as illustrated in the diagram.

Architecture.png

4 Configure the LoadMaster

Refer to the sections below for details on some recommended global settings.

4.1 Enable Subnet Originating Requests Globally

It is best practice to enable the Subnet Originating Requests option globally.

In a one-armed setup (where the Virtual Service and Real Servers are on the same network/subnet) Subnet Originating Requests is usually not needed. However, enabling Subnet Originating Requests should not affect the routing in a one-armed setup.

In a two-armed setup where the Virtual Service is on network/subnet A, for example, and the Real Servers are on network B, Subnet Originating Requests should be enabled on LoadMasters with firmware version 7.1-16 and above.

When Subnet Originating Requests is enabled, the LoadMaster routes traffic so that the Real Server sees traffic arriving from the LoadMaster interface that is in that network/subnet.

When Subnet Originating Requests is enabled globally, it is automatically enabled on all Virtual Services. If the Subnet Originating Requests option is disabled globally, you can choose whether to enable Subnet Originating Requests on a per-Virtual Service basis.

To enable Subnet Originating Requests globally, follow the steps below:

1. In the main menu of the LoadMaster Web User Interface (WUI), go to System Configuration > Miscellaneous Options > Network Options.

SOR.png

2. Select the Subnet Originating Requests check box.

4.2 Enable Check Persist Globally

It is recommended that you change the Always Check Persist option to Yes - Accept Changes. Use the following steps:

1. Go to System Configuration > Miscellaneous Options > L7 Configuration.

L7Configuration-Enable_Check_Persist_Globally.png

2. Click the Always Check Persist drop-down arrow and select Yes - Accept Changes.

5 Virtual Services

PaperCut consists of several components that can be load balanced and optimized depending on the environment in which it is deployed. PaperCut Mobility Print, Print Provider, and the PaperCut Web Interface can leverage the Kemp LoadMaster to provide the necessary high availability and failover to ensure an always-on application experience.

This step-by-step setup of Virtual Services (VSs) leverages the Kemp application template for PaperCut.

The table in each section outlines the settings configured by the application template. You can use this information to manually configure Virtual Services or use the Kemp LoadMaster Application Programming Interface (API) and automation tools.

5.1 Create the PaperCut Print Provider Virtual Service

The following are the steps involved and the recommended settings to configure the PaperCut Print Provider Virtual Service:

1. In the main menu of the LoadMaster User Interface (UI), go to Virtual Services > Add New.

VS.png

2. Type a valid Virtual Address.

3. Select the Papercut Print Provider template in the Use Template drop-down list.

4. Click Add this Virtual Service.

5. Expand the Real Servers section.

6. Click Add New.

7. Type the Real Server Address.

8. Click Add This Real Server.

9. Repeat these steps to add more Real Servers as needed.

5.1.1 PaperCut Print Provider Virtual Service Recommended API Settings (optional)

This table outlines the API parameters and values set using the Kemp application template. You can use these settings with scripts and automation tools.

API Parameter

API Value

port 445
prot tcp
VStype gen
SubnetOriginating 1
Forcel7 1
Schedule lc
Persist none
CheckType tcp
CheckPort 445

5.2 Create the PaperCut Mobility Virtual Services

The following are the steps involved and the recommended settings to configure the PaperCut Mobility Virtual Service:

1. In the main menu of the LoadMaster UI, go to Virtual Services > Add New.

PaperCutMobility.png

2. Type a valid Virtual Address.

3. Select the PaperCut Mobility Print template in the Use Template drop-down list.

4. Click Add this Virtual Service.

5. Expand the Real Servers section.

6. Click Add New.

7. Type the Real Server Address.

8. Click Add This Real Server.

9. Repeat these steps to add more Real Servers as needed.

5.2.1 PaperCut Mobility Print Virtual Service Recommended API Settings (optional)

This table outlines the API parameters and values set using the Kemp application template. You can use these settings with scripts and automation tools.

API Parameter

API Value

port 9163
prot tcp
VStype gen
SubnetOriginating 1
ForceL7 1
ExtraPorts 9164
Schedule lc
CheckType tcp
CheckPort 9163

5.3 Create the PaperCut Mobility DNS Offloaded Virtual Services

The PaperCut Mobility DNS template creates two Virtual Services - one TCP and one UDP. Each of these Virtual Services must be populated with Real Servers. The following are the steps involved and the recommended settings to configure the PaperCut Mobility DNS Virtual Service:

1. In the main menu of the LoadMaster UI, go to Virtual Services > Add New.

PaperCutMobilityDNS.png

2. Type a valid Virtual Address.

3. Select the Papercut Mobility DNS template in the Use Template drop-down list.

4. Click Add this Virtual Service.

5. Click View/Modify Services in the left-hand navigation.

6. Click Modify on the Papercut Mobility DNS TCP Virtual Service.

7. Expand the Real Servers section.

8. Click Add New.

9. Type the Real Server Address.

10. Click Add This Real Server.

11. Repeat these steps to add more Real Servers as needed.

12. Click View/Modify Services in the left-hand navigation.

13. Click Modify for the Papercut Mobility DNS UDP Virtual Service.

14. Expand the Real Servers section.

15. Click Add New.

16. Type the Real Server Address.

17. Click Add This Real Server.

18. Repeat these steps to add more Real Servers as needed.

5.3.1 PaperCut Mobility DNS TCP Virtual Service Recommended API Settings (optional)

This table outlines the API parameters and values set using the Kemp application template. You can use these settings with scripts and automation tools.

API Parameter

API Value

port 53
prot tcp
VStype gen
SubnetOriginating 1
Forcel7 1
Schedule lc
CheckType tcp

5.3.2 PaperCut Mobility DNS UDP Virtual Service Recommended API Settings (optional)

This table outlines the API parameters and values set using the Kemp application template. You can use these settings with scripts and automation tools.

API Parameter

API Value

port 53
prot udp
SubnetOriginating 1
Forcel7 1
Schedule lc
CheckType Dns
CheckPort 53

5.4 Create the PaperCut Mobility mDNS Virtual Services

The following are the steps involved and the recommended settings to configure the PaperCut Mobility mDNS Virtual Service:

1. In the main menu of the LoadMaster UI, go to Virtual Services > Add New.

PaperCutMobilityMDNS.png

2. Type a valid Virtual Address.

3. Select the Papercut Mobility mDNS UDP template in the Use Template drop-down list.

4. Click Add this Virtual Service.

5. Expand the Real Servers section.

6. Click Add New.

7. Type the Real Server Address.

8. Click Add This Real Server.

9. Repeat these steps to add more Real Servers as needed.

5.4.1 PaperCut Mobility mDNS Virtual Service Recommended API Settings (optional)

This table outlines the API parameters and values set using the Kemp application template. You can use these settings with scripts and automation tools.

API Parameter

API Value

port 5353
prot udp
VStype gen
SubnetOriginating 1
Forcel7 1
Schedule lc
CheckType dns
CheckPort 5353

5.5 Create the PaperCut Web Interface Virtual Services

The following are the steps involved and the recommended settings to configure the PaperCut Web Interface Virtual Service:

1. In the main menu of the LoadMaster UI, go to Virtual Services > Add New.

PaperCutWebInterface.png

2. Type a valid Virtual Address.

3. Select the Papercut Web Interface template in the Use Template drop-down list.

4. Click Add this Virtual Service.

5. Expand the Real Servers section.

6. Update Health Check Authorization Key (the Authorization Key for health checking can be found on the PaperCut Application Server under Web User Interface > Options > Advanced) in the URL field.

7. Click Add New.

8. Type the Real Server Address.

9. Click Add This Real Server.

10. Repeat these steps to add more Real Servers as needed.

5.5.1 PaperCut Web Interface Virtual Service Recommended API Settings (optional)

This table outlines the API parameters and values set using the Kemp application template. You can use these settings with scripts and automation tools.

API Parameter

API Value

port 9191
prot tcp
VStype gen
SubnetOriginating 1
Forcel7 1
ExtraPorts 9192,9193
Schedule lc
CheckType http
CheckPort 9191
CheckURL /api/health/application-server/status?disk-threshold-mb=1&Authorization=<AUTHORIZATION KEY>

Last Updated Date

This document was last updated on 23 October 2020.

Was this article helpful?

0 out of 0 found this helpful

Comments