Saturday, September 7, 2013

[MS SQL Server] Principal server unexpected shutdown?

[MS SQL Server] Principal server unexpected shutdown?


Principal server unexpected shutdown?

Posted: 06 Sep 2013 10:05 PM PDT

Hi,Principal server unexpected shutdown and also not available Primary database , in that situation secondary server MIRROR database should be bring online mode for user access as well as application connectivity (mirror configured High Performance mode - version SQL2K8R2) What command should be executed in secondary database server for bring online? Please confirm as below commandOption 1[code="sql"]Use masterGoALTER DATABASE <Databasename> SET PARTNER FORCE_SERVICE_ALLOW_DATA_LOSSGoRESTORE DATABASE <Databasename> WITH RECOVERY[/code]option 2[code="sql"]Use masterGoALTER DATABASE <Databasename> SET PARTNER OFFGORESTORE DATABASE <Databasename> WITH RECOVERY[/code]

No comments:

Post a Comment

Search This Blog