I have successfully set up database mirroring on SQL2005
I have two servers, Server1 is the primary with a named instance (SQLSERVER\LPD2005) and ROLE=ALL, port 7022, Server2 is the mirror server and has two named instances (SQLSERVER3\LPD20053)-ROLE=ALL port 7022 and (SQLSERVER3\LPWITNESS)-ROLE=WITNESS port 7022.
I want to provide automatic failover, according to MS doc
I can have the witness run on the same server as either the primary or the mirror, hence the reason for another instance name of LPWITNESS.
I try to point the primary to the witness and it is failing with a message of "The witness server instance name must be distinct from both of the server instances that manage the database. The ALTER DATABASE SET WITNESS command failed."
What am I doing wrong? Anyone accomplish this with two servers?
I have two servers, Server1 is the primary with a named instance (SQLSERVER\LPD2005) and ROLE=ALL, port 7022, Server2 is the mirror server and has two named instances (SQLSERVER3\LPD20053)-ROLE=ALL port 7022 and (SQLSERVER3\LPWITNESS)-ROLE=WITNESS port 7022.
I want to provide automatic failover, according to MS doc
I can have the witness run on the same server as either the primary or the mirror, hence the reason for another instance name of LPWITNESS.
I try to point the primary to the witness and it is failing with a message of "The witness server instance name must be distinct from both of the server instances that manage the database. The ALTER DATABASE SET WITNESS command failed."
What am I doing wrong? Anyone accomplish this with two servers?