Mirror and Witness Connection in a Disconnected state immediately after adding Witness Server to Mirror session.

After adding the Witness Server to the Mirror session, the Witness Connection state between the Mirror and Witness Connection is Disconnected and the state between Principal and Witness Connection is Connected.
The procedures defined in Books Online was used to setup Database Mirroring...when the Witness server was added to the Mirror session, only the alter database T-SQL statement was executed on the Principal server.
ALTER DATABASE <db_name> SET WITNESS = 'TCP://<servername>:<port>'
After executing the above statement, a few seconds later the state between Principal and Witness Connection changed to Connected and the state between Mirror and Witness Connection remains Disconnected.
The Mirror session is not using Certificates, every server is on the same domain, using the same domain login account, and all servers have SP2 installed running Enterprise Edition.
Any idea's why the state between Mirror and Witness Connection remains Disconnected?
Thanks,

I have the same problem.  All 3 servers are on a workgroup and I'm using certificates. All three servers are connected via  switch.  This is a test environment, with the principal server being a 64 bit OS with Windows Server 2003 R2 with SQL Server standard x64, the witness server is a Windows server 2003 SP2 x32 with SQL Server Express, and the mirror is Windows XP x32 with Sql Server Standard. Using hard coded static IP addresses (FQDN makes no difference, and they get resolved to IP addresses anyway!).  The mirror server log shows
'The server instance Witness rejected configure request, read its error log file for more information
but of course there are no errors logged on the witness server - not by SQL, nor in the event log.  When the witness is set on the princial server, the Database mirroring monitor shows almost immediately that the witness and prinicapl servers are connected, but it takes quite a few seconds before the witness/mirror state is shown as disconnected.  Until then the entry is blank.  The monitor also shows High Saftey with automatic failover, which isn;t true - since the mirror and witness are not connected, no failover occurs when the principal is taken offline.
Since I'm running terminal services on the XP machine to interact with the witness and principal server, I find it hard to image that there are network issues. 
If the witness can connect with the principal and the principal can conect with the mirror, under what circumstances will the witness NOT connect with the mirror?  When I check the witness server for entries in the database_mirroring_witness view the following is shown:
RTJobs TCP://primary-sql:5022 TCP://192.168.100.14:5022 2 FULL 1 1 2263BD97-1004-4D73-9966-7AFB89E5626E A6EE18DF-19C4-48EC-8C06-77074EF5A275 0 1
Interestingly the IP address of the prinical server is replaced by the Sql Server instance name (primary-sql) but this doesn't happen for the witness.  

