Creating and configuring a remote stand-alone secondary server for UNIX

Follow these steps to create and configure a remote stand-alone secondary (RSS) server that synchronizes with a primary server.

Procedure

  1. Ensure that the primary server and the RSS server can connect to each other.

    These two servers must be configured to use a DNS server.

  2. Determine the name of the primary server.

    For example, hawk1.

    The RSS server name is derived from the primary server name by prefixing rss_ to it.

    For example, rss_hawk1.

    Update the /etc/services file (or its NIS equivalent) on the host for the primary server and on the host for the RSS server. Doing so contains the entries of both the primary and RSS servers.

    The services entry for the database server has the following syntax:
    PrimaryServerName_PrimaryServerHostName		unique_informix_port/tcp
    rss_PrimarySeverName_SecondaryServerHostName	unique_informix_port/tcp
    For example:
    hawk1_sol1		8100/tcp
    rss_hawk1_sol2		8101/tcp
  3. Set up the trusted environment by creating the /etc/hosts.equiv file.

    For detailed steps, see Setting Up the Trusted Environment and The hosts.equiv file on the IBM® Informix® 11.50 information center.

  4. If the primary server and the RSS server do not share $CCM_HOME, perform the following steps:
    1. Add the RSS server entry to the file $CCM_HOME/informix/etc/sqlhosts, which is on the primary server.
      The server entry for the database server has the following syntax:
      servername       	onipshm    	serverhostname       	servername
      servername_net   	onsoctcp  	serverhostname       	servername_serverhostname
      For example, if the RSS server host name is sol2 and the RSS server name is rss_hawk1, then the server entry would be:
      rss_hawk1		onipshm		sol2		rss_hawk1
      rss_hawk1_net		onsoctcp	sol2		rss_hawk1_sol2
    2. Add the primary server entry to the file $CCM_HOME/informix/etc/sqlhosts, which is on the RSS server.

      This file is only present if you have configured Rational® Synergy using the ccm_install command.

      Initially, this file on the RSS server host is empty. Update this file to contain the primary server entry.

      For example, if the primary server name is hawk1 and the primary server host name is sol1, then the server entry must be:
      hawk1		onipcshm	sol1	hawk1
      hawk1_net	ontlitcp 	sol1	hawk1_sol1
  5. Create a directory on the file system.

    For example, /vol/shared/export_dir.

    This directory must be accessible by both the primary and RSS servers, which is usually on the NFS mounted file system.

    This directory must be owned by user informix and must belong to the group informix.

    Create the directory as follows:
    # cd /vol/shared
    # mkdir export_dir
    # chown informix:informix export_dir
  6. Use the ccmsrv rss_export command to export the data on the primary server for creating the RSS server.
    For example:
    # su informix
    $ ccmsrv rss_export -t /vol/shared/export_dir -s hawk1
  7. Use the ccmsrv rss_create command to create an RSS server on the RSS server host.
    For example:
    # su informix
    $ ccmsrv rss_create -f /vol/shared/export_dir -p hawk1

Feedback