Subsequent initialization

If you have initialized Replication Agent for the first time, have subsequently de-initialized Replication Agent using pdb_xlog remove, and want to re-initialize this Replication Agent instance or another Replication Agent instance for a different database in the same primary data server, use the following procedure.

StepsSubsequently initializing Replication Agent instances

  1. Determine the primary Microsoft SQL Server DAC port number, and make sure Microsoft SQL Server is configured to allow a remote DAC. Use the Microsoft SQL Server Surface Area Configuration tool to enable a remote DAC:

    1. From the Windows Start menu, choose Microsoft SQL Server | Surface Area Configuration | Configuration Tools | SQL Server Surface Area Configuration | Surface Area Configuration for Features.

    2. In the Surface Area Configuration for Features window, choose DAC under MSSQLSERVER/Database Engine, and make sure the Enable remote DAC check box is selected.

  2. Log in to your Replication Agent, and set the pds_dac_port_number configuration parameter.

  3. Configure the following Replication Agent connectivity parameters for the Microsoft SQL Server primary database:

    • pds_server_name

    • pds_database_name

    • pds_username

    • pds_password

    For information about these configuration parameters, see the Replication Agent Installation Guide and Replication Agent Reference Manual.

  4. Verify that Replication Agent can connect to the primary database:

    test_connection PDS
    
  5. Initialize the Microsoft SQL Server data server and Replication Agent:

    pdb_xlog init