Similar Messages

  • Problem with Virtual PC and Network Connection - VPC gets disconnected

    Hi,
    I've been having a few problems with a virtual computer and its network connection.  I've set up a few computers the same way over the years and they all work fine except this one.  We use the Virtual PC and XP mode to access our data from an older
    program.  The databases are on a server, which are accessed as a mapped drive.  Every once in a while (with no particular pattern, sometimes it doesn't happen all day, sometimes it happens every 5 mins), the VPC gets disconnected from the network,
    my program returns a file read error and then everything is frozen.  When I try to ipconfig/release and renew, it releases correctly then it won't renew.  I need to shut down the VPC from the Win7 task manager and even so, it doesn't shut it down,
    even when I try to kill the vpc process.  The only way it'll come back up is if I restart the computer.  The network connection on the Win7 computer doesn't do that.
    Is there anything I can do to fix this ?
    Thanks,
    Melanie

    Hi,
    Does it become more stable now, actually, I'm afraid that this issue is not related with the drive letter or name. Since you're using bridge mode, the I would suggest you use NAT as a test, it is the default network configuration, which allows the VM
    to leverage the external TCP/IP network connected to the host. This is very useful if you regularly move the host computer between different network configurations. NAT is the preferred networking option when there is a shortage of IP addresses, a need to
    ensure the VM’s IP address is not targetable from an external network, or a need for connecting using WWAN.
    Yolanda Zhu
    TechNet Community Support

  • I use a pc. i keep getting a server error messge trying to upload photos to my iPad and iPhone via iCloud. the error states can't update photostream, server error.

    uploading worked in the beginning, but in the last few days it has not. how should i proceed.

    Go into Settings, iCloud on your iPad & iPhone. Turn streaming on there. I did that when I first set up my phone & iPad & have not had any problems. It will only stream over new photos so take one on your phone & see what happens. I hope that works for you.

  • Connection time-out but then immediately after, no problem

    For some reason, the first time I use pacman (after not having used it in a while), the connection times out, but when I Ctrl+C and then do the exact same thing, it starts working.
    Any ideas why?
    $ sudo pacman -S tmux
    resolving dependencies...
    looking for inter-conflicts...
    Targets (2): libevent-2.0.19-1 tmux-1.6-2
    Total Download Size: 0.44 MiB
    Total Installed Size: 2.19 MiB
    Proceed with installation? [Y/n]
    :: Retrieving packages from core...
    error: failed retrieving file 'libevent-2.0.19-1-i686.pkg.tar.xz' from ftp.lysator.liu.se : Connection time-out
    ^Cerror: failed retrieving file 'libevent-2.0.19-1-i686.pkg.tar.xz' from mirrors.ustc.edu.cn : Connection time-out
    Interrupt signal received
    $ sudo pacman -S tmux
    resolving dependencies...
    looking for inter-conflicts...
    Targets (2): libevent-2.0.19-1 tmux-1.6-2
    Total Download Size: 0.44 MiB
    Total Installed Size: 2.19 MiB
    Proceed with installation? [Y/n]
    :: Retrieving packages from core...
    libevent-2.0.19-1-i686 296.9 KiB 724K/s 00:00 [#####################] 100%
    :: Retrieving packages from community...
    tmux-1.6-2-i686 152.2 KiB 1801K/s 00:00 [#####################] 100%
    (2/2) checking package integrity [#####################] 100%
    (2/2) loading package files [#####################] 100%
    (2/2) checking for file conflicts [#####################] 100%
    (2/2) checking available disk space [#####################] 100%
    (1/2) installing libevent [#####################] 100%
    Optional dependencies for libevent
    python2: to use event_rpcgen.py
    (2/2) installing tmux [#####################] 100%
    Last edited by damd (2012-08-13 11:20:38)

    cfr wrote:Is this issue pacman-specific? Do you know that you definitely have a known-good connection when you're invoking pacman?
    I'm using SSH to connect to the server where this problem is happening, indicating that the LAN connection works. Before invoking pacman I've tried pinging google.com, which works flawlessly.
    The problem is still there, I just tried it.
    EDIT: This actually happens with wget too:
    $ wget https://aur.archlinux.org/packages/pa/p … ery.tar.gz
    --2012-08-12 21:11:32--  https://aur.archlinux.org/packages/pa/p … ery.tar.gz
    Resolving aur.archlinux.org... ^C (took a very long time)
    $ wget https://aur.archlinux.org/packages/pa/p … ery.tar.gz
    --2012-08-12 21:11:43--  https://aur.archlinux.org/packages/pa/p … ery.tar.gz
    Resolving aur.archlinux.org... 208.92.232.29 (works here)
    Last edited by damd (2012-08-12 19:12:35)

  • MSExchangeSA and IS is not starting automatic at reboot after upgrading the server from SP1 to SP2

    I am running a 2 node DAG with separate Hub & CAS servers
    I have already upgraded the Hub CAS server and they are fine
    Exchange running on Windows 2008 R2 SP1
    All are in VM-Ware ESXi 5.0
    After I upgrade the mailbox server to SP2 the SA and IS service not starting automatic after reboot
    If I run "net time /set" command and then restart ADtopology server, the IS and SA starts fine
    But again after reboot they do not start
    Also I get the below event in the app log when the IS & SA fails to start
    Log Name:      Application
    Source:        MSExchangeIS
    Date:          05/22/2012 5:15:03 AM
    Event ID:      5003
    Task Category: General
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      server.domain.com
    Description:
    Unable to initialize the Information Store service because the clocks on the client and server are skewed. This may be caused by a time change either on the client or on the server, and may require a restart of that computer. Verify that your domain is correctly
    configured and  is currently online.
    If I check the Registry for time resource it is taking from the DC
    I manually compared the time between DC and Exchange and it is fine
    Since the Exchange mailbox is virtual, I checked the time sync on VM-Ware tools and it is "unchecked"
    Checked for group policy and do not find any specific to time sync.
    Confirmed that Windows Time service is running
    Suspecting a Operating system issue, tried to upgrade the other DAG
    Even that node is displaying the same symptom and Issues
    Tried to install RU1 on both nodes and that too did not fix the issue.
    Checked with VM-Ware engineer and he said that every thing from VM-Ware end is fine
    Is Anyone have come across the issue before ?

    Exchange 2010: Unable to initialize the Information Store
    Problem: 
    Unable to initialize the Information Store service because  the clocks on the client and server are skewed.   This may be caused by a time change either in the client or the server,  and may require a reboot of that computer.   Verify that
    your domain is properly configured and  is currently online.
    Solution: 
    Open a cmd prompt from the Exchange Server as administrator (right mouse click on the command prompt shortcut and select “Run as Administrator”)
    Run this command
    Net time \\ADServerName /Set
    Restart the Microsoft Exchange Active Directory Topology Service
    *Important!! You have to restart the Microsoft Exchange Active Directory Topology Service or this fix will not work..  I tried just starting the Information Store service after running the command it it still failed..
    This worked for me and all is well on my exchange server.
    - See more at: http://www.mountainvistatech.com/2012/06/04/exchange-2010-unable-to-initialize-the-information-store/#sthash.SwQpgQEM.dpuf

  • Anyones ipod get stuck in the connected eject before disconnecting mode

    My ipod is stuck on and says connected eject before disconnecting, it will not shut off.

    Have you tried resetting it?
    How to reset iPod
    B-rock

  • Can we use SQL Server 2012 Web Edition as a witness server in mirroring?

    Hi All,
    Can we use SQL Server 2012 Web Edition as a witness server in mirroring?
    Grateful to your time and support. Regards, Shiva

    Hi All,
    Can we use SQL Server 2012 Web Edition as a witness server in mirroring?
    Grateful to your time and support. Regards, Shiva
    As Per BOL
    We strongly recommend that the witness reside on a separate computer from the partners. Database mirroring partners are supported only by SQL Server 2005 Standard and later versions and by SQL Server 2005 Enterprise Edition and later versions.
    Witnesses, in contrast, are also supported by SQL Server 2005 Workgroup and later versions and by SQL Server 2005 Express Edition and later versions. Except during an upgrade from an earlier version of SQL Server, the server instances in a
    mirroring session must all be running the same version of SQL Server. For example, a SQL Server 2005 witness is supported when you are upgrading from a SQL Server 2005 mirroring configuration but cannot be added to an existing or new SQL Server 2008 or later
    mirroring configuration.
    A witness can run on any reliable computer system that supports any of these editions of SQL Server. However, we recommend that every server instance that is used as a witness correspond to the minimum configuration that is required for the SQL Server Standard
    version that you are running. For more information about these requirements
    http://technet.microsoft.com/en-us/library/ms175191.aspx#SwHwRecommendations
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Getting session has timed out while trying to redeem a gift card. have had no problem in the past.  am running a g4 since 2002 with os 10.4 and itunes 9. have no internet problems and can connect to store ok. so far apple no help keeps blaming it on othrs

    am having trouble for the first time trying to redeem a gift card. Everything same on computer, OS, and internet connection. have been able to redeem other cards. this time am getting "SESSION HAS TIMED OUT" while trying to redeem card. have contacted apple and checked out all their suggestion iE:( must be your connection. typed in code wrong, too old version of itunes, etc) anything but why would a gift card code bee tied to a specific vetrsion of ITUNES. Rediculous!! there has to be others out there that have an older version if itune than i have. has anyone ever had the error "SESSION HAS TIMED OUT" and if so was it corrected?? any information other than apples {change password and give us lots of personal info they probably have) would be appreciated..

    Hello,
    As far as I can see, that Verizon Jet Pack wireless Modem uses WPA2 to connect.
    The Router might complicate things right now.
    Make a New Location, Using network locations in Mac OS X ...
    http://support.apple.com/kb/HT2712
    Is that Interface dragged to the top of Network>Show:>Network Port Configurations and checked ON?
    The Interface that connects to the Internet, needs to be drug to the top of System Preferences>Network>Show:>Network Port Configurations and checked ON.
    If using Wifi/Airport...
    Instead of joining your Network from the list, click the WiFi icon at the top, and click join other network. Fill in everything as needed.

  • Database Mirroring and replication

    Hi,
    can mirroring and replication is possible on same instance of sql
    of sql server 2008. if yes then please provide the  information.
    thanks in advance.

    You may need to use traceflag 1448 to get this to work.
    looking for a book on SQL Server 2008 Administration?
    http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067233044X looking for a book on SQL Server 2008 Full-Text Search?
    http://www.amazon.com/Pro-Full-Text-Search-Server-2008/dp/1430215941

  • 10.4.11 and bonjour connections

    Hi,
    I'm having major problems with Leopard and Snow Leopard clients connecting to the server via afp. The connection time is around 3 - 4 minutes each time you want to connect. I did manage to resolve the speed issue by turning off 'enable bonjour registration' but the file names turned into random characters when viewing in 10.5 and 10.6, 10.4 was fine. Does this mean that leopard and snow leopard use bonjour to connect to the server and not afp?
    So far I have tried
    Adding the server to the hosts file
    flushing the dns cache
    connecting both client and server to AD
    Checked port 5353
    I am now completely baffled and have now idea why it's not working the way it should.

    John, I agree that finally Aperture will now handle 40D raw files. However, since I installed 10.4.11 and the Aperture 1.5.6 update, the auto-exposure button is grayed out, and all my 40D files shot over a 2 week period have white balance settings of temperature =5000, tint=0. I always set the camera for AWB, so it seems strange that all the WB settings before any adjustment are exactly the same. To check this, I exported a raw file that I expected to have a temperature of somewhere in the 3000 range and looked at it in Camera Raw. Camera raw shows the as shot temperature as 3700, tint 16.

  • When a contact tries to call me on FaceTime, they are told I'm not available. In settings, it's turned on and I can call them with no problem immediately after they've tried calling me. Any ideas?

    Facetime tells my contacts I'm not available. My FaceTime is turned on in settings and  I'm able to FaceTime them immediately after they've tried calling me. Any ideas what I'm missing? 

    Try going to settings and turning FaceTime off, then back on again.  A hard reset may also help(hold down the power button and the home button together until you see the Apple logo)

  • After installing Lion Server computer asks to wipe HD and re-install Lion

    After installing Lion Server 10.7.3 and restarting, I am forced to erase HD and do a complete Lion 10.7?

    After installing Lion Server 10.7.3 and restarting, I am forced to erase HD and do a complete Lion 10.7?

  • I have a new lion server and 4 lion laptops. The laptops loose connection to the shared documents and printers from the server after roughly 1 hour. By disconnecting and re-connecting wireless the connection is regained to shares and printers

    I have a new lion server and 4 lion laptops. The laptops loose connection to the shared documents and printers from the server after roughly 1 hour. By disconnecting and re-connecting wireless the connection is regained to shares and printers. We can still surf the web when it goes down.

    Ok 1st one. The warning restriction message relates to this line in main.cf:
    smtpd_helo_restrictions = permit_sasl_authenticated  permit_mynetworks  check_helo_access hash:/etc/postfix/helo_access  reject_non_fqdn_hostname  reject_invalid_hostname  permit reject_invalid_helo_hostname
    The last reject occurs after the single word "permit" and is ignored.
    However, that's not the problem.
    I'm not exactly sure what's happening, but this might be a clue.
    It would appear that either postfix is not being able to create the socket for private/policy or it's somehow created with the wrong permissions.  You might need to ramp up the debug level to get a better idea.
    You could check if it's being created by "netstat -a | grep private/policy" in terminal.
    My guess is that it's not being created because there is no setup statement in your master.cf file, but I don't understand why postfix would be looking for it if it isn't set up.  Private/policy I think relates to grey listing.  Maybe gives you a hint.

  • I cannot get out of a frozen state on my iPad. It is showing Itunes and usb connection images on screen

    PLease help me get my IPAD out of this frozen state. It is showing the Itunes and USB connection image. It will do absolutely nothing! HELP!!!

    Recovery Mode
    1. Disconnect the USB cable from the device, but leave the other end of the cable connected to your computer's USB port.
    2. Turn off the device: Press and hold the Sleep/Wake button for a few seconds until the red slider appears, then slide the slider. Wait for the device to turn off.
    3.While pressing and holding the Home button, reconnect the USB cable to the device. The device should turn on.
    4. Continue holding the Home button until you see the "Connect to iTunes" screen. When this screen appears, release the Home button. iTunes should alert you that it has detected a device in recovery mode. Click OK, and then click Restore to restore the device.
    Note: Data will be lost. You may have to repeat the above many times.

  • Script to find connected or disconnected state of PS/2 Keyboard & Desktop Monitor

    I tried to create WMI Script using Win32_Keyboard & Win32_DesktopMonitor class to find whether the device is connected or not. It works when the device is connected. However it does not detect when the device is disconnected. Device Manager continue
    to show the device until the desktop is rebooted. I tried with several other Win32 class but it did not work. Is there a way to find the disconnected state of this device.

    Most often when a user asks about a "PS/2" keyboard they mean and keyboard connected in any way.  I just bought a new wireless keyboard.  The box is marked PS/2 keyboard. (compatible).  This is trying to indicate the PS/2 keyboard
    layout and not the old PS/2 connector.
    We can trap on all PNP events in WMI.  This is one way assuming a PNP keyboard and monitor.\
    To find if this is PNP use tis query
    gwmi Win32_PnPEntity -filter 'Name like "%keyboard%"'
    gwmi Win32_PnPEntity -filter 'Name like "%Monitor%"'
    ¯\_(ツ)_/¯

Maybe you are looking for

  • How to display Header Texts that you find in Sales Order and Billing Doc..

    Hi, I am having some problems accessing the text that is typed in the Header Texts area of the Sales Order and Billing. To access the Header Text you should first trigger the Sales Order (VA02) then once in the Sales Order Click Goto -> Header -> Tex

  • Ora:readFile error when giving absolute path, error ORABPEL-05002

    When I try to read file by providing the absolute path: using ora:readFile('file:///share/tripti.txt'), exception is thrown The filepath is accessible through the browser. <2008-06-03 12:32:23,234> <ERROR> <default.collaxa.cube.engine.dispatch> <Base

  • ARE-1 and ARE-3 Forms

    Hi Gurus, How to add ECS and SECS values to ARE-1 and ARE-3 Forms. We are using ECC 6.0 and patch level is 10. Best Regards Sri

  • Time cursor 'jumps about' when setting edit points in CS3.2

    Don't know if anyone else has experienced this: Yesterday when editing a short sequence the source window timeline indicator kept bouncing around when I set in or out points. Here's the procedure I went through: 1. Dragged source clip to source windo

  • Cannot call with unlimited world subscription

    Hi I have subscribed to Unlimited world subscription and had recently paid the bill for the month. However, I cannot make a phonecall to Malaysia using the account. The phone keep showing the message insufficient credit. And prompted me to buy credit