Events
Mar 31, 11 PM - Apr 2, 11 PM
The biggest SQL, Fabric and Power BI learning event. March 31 – April 2. Use code FABINSIDER to save $400.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Applies to:
SQL Server
Azure SQL Managed Instance
The server from which you launch Replication Monitor is automatically added to the monitor if it is a Publisher. Additional Publishers can be added through the Add Publisher dialog box. After adding a Publisher, it is displayed in a group in the left pane of the monitor. The My Publishers group is included by default, but you can create new groups to manage one or more replication topologies. For information about starting Replication Monitor, see Start the Replication Monitor.
Right-click the Replication Monitor node or a Publisher group node in the left pane, and then click Add Publisher.
In the Add Publisher dialog box, click Add, and then click Add SQL Server Publisher.
In the Connect to Server dialog box:
If your Publisher server is standalone or part of a failover cluster instance, then in the Connect to Server dialog box, enter the name of the Publisher and select the authentication type.
If your Publisher is part of an availability group, then in the Connect to Server dialog box enter the listener of the Publisher availability Group. Since the active Publisher node may change, entering the listener ensures Replication Monitor directs traffic to the current primary replica of the availability group. Enter the same value for Replication Monitor as you're using for sp_redirect_publisher. Query the distribution database table MSRedirected_Publishers to determine what value is being passed to sp_redirect_publisher
.
Next, select the authentication type. If you select SQL Server Authentication, enter a login and password. Replication Monitor saves the credentials you enter and uses them to connect to this server in the future. The Windows account or SQL Server login specified must be a member of the sysadmin fixed server role or a member of the replmonitor fixed database role in the distribution database.
Click Connect. If the Publisher uses a remote Distributor, you will be prompted to connect to the Distributor in the Connect to Server dialog box. The credentials you specify are saved by Replication Monitor to use when connecting to this server in the future. The Windows account or SQL Server login specified must be a member of the sysadmin fixed server role or a member of the replmonitor fixed database role in the distribution database.
The name of the Publisher and Distributor are displayed in the Start monitoring the following Publisher(s) grid.
To specify refresh and connection options for the Publisher, select the Publisher in the grid, and modify options as necessary. For more information about refresh options, see Caching, Refresh, and Replication Monitor Performance.
Select the group under which the Publisher should be displayed in Replication Monitor. To create a new group, click New Group, and then enter a group name; select the group in the Show this Publisher(s) in the following group list.
Select OK.
Note
If you are having issues resolving connections from Replication Monitor to your availability groups, check the following:
Right-click the Replication Monitor node or a Publisher group node in the left pane, and then click Add Publisher.
In the Add Publisher dialog box, click Add, and then click Add Oracle Publisher.
In the Connect to Server dialog box, enter the name of the Microsoft SQL Server Distributor associated with the Oracle Publisher, and then select the authentication type. If you select SQL Server Authentication, enter a login and password. The credentials you specify are saved by Replication Monitor to use when connecting to this server in the future. The Windows account or SQL Server login specified must be a member of the sysadmin fixed server role or a member of the replmonitor fixed database role in the distribution database.
Click Connect.
The name of the Publisher and Distributor are displayed in the Start monitoring the following Publisher(s) grid.
To specify refresh and connection options for the Publisher, select the Publisher in the grid, and modify options as necessary. For more information about refresh options, see Caching, Refresh, and Replication Monitor Performance.
Select the group under which the Publisher should be displayed in Replication Monitor. To create a new group, click New Group, and then enter a group name; select the group in the Show this Publisher(s) in the following group list.
Select OK.
Right-click the Replication Monitor node or a Publisher group node in the left pane, and then click Add Publisher.
In the Add Publisher dialog box, click Add, and then click Specify a Distributor and Add Its Publishers.
In the Connect to Server dialog box, enter the name of the Distributor, and then select the authentication type. If you select SQL Server Authentication, enter a login and password. The credentials you specify are saved by Replication Monitor to use when connecting to this server in the future. The Windows account or SQL Server login specified must be a member of the sysadmin fixed server role or a member of the replmonitor fixed database role in the distribution database.
Click Connect.
The name of the Distributor and each Publisher are displayed in the Start monitoring the following Publisher(s) grid. If a Publisher has already been added to Replication Monitor, it does not appear in the grid.
To specify refresh and connection options for the Publisher, select the Publisher in the grid, and modify options as necessary. For more information about refresh options, see Caching, Refresh, and Replication Monitor Performance.
Select the group under which Publishers should be displayed in Replication Monitor. To create a new group, click New Group, and then enter a group name; select the group in the Show this Publisher(s) in the following group list.
Select OK.
Right-click a Publisher in the left pane, and then click Publisher Settings.
Make any changes in the Publisher Settings dialog box:
To change the credentials that Replication Monitor uses to connect to a server, click Publisher Connection or Distributor Connection, and then enter credentials in the Connect to Server dialog box.
To move a Publisher from one group to another, select the Publisher in the Start monitoring the following Publisher(s) grid, and then select the new group in the Show this Publisher(s) in the following group list.
Select OK.
Right-click a Publisher in the left pane.
Click Remove.
Move all Publishers to a different group or remove them from Replication Monitor. For more information, see previous procedures in this topic.
Right-click the Publisher group, and then click Remove.
Events
Mar 31, 11 PM - Apr 2, 11 PM
The biggest SQL, Fabric and Power BI learning event. March 31 – April 2. Use code FABINSIDER to save $400.
Register today