Virtual Machine (VM) technologies, such as VMWare, Microsoft Hyper-V are becoming increasingly popular. They provide great flexibility in deploying servers within an organization. VM implementaions can also provide high-availability through the use of VM clusters. When a VM is running in a highly available VM cluster, any failure of the physical hardware will not affect the running VM as it is seemlessly transferred to another node in the cluster.
Implementing high-availability using VM infrastructure is much simpler to install and manage than using the built-in operating system and application clustering support. You simply set up your VM instances and the VM infrastructure ensures they continue to run uninterrupted.
This allows you to setup PaperCut just like on a physical server, but allow the VM infrastructure to provide the high availability.
This section discusses a generic clustered Virtual Machine setup.
PaperCut offers great flexibility and allows you to easily structure your installation into physical multi-tiered clustered components.
Clustering at Virtual Machine level offers these advantages over other “traditional” clustering setups:
Your software, drivers, settings, etc. are installed and configured once, in a single VM
Depending on your VM infrastructure, when a physical node fails the VM can be shifted to another node with marginal or no downtime
Backup processes can be dramatically simplified
Disaster recovery capabilities are inherently available
Virtual Machine hosts can automatically detect when a VM crashes or becomes unresponsive. You should consider whether you will augment this with application level monitoring. Although the VM might be running normally, the underlying application may have problems and application level monitoring may detect this. Ways of perform application level monitoring can be achieved through (but not limited to):
Loading an application server URL to test server is running
IP pings
Checking that PaperCut services are running
Define your Virtual Machine Vendor/Product and how you want configure the VM cluster for high availability.
There are many VM deployment strategies you can leverage depending on the VM platform you are utilizing, including VMs that might be hosted in different physical boxes, or even in different sites, which might configure a typical Disaster Recover (DR) scenario.
When selecting a VM product, it's particularly important to consider the following product features:
Fault Tolerance (FT): FT provides continuous availability for virtual machines by automatically creating and maintaining a secondary virtual machine that is identical to the primary virtual machine.
High Availability (HA): Should a VM fail, a new VM can be made available minimizing down time. Generally, FT is a functionality added on top of HA which provides seamless switch over if no loss of state.
Application High Availability (App HA): It's important that your VM vendor product offers Application Level monitoring. If the application fails, a new VM can be make available minimizing down time.
Data Replication and Backup: Consider features on how the application data can be backup and restored. Generally tape based backups are slow and can very often get corrupted. Replication of in memory data in case of FT or Disaster Recovery (DR) features might also play an important role. Specific proprietary algorithms for memory segments replication usually reduce the bandwidth needs and are very efficient.
There are many ways in which PaperCut can be deployed on VM infrastructure. Rather than be prescritive, we offer general considerations for implementing a VM-based clustered PaperCut installation.
Setup and configure print servers as required in your VM environment and configure them for VM high availability. You then just need to install the PaperCut Secondary Server components to monitor printing on the print servers. See Chapter 19, Configuring Secondary Print Servers and Locally Attached Printers.
Microsoft have a guide to high availability printing that discusses the setup of printing in highly available VM enironments (in particular Hyper-V). See the Microsoft High Availablity Printing Overview.
Setup and configure a new server in your VM infrastructure to host the Application Server component. Configure this VM with high-availability. Then install the PaperCut Application Server as per the normal setup process.
You can then choose to setup your print servers for high availablity as described in the section called “Mode 1 - Clustering at the Print Layer”.
© Copyright 1999-2015. PaperCut Software International Pty Ltd. All rights reserved.