Revised: 1 October 2015 3:28 pm
High Availability Setup Guide
Version: 9.0
Released: March 2015
Companion Guides:
The UniPrint Infinity Administrator’s Guide, Cluster Guide and Mobile Setup Guide can be found online for your convenience and are intended to assist administrators with the installation and configuration of UniPrint Infinity.
• UniPrint Cluster Guide
• UniPrint Mobile Setup Guide
UniPrint.net makes no representations or warranties with respect to the contents or use of this publication. UniPrint.net especially disclaims any expressed or implied warranties, merchantability or fitness for any particular purpose. UniPrint.net reserves the right to make any changes in specifications and other information contained in this publication without prior notice and without obligation to notify any person or entity of such revisions or changes.
© Copyright 1999 - 2015 UniPrint.net. All rights reserved.
Information in this document is subject to change without notice. Companies, names and data used in examples herein are fictitious unless otherwise noted. Other than printing one copy for personal use, no part of this document may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purposes, without the expressed written consent of:
UniPrint.net 1 Eva Road, Suite 309
Toronto, Ontario Canada M9C 4Z5
(416) 503-9800
Toll Free: (866) 488-3188 (North America only)
www.uniprint.net
Intellectual Property Acknowledgements
UniPrint and UniPrint Infinity are registered trademarks of UniPrint.net. Registration numbers TMA562,455 and TMA857,027 in Canada and filing number 85-663,579 in the United States. UniPrint.net products are also registered as United States Patent Numbers 7,064,856, 7,265,867 and 7,602,522.
Microsoft, Windows, Windows 2003/2008/2012, Windows Vista, Windows 7/8, Microsoft Access, Microsoft Word, Remote Desktop Protocol (RDP), ASP.NET and Active Directory are either registered trademarks or trademarks of Microsoft Corporation.
Citrix, MetaFrame, Presentation Server, XenApp and ICA (Independent Computing Architecture) are registered trademarks or trademarks of Citrix Systems.
Adobe, Acrobat, Reader are registered trademarks of Adobe Systems Inc. Oracle is a registered trademark of Oracle Corporation.
Document Revision History
Date Notes
March 27, 2015 First release.
May 7, 2015 Company name changed to UniPrint.net.
v
Table of Contents
Introduction ... 1
High Availability Setups ... 1
Microsoft Failover Cluster ... 1
UniPrint Infinity HA Setup ... 2
UniPrint Infinity Components and HA ... 3
Before Installing UniPrint Infinity ... 5
Setting up an External Database ... 5
Creating ODBC Data Sources ... 6
Connecting UniPrint Infinity to an External Database ...10
Installing UniPrint in an HA Setup ...13
Planning Your UniPrint Infinity HA Setup ...13
Recommended System Requirements ...13
UniPrint Bridge ...13
UniPrint Print Server ...13
UniPrint Application Server ...14
Disabling Client Printer Mapping on the Application Server ...14
Deployment Scenario ...16
Installing UniPrint Bridge ...17
Installing UniPrint Print Server ...21
Installing UniPrint Application Server ...25
Configuring the Installation ...27
Confirming Correct Installation & Configuration ...32
Modifying & Removing UniPrint ...33
Modifying a UniPrint Installation ...34
Removing UniPrint ...34
Configuring UniPrint Infinity Features for HA ...35
Applying HA Licenses ...35
PrintPAL ...35
Printer Profiles ...36
UniPrint NAS Service & SecurePrint ...37
Activating the UniPrint vPad ...41
Adding Printers to the vPad ...45
Font Replication ...47
Contact and Support ...49
UniPrint Support ...49
North America ...49
Europe, Middle East and Africa ...49
E-mail ...49
Office Location ...49
C
HA
PTER
1
UniPrint Infinity High Availability Setup
Introduction
Introduction
In any environment a print service outage is at the very least an inconvenience and in some environments it can be much more serious. To ensure maximum uptime and to eliminate any single points of failure, UniPrint Infinity can be set up for High Availability (HA).
The information outlined in this document is considered to be an advanced setup for UniPrint Infinity and a member of the UniPrint Support team should be consulted prior to commencing work.
High Availability Setups
Microsoft Failover Cluster
For more information on setting up UniPrint Infinity in a Microsoft Cluster, refer to the UniPrint Infinity Cluster Guide.
UniPrint Infinity HA Setup
When it is not possible to setup Microsoft failover clustering, follow the guidelines in this document to setup UniPrint Infinity in an HA
configuration.
Although UniPrint Infinity can be setup with only two Bridges or only two Print Servers, this document will focus on setting up UniPrint Infinity with two Bridges, two Print Servers and an external database, such as Microsoft SQL Server. This setup provides the best protection against UniPrint service failures.
NOTE: A redundant Bridge setup will only fully protect against a
UniPrint service outage on a Bridge. In the event of complete failure of the Bridge or Print Spooler service on the Bridge, some printing services, such as Microsoft Office 2010 or later, will be unavailable whilst others will experience a delay in printing. This is due to the underlying Microsoft Windows print system and how it deals with a server/Print Spooler service being available.
Chapter 1: Introduction 3
UniPrint Infinity Components and HA
The following table shows an overview of which UniPrint Infinity components/features can be made highly available by using the HA setup.
Component /Module UniPrint Infinity HA Setup Microsoft Failover Cluster (or similar) Notes UniPrint Bridge
Multiple instances allowed.
UniPrint
Print Server
Multiple instances allowed.
License
Server
Use with an HA license.
SecurePrint
Use with an external, centralized database such as Microsoft SQL Server and the UniPrint NAS service.
Printer
Delegation
PrintPAL
In the event of a failure, users are able to reconnect to the correct printers.Statistics
Server
Use with an external, centralized database.
Archive
Server
This service should only be running on a single, separate server.
Printer
Profiles
Use with an external, centralized database.
Print Route
Use with an external, centralized database. Note: This is separateutility.
Email2Print
Not HA awareC
HA
PTER
2
UniPrint Infinity High Availability Setup
Before Installing UniPrint Infinity
Before Installing UniPrint Infinity
Setting up UniPrint Infinity in an HA setup, requires an external, centralized database, such as Microsoft SQL Server. Before installing UniPrint Infinity, it is recommended that the following tasks be completed:
• Create a new database or instance.
• Execute a custom script on the new database. A custom script for Microsoft SQL Server is included in the UniPrint Infinity installation package and can be found in the Admin\HA SQL Script folder. • Create a system DSN connection from both Bridges and Print Servers
to the new database.
Setting up an external database will enable Printer Profiles and PrintPAL mappings to be replicated and reduces interruptions to SecurePrint and the Statistics modules.
The following instructions are purposely generalized. For detailed
instructions, refer to the documentation for your specific database version and its tools.
Setting up an External Database
1. Install the database application and create a new database, referred to as UniPrintDB throughout this document. Note: Microsoft SQL Express 2014 with Tools is free and is more than adequate for testing purposes. 2. Execute the SQL script, UniPrint_MSSQL_SERVER.sql, against
3. Confirm that the tables have been created.
Creating ODBC Data Sources
A System DSN connection needs to be created from both Bridges and Print Servers to UniPrintDB.
1. On all Bridges and Print Servers, click Start and then type ODBC Data Source. Click ODBC Data Sources.
Chapter 2: Before Installing UniPrint Infinity 7
3. Ensure that SQL Server is selected and then click Finish.
4. Enter a name for the database source and then select the SQL server where UniPrintDB resides.
5. Select With SQL Server authentication using a logon ID and
Password. Note: Windows NT authentication is not supported. Click Next.
Chapter 2: Before Installing UniPrint Infinity 9
7. Click Finish.
9. The UniPrint data source will now appear in the list. Click OK.
Connecting UniPrint Infinity to an External Database
The following steps are required, if the data source information was not provided during the installation of UniPrint Infinity.After establishing a system DSN connection, the UniPrint Management Console on both Bridges and Print Servers need to point to UniPrintDB. Do the following on both Bridges and Print Servers:
1. On a Bridge or Print Server, open the UniPrint Management
Console.
Chapter 2: Before Installing UniPrint Infinity 11
3. Select Remote and then beside System DSN, select the UniPrint data source.
C
HA
PTER
3
UniPrint Infinity High Availability Setup
Installing UniPrint in an HA Setup
Installing UniPrint in an HA Setup
The following instructions assume that you are installing UniPrint Infinity on Windows Server 2012 R2. If you are installing on another platform, you will need to adjust the steps to account for any interface differences. Consult the product documentation for your operating system.
Planning Your UniPrint Infinity HA Setup
Before installing UniPrint Infinity, it is recommended that you take note of the UniPrint Bridge IP addresses. This information is required when installing UniPrint Print Server and UniPrint Application Server.
Recommended System Requirements
To ensure the installation of UniPrint Infinity is successful, ensure that your servers meet the recommended system requirements for each UniPrint component.
UniPrint Bridge UniPrint Bridge requires one of the following supported operating systems: • Microsoft Windows Server 2003 SP1
• Microsoft Windows Server 2008 or R2 • Microsoft Windows Server 2012 or R2
UniPrint Print Server
UniPrint Print Server requires one of the following supported operating systems:
• Microsoft Windows Vista • Microsoft Windows 7 • Microsoft Windows 8/8.1
• Microsoft Windows Server 2003 SP1 • Microsoft Windows Server 2008 or R2
NOTE: Microsoft Windows Installer 3.1 or later is required for the
UniPrint installation package and can be downloaded from
• Microsoft Windows Server 2012 or R2
UniPrint Application Server
UniPrint Application Server requires one of the following supported operating systems:
• Microsoft Windows Server 2003 SP1 with Terminal Services installed in Application Server Mode
• Microsoft Windows Server 2008 or R2 with Remote Desktop Services role installed
• Microsoft Windows Server 2012 or R2 with Remote Desktop Services role installed
In a VDI environment, UniPrint Application Server is installed on each golden image with one of the following supported operating systems:
• Microsoft Windows Vista
• Microsoft Windows 7 (Note: Windows 7 Starter, Home Basic and Home Premium are NOT supported because these versions do not support Remote Desktop Services.)
• Microsoft Windows 8 or later
Disabling Client Printer Mapping on the Application
Server
Prior to deploying UniPrint Infinity, it is highly recommended that client printer mapping be disabled on the Application Server. In Windows Server 2012 R2, this can be accomplished through Group Policy Objects.
1. On the Application Server, click Run, type gpedit.msc and then
click OK.
2. In the console tree, under Computer Configuration, expand
Administrative Templates, Windows Components, Remote Desktop Services, Remote Desktop Session Host, and then
NOTE: Both Print Servers must be running the same version of
Chapter 3: Installing UniPrint in an HA Setup 15
Printer Redirection. Double-click Do not allow client printer redirection.
Deployment Scenario
This document focuses on deploying UniPrint Infinity in a High Availability (HA) setup with two UniPrint Bridges and two UniPrint Print Servers and assumes that SecurePrint will be also be deployed in HA using the new UniPrint NAS service.
Before installing UniPrint Infinity, ensure that client printer redirection is disabled on the Application Server. For instructions, see "Disabling Client Printer Mapping on the Application Server" on page 14. Also, install the exact same printer drivers on both UniPrint Print Servers, before installing
UniPrint Infinity.
The recommended installation order is as follows: 1. Install UniPrint Bridge on Bridge 1.
2. Install UniPrint Print Server on Print Server 1 and have it point to
Bridge 1.
3. Install UniPrint Application Server on the Application Server and have it point to Bridge 1.
4. Install UniPrint Bridge on Bridge 2.
5. Install UniPrint Print Server on Print Server 2 and have it point to
Chapter 3: Installing UniPrint in an HA Setup 17
Installing UniPrint Bridge
The UniPrint Bridge and its components are typically the first and fourth (on the second Bridge) components to be installed and should be installed on its own server machine.
1. On a server machine (Bridge 1 or Bridge 2) that meets the recommended system requirements, run the installation program,
UniPrint9_*.exe as an administrator.
2. In the UniPrint Infinity Installation dialog box, click Next. 3. In the License Agreement dialog box, click I accept the terms in
the license agreement and then click Next.
4. In the Destination Folder dialog box, click Next to accept the default location for the UniPrint Infinity program files. To select a different location, click Change and then browse to the alternate location.
5. In the Setup Configuration Type dialog box, select UniPrint
and Show me all available installation customization options. Click Next.
6. In the Custom Setup dialog box, beside Data Server, click
Chapter 3: Installing UniPrint in an HA Setup 19
7. In the High Availability Configuration dialog box, under ODBC enter the system DSN connection and the SQL Server credentials.
Note: Windows authentication is not supported. Click Next.
8. In the Ready to Install the Program dialog box, click Install. The installer will copy files to the destination folder.
9. Click Finish to complete the installation. 10. Click Start and then click .
11. In the Apps screen, scroll right to locate UniPrint Suite. Under
Pin to Start or Pin to taskbar depending on how often it will be
accessed.
12. Click to return to the Start screen and if Pin to taskbar was selected, click the Desktop tile. Click to open the UniPrint
Management Console.
Chapter 3: Installing UniPrint in an HA Setup 21
Installing UniPrint Print Server
The UniPrint Print Server and its components are typically the second and fifth (on the second Print Server) components to be installed.
1. On a network print server (Print Server 1 or Print Server 2) that meets the recommended system requirements, run the installation program, UniPrint9_*.exe as an administrator.
2. In the UniPrint Infinity Installation dialog box, click Next. 3. In the License Agreement dialog box, click I accept the terms in
the license agreement and then click Next.
4. In the Destination Folder dialog box, click Next to accept the default location for the UniPrint Infinity program files. To select a different location, click Change and then browse to the alternate location.
5. In the Setup Configuration Type dialog box, select UniPrint
Show me all available installation customization options. Click Next.
6. In the Custom Setup dialog box, beside SecurePrint Server, click and then select This feature will be installed on local hard
Chapter 3: Installing UniPrint in an HA Setup 23
7. In the UniPrint Bridge Configuration dialog box, enter the IP
Address of Bridge 1 if this is Print Server 1 or Bridge 2 if this is Print
Server 2. Click Next to continue.
8. In the UniPrint Print Server Configuration dialog box, for both
9. In the High Availability Configuration dialog box, under ODBC enter the system DSN connection and the SQL Server credentials.
Note: Windows authentication is not supported. Click Next.
10. In the Ready to Install the Program dialog box, click Install.
Note: Ignore the warning at the bottom of the dialog box, since the Data
Server was already installed on the Bridge.
Chapter 3: Installing UniPrint in an HA Setup 25
Installing UniPrint Application Server
UniPrint Application Server and its components are the third components to install in an HA environment.
1. On a Citrix/RDS server or golden virtual desktop image that meets the recommended system requirements, run the installation program,
UniPrint9_*.exe as an administrator.
2. In the UniPrint Infinity Installation dialog box, click Next. 3. In the License Agreement dialog box, click I accept the terms in
the license agreement and then click Next.
4. In the Destination Folder dialog box, click Next to accept the default location for the UniPrint program files. To select a different location, click Change and then browse to the alternate location.
5. In the Setup Configuration Type dialog box, select UniPrint
connection between the Application Server and the Bridge when the user prints.
a) If Adobe Reader or Acrobat are already installed, then by default the Adobe Plug-in is also installed. It is highly recommended that the Adobe Plug-in be installed since it instructs UniPrint not to re-render print jobs that are already in PDF format. Re-rendering PDF files often results in undesirable output or missing fonts. To prevent the Adobe Plug-in from being installed or to install additional components, select Show me all available
installation customization options.
6. Click Next.
7. In the UniPrint Bridge Configuration dialog box, enter the IP
Address of Bridge 1 or click Auto Locate to run an auto-discovery
function to find an already installed and running Bridge. Note: If using the Auto Locate function in an environment where there are multiple
NOTE: If font replication is to be used, such that font embedding
is no longer necessary then DO NOT enable the No static
connection to the Bridge Server option. Font replication will
Chapter 3: Installing UniPrint in an HA Setup 27
UniPrint Bridges, ensure that the IP address located is that of the intended Bridge before proceeding. Click Next.
8. In the Ready to Install the Program dialog box, click Install. UniPrint installer will copy files to the destination folder.
9. Click Finish to complete the installation.
Configuring the Installation
To make this setup fully HA, both Print Servers need to point to both Bridges and the Application Server needs to point both Bridges. Both Bridges also need to point to each other. If change are made to the printer properties of a Gateway printer on one Bridge, then these changes will automatically be reflected on the other Bridge.
To do this, do the following:
1. On Print Server 1, open the UniPrint Management Console. 2. Under Properties & Settings, click Components.
3. Click to select UniPrint Control Service and then click
Properties.
Chapter 3: Installing UniPrint in an HA Setup 29
5. To add a Bridge, click .
6. Enter the IP address of Bridge 2 and then click OK.
Bridge and if failure occurs, this print server will failover to the Bridge associated with the second IP address.
Chapter 3: Installing UniPrint in an HA Setup 31
9. Repeat steps 1 to 7 on the Application Server, except enter the IP address of Bridge 2.
11. Repeat steps 1 to 7 on Bridge 2, except enter the IP address of Bridge 1.
After configuration is complete the HA Setup should look something the following diagram.
Confirming Correct Installation & Configuration
To confirm that the installation and configuration is correct, there should be two PrinterServerSID values in the registry.
Chapter 3: Installing UniPrint in an HA Setup 33
2. Under the following key, there should be 2 PrinterServerSID values: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\ Control\Print\Printers\[PrinterName]\DsUser.
3. The printer will also be a proxy to two print servers on the UniPrint Management Console.
Modifying & Removing UniPrint
Before proceeding ensure that all user sessions have ended, and that new logons to the application server or virtual desktop image have been disabled.
Modifying a UniPrint Installation
To modify a UniPrint installation, you must either be logged in as the built-in “Administrator” or you must have UAC disabled. By design, modifying UniPrint as a user with administrative privileges does not give you sufficient permissions.
1. Click Start and then click the Control Panel tile. 2. Click Programs and Features.
3. From the list of installed applications, click to select UniPrint
Infinity and then click Change.
4. In the UniPrint Infinity Maintenance dialog box, click Next. 5. In the Program Maintenance dialog box, select Modify and then
click Next.
6. In the Custom Setup dialog box, add or remove the desired components and then click Next.
7. If you are modifying UniPrint Infinity on a server other than the Bridge, the UniPrint Bridge Configuration dialog box will be presented. Enter or confirm that the IP address of the UniPrint Bridge is correct and then click Next.
8. In the Ready to Modify the Program dialog box, click Install. 9. Click Finish to complete the modifications.
Removing UniPrint
To remove UniPrint completely from your environment, the following procedure must be performed on all UniPrint component servers.
1. Click Start and then click Control Panel. 2. Click Programs and Features.
3. From the list of installed applications, click to select UniPrint
Infinity and then click Uninstall.
C
HA
PTER
4
UniPrint Infinity High Availability Setup
Configuring UniPrint Infinity Features for HA
Configuring UniPrint Infinity Features for HA
Some UniPrint Infinity features require additional configuration in order to function properly in an HA setup. These features include Printer Profiles and configuring the UniPrint NAS Service for SecurePrint.
Applying HA Licenses
Two separate license files corresponding to the two Bridges are required for the HA setup. Simply apply the license file to the corresponding Bridge. For detailed instructions on applying license files, refer to the UniPrint Infinity Administrator’s Guide.
PrintPAL
Printer Profiles
In recent releases of UniPrint Infinity, a Path registry value was introduced that allows for printer profiles to be stored in a shared network location. Setting this value allows for Printer Profiles to be replicated between the two Print Servers.
1. Create a shared location that is accessible by both Print Servers in your network, for example, \\FileServer01\UniPrint\Profiles.
2. On both Print Servers, open the Registry Editor, by clicking Start and then typing regedit.
3. Under the key:
HKEY_LOCAL_MACHINE\SOFTWARE\UniPrint\Profiles double-click the Path value.
4. Under Value data, enter the new path for the shared network location and then click OK.
5. Close the Registry Editor.
6. To ensure that this functions as intended the UniPrint Control Service must be run as a Domain user and this user must also be a local administrator. On both Print Servers, click Start, Administrative
Chapter 4: Configuring UniPrint Infinity Features for HA 37
7. Right-click the UniPrint Control Service and then select
Properties.
8. Click the Log On tab and then select This account.
9. Enter the credentials of a valid Domain user that is also a local administrator and then click OK.
10. Create and edit printer profiles on any Print Server. This only needs to be done on one of the Print Servers, since whatever profiles are created on one Print Server will automatically be reflected on the other Print Server. For detailed instructions on creating printer profiles, refer to the UniPrint Infinity Administrator’s Guide.
UniPrint NAS Service & SecurePrint
The UniPrint NAS Service is used to move SecurePrint jobs from the QueueJob folder to a shared network location.
1. Create a shared location on the network, for example, \\FileServer01\UniPrint\UPNAS.
3. Right-click the UniPrint NAS Service and then click Properties. 4. Click the Log On tab and then select This account.
5. Enter the credentials of a valid Domain user. 6. Open the Registry Editor.
7. Under the key,
Chapter 4: Configuring UniPrint Infinity Features for HA 39
8. Under Value data, enter the path for the shared network location and then click OK.
9. On the domain controller, open Active Directory Users and
Computers.
11. Right-click the computer where the shared location was created and then click Properties.
12. Click the Delegation tab and then select Trust this computer for
Chapter 4: Configuring UniPrint Infinity Features for HA 41
13. On both Print Servers, click Start, Administrative Tools and then double-click Services.
14. Right-click UniPrint NAS Service and then click Properties. 15. Set the Startup type to Automatic and then click OK.
16. Start the UniPrint NAS Service on both Print Servers.
Activating the UniPrint vPad
Activating the vPad in an HA environment is slightly different since the vPad has to point to both Print Servers and activation of the vPad should be done on a Print Server.
Follow these instructions for both the vPad device and the SecurePrint emulator.
Server Hostname or IP address is pointing to the wrong UniPrint Print Server or if only one is presented, tap Customize.
Chapter 4: Configuring UniPrint Infinity Features for HA 43
b. Change and add the IP address or hostname to that of both Print Servers and then tap to minimize the keypad.
c. Tap Apply.
2. The vPad will display the IP addresses of both Print Servers, with the currently connected Print Server in green.
3. From a Print Server, open the UniPrint Management Console. 4. Under Properties & Settings, click SecurePrint.
Chapter 4: Configuring UniPrint Infinity Features for HA 45
7. Once enabled, return to the vPad and the user name entry screen should appear.
Adding Printers to the vPad
After the vPad has been configured to point to both Print Servers, adding printers and other configuration tasks only need to be done on one Print Server, since SecurePrint settings are replicated to the other Print Server. For detailed instructions on other SecurePrint configuration tasks, refer to the
UniPrint Infinity Administrator’s Guide. To add a printer to a vPad, do the following:
3. Click to select an enabled vPad and then click Add Printers.
4. Click to select a printer and then to ensure users enter a password in order to release their print job(s), select Force Password. Note: To select multiple printers, click to select a printer and then hold down the SHIFT key for consecutive printers or the CTRL key for non-consecutive printers.
Chapter 4: Configuring UniPrint Infinity Features for HA 47
6. Repeat steps 4 to 5 to add more printers as required.
Font Replication
Font replication needs to be enabled on both Print Servers. For detailed instructions on enabling font replication, refer to the UniPrint Infinity Administrator’s Guide.
NOTE: If after a printer is added, hardware changes occur, such as,
C
HA
PTER
5
UniPrint Infinity High Availability Setup
Contact and Support
Contact and Support
UniPrint Support
Contact us if you require assistance with any of the UniPrint products.
North America Hours of Operation
03:00 to 19:00 Eastern Time (UTC -5) Monday to Friday
Toll Free Phone Number (North America Only)
1-866-488-3188 option 3
Phone Number
+1 (416) 848-0329 (Worldwide)
Europe, Middle East and Africa
Hours of Operation
08:00 to 24:00 Coordinated Universal Time (Greenwich Mean Time) Monday to Friday Phone Number +44 1344 206144 E-mail [email protected]
Office Location
Address UniPrint.net1 Eva Road, Suite 309 Toronto, ON M9C 4Z5 Canada
Phone Number
(416) 503-9800
Toll Free Phone Number (North America Only)