Setting up the connection configuration parameters

When Mirror Replication Agent connects to another Mirror Activator system component, it uses values stored in its configuration parameters to define the following connection properties:

For its connection to the Replication Server, Mirror Replication Agent relies on the values of two additional configuration parameters (rs_source_db and rs_source_ds) to identify the Replication Server primary database connection in the LTL connect source command.

NoteThe values of the rs_source_db and rs_source_ds parameters must exactly match the database and data server names specified in the create connection command for the Replication Server primary database connection.

See Chapter 5, “Mirror Replication Agent Configuration Parameters,” for more information about the rs_source_db and rs_source_ds parameters.

You can use the “Installation and Setup Worksheet,” in the Mirror Replication Agent Installation Guide, to record the values of connection configuration parameters for each Mirror Replication Agent instance.

Refer to the “Installation and Setup Worksheet” for the connection configuration parameter values you need to set in the following procedures.

NoteThe Mirror Replication Agent instance must be running before you can set its connection configuration parameter values. See “Starting the Mirror Replication Agent” for more information.

StepsTo set up connection parameters for the primary database

  1. Log in to the Mirror Replication Agent administration port, and verify that the Mirror Replication Agent instance is in Admin state.

    1. Use the following command to verify that the Mirror Replication Agent instance is in Admin state:

      ra_status
      
    2. If the instance is not in Admin state, use the following command to put it in Admin state:

      suspend
      
  2. Specify the primary data server host name:

    ra_config pds_hostname, pds_host
    

    where pds_host is the network name of the primary data server host machine.

  3. Specify the primary data server port number:

    ra_config pds_port_number, NNN
    

    where NNN is the number of the network port where the primary data server listens for connections.

  4. Specify the primary database name:

    ra_config pds_database_name, pdb
    

    where pdb is the database name of the primary database.

  5. Specify the primary data server user login name for the Mirror Replication Agent instance:

    ra_config pds_username, mra_pds_user
    

    where mra_pds_user is the user login name that Mirror Replication Agent uses to log in to the primary data server.

  6. Specify the user login password for the Mirror Replication Agent instance:

    ra_config pds_password, mra_pds_pwd
    

    where mra_pds_pwd is the password for the user login name that Mirror Replication Agent uses to log in to the primary data server.

After you set up connection configuration parameters for the primary database, you can use the Mirror Replication Agent test_connection PDS command to test connectivity between the Mirror Replication Agent and the primary database. See “Testing network connectivity” for more information.

NoteIf the Replication Server and databases were previously configured for a Replication Server warm standby application, the Mirror Replication Agent must use the same values for its rs_source_db and rs_source_ds parameters as the ASE RepAgent thread used for its connect database and connect dataserver parameters. See “Converting a warm standby application to a Mirror Activator system” for more information.

StepsTo set up connection parameters for the Replication Server

  1. Log in to the Mirror Replication Agent administration port, and verify that the Mirror Replication Agent instance is in Admin state.

    1. Use the following command to verify that the Mirror Replication Agent instance is in Admin state:

      ra_status
      
    2. If the instance is not in Admin state, use the following command to put it in Admin state:

      suspend
      
  2. Specify the Replication Server host name:

    ra_config rs_hostname, rs_host
    

    where rs_host is the network name of the Replication Server host machine.

  3. Specify the Replication Server port number:

    ra_config rs_port_number, NNN
    

    where NNN is the number of the network port where Replication Server listens for connections.

  4. Specify the Replication Server user login name for the Mirror Replication Agent instance:

    ra_config rs_username, mra_rs_user
    

    where mra_rs_user is the user login name that Mirror Replication Agent uses to log in to the Replication Server.

  5. Specify the user login password for the Mirror Replication Agent instance:

    ra_config rs_password, mra_rs_pwd
    

    where mra_rs_pwd is the password for the user login name that Mirror Replication Agent uses to log in to the Replication Server.

  6. Specify the primary data server name for the Replication Server primary database connection:

    ra_config rs_source_ds, pds
    

    where pds is the primary data server name that Mirror Replication Agent uses in the LTL connect source command.

  7. Specify the primary database name for the Replication Server primary database connection:

    ra_config rs_source_db, pdb
    

    where pdb is the primary database name that Mirror Replication Agent uses in the LTL connect source command.

StepsTo set up connection parameters for the RSSD (or ERSSD)

  1. Log in to the Mirror Replication Agent administration port, and verify that the Mirror Replication Agent instance is in Admin state.

    1. Use the following command to verify that the Mirror Replication Agent instance is in Admin state:

      ra_status
      
    2. If the instance is not in Admin state, use the following command to put it in Admin state:

      suspend
      
  2. Specify the RSSD host name:

    ra_config rssd_hostname, rssd_host
    

    where rssd_host is the network name of the RSSD host machine.

  3. Specify the RSSD port number:

    ra_config rssd_port_number, NNN
    

    where NNN is the number of the network port where the RSSD server listens for connections.

  4. Specify the RSSD database name:

    ra_config rssd_database_name, rssd_db
    

    where rssd_db is the database name of the RSSD.

  5. Specify the RSSD user login name for the Mirror Replication Agent instance:

    ra_config rssd_username, mra_rssd_user
    

    where mra_rssd_user is the user login name that Mirror Replication Agent uses to log in to the RSSD.

  6. Specify the user login password for the Mirror Replication Agent instance:

    ra_config rssd_password, mra_rssd_pwd
    

    where mra_rssd_pwd is the password for the user login name that Mirror Replication Agent uses to log in to the RSSD.

After you set up connection configuration parameters for the Replication Server and RSSD, you can use the Mirror Replication Agent test_connection RS command to test connectivity between the Mirror Replication Agent and the Replication Server and RSSD. For more information, see “Testing network connectivity”.