?
Solved

replication - alerts?

Posted on 2016-11-26
4
Medium Priority
?
41 Views
Last Modified: 2017-01-17
Hi experts

The query is about how to create email alerts that are triggered in case of errors in the replication of data between two databases.
The scenario is as follows:
The replication scheme has been defined using
1. a publisher located on the physical server Srvsql1
2. A subscriber located on the physical server Srvsql2
3. Only the data of a set of tables from the BD_1 to the BD_2

What is required is to define alerts to be able to notify the dba when the replica is dropped or an error occurs in the synchronization of data and some error message that brings us closer to detecting the reason for the error.
0
Comment
Question by:enrique_aeo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 79

Assisted Solution

by:arnold
arnold earned 1000 total points
ID: 41902657
It is configurable as part of the subscriber, publisher, distributor jobs to trigger alerts.

You need to configure dbmail, operator/s to whom the alerts will be sent.


If possible, gave iis SMTP I stalked so your SQL will use the local SMTP versus attempting to connect to another...........

Others will likely provide more detailed suggestion should the generic reference is insufficient.
0
 

Author Comment

by:enrique_aeo
ID: 41903105
can you give me an URL?
0
 
LVL 79

Accepted Solution

by:
arnold earned 1000 total points
ID: 41903134
See the following link https://msdn.microsoft.com/en-us/library/ms152496(v=sql.105).aspx for replication alerts.
0
 
LVL 29

Assisted Solution

by:Pawan Kumar
Pawan Kumar earned 1000 total points
ID: 41903635
Just to add to the above ans. <<nopts>>

1. Below url will give you the alert list and how to configure the alerts. <<This url is already mentioned by Arnold sir above.>>
https://msdn.microsoft.com/en-us/library/ms152496.aspx

2. Below url will give you the details about the alert and what causes that alert to fire with messageId and other details.
https://msdn.microsoft.com/en-us/library/ms151752.aspx

Configuring SQL Server Agent Alerts - Excellent article by Tim Radney <<SQL Skills>>
https://sqlperformance.com/2015/02/sql-alert/sql-server-agent-alerts

Hope it helps !
0

Featured Post

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hi all, It is important and often overlooked to understand “Database properties”. Often we see questions about "log files" or "where is the database" and one of the easiest ways to get general information about your database is to use “Database p…
In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question