Migrating from a primary server to a secondary server

You can easily migrate an independent primary InfoPrint Manager server to interoperate with another primary InfoPrint Manager server. To do this, the independent server must become a secondary server:

  1. Stop each InfoPrint Manager server process that you want to migrate with this command:
    stop_server -F ServerName
    where ServerName is the name of the server process that will become the future secondary server.
  2. Remove the /var/pddir/default_cell directory on the future secondary system with this commands:
    rm -fr /var/pddir/default_cell
  3. If an /ipdata directory is allocated on the future secondary system (and the primary system is using a different /ipdata), remove /ipdata from the future secondary system.
    • If the /ipdata directory has its own filesystem, type:

      umount /ipdata; rmfs -r /ipdata

    • If the /ipdata directory does not have its own filesystem, type:

      rm -rf /ipdata

    On the primary system, perform these steps:

    Invoke the InfoPrint Manager Management Interface by starting startipmmi command from a terminal window or click  Management Interface icon on your menu:

    • Select Link from Primary Server to Secondary Server.
    • Provide the information about your secondary system as prompted.
      Important: If the new primary server requires job ticketing, the required field Is /ipdata used for job ticketing? should be set to yes, otherwise it should be set to no.

    Or use the command-line script:

    1. Open a Linux terminal window.
    2. Run the command: cd /usr/lpp/pd/install.
    3. To configure the secondary servers via NFS, you need to link from the Primary Server to Secondary Server using the following command:

      ./link2srvr.sh [-h secondary_hostname]-[c|p] -[r|t]

      where

      • h secondary_hostname specifies the Secondary Server Host Name
      • c|p where c specifies that /ipdata needs to be shared and P when it does not
      • r|t where r specifies to retain secondary servers previously defines, while t does not retain secondary server previous data

  4. On the future secondary system, see Installing secondary InfoPrint servers
    Note: The user running InfoPrint Manager on all primary and secondary servers must be the same. The default system user is ipm1, which is automatically created by the installer. The user UID must have the same value on all AIX and/ or Linux servers to successfully interoperate them.

    The /etc/nsswitch.conf file for the hosts database must have the keyword files (hosts: files dns) on the first position.