Using the ra_admin utility  Copying a Replication Agent configuration

Chapter 2: Setup and Configuration

Creating a Replication Agent instance

You can create a Replication Agent instance at any time after the Sybase Replication Agent software is installed by invoking ra_admin with the -c option or using the Administrator GUI utility. See, “Using the Administrator GUI utility”.

The complete syntax is:

ra_admin -c new_inst -p port_num {-t database|-f old_inst}

where:

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

Use the following procedure to create a Replication Agent instance.

NoteYou must set the SYBASE environment before you invoke the Sybase Replication Agent ra_admin utility. See “Setting the SYBASE environment” 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. See “Creating the Replication Agent administrator login” for more information.





Copyright © 2005. Sybase Inc. All rights reserved. Copying a Replication Agent configuration

View this book as PDF