We help IT Professionals succeed at work.

How to setup database mirroring for servers in workgroup?

Hi,
I have two servers servers A and Server B having SQL server 2005 . Both the servers are in workgroup. I need to setup mirroring for one database. Please let me know how I can configure mirroring for database servers in workgroup?
Regards,
Naseer
Comment
Watch Question

Commented:
I'm afraid that the Workgroup edition of SQL Server 2005 does not suppoer database mirroring. You would need to be running Standard edition or higher.

You can see the supported features by edition here:
http://www.microsoft.com/sql/prodinfo/features/compare-features.mspx

Author

Commented:
Hi,
I am running standard edition. I want to know how to setup mirroing for servers without using domain account that is if two servers are not a part of domain but workgroup.
Regards,
Naseer Khan.
you'll have to convert your Security from Windows to Mixed Mode, create appropriate SQL User Logins.

and then follow the steps / wizard to enable mirroring

Commented:
Sorry for the delay.

hemaldesai is correct - you should use mixed mode security for the workgroup, using individual SQL User logins. The wizard should be self-explanatory.

There is also a step-by-step guide here:
http://msdn2.microsoft.com/en-us/library/ms188712.aspx

Author

Commented:
Hi ,
I get following error when I start mirroring.
Error: 1418 - Microsoft SQL Server - The server network address can not be reached or does not exist. Check the network address name and reissue the command. The server network endpoint did not respond because the specified server network address cannot be reached or does not exist.

http://alan328.com/SQL2005_Database_Mirroring_Tutorial.aspx


I got this tutorial for the above error.
The above document uses certificate method for the resolution of the error. Please let me know if it is the right way.
Thanks
Regards,
Naseer.

Commented:
Using a certificate is a perfectly acceptable method to resolve this.
Certificate is a perfectly right method.

For the error you are getting, are you sure you have enabled Remote Connections for both the SQL Servers and Can you test it out by using SQL Studio Express or something similar and test if you can connect to the respective servers

Hemal

Commented:
Accept hemaldesai's comment, as it answers the question
http:Q_23114350.html#20753383