Unanswered can't synchronized db mirror

  • Thursday, May 31, 2012 1:08 PM
     
     
    can help me....i have db mirror..but when network is loss or disconnect, db mirror can't synchronized automatic when network is conected, but i can try ping dns is resolved...i use (principall no witness) sql server 2008 enterprise 64 and windows server 2008 R2 enterprise 64

All Replies

  • Friday, June 01, 2012 5:13 AM
    Moderator
     
      Has Code

    Hi Sunawan,

    What is the state of the database mirroring? You may have a try to suspend and resume the mirroring:

    ALTER DATABASE <db_name> SET PARTNER SUSPEND
    GO
    WAITFOR DELAY '00:05'
    GO
    ALTER DATABASE <db_name> SET PARTNER RESUME
    GO

    Stephanie Lv

    TechNet Community Support

  • Friday, June 01, 2012 10:06 PM
     
     

    Yes,I agree with Stephanie here.You would need to check the status of mirroring - 

    SELECT (SELECT DB_NAME(7)AS DBName),
    database_id,
    mirroring_state_desc,
    mirroring_role_desc,
    mirroring_partner_name,
    mirroring_partner_instance
    FROM sys.database_mirroring
    WHERE database_id=7  --Replace this

    Mostly the state will be suspended and you should resume it.


    Anup | Database Consultant

    Blog: www.sqlsailor.com Twitter: Follow me !

    Please use Mark as Answer if my post solved your problem and use Vote As Helpful if a post was useful.

  • Wednesday, June 06, 2012 3:37 PM
     
     

    The interesting question is: Why doesn't it pick up automatically after the network loss? I have run DB Mirroring for 7 years now, and it almost always picked up automatically after a network glitch. Can you check your SQL Error Log and post us the messages it gives when the mirror gets disconnected?

    Lucifer

  • Friday, June 08, 2012 4:48 AM
     
     
    Absolutely Mr. PrinceLucifer.. I have the using the DB Mirroring since 3 years. Its automatically ping to network connection and will automatically synchronize the database..

    Sivamanikanta. P

  • Monday, February 11, 2013 2:23 AM
     
     

    The interesting question is: Why doesn't it pick up automatically after the network loss? I have run DB Mirroring for 7 years now, and it almost always picked up automatically after a network glitch. Can you check your SQL Error Log and post us the messages it gives when the mirror gets disconnected?

    Lucifer

    so....when db mirror is down....can't UP otomatis, i try restart service SQL but can't up....but when i restart server ( principall n mirror) db can up. why ??? data size 100GB and connection network 1Mb. thanks a lot :)
  • Monday, February 11, 2013 6:41 AM
     
     
    Please check the SQL Error Log when you see the problem again. I can think of a lot of reasons that could lead to this, but they are all highly hypothetical...
  • Monday, February 11, 2013 8:35 PM
     
     
    can you able to telnet on to mirroring endports on bi-directional (check with sysadmin any one closed the ports in firewall)? as PriceLucifer suggested check SQL Error log when it re-appers

    http://uk.linkedin.com/in/ramjaddu