Hello All,
We got below errors in our principal and Mirror db servers.
1) The mirroring connection to "TCP://servername.domain.com:5022" has timed out for database "Db name" after 10 seconds without a response. Check the service and network connections.(Mirror Server).
2) Database mirroring is inactive for database 'DB Name'. This is an informational message only. No user action is required.(Pricipal)
2) The command failed because the database mirror is busy. Reissue the command later. .(Pricipal)
3) The mirrored database "Db" is changing roles from "PRINCIPAL" to "MIRROR" because the mirroring session or availability group failed over due to role synchronization. This is an informational message only. No user action is required. .(Pricipal)
Before the first error we got an alert that db is unavailable. After 1 min of this alert the issue has started.
After a successful fail-over of that particular db to mirror again it was rolled back to principle automatically. After that I can see a server shut down with below errors.and mirroring failed on all the dbs.
Database mirroring connection error 4 'The connection was closed by the remote end, or an error occurred while receiving data: 55(The specified network name is no longer available.)'' for 'TCP://Server Name.Domain.com:5022'.(Mirror)
Database mirroring connection error 4 'An error occurred while receiving data: '1054(An existing connection was forcibly closed by the remote host.)'.' 'TCP://Server Name.Domain.com:5022'. .(Mirror)
SQL Server is terminating because of a system shutdown. This is an informational message only. No user action is required. (Pricipal)
The connection has been lost with Microsoft Distributed Transaction Coordinator (MS DTC). Recovery of any in-doubt distributed transactions involving Microsoft Distributed Transaction Coordinator (MS DTC) will begin once the connection is re-established. This is an informational message only. No user action is required. (Pricipal)
SQL Server cannot accept new connections, because it is shutting down. The connection has been closed. [CLIENT: IP. (Pricipal)
I am very confused that why this db unavailable before the issue. I don’t have any information about this.
Can some body help me to find out the root cause why this unexpected fail over and sql shutdown.