Copying a Mirror Replication Agent configuration

When you create a new Mirror Replication Agent instance, you can copy the configuration of an existing instance by invoking mro_admin with the -c option and -f option.

The complete syntax is:

mro_admin -c new_inst -p port_num [-f old_inst]

where:

If you do not specify the -f option, the new Mirror Replication Agent instance is created with a default configuration.

For information about creating a Mirror Replication Agent instance with the default configuration, see “Creating a Mirror Replication Agent instance”.

Use the following procedure to create a new Mirror Replication Agent instance, based on the configuration of an existing instance.

NoteYou must set the SYBASE environment before you invoke the Mirror Replication Agent mro_admin utility. For more information, see “Setting the SYBASE environment”.

StepsTo copy an existing Mirror Replication Agent instance configuration to a new 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 mro_admin utility to create a new Mirror Replication Agent instance whose configuration is based on the configuration of an existing instance:

    mro_admin -c new_inst -p port_num -f old_inst
    

    where:

    After you invoke mro_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:

NoteWhen you create a new Mirror Replication Agent instance and copy the configuration of an existing instance, some configuration parameters are set to default values, and they are not copied from the existing configuration.

The values of the following configuration parameters are not copied from an existing configuration:

For more information about Mirror Replication Agent configuration parameters, see the Mirror Activator for Oracle Mirror Replication Agent Reference Manual.

After you create a Mirror Replication Agent instance, you can use the mro utility to start the instance so that it can be administered and configured.

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. For more information see “Creating the Mirror Replication Agent administrator login”.