Solved

Proper configuration for database mirroring with witness and crossover cable for mirroring traffic

Posted on 2008-06-12
1
739 Views
Last Modified: 2008-06-12
I am trying to setup a server with database mirroring in SQL 2005, but I need to have the mirroring traffic go over a crossover cable between the principal and the mirror.  DNS has an entry for the principal and mirror for these mirror interfaces so that they can see each other.

Principal - 3 NICs - Public, Private, Mirror
Public x.x.x.x, Private 10.10.1.101 (DB1.DOMAIN.LOCAL), Mirror 192.168.0.101 (DB1-DBM.DOMAIN.LOCAL)

Mirror - 3 NICs - Public, Private, Mirror
Public x.x.x.x, Private 10.10.1.102 (DB2.DOMAIN.LOCAL), Mirror 192.168.0.102 (DB2-DBM.DOMAIN.LOCAL)

Witness - 2 NICs - Public, Private
Public x.x.x.x, Private 10.10.1.103 (DBWITNESS.DOMAIN.LOCAL)



Do I need to add a third NIC to the witness to allow the witness to do its job?

If I do _not_ need a third NIC, what settings would I use when I "Configure Security" in the Mirroring setup to ensure that the witness will do it's job?  It seems like if I use the DB1-DBM and DB2-DBM in the settings, the witness will never be able to communicate with them since it does not have access to the 192.168.0.x network.
0
Comment
Question by:lordicarus
1 Comment
 
LVL 2

Accepted Solution

by:
lordicarus earned 0 total points
ID: 21773984
Actually I figured this one out.  In reality you _could_ set this up by creating a reference in the hosts file on the witness server to point db1-dbm and db2-dbm to the 10.x addresses, and it would be able to tell if the servers were up and sql was responding, but since it's not on the same 192 network it doesn't ensure that db1 and db2 are actually able to communicate over said crossover.  

The solution would be to put the three servers on their own VLAN and add a third NIC to the witness server.  Third nic would be required since repurposing the public or private nic as the dbm connection would not be allowed (due to client needs) and since the issue with doing something like the hosts file thing would still be an issue if it wasnt connected to the same vlan.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Sql Data via Excel--performance issues 2 56
Analysis of table use 7 54
SQL Restore Script - Syntax Error 8 104
View SQL 2005 Job package 16 70
When writing XML code a very difficult part is when we like to remove all the elements or attributes from the XML that have no data. I would like to share a set of recursive MSSQL stored procedures that I have made to remove those elements from …
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question