http://www.microsoft.com/technet/prodtechnol/sql/2005/dbmirror.mspx and http://www.microsoft.com/sql/prodinfo/features/features-at-a-glance.mspx features at a glance.
I have the same problem.
My mirror database is not in a domain, therefore it doesn't have a FQDN.
Did you find a solution?
Thanks,
Joe.
Hi Sam/Joe,
When specifying the PARTNERS you have to use the Fully qualified computer names.
The fully qualified computer name of each server can be found running the following from the command prompt:
IPCONFIG /ALL
Concatenate the "Host Name" and "Primary DNS Suffix". If you see something like:
Host Name . . . . . . . . . . . . : A
Primary Dns Suffix . . . . . . . : corp.mycompany.com
Then the computer name is just A.corp.mycompany.com. Prefix 'TCP://' and append ':<port number>' and you then have the partner name.
regards
Jag
when I issue an ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : A
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
The primary Dns Suffix is empty which is preventing me from using a FQDN.
I'm using certificate based authentication, and have had mirroring setup and working for a couple of months without a FQDN.
It's only when I removed and tried to re add mirroring that this cropped up.
Any suggestions?
Hi K G,
Are you setting up mirroring using GUI or commands?
Does your server have a statis IP address. Try using the IP address when setting the partner.
regards
Jag
Hi Jag
I'm using the GUI.
When I use the IP address, and press Start Mirroring it reverts back to the machine name, and asks me for a FQDN.
Hi K G,
Could you try using the commands.
ALTER DATABASE db_name SET PARTNER = 'TCP://IPADDRESS
ORT'
Run it on the mirror first and then on the principal.
regards
jag
Thanks Jag,
I've managed to resolve it using the GUI. I ran the "configure security wizard", and at the end opted "Do Not Start Mirroring".
I then edited the server names to be the ip addresses.
This allowed me to get mirroring work.
Thanks for your pointer on the IP address.
Hi KG could you please mark the post as helpful, if you are satisfied with the help.
good luck
Jag