Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 High Availability (2008)
 Resume mirroring w/ non standard port

Author  Topic 

Wrangler
Starting Member

35 Posts

Posted - 2011-10-06 : 12:29:15
Greetings,

I've paused mirroring between two SQL Server 2008 R2 using non standard ports with a witness. When I click on resume a "Connect to Mirror Server Instance" dialog box pops up with the server name of the mirror MINUS the non standard port and it's grayed out so I can't edit it. Basically I cannot add the non standard port to the connection string for the mirror and it won't connect.

Has anyone seen this before?

Wrangler
Starting Member

35 Posts

Posted - 2011-10-06 : 16:35:13
Figured it out. I had to create an Alias for the server name and port in Configuration Manager. Strange how you can't edit the connection string in the mirror dialog box though.
Go to Top of Page

robvolk
Most Valuable Yak

15732 Posts

Posted - 2011-10-06 : 16:53:45
If you expect to do a lot of mirror (re)configuration it's definitely worth learning the T-SQL syntax rather than deal with the GUI. It's really not that hard.
Go to Top of Page

Wrangler
Starting Member

35 Posts

Posted - 2011-10-06 : 18:44:48
I'll look into. thanks.
Go to Top of Page

Lumbago
Norsk Yak Master

3271 Posts

Posted - 2011-10-07 : 02:11:57
That being said I think running more or less anything on non standard ports in sql server requires you to create an alias.

- Lumbago
My blog-> http://thefirstsql.com/2011/07/08/how-to-find-gaps-in-identity-columns-at-the-speed-of-light/
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2011-10-07 : 11:54:19
For non-standard port, are you referring to the endpoint or to SQL? We use non-standard ports for both. Depending upon where the mirror server is, we only need to create alias for SQL. Aliases for endpoints don't exist as far as I know.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

Wrangler
Starting Member

35 Posts

Posted - 2011-10-07 : 13:22:57
I'm referring to non standard ports for SQL Server only.

Thanks,
Go to Top of Page
   

- Advertisement -