Microsoft® SQL Server 2008 R2 Unleashed
by Ray Rankins, Paul Bertucci, Chris Gallelli, Alex T. Silverstein
Granting Permissions
It is possible to have an AUTHORIZATION [login] statement in the CREATE ENDPOINT command that establishes the permissions for a login account to the endpoint being defined. However, separating this out into a GRANT greatly stresses the point of allowing this connection permission. From each SQL query connection, you run a GRANT to allow a specific login account to connect on the ENDPOINT for database mirroring. If you don’t have a specific login account to use, default it to [NT AUTHORITY\SYSTEM].
First, from the principal server instance (SQL08DE01), you run the following GRANT (substituting [DBARCHLT\Paul Bertucci] with your specific login account to be used by database mirroring):
Then, from the mirror server instance ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access