Download User`s Guide

Transcript
Clustering and High Availability
Mode 2 builds upon Mode 1 by introducing failover (Active/Passive) clustering in the Application Server layer. This
involves having an instance of the application server on each of the cluster nodes. When one node fails, the other
automatically takes over the operation. Both instances use a share data source in the form of an external database
(see Chapter 18, Deployment on an External Database (RDBMS)). Large sites should consider using a clustered
database such as Microsoft SQL Server.
This section assumes that you have an already installed and working clustered printing environment.
20.2.2.1. Step 1 - Application Server Installation
On one of the cluster's nodes, install the Print-Limit Application Server component by selecting the Standard Install
option in the installer. Follow the setup wizard and complete the process of importing all users into the system.
20.2.2.2. Step 2 - Convert the system over to an external database
The system needs to be configured to use an external database as this database will be shared between both
instances of the application server. Convert the system over to the required external database by following the
procedure detailed in Chapter 18, Deployment on an External Database (RDBMS). The database may be hosted on
another system, or inside a cluster. As per the external database setup notes, reference the database server by IP
address by entering the appropriate connection string in the server.properties file.
20.2.2.3. Step 3 - Setup of 2nd Node
Repeat steps 1 and 2 on the second cluster node.
20.2.2.4. Step 4 - Decouple service management from the nodes
By default the Print-Limit Application Server component is installed under the management of the node.
It needs to be managed inside the cluster, so the service's start-up type should be set to manual. On each node
navigate to Control Panel → Administrative Tools → Services locate the Print-Limit Application Server. Stop
the service and set its start-up type to Manual. Repeat this on both nodes.
20.2.2.5. Step 5 - Create a new cluster group
The Print-Limit Application Server should be designated to run inside its own cluster group. Create a new
cluster group containing the two nodes. Add an IP Resource and a Network Name resource. Give the network
name resource an appropriate title such as PCAppSrv.
The need for a new cluster group is not hard and fast. It is however recommended as it gives the most flexibility in
terms of load balancing and minimizes the potential for conflicts.
20.2.2.6. Step 6 - Adding the Print-Limit Application Service as a resource managed under the new cluster
group.
1.
Open the Cluster Administrator.
2.
Right-click on the cluster group hosting the spooler service and select New → Resource.
3.
In the new resource wizard, enter a name of Print-Limit Application Server and select a resource
type of Generic Service. Click Next.
4.
Click Next at Possible Owners page.
5.
Click Next at Dependency page.
6.
On the Generic Service Parameters page, enter a service name of PCAppServer and ensure the Use
Network Name for computer name option is checked. Click Next.
7.
Click Finish at the Registry Replication page.
20.2.2.7. Step 7 - Bring the cluster group online
Right-click on the cluster group and select Bring online. Wait until the application server has started, then verify that
you can access the system by pointing a web browser to :
298