Configures a mirroring session in high-safety mode and also possess a third server instance, known as the witness. The witness is an optional instance of SQL Server that enables the mirror server in a high-safety mode session to recognize whether to initiate an automatic failover.
This script must be run against three instances (two mirroring partners and a mirroring witness) simultaneously.
Note: the server instances in a mirroring session must all be running the same version of SQL Server.
More information about using mirroring witness can be found at Microsoft Technet
Revision 9 | Mar 06, 2013
Sign-up for RightScale