8.3 Setting up the Cluster Environment for iPrint

8.3.1 Clustering on an NSS File System

  1. Create NSS pools if they do not already exist, and configure the shared pools to work with Novell Cluster Services. For more information on the configuration, see Configuring Cluster Resources for Shared NSS Pools and Volumes in the OES 2 SP3: Novell Cluster Services 1.8.8 Administration Guide for Linux.

  2. Ensure that the pool resource where you want to run the iPrint service is cluster-enabled. For more information, see Cluster-Enabling an Existing NSS Pool and Its Volumes in the OES 2 SP3: Novell Cluster Services 1.8.8 Administration Guide for Linux.

  3. Ensure that the volume is mounted. For more information, see Mounting and Dismounting an NSS Volume in the OES 2 SP3: NSS File System Administration Guide for Linux.

  4. Run the iprint_nss_relocate script located at /opt/novell/iprint/bin. For more details on this script, see Section 3.4.1, Executing the Script.

  5. Migrate the pool resource to the next identified node and run the iprint_nss_relocate script with the same arguments. For more information, see Cluster Migrating Resources to Different Nodes in the OES 2 SP3: Novell Cluster Services 1.8.8 Administration Guide for Linux.

  6. Repeat Step 4 to Step 5 on all the iPrint cluster nodes.

  7. To configure iPrint services follow the instructions in Section 3.2, Setting Up iPrint.

    While configuring iPrint, ensure that all references to IP addresses or DNS names are pointing to the resource’s IP address or to the DNS name.

    IMPORTANT:During creation of the Print Manager, ensure that you do not select the Start Print Manager after Creation check box.

    At this stage you will encounter a certificate error, indicating that the hostname or IP address of the server where you are managing the print object does not match any of the certificates on the server where iManager is running. For more information on resolving certificate errors, Section 9.2, Understanding and Managing Certificates.

  8. Edit the load script. Add the following lines to the existing load script before the exit 0 statement

    ignore_error mv /media/nss/NSSVOL1/var/opt/novell/iprint/iprintgw.lpr /media/nss/NSSVOL1/var/opt/novell/iprint/iprintgw.lpr.bak

    NOTE:Replace /media/nss/NSSVOL1 in the above script with your actual cluster volume mount point.

    exit_on_error rcnovell-idsd start

    exit_on_error rcnovell-ipsmd start

  9. Edit the unload script. Add the following lines to the existing unload script after the /opt/novell/ncs/lib/ncsfuncs statement:

    ignore_error rcnovell-ipsmd stop

    ignore_error rcnovell-idsd stop

  10. View the current Preferred Nodes assignments, and if necessary, click the arrow button to assign or unassign servers to the print volume resource.

    You can click the up-arrow or down-arrow button to change the failover order of the servers assigned to the print volume.

    If you add a new node to the cluster later do the following:

    1. Comment out the load and unload scripts for the Print Manager and Driver Store.

    2. Migrate the resource to the new node.

    3. Run the iprint_nss_relocate script on the new node.

    4. Remove the comment tag from the load and unload scripts.

NOTE:If you rename the NSS volume that hosts the print manager, the iPrint IPP page fails to display and the iPrint configuration breaks. To re-establish the symbolic links broken because of the volume rename, refer to Section 11.10, iPrint Service Fails when Rename a Volume Where iPrint is Hosted.

8.3.2 Clustering on a Linux POSIX File System

To configure cluster resources for shared Linux POSIX volumes, refer to Configuring and Managing Cluster Resources for Shared Linux POSIX Volumes in the OES 2 SP3: Novell Cluster Services 1.8.8 Administration Guide for Linux.

  1. In iManager, click Clusters > Cluster Options.

  2. Select the Cluster object you have created.

  3. Under the Cluster Objects heading, click New.

  4. Select Resource, then click Next.

  5. Specify a name in the Cluster Resource Name field.

  6. Use the object selector for Inherit from Template to browse to and open the Cluster object you created, then select the iPrint_Template.

  7. Select the Define Additional Properties check box, then click Next.

  8. Edit the load script by making the changes outlined in the following table:

    Heading

    Description

    define the IP address

    Replace a.b.c.d with the IP address of the iPrint service that is to be used for this resource.

    define the file system type

    Replace reiserfs with the correct file system type.

    define the container name

    Replace name with the name of the EVMS container you have created.

    define the volume name

    Replace name with the name of the EVMS volume you have created.

    define the mount point

    Specify the mount point /mnt/iprint. If a different mount point is selected for the shared disk, ensure that the same mount point is specified in the unload script.

  9. Set the timeout value in the load script to three minutes, then click Next.

  10. Edit the unload script by making the changes outlined in the following table:

    Heading

    Description

    define the IP address

    Replace a.b.c.d with the IP address that is to be used for this resource. This is the same IP address specified in the load script.

    define the container name

    Replace name with the name of the EVMS container. This is the same container name specified in the load script.

    define the mount point

    Specify the mount point /mnt/iprint. If a different mount point is selected for the shared disk, ensure that the same mount point is specified in the unload script.

  11. Set the timeout value in the unload script to three minutes, then click Next.

  12. View the current Preferred Nodes assignments, and click the arrow button to assign or unassign servers to the print volume resource.

    You can click the up-arrow or down-arrow button to change the failover order of the servers assigned to the print volume.

    If you add a node to the cluster later, it might be added to the Assigned Nodes list. For this reason, you must check this list after adding nodes to ensure that iPrint fails over to the desired nodes.

  13. Click Finish.