Testing the password file
You create and encrypt a password file to allow the CDR utility to access to a secure network environment. Use these steps to test that the encrypted password file is correctly configured.
Procedure
To test the password file configuration:
Use the cdr view state -c remote_server_group_name command
to verify that the password file supplies the correct password to
the CDR command.
For example, if your remote server group
was named g_serv2, specify the following command:
cdr view state -c g_serv2
The state of all configured enterprise
replication servers is returned. If enterprise replication is not
defined, but the password file is set up correctly, the following
message is returned:
ERROR:ER not defined on g_serv2
If
the CDR utility is unable to connect to the server or if the following
error is returned then verify that $INFORMIXDIR/etc/passwd_file is
correctly configured.
25539: Invalid connection-type
The
following is an example of command output returned when Enterprise
Replication and the password file are correctly configured:
$ cdr view state -c g_serv2
STATE
Source ER Capture Network Apply
State State State State
---------------------------------------------------------------------------
g_serv2 Active Running Running Running
g_serv1 Active Running Running Running