Creating a Replication Agent using the command line

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

NoteYou must set the SYBASE environment before you invoke the Sybase Replication Agent ra_admin utility. See “Preparing to use the utilities” for more information.

StepsTo create a Replication Agent instance using the command line

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

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

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

    ra_admin -c new_inst -p port_num -t database
    

    where:

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

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

After you create a Replication Agent instance, you can use the ra utility to start the instance so that you can administer and configure it. See “Starting the Sybase 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 Replication Agent instance. For more information, see “Creating the Replication Agent administrator login”.