Creating a Mirror Replication Agent using the command line

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

NoteYou must set the SYBASE environment before you invoke the Mirror Replication Agent ma_admin utility. For more information see “Preparing to use the utilities”.

StepsTo create a Mirror Replication Agent instance using the command line

  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 ma_admin utility to create a new Mirror Replication Agent instance:

    ma_admin -c new_inst -p port_num -t database
    

    where:

    After you invoke ma_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 ma utility to start the instance so that you can administer and configure it. For more information, see “Starting the Mirror Replication Agent”.

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”.