SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Changing the default port numbers when configuring database mirroring


Changing the default port numbers when configuring database mirroring

Author
Message
SQLDCH
SQLDCH
SSCrazy
SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)

Group: General Forum Members
Points: 2208 Visits: 3399
Comments posted to this topic are about the item Changing the default port numbers when configuring database mirroring

----------------------------------------------------------------------------
Sacramento SQL Server users group - http://sac.sqlpass.org
Follow me on Twitter - @SQLDCH
----------------------------------------------------------------------------

Yeah, well...The Dude abides.
Mike Arney
Mike Arney
SSC-Enthusiastic
SSC-Enthusiastic (125 reputation)SSC-Enthusiastic (125 reputation)SSC-Enthusiastic (125 reputation)SSC-Enthusiastic (125 reputation)SSC-Enthusiastic (125 reputation)SSC-Enthusiastic (125 reputation)SSC-Enthusiastic (125 reputation)SSC-Enthusiastic (125 reputation)

Group: General Forum Members
Points: 125 Visits: 109
Thanks for the article! It reminded me of an issue we encountered. If you happen to be using the JDBC driver with mirroring, there are problems with automatically connecting to the alternate server when using a non-standard port (the connection string does not allow you to specify a port for the failover server). More details here: http://blogs.msdn.com/b/psssql/archive/2008/12/31/sql-2005-jdbc-driver-and-database-mirroring.aspx, and there is a report in MS Connect on the problem.
Roland Brown
Roland Brown
SSC Rookie
SSC Rookie (27 reputation)SSC Rookie (27 reputation)SSC Rookie (27 reputation)SSC Rookie (27 reputation)SSC Rookie (27 reputation)SSC Rookie (27 reputation)SSC Rookie (27 reputation)SSC Rookie (27 reputation)

Group: General Forum Members
Points: 27 Visits: 56
I understood this until the string "HAT2" appeared twice.

It looks to be an error, but if it is intended can someone please explain further?

Thanks.
SQLDCH
SQLDCH
SSCrazy
SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)

Group: General Forum Members
Points: 2208 Visits: 3399
Roland, thanks for the comment, looks like I missed an edit.

The name of the endpoint on the mirror should be 'MirrorEndpoint'. So yes, the two connect statements should read:

create login [domain\svc-princ-sqlsvr] from windows;
go
grant connect on endpoint::MirrorEndpoint to [domain\svc-princ-sqlsvr]
go


create login [domain\svc-witn-sqlsvr] from windows;
go
grant connect on endpoint::MirrorEndpoint to [domain\svc-witn-sqlsvr]
go



The article has been edited to reflect the above changes.

----------------------------------------------------------------------------
Sacramento SQL Server users group - http://sac.sqlpass.org
Follow me on Twitter - @SQLDCH
----------------------------------------------------------------------------

Yeah, well...The Dude abides.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search