|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Wednesday, May 01, 2013 5:15 AM
Points: 236,
Visits: 235
|
|
Hi All
Does anybody know if suspending db mirroring prevents automatic failover should the primary fail ? I know that Suspending stops transactions being sent to the mirror and the principal runs exposed, but would the witness still attempt to failover should the primary become unavailable ?
Thanks in advance
Preet
|
|
|
|
|
Mr or Mrs. 500
      
Group: General Forum Members
Last Login: Today @ 5:06 AM
Points: 543,
Visits: 1,017
|
|
I do not believe so.
Automatic failover requires the following conditions:
The database mirroring session must be running in high-safety mode and must possess a witness. For more information, see Synchronous Database Mirroring (High-Safety Mode).
The mirror database must already be synchronized. This guarantees that all of the log sent to the mirror server has been written to disk.
Automatic Failover
Joie Andrew "Since 1982"
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Thursday, May 16, 2013 11:13 AM
Points: 4,
Visits: 75
|
|
| No it most certainly will not failover automatically.
|
|
|
|
|
Old Hand
      
Group: General Forum Members
Last Login: Yesterday @ 1:52 PM
Points: 312,
Visits: 1,860
|
|
Preet_S (12/20/2012) Hi All
Does anybody know if suspending db mirroring prevents automatic failover should the primary fail ? I know that Suspending stops transactions being sent to the mirror and the principal runs exposed, but would the witness still attempt to failover should the primary become unavailable ?
Thanks in advance
Preet
I believe, suspending mirroring means, it's paused somehow, can be done manually or can cause by many different things.....It can be due to network failure, or space issues.
Does anyone know what else can cause the mirroring to be in a suspended state?
SueTons.
|
|
|
|
|
SSCertifiable
       
Group: General Forum Members
Last Login: Yesterday @ 7:36 AM
Points: 5,201,
Visits: 11,153
|
|
SQLCrazyCertified (12/27/2012) Does anyone know what else can cause the mirroring to be in a suspended state?
SueTons. Creating a new file on the principal when the file paths between the principal and the mirror are different
-----------------------------------------------------------------------------------------------------------
"Ya can't make an omelette without breaking just a few eggs"
|
|
|
|
|
Old Hand
      
Group: General Forum Members
Last Login: Yesterday @ 1:52 PM
Points: 312,
Visits: 1,860
|
|
Perry Whittle (12/28/2012)
SQLCrazyCertified (12/27/2012) Does anyone know what else can cause the mirroring to be in a suspended state?
SueTons.Creating a new file on the principal when the file paths between the principal and the mirror are different
Hi P
|
|
|
|
|
Old Hand
      
Group: General Forum Members
Last Login: Yesterday @ 1:52 PM
Points: 312,
Visits: 1,860
|
|
Perry Whittle (12/28/2012)
SQLCrazyCertified (12/27/2012) Does anyone know what else can cause the mirroring to be in a suspended state?
SueTons.Creating a new file on the principal when the file paths between the principal and the mirror are different
Hi P
|
|
|
|
|
Old Hand
      
Group: General Forum Members
Last Login: Yesterday @ 1:52 PM
Points: 312,
Visits: 1,860
|
|
Perry Whittle (12/28/2012)
SQLCrazyCertified (12/27/2012) Does anyone know what else can cause the mirroring to be in a suspended state?
SueTons.Creating a new file on the principal when the file paths between the principal and the mirror are different
Hi Perry,
Can u explain what exactly you mean creating a file, are you talking about new ndf file? Please advise with some example if you don't mind.
SueTons.
|
|
|
|
|
SSCertifiable
       
Group: General Forum Members
Last Login: Yesterday @ 7:36 AM
Points: 5,201,
Visits: 11,153
|
|
If you have a principal server with database file path "D:\MSSQL\MYDBS" and you create the database file "D:\MSSQL\MYDBS\adventureworks_data2.mdf" and the path does not exist on the mirror, this will cause the mirror session to be suspended. This link details that for mirroring to work seamlessly, the file paths should be synchronised between the servers.
-----------------------------------------------------------------------------------------------------------
"Ya can't make an omelette without breaking just a few eggs"
|
|
|
|