When installing an enterprise system, LDD can be installed using the following hardware configurations:
Configuration | Description | Advantages | Disadvantages |
---|---|---|---|
1-N | Database (DB) and load balancer (LB) on one computer, server on one or more additional computers (most common setup when failover is not used) ![]() | Improved performance | Increased hardware needs, no failover for database or load balancer |
1-1-N | Database (DB) and load balancer (LB) on separate computers, server on one or more additional computers ![]() Note: An external Microsoft SQL Server database may be installed in place of the standard database, resulting in an E-1-N configuration. The external database (E) and load balancer (LB) are on separate computers, and the server is on one or more additional computers. | Further improved performance | Further increased hardware needs, no failover for database or load balancer |
X-N | Database (DB) and load balancer (LB) together on X computers in a Microsoft Cluster Server for failover, server on one or more additional computers (most common setup when using failover) ![]() | High availability, improved performance | Increased hardware needs, cluster licensing |
X-Y-N | Database (DB) on X computers in a Microsoft Cluster Server for failover, load balancer (LB) on Y other computers in a Microsoft Cluster Server for failover, server on one or more additional computers ![]() Note: An external Microsoft SQL Server database may be installed in place of the standard database, resulting in an E-Y-N configuration. The external database (E) on X computers and the load balancer (LB) on Y other computers are in a Microsoft Cluster Server for failover. The server is on one or more additional computers. | High availability, further improved performance | Further increased hardware needs, cluster licensing |
When configuring multiple LDD systems, you can connect them to a hardware load balancer or Global Site Selector (GSS) to provide high availability, without using clustering, as well as increased capacity.
Each system group contains two identical LDD systems. Jobs are balanced between these systems in each group by the hardware load balancer or GSS. If a failure occurs in one system in a group, then the other system in the group receives all incoming jobs until the failed system can be restored.
With this type of setup, you need additional computers, as well as a hardware load balancer or GSS. You also need to manually configure these systems to be identical.
Note: Printers that do not support eSF applications cannot be used with an LDD system that uses a hardware load balancer or GSS. |
When a hardware load balancer is used with multiple LDD systems, the hardware load balancer must be configured as follows:
The X-Forwarded-For HTTP header must be inserted into incoming packets.
The packets going into the LDD systems from the HW LB should not appear to be from the hardware load balancer of the packet headers so that device or clients groups and their settings will work properly.
Cookie-based session persistence must be disabled.
This is needed in case one of the LDD systems is down. If this is enabled, then LMC may not work properly when one of the LDD systems is down.
The load balancing algorithm should be set to Round Robin.
Based on tests made on hardware balancing algorithms, LDD systems work better with round robin than the other algorithms.
There are two main factors for determining the number of servers required to process jobs efficiently:
Peak demand—This is usually the deciding factor when the average execution time for a solution is under 30 seconds.
Concurrency—This is usually the deciding factor when the average execution time for a solution is over 30 seconds.
Additionally, the database, when installed on the recommended hardware and connected using Gigabit Ethernet, can process 200,000 logged messages per hour, which is approximately 40,000 jobs per hour when using a typical solution (five logged messages per job). If this limit is reached, then it may be necessary to use multiple systems.
Use the following formulas to determine the number of servers necessary to handle peak loads for a particular solution:
(System-wide hourly job rate) = (system printer capacity) x (jobs per printer per day) / (length of business day)
(Peak demand) = 2 x (system-wide hourly job rate)
(Minimum number of servers) = (peak demand) / (single-server throughput for current solution)
Consider the following example:
Each server in your system can process 3000 jobs per hour using the solution.
There is capacity for 300 printers in your system.
Each printer in your system averages 100 jobs per day.
Perform the following calculations:
Determine the system-wide hourly job rate:
(300 printers) x (100 daily jobs/printer) / (8 hours/day) = 3750 jobs/hour
Determine the peak demand:
2 x (3750 jobs/hour) = 7500 jobs/hour
Determine the minimum number of servers:
(7500 jobs/hour) / (3000 jobs/hour) = 2.5
Rounding up, the system should include three servers to reliably handle the peak load for a solution with average execution time below 30 seconds.
The single-server throughput for a solution must be determined by the solution developer, though the following typical throughputs on a server with the recommended hardware may help determine a rough estimate:
Solution processing load | Functions used | Average single-server throughput |
---|---|---|
Typical |
| 6000–8000 jobs per hour |
Heavy |
| 2000–3000 jobs per hour |
Very heavy (OCR) |
| 100–200 jobs per hour |
Note: Using less than the recommended RAM significantly reduces throughput. For example, a dual-processor server with only 2GB of RAM can process only 600–800 jobs/hour when using a “heavy” solution. |
For more information, see the Lexmark Document Distributor SDK Guide.
Each server that meets recommended requirements can process 30 concurrent jobs from clients. The following formula determines the number of servers necessary to meet concurrency requirements:
(minimum number of servers) = (number of printers expected to submit jobs near the same time) / 30
For example, assume that 1/3 of the 300 printers in the last example might be active at the same time:
100 / 30 = 3.33
Rounding up, the system should include four servers to allow for 100 active printers for a solution with average execution time below 30 seconds.
Select a system configuration, and then configure the appropriate hardware on the network.
Make sure that the time on all computers used in the LDD system is synchronized using a Network Time Protocol (NTP) server.
Install the system components.
Note: If you are installing LDD using the default database (Firebird), then the system components can be installed in any order. However, if you are using Microsoft SQL Server database, then see Using Microsoft SQL Server database before installing LDD. |
Install the database.
Activate and download licenses on the computer where the load balancer is installed.
Install the load balancer.
If you are using one or more Microsoft Cluster Servers, then extend the database and load balancer to standby nodes.
Install servers.
Note: When installing multiple servers, install one server at a time. |
Change the administrator password. If necessary, change the administrator user name.
Temporarily set servers online to test function.
Notes:
If you are using Microsoft SQL Server as the back-end database, then make sure that:
The Microsoft SQL Server database is installed before proceeding with the LDD installation. For more information, see the help information for Microsoft.
Note: To view the list of supported database servers, see System requirements. |
LDD system components are not installed on the server running Microsoft SQL Server.
The default database (Firebird) in the LDD installer is not installed.
For LDD to work with Microsoft SQL Server, create seven databases before the load balancer and server are installed. To help the database administrator create these databases, do the following:
Open the CreateDatabase.sql file at
, where is the location of the LDD installer.Modify the script to control the creation of the LDD databases in Microsoft SQL Server, and then save the file.
Note: The CreateDatabase.sql file contains the minimum database size required for LDD. You can increase the database size as needed. |
From Microsoft SQL Server, run the command prompt as an administrator, and then type
sqlcmd -i <installerpath>\mssql\scripts\CreateDatabase.sql -o <outputfilepath>\MyOutput.txt
where
is the location of the LDD installer and is the location where you want to save the log file.Confirm that the databases are installed completely.
Type
to connect to the default instance.Type
to show all databases.Enable TCP/IP connections and port numbers.
In the SQL Server Configuration Manager, do the following:
From the Server Network Configuration, make sure that TCP/IP is enabled and the port number is set to 1433.
Note: To check the port numbers for the IP addresses, open the TCP/IP properties. |
From the Native Client Configuration, make sure that TCP/IP is enabled.
Note: You can also migrate data from Firebird to Microsoft SQL Server. For more information, see the Readme file for database migration at , where is the location of the LDD installer CD. |
Note: If you are using a Microsoft SQL Server database, then do not install the default database (Firebird) component. |
From the system where you want to install the database, do the following:
From the LDD installation package, run Setup.exe.
Select a language for the installation, and then click OK.
From the LDD Setup window, click Next.
Select Install LDD system components, and then click Next.
Accept the license agreement, and then click Next.
From the list of components, select Database, and then click Next.
Specify a location for the installation, and then click Next.
Note: The installation path must not contain double-byte characters. |
Select your database IP address, and then click Next.
Note: If necessary, select Allow only IP address. |
If you are installing a backup recovery system, then select Restore Install (RI), specify or locate the .ri file, and then click Next.
Review the setup information, and then click Next.
Click Install.
From the system where you want to install the load balancer, do the following:
From the installation package, run Setup.exe.
Select a language for the installation, and then click OK.
From the LDD Setup window, click Next.
Select Install LDD system components, and then click Next.
Accept the license agreement, and then click Next.
From the list of components, select Load balancer, and then click Next.
Specify a location for the installation, and then click Next.
Note: The installation path must not contain double-byte characters. |
Select your load balancer IP address, and then click Next.
Note: If necessary, select Allow only IP address. |
Specify the host name or IP address of the database, select the database type, and then click Next.
Notes:
If you are installing a backup recovery system, then select Restore Install (RI), specify or locate the .ri file, and then click Next.
Review the setup information, and then click Next.
Click Install.
Before you begin, make sure that:
The failover clusters are using Microsoft Windows Server Clustering Services.
A firewall is not blocking any physical and logical nodes in the cluster.
Create a temporary directory.
From the install\Cluster_Config_Script of the installation package, copy the batch files to the temporary directory.
Run the command prompt as administrator, and then access the temporary directory.
Run the batch files.
Note: If you are using a Microsoft SQL Server database, then do not run the DB firewall batch file. |
Notes:
From the LDD installation package, run Setup.exe.
Select a language for the installation, and then click OK.
From the LDD Setup window, click Next.
Select Install LDD system components, and then click Next.
Accept the license agreement, and then click Next.
From the list of components, select Database, and then click Next.
Specify a location on a shared cluster disk for the installation, and then click Next.
Note: The installation path must not contain double-byte characters. |
Select the host name or IP address of the logical host of the cluster, and then click Next.
Note: If necessary, select Allow only IP address. |
If you are installing a backup recovery system, then select Restore Install (RI), specify or locate the .ri file, and then click Next.
Review the setup information, and then click Next.
Click Install.
From the installation package, run Setup.exe.
Select a language for the installation, and then click OK.
From the LDD Setup window, click Next.
Select Install LDD system components, and then click Next.
Accept the license agreement, and then click Next.
From the list of components, select Load balancer, and then click Next.
Specify a location on a shared cluster disk for the installation, and then click Next.
Note: The installation path must not contain double-byte characters. |
Select the host name or IP address of the logical host of the cluster, and then click Next.
Note: If necessary, select Allow only IP address. |
Type the host name or IP address of the logical host, select the database type, and then click Next.
Notes:
If you are installing a backup recovery system, then select Restore Install (RI), specify or locate the .ri file, and then click Next.
Review the setup information, and then click Next.
Click Install.
Do the following on the primary node of each failover cluster:
Run the Lexmark Solutions Cluster Configuration script:
Create a temporary directory.
From the install\Cluster_Config_Script of the installation package, copy either of the following to the temporary directory:
LexmarkSolutionsClusterConfigScript_WMIProvider.vbs
LexmarkSolutionsClusterConfigScript.vbs
Run the command prompt as an administrator, and then access the temporary directory.
Run the VBScript file by typing either of the following:
Follow the instructions on the screen.
Note: When you are installing multiple servers, install one server at a time. |
From the system where you want to install the server, do the following:
From the LDD installation package, run Setup.exe.
Select a language for the installation, and then click OK.
From the LDD Setup window, click Next.
Select Install LDD system components, and then click Next.
Accept the license agreement, and then click Next.
From the list of components, select Server, and then click Next.
Note: You can install optional server components, such as Barcode Read, Barcode Write, and OCR, after the LDD installation. |
Specify a location for the installation, and then click Next.
Note: The installation path must not contain double-byte characters. |
For multiple networks, select the IP address to which you want to bind the server, and then click Next.
Note: If necessary, select Allow only IP address. |
Type the host name or IP address of the load balancer and of the database, select the database type, and then click Next.
Notes:
Review the setup information, and then click Next.
Click Install.
Notes: