Testing the replication network

After you set up the network environment, test the connections between the replication servers. You cannot test a connection that uses the s=6 option in the sqlhosts file.

About this task

Procedure

To test the network environment:
  1. Verify the network connection.
    Use the ping command to test the connection between two systems. For example, from ny.usa.com, test the connection to tokyo.japan.com:
    ping tokyo.japan.com
  2. Test the trusted environment:
    1. Run dbaccess as user informix or as the owner if it is a non-root server.
    2. Run dbaccess.
    3. Select the Connection menu option.
    4. Select the Connect menu option.
    5. Connect to the server group name and the server name of the other hosts.

      For example, if you are running dbaccess on ny.usa.com, and you are testing the connection to a database server on tokyo.japan.com, select serv2 and g_serv2.

    6. When prompted for the USER NAME, press Enter.

    If you can connect to the host database server, the host server is trusted for user informix.

    If you can connect to the host database server, the host server trusts the connection from the remote host as user informix or as the owner if the remote host is a non-root server.

    For more information, see the HCL OneDB™ DB-Access User's Guide.