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:
- 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
- Test the trusted environment:
- Run dbaccess as user informix or as the owner if it is a non-root server.
- Select the Connection menu option.
- Select the Connect menu option.
- 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.
- When prompted for the USER NAME, press
Enter
.
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 Informix® DB-Access User's Guide.