all groups > sql server replication > march 2006 >
You're in the

sql server replication

group:

Mirroring problem with sql server instance


Mirroring problem with sql server instance Steve G
3/20/2006 11:19:28 AM
sql server replication:
Hi,

I'm currently configuring SQL Server mirroring on the same machine
(named W2KPrincipal) by using the following scenario:

SQL Default Instance = W2KPrincipal
SQL Mirror Instance = W2KPrincipal\Mirror
SQL Witness Instance = W2KPrincipal\Witness

The trace flag has been configurered for the 3sql server and Remote
connection has been allowed in Surface Area connection for all of these
instances. I have configured my endpoint correctly with different port number
for each instance. I also successfully altering the mirror database to set
it's partner (Principal). But when I try to alter the principal database to
set it's partner (the mirror) it fails with the following error:

Msg 1418, Level 16, State 1, Line 1
The server network address "TCP://W2KPrincipal:5023" can not be reached or
does not exist. Check the network address name and reissue the command.

Here are the script used:

-- ON PRINCIPAL: Endpoint for the principal server
CREATE ENDPOINT mirroring_ep
STATE=STARTED AS TCP
(LISTENER_PORT=5022)
FOR DATABASE_MIRRORING
(ROLE=PARTNER)

-- ON MIRROR: Endpoint for the mirror server
CREATE ENDPOINT mirroring_ep
STATE=STARTED AS TCP
(LISTENER_PORT=5023)
FOR DATABASE_MIRRORING
(ROLE=PARTNER)

-- ON WITNESS: Endpoint for the mirror server
CREATE ENDPOINT mirroring_ep
STATE=STARTED AS TCP
(LISTENER_PORT=5024)
FOR DATABASE_MIRRORING
(ROLE=WITNESS)

-- ON MIRROR: Define database mirroring partner
ALTER DATABASE AdventureWorks
SET PARTNER = 'TCP://W2KPrincipal:5022'

-- ON PRINCIPAL: Define database mirroring partner
ALTER DATABASE AdventureWorks
SET PARTNER = 'TCP://W2KPrincipal:5023'


then it fails on the last step.

Any idea
thanks
RE: Mirroring problem with sql server instance Steve G
3/21/2006 7:24:28 AM
I forgot to say that the account used for each SQLServer service is
..\Administrator because I think that connection problem could occurs when
using local system account instead.

[quoted text, click to view]
AddThis Social Bookmark Button