Creating a Mirror Replication Agent instance

You can create a Mirror Replication Agent instance at any time after the Mirror Replication Agent software is installed by invoking mra_admin with the -c option.

The complete syntax is:

mra_admin -c new_inst -p port_num

where:

See “Copying a Mirror Replication Agent configuration” for information about creating a Mirror Replication Agent instance based on the configuration of an existing instance.

Use the following procedure to create a Mirror Replication Agent instance.

NoteYou must set the SYBASE environment before you invoke the Mirror Replication Agent mra_admin utility. See “Setting the SYBASE environment” for more information.

StepsTo create a Mirror Replication Agent instance

  1. Open an operating system command window on the Mirror Replication Agent host machine.

  2. At the operating system prompt, navigate to the Mirror Replication Agent bin directory.

  3. In the Mirror Replication Agent bin directory, invoke the mra_admin utility to create a new Mirror Replication Agent instance:

    mra_admin -c new_inst -p port_num
    

    where:

    After you invoke mra_admin, the operating system prompt returns when the new Mirror Replication Agent instance is created.

  4. Verify that the Mirror Replication Agent instance was created properly using one of the following methods:

After you create a Mirror Replication Agent instance, you can use the mra utility to start the instance so that it can be administered and configured. See “Starting the Mirror Replication Agent” for more information.

NoteSybase recommends that you create a user login name and password to replace the default sa login and secure access to the administration port, immediately after you create a Mirror Replication Agent instance. See “Creating the Mirror Replication Agent administrator login” for more information.