If you have initialized Mirror Replication Agent for the first time, have subsequently de-initialized Mirror Replication Agent using ra_deinit, and want to re-initialize this Mirror Replication Agent instance or another Mirror Replication Agent instance for a different database in the same primary data server, use the following procedure.
To subsequently initialize Mirror Replication
Agent instances
Determine the primary Microsoft SQL Server DAC port number, and make sure Microsoft SQL Server is configured to allow a remote DAC. You can use the Microsoft SQL Server Surface Area Configuration tool to enable a remote DAC:
From the Windows Start menu, choose Microsoft SQL Server | Surface Area Configuration | Configuration Tools | SQL Server Surface Area Configuration | Surface Area Configuration for Features.
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.
Log in to your Mirror Replication Agent, and set the pds_dac_port_number configuration parameter.
Configure the following Mirror 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 Mirror Replication Agent Installation Guide and Reference Manual.
Verify that Mirror Replication Agent can connect to the primary database:
test_connection PDS
Initialize the Microsoft SQL Server data server and Mirror Replication Agent:
ra_init