December 2013
Intermediate to advanced
1872 pages
153h 31m
English
Each server instance in the database mirroring configuration must have an endpoint defined so that the other servers can communicate with it. This is sort of like a private phone line to your friends. Let’s use the scripts provided as opposed to using the Configure Security Wizard. The first endpoint script is in the file 2012 Create EndPoint Partner1.SQL.
From SSMS, you need to open a new query connection to your principal database by selecting File, New and in the New Query dialog, selecting Query with Current Connection. Open the SQL file for the first endpoint.
The following CREATE ENDPOINT T-SQL creates the endpoint named EndPoint4DBMirroring1430, with the listener_port value of 1430, and the database mirroring role ...