SQL Server 2012 - DB Mirroring + Log Shipping + Multi-Subnet

Hi again,
So AG would be nice to have, but considering the costs of getting it, well, it is a no go for me at the moment (This is like a 1:20 ratio considering Std comes with server licencing and enterprise is only per 2 cores).
So, having 2 sites, with different subnet. Is it possible to configure automatic failover for DBM ? We are running Windows 2012 R2 which supports multi subnet failover. But what about DBM in this case ?
Can the witness be configured on a third site ? (I was thinking of having the following weights: Site 1:2, Site 2:1, Quorum:2 just to have no reconfig to do in case of Datacenter failure)
Also, in order to offload some of the backup load as the DB are somewhat big (1TB), I was thinking of having one additional node per site to which the logs are shipped and that are used to run the backups. The question being, is it possible to log ship from
each "primary" on each site rather than have the primary on site 1 do it for all the servers across the subnets ?
It would be a setup like this:
Site 1 Primary <---DBM---> Site 2 Primary (Hot failover)
Site 1 Primary <---LogShips---> Site 1 Secondary
Site 2 Primary <---LogShips---> Site 2 Secondary
And thus reduces the load on the link between the 2 sites.
I do hope to see AG in the future for Std as they are removing DBM in the next version.
Thanks,

The idea behind the cluster is to have a single IP on which the applications can reach the DB in case of a failover to the secondary site.
This requires a failover cluster instance - mirroring does not work this way.
Because as far as I understand it, either the application has to be aware and able to switch to the new DB primary, or we can use a multisubnet cluster or we can manually reconfigure the applications (so painful)
Mirroring has the failover partner attribute in the connection string that can be utilized. A multi-subnet cluster would require, again, a FCI.
AFAIK, DBM is not recommended for more than 10 DB on an instance due to the worker threads.
"It depends". There can be worker thread issues, but this will entirely depend on your hardware and architecture of processor/SQL Server. In 32-bit world it'll eat up all of your worker threads. In 64-bit world on a decent server it shouldn't be
a problem to have 10-20 out of the box.
I don't mind having to failover multiple database residing on the same instance and having to setup them per DB.
If any of your databases have a dependency on one another, this isn't going to work well as one database could be failed over and another might not be. Just food for thought.
What it sound like you really want is a failover cluster instance and use log shipping to have a "readable copy" somewhere even if it is behind on time. The problem comes in is that a cluster all has to be in the same domain and part of the same
cluster. Your thoughts involve a separate cluster - so I'm not sure why two different ones unless you have multiple environments you're trying to add some HA to.
-Sean
The views, opinions, and posts do not reflect those of my company and are solely my own. No warranty, service, or results are expressed or implied.

Similar Messages

  • SQL Server 2012 restoring database from backup file

    Hi All,
    1. I was restoring the database from PROD box to DEV box with the deferent name.
    For Ex: Both PROD and DEV boxes are having "A" database. Now I am refreshing database"A" from PROD bot to DEV box with name "B". Now while restoring in SQL server 2012 I used GUI and took database name as "A" by default.
    by mistake I executed the request. before completing I notice that "A" database in DEV Box went to restoring mode.
    Now, in middle I stopped the query but still I am seeing database "A" is in restoring state.
    Please guide me is there any way to bring database online with current data?
    2. Why sql server 2012 takes tail log backup of the existing database while restoring database with different name?

    Hi,
    check this link for the same issue and solutions:
    http://stackoverflow.com/questions/520967/sql-server-database-stuck-in-restoring-state
      Ronen Ariely
     [Personal Site]    [Blog]    [Facebook]

  • Error in sql_engine_core_inst_Cpu64_1.log file for SQL Server 2012

    I was running SQL Server 2012 in Win 7 64 bit OS. Some how I found SQLSERVER server is not running and I was not able to run the service. Then I tried to unisntall and install again. And I found that some of the SQL Server
    features got failed,  like: Reporting Services - Native, Database Engine Services, Data Quality Services, Full-Text and Semantic Extractions for Search and SQL Server Replication. I checked the Summary.txt
    file from location C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log. It thsi logs referes to another log file location like: 
    Feature:                       Database Engine Services
      Status:                        Failed: see logs for details
      Reason for failure:            An error occurred during the setup process of the feature.
      Next Step:                     Use the following information to resolve the error, and then try the setup process again.
      Component name:                SQL Server Database Engine Services Instance Features
      Component error code:          1639
      Component log file:            C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140127_151409\sql_engine_core_inst_Cpu64_1.log
      Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3128.0&EvtType=sql_engine_core_inst.msi%400x162A16FE%400x1639
    I did unisntall/install multipel times. But fhw to fix the issue that saying in sql_engine_core_inst_Cpu64_1.log file.: 
    === Verbose logging started: 1/27/2014  15:45:04  Build type: SHIP UNICODE 5.00.7601.00  Calling process: C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\SQLServer2012\x64\ScenarioEngine.exe ===
    MSI (c) (C4:BC) [15:45:04:321]: Resetting cached policy values
    MSI (c) (C4:BC) [15:45:04:321]: Machine policy value 'Debug' is 0
    MSI (c) (C4:BC) [15:45:04:321]: ******* RunEngine:
               ******* Product: E:\Software\SQL Full Installation\x64\setup\sql_engine_core_inst_msi\sql_engine_core_inst.msi
               ******* Action: 
               ******* CommandLine: **********
    MSI (c) (C4:BC) [15:45:04:322]: Client-side and UI is none or basic: Running entire install on the server.
    MSI (c) (C4:BC) [15:45:04:322]: Grabbed execution mutex.
    MSI (c) (C4:BC) [15:45:04:323]: Cloaking enabled.
    MSI (c) (C4:BC) [15:45:04:323]: Attempting to enable all disabled privileges before calling Install on Server
    MSI (c) (C4:BC) [15:45:04:323]: Incrementing counter to disable shutdown. Counter after increment: 0
    MSI (s) (38:8C) [15:45:04:327]: Running installation inside multi-package transaction E:\Software\SQL Full Installation\x64\setup\sql_engine_core_inst_msi\sql_engine_core_inst.msi
    MSI (s) (38:8C) [15:45:04:327]: Grabbed execution mutex.
    MSI (s) (38:A0) [15:45:04:327]: Resetting cached policy values
    MSI (s) (38:A0) [15:45:04:327]: Machine policy value 'Debug' is 0
    MSI (s) (38:A0) [15:45:04:327]: ******* RunEngine:
               ******* Product: E:\Software\SQL Full Installation\x64\setup\sql_engine_core_inst_msi\sql_engine_core_inst.msi
               ******* Action: 
               ******* CommandLine: **********
    MSI (s) (38:A0) [15:45:04:452]: Machine policy value 'TransformsSecure' is 0
    MSI (s) (38:A0) [15:45:04:452]: User policy value 'TransformsAtSource' is 0
    MSI (s) (38:A0) [15:45:04:475]: Machine policy value 'DisableUserInstalls' is 0
    MSI (s) (38:A0) [15:45:04:475]: Specified instance {18B2A97C-92C3-4AC7-BE72-F823E0BC895B} via transform :InstID01.mst;:InstName02.mst is already installed. MSINEWINSTANCE requires a new instance that is not installed.
    MSI (s) (38:A0) [15:45:04:475]: MainEngineThread is returning 1639
    MSI (s) (38:8C) [15:45:04:477]: User policy value 'DisableRollback' is 0
    MSI (s) (38:8C) [15:45:04:477]: Machine policy value 'DisableRollback' is 0
    MSI (s) (38:8C) [15:45:04:477]: Incrementing counter to disable shutdown. Counter after increment: 0
    MSI (s) (38:8C) [15:45:04:478]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress 3: 2 
    MSI (s) (38:8C) [15:45:04:478]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress 3: 2 
    MSI (s) (38:8C) [15:45:04:478]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
    MSI (s) (38:8C) [15:45:04:478]: Restoring environment variables
    MSI (c) (C4:BC) [15:45:04:481]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
    MSI (c) (C4:BC) [15:45:04:481]: MainEngineThread is returning 1639
    === Verbose logging stopped: 1/27/2014  15:45:04 ===
    Please advice. I searched many places and did not get actual solution that will resolve my case.
    Nusrat Akhter

    Hi Nusrat Akhter,
    According to your description, when installing the first install failed, and it looks like the instance did not uninstall completely. To solve the issue I recommend you changed the instance name in re-installing SQL Server, and check if it can work fine.
    There is a similar issue that the SQL engine will not start, and there is no method of uninstalling either it, or any of the components etc. You can review the following post.
    https://connect.microsoft.com/SQLServer/feedback/details/710892/sql-server-2012-rc0-install-fails-citing-invalid-drivers
    Thanks,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Setting up Multi server environment in Sql Server 2012 - Enlist Failed Error

    I am trying to Configure the Master target server / Multi server environment in Sql Server 2012.
    I changed :
     - `MSXENCryptChannnelOptions`-->Changed from 2 to 0
     - `AllowDownloadedJobsToMatchProxyName` - changed from 0 to 1 on the target
    When I run the wizard I am getting below error
    >MSX Enlist failed for Job Server 'MasterServerName'
    >The enlist operation Failed(Reason:SQL Server Agent Error: Unable to connect to MSX 'MasterServerName'(Microsoft Sql Server, Error : 22026)
    They both servers SQL Agents are running on the same windows service account.
    Any Suggestions on how to fix this?
    **Adding the Log:**
    Enlist TSX Progress
    - Create MSXOperator (Success)
    Checking for an existing MSXOperator. 
    Updating existing MSXOperator. 
    Successfully updated MSXOperator. 
    - Make sure the Agent service for 'Test3' is running (Success)
    The service 'SQLSERVERAGENT' is running. 
    - Ensure the agent startup account for 'Test4' has rights to login as a target server (Success)
    Checking to see if the startup account for 'Test4' already exists. 
    Login exists on server. 
    Checking to see if login has rights to msdb. 
    Login has rights to msdb. 
    Checking to see if user is a member of the TargetServersRole. 
    User is a member of the TargetServersRole. 
    - Enlist 'Test4' into 'Test3' (Error)
    Enlisting target server 'Test4' with master server 'Test3'. 
    Using new enlistment method. 
    Messages
    MSX enlist failed for JobServer 'Test4'.  (Microsoft.SqlServer.Smo)
    ADDITIONAL INFORMATION:
    An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
    The enlist operation failed (reason: SQLServerAgent Error: Unable to connect to MSX 'TEST3'.) (Microsoft SQL Server, Error: 22026)

    hi SmilingLily,
    you can try to run the SQL Agent under a domain account.

  • SQL Server 2012 Developer Edition will not install. Setup files don't even get copied completely. Win 8.1. ACT instance is loaded & can't be deleted. From log file: Error: Action "PreMsiTimingConfigAction" failed during execution.

    SQL Server 2012 Developer Edition will not install.  Setup files don't even get copied completely.  Win 8.1.  ACT instance is loaded & can't be deleted. From log file: Error: Action "PreMsiTimingConfigAction" failed during execution.

    Hello,
    I am glad it worked.
    Thank you for visiting MSDN forums!
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Wait on the Database Engine recovery handle failed. Check the SQL server error log for potential causes in SQL Server 2012 Developer Edition

    I m using SQL Server 2012 Developer Edition. Even I tried 2012 express and enterprise edition but all
    gave same error. I browsed msdn blog. But nothing help me out.
    Below is the error log details--
    Overall summary:
      Final result:                  Failed: see details below
      Exit code (Decimal):           -2061893606
      Start time:                    2013-10-21 12:58:05
      End time:                      2013-10-21 13:52:30
      Requested action:              Install
    Setup completed with required actions for features.
    Troubleshooting information for those features:
      Next step for RS:              Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
      Next step for SQLEngine:       Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
      Next step for DQ:              Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
      Next step for FullText:        Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
      Next step for Replication:     Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
    Machine Properties:
      Machine name:                  CROY-TOSH
      Machine processor count:       4
      OS version:                    Windows 7
      OS service pack:               Service Pack 1
      OS region:                     United States
      OS language:                   English (United States)
      OS architecture:               x64
      Process architecture:          64 Bit
      OS clustered:                  No
    Product features discovered:
      Product              Instance             Instance ID                    Feature                
                     Language             Edition              Version         Clustered 
    Package properties:
      Description:                   Microsoft SQL Server 2012 Service Pack 1
      ProductName:                   SQL Server 2012
      Type:                          RTM
      Version:                       11
      SPLevel:                       0
      Installation location:         C:\Users\CRoy\Downloads\SQL Server 2012 Developer Edition (x86 and x64) - DVD (English)\x64\setup\
      Installation edition:          Developer
    Product Update Status:
      None discovered.
    User Input Settings:
      ACTION:                        Install
      ADDCURRENTUSERASSQLADMIN:      false
      AGTSVCACCOUNT:                 NT Service\SQLSERVERAGENT
      AGTSVCPASSWORD:                *****
      AGTSVCSTARTUPTYPE:             Manual
      ASBACKUPDIR:                   C:\Program Files\Microsoft SQL Server\MSAS11.MSSQLSERVER\OLAP\Backup
      ASCOLLATION:                   Latin1_General_CI_AI
      ASCONFIGDIR:                   C:\Program Files\Microsoft SQL Server\MSAS11.MSSQLSERVER\OLAP\Config
      ASDATADIR:                     C:\Program Files\Microsoft SQL Server\MSAS11.MSSQLSERVER\OLAP\Data
      ASLOGDIR:                      C:\Program Files\Microsoft SQL Server\MSAS11.MSSQLSERVER\OLAP\Log
      ASPROVIDERMSOLAP:              1
      ASSERVERMODE:                  MULTIDIMENSIONAL
      ASSVCACCOUNT:                  NT Service\MSSQLServerOLAPService
      ASSVCPASSWORD:                 <empty>
      ASSVCSTARTUPTYPE:              Automatic
      ASSYSADMINACCOUNTS:            CRoy-TOSH\CRoy
      ASTEMPDIR:                     C:\Program Files\Microsoft SQL Server\MSAS11.MSSQLSERVER\OLAP\Temp
      BROWSERSVCSTARTUPTYPE:         Disabled
      CLTCTLRNAME:                   ROY
      CLTRESULTDIR:                  C:\Program Files (x86)\Microsoft SQL Server\DReplayClient\ResultDir\
      CLTSTARTUPTYPE:                Manual
      CLTSVCACCOUNT:                 NT Service\SQL Server Distributed Replay Client
      CLTSVCPASSWORD:                <empty>
      CLTWORKINGDIR:                 C:\Program Files (x86)\Microsoft SQL Server\DReplayClient\WorkingDir\
      COMMFABRICENCRYPTION:          0
      COMMFABRICNETWORKLEVEL:        0
      COMMFABRICPORT:                0
      CONFIGURATIONFILE:             C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20131021_125116\ConfigurationFile.ini
      CTLRSTARTUPTYPE:               Manual
      CTLRSVCACCOUNT:                NT Service\SQL Server Distributed Replay Controller
      CTLRSVCPASSWORD:               <empty>
      CTLRUSERS:                     CRoy-TOSH\CRoy
      ENABLERANU:                    false
      ENU:                           true
      ERRORREPORTING:                true
      FEATURES:                      SQLENGINE, REPLICATION, FULLTEXT, DQ, AS, RS, RS_SHP, RS_SHPWFE, DQC, BIDS, CONN, IS, BC, SDK, BOL, SSMS, ADV_SSMS, DREPLAY_CTLR, DREPLAY_CLT, SNAC_SDK, MDS
      FILESTREAMLEVEL:               2
      FILESTREAMSHARENAME:           MSSQLSERVER
      FTSVCACCOUNT:                  NT Service\MSSQLFDLauncher
      FTSVCPASSWORD:                 <empty>
      HELP:                          false
      IACCEPTSQLSERVERLICENSETERMS:  false
      INDICATEPROGRESS:              false
      INSTALLSHAREDDIR:              C:\Program Files\Microsoft SQL Server\
      INSTALLSHAREDWOWDIR:           C:\Program Files (x86)\Microsoft SQL Server\
      INSTALLSQLDATADIR:             <empty>
      INSTANCEDIR:                   C:\Program Files\Microsoft SQL Server\
      INSTANCEID:                    MSSQLSERVER
      INSTANCENAME:                  MSSQLSERVER
      ISSVCACCOUNT:                  NT Service\MsDtsServer110
      ISSVCPASSWORD:                 <empty>
      ISSVCSTARTUPTYPE:              Automatic
      MATRIXCMBRICKCOMMPORT:         0
      MATRIXCMSERVERNAME:            <empty>
      MATRIXNAME:                    <empty>
      NPENABLED:                     0
      PID:                           *****
      QUIET:                         false
      QUIETSIMPLE:                   false
      ROLE:                          <empty>
      RSINSTALLMODE:                 DefaultNativeMode
      RSSHPINSTALLMODE:              SharePointFilesOnlyMode
      RSSVCACCOUNT:                  NT Service\ReportServer
      RSSVCPASSWORD:                 <empty>
      RSSVCSTARTUPTYPE:              Automatic
      SAPWD:                         *****
      SECURITYMODE:                  SQL
      SQLBACKUPDIR:                  <empty>
      SQLCOLLATION:                  Latin1_General_CI_AI
      SQLSVCACCOUNT:                 NT Service\MSSQLSERVER
      SQLSVCPASSWORD:                *****
      SQLSVCSTARTUPTYPE:             Automatic
      SQLSYSADMINACCOUNTS:           CRoy-TOSH\CRoy
      SQLTEMPDBDIR:                  <empty>
      SQLTEMPDBLOGDIR:               <empty>
      SQLUSERDBDIR:                  <empty>
      SQLUSERDBLOGDIR:               <empty>
      SQMREPORTING:                  false
      TCPENABLED:                    0
      UIMODE:                        Normal
      UpdateEnabled:                 true
      UpdateSource:                  MU
      X86:                           false
      Configuration file:            C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20131021_125116\ConfigurationFile.ini
    Detailed results:
      Feature:                       Management Tools - Complete
      Status:                        Passed
      Feature:                       Client Tools Connectivity
      Status:                        Passed
      Feature:                       Client Tools SDK
      Status:                        Passed
      Feature:                       Client Tools Backwards Compatibility
      Status:                        Passed
      Feature:                       Management Tools - Basic
      Status:                        Passed
      Feature:                       SQL Server Data Tools
      Status:                        Passed
      Feature:                       Reporting Services - Native
      Status:                        Failed: see logs for details
      Reason for failure:            An error occurred for a dependency of the feature causing the setup process for the feature to fail.
      Next Step:                     Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
      Component name:                SQL Server Database Engine Services Instance Features
      Component error code:          0x851A001A
      Error description:             Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
      Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3128.0&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026
      Feature:                       Database Engine Services
      Status:                        Failed: see logs for details
      Reason for failure:            An error occurred during the setup process of the feature.
      Next Step:                     Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
      Component name:                SQL Server Database Engine Services Instance Features
      Component error code:          0x851A001A
      Error description:             Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
      Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3128.0&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026
      Feature:                       Data Quality Services
      Status:                        Failed: see logs for details
      Reason for failure:            An error occurred for a dependency of the feature causing the setup process for the feature to fail.
      Next Step:                     Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
      Component name:                SQL Server Database Engine Services Instance Features
      Component error code:          0x851A001A
      Error description:             Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
      Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3128.0&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026
      Feature:                       Full-Text and Semantic Extractions for Search
      Status:                        Failed: see logs for details
      Reason for failure:            An error occurred for a dependency of the feature causing the setup process for the feature to fail.
      Next Step:                     Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
      Component name:                SQL Server Database Engine Services Instance Features
      Component error code:          0x851A001A
      Error description:             Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
      Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3128.0&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026
      Feature:                       SQL Server Replication
      Status:                        Failed: see logs for details
      Reason for failure:            An error occurred for a dependency of the feature causing the setup process for the feature to fail.
      Next Step:                     Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
      Component name:                SQL Server Database Engine Services Instance Features
      Component error code:          0x851A001A
      Error description:             Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
      Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3128.0&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026
      Feature:                       Master Data Services
      Status:                        Passed
      Feature:                       Distributed Replay Client
      Status:                        Passed
      Feature:                       Distributed Replay Controller
      Status:                        Passed
      Feature:                       Integration Services
      Status:                        Passed
      Feature:                       Data Quality Client
      Status:                        Passed
      Feature:                       Analysis Services
      Status:                        Passed
      Feature:                       Reporting Services - SharePoint
      Status:                        Passed
      Feature:                       Reporting Services Add-in for SharePoint Products
      Status:                        Passed
      Feature:                       SQL Browser
      Status:                        Passed
      Feature:                       Documentation Components
      Status:                        Passed
      Feature:                       SQL Writer
      Status:                        Passed
      Feature:                       SQL Client Connectivity
      Status:                        Passed
      Feature:                       SQL Client Connectivity SDK
      Status:                        Passed
    Rules with failures:
    Global rules:
    Scenario specific rules:
    Rules report file:               C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20131021_125116\SystemConfigurationCheck_Report.htm

    Hi,
    This 3rd time I followed this link. But nothing new, same error.
    Can you please tell me how to do follow, I cannt do the 1st step, how to change the local system to windows level account, vice-versa. It is shown mine as
    Server Configuration Manager(Local) 
    From here I folllowed the steps ---[I cannt insert link/image :-(]
    SQL 2008/R2 setup fails with "Wait on the database engine recovery handle failed" 
    If I right clicked on SQL Server Service, there is no option to change the account. 
    Hello,
    Thanks for your patience,did you tried stesp mentioned in below article
    http://blogs.msdn.com/b/sqljourney/archive/2012/03/16/sql-2008-r2-setup-fails-with-quot-wait-on-the-database-engine-recovery-handle-failed-quot.aspx
    To resolve it, follow these steps:-
    When the installation throws this error, click on OK and allow it to proceed. It will fail for Database Engine, but the SQL Server service should have
    been created. Check the Services console.
    If the service is present, perform the following steps:-
    1. Go to SQL Server Configuration manager, right click on the SQL Server service, and change the service account (if it is local system, give
    it a windows level account, and vice-versa). It might throw a WMI error but you will see the account getting updated anyway. If not, then use the Services console. Change the account for SQL Agent as well.
    Use this link to change sql server service account
    http://technet.microsoft.com/en-us/library/ms345578.aspx
    2. Next, try to start the service. It should come online.
    3. However, you will not be able to log in to the SQL Server
    4. Now stop the service and start it from the command prompt using -m -c -T3608 parameters.
    5. Now try logging in to the server using admin connection from sqlcmd (sqlcmd admin:<server name>\<instance name> ...)
    6. Once logged in, use the sp_addsrvrolemember '<domain\username>','sysadmin'.
    Also add the builtin/administrators to the sysadmin role
    7. Now stop the service from the command prompt and start it from SQL Server configuration manager
    You should be able to log in to the server now.
    Hope this helps someone.
    Please revert if it helps or even if it does not
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Transaction Log Truncate not working on Sql Server 2012 High Availability Groups

    Hi Everyone
    Firstly I have tried to search the forum for similar issues but can't seem to find any that match our situation.
    We have a SQL Server 2012 High Availability Group with 2 Nodes
    Node 1 = Primary
    Node 2 = Secondary
    Backup Schedule as follows
    Full Database Backup @ 00:00
    Transaction Log Backup every 30 minutes from 00:30:00 till 23:59:59.
    These backups are run by Maintenance Jobs, but we have also tried doing direct backups in SSMS using Backup Database and Backup Log commands.
    Before we configured the High Availability group the transaction log backups worked fine.
    After we configured the High Availability group we performed a Full Backup and the T-Log schedule did the T-Log backup. The 1st T-log backup truncated the log (Used space Decreased) as expected.
    However subsequent T-Log backups do not truncate the T-Log.
    This happens both in our acceptance and Live environments. This also happens when running the backups as a Backup operator and sysadmin, this does not seem to be a permissions issue at all.
    We have tried running the Backup on the Primary and Secondary Replica.
    What about High Availability groups could stop Transaction Log Backups from not truncating the log?
    Thanks
    James

    Hi Sean
    Thank you for your reply, please see the output of the sys.databases query below, and some others which you may find usefull.
    Query: select database_id,recovery_model_desc, log_reuse_wait, log_reuse_wait_desc from sys.databases
    where database_id = 5
    Result: database_id    recovery_model_desc    log_reuse_wait    log_reuse_wait_desc
                     5                               
    FULL                             0                           
    NOTHING
    I also ran the following
    select database_id, truncation_lsn, last_received_lsn, last_commit_lsn, last_hardened_lsn, last_redone_lsn,*
    from sys.dm_hadr_database_replica_states
    go
    database_id
    truncation_lsn
    last_received_lsn
    last_commit_lsn
    last_hardened_lsn
    last_redone_lsn
    database_id
    group_id
    replica_id
    group_database_id
    is_local
    synchronization_state
    synchronization_state_desc
    is_commit_participant
    synchronization_health
    synchronization_health_desc
    database_state
    database_state_desc
    is_suspended
    suspend_reason
    suspend_reason_desc
    recovery_lsn
    truncation_lsn
    last_sent_lsn
    last_sent_time
    last_received_lsn
    last_received_time
    last_hardened_lsn
    last_hardened_time
    last_redone_lsn
    last_redone_time
    log_send_queue_size
    log_send_rate
    redo_queue_size
    redo_rate
    filestream_send_rate
    end_of_log_lsn
    last_commit_lsn
    last_commit_time
    low_water_mark_for_ghosts
    5
    1231833000417170000000
    1231833000418880000000
    1231833000418880000000
    1231833000418890000000
    1231833000418880000000
    5
    1391A499-3F9A-47D5-BCE0-70BC204E2A5B
    7E8BFC2E-363F-4C48-86F0-C276D3E0C8D9
    0581E17A-6B7B-4B8F-9288-BF765BFBCE77
    0
    2
    SYNCHRONIZED
    1
    2
    HEALTHY
    NULL
    NULL
    0
    NULL
    NULL
    4294967295429490000000000
    1231833000417170000000
    1
    41863
    1231833000418880000000
    41863
    1231833000418890000000
    41863
    1231833000418880000000
    41863
    0
    25541
    0
    84404
    75304
    1231833000418880000000
    1231833000418880000000
    41863
    441019861
    5
    1231833000417170000000
    NULL
    1231833000418880000000
    1231833000418890000000
    NULL
    5
    1391A499-3F9A-47D5-BCE0-70BC204E2A5B
    83B9F00E-D63F-4AC0-98FC-35E48FFA2C6F
    0581E17A-6B7B-4B8F-9288-BF765BFBCE77
    1
    2
    SYNCHRONIZED
    1
    2
    HEALTHY
    0
    ONLINE
    0
    NULL
    NULL
    4294967295429490000000000
    1231833000417170000000
    NULL
    NULL
    NULL
    NULL
    1231833000418890000000
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    1231833000418880000000
    1231833000418880000000
    41863
    441019861
    And
    dbcc loginfo
    go
    RecoveryUnitId
    FileId
    FileSize
    StartOffset
    FSeqNo
    Status
    Parity
    CreateLSN
    0
    2
    458752
    8192
    1231828
    0
    128
    0
    0
    2
    458752
    466944
    1231829
    0
    128
    0
    0
    2
    458752
    925696
    1231830
    0
    128
    0
    0
    2
    712704
    1384448
    1231831
    0
    128
    0
    0
    2
    19398656
    2097152
    1231832
    0
    128
    1229654000000040000000
    0
    2
    10199171072
    21495808
    1231833
    2
    128
    1229656000000010000000
    0
    2
    10199171072
    10220666880
    0
    0
    64
    1229656000000010000000
    0
    2
    10199171072
    20419837952
    1231827
    0
    64
    1229656000000010000000
    0
    2
    10199171072
    30619009024
    0
    0
    128
    1229656000000010000000
    0
    2
    10199171072
    40818180096
    0
    0
    128
    1229656000000010000000
    0
    2
    10199171072
    51017351168
    0
    0
    128
    1229656000000010000000
    0
    2
    10199171072
    61216522240
    0
    0
    128
    1229656000000010000000
    0
    2
    10199171072
    71415693312
    0
    0
    128
    1229656000000010000000
    0
    2
    10199171072
    81614864384
    0
    0
    128
    1229656000000010000000
    0
    2
    536870912
    91814035456
    0
    0
    64
    1229989001661260000000
    0
    2
    536870912
    92350906368
    0
    0
    64
    1229989001661260000000
    0
    2
    536870912
    92887777280
    0
    0
    64
    1229989001661260000000
    0
    2
    536870912
    93424648192
    0
    0
    64
    1229989001661260000000
    0
    2
    536870912
    93961519104
    0
    0
    64
    1229989001661260000000
    0
    2
    536870912
    94498390016
    0
    0
    64
    1229989001661260000000
    0
    2
    536870912
    95035260928
    0
    0
    64
    1229989001661260000000
    0
    2
    536870912
    95572131840
    0
    0
    64
    1229989001661260000000
    0
    2
    536870912
    96109002752
    0
    0
    64
    1229989001661260000000
    0
    2
    536870912
    96645873664
    0
    0
    64
    1229989001661260000000
    0
    2
    536870912
    97182744576
    0
    0
    64
    1229989001661260000000
    0
    2
    536870912
    97719615488
    0
    0
    64
    1229989001661260000000
    0
    2
    536870912
    98256486400
    0
    0
    64
    1229989001661260000000
    0
    2
    536870912
    98793357312
    0
    0
    64
    1229989001661260000000
    0
    2
    536870912
    99330228224
    0
    0
    64
    1229989001661260000000
    0
    2
    536870912
    99867099136
    0
    0
    64
    1229989001661260000000
    0
    2
    536870912
    100403970048
    0
    0
    64
    1229995000058520000000
    0
    2
    536870912
    100940840960
    0
    0
    64
    1229995000058520000000
    0
    2
    536870912
    101477711872
    0
    0
    64
    1229995000058520000000
    0
    2
    536870912
    102014582784
    0
    0
    64
    1229995000058520000000
    0
    2
    536870912
    102551453696
    0
    0
    64
    1229995000058520000000
    0
    2
    536870912
    103088324608
    0
    0
    64
    1229995000058520000000
    0
    2
    536870912
    103625195520
    0
    0
    64
    1229995000058520000000
    0
    2
    536870912
    104162066432
    0
    0
    64
    1229995000058520000000
    0
    2
    536870912
    104698937344
    0
    0
    64
    1229995000058520000000
    0
    2
    536870912
    105235808256
    0
    0
    64
    1229995000058520000000
    0
    2
    536870912
    105772679168
    0
    0
    64
    1229995000058520000000
    0
    2
    536870912
    106309550080
    0
    0
    64
    1229995000058520000000
    0
    2
    536870912
    106846420992
    0
    0
    64
    1229995000058520000000
    0
    2
    536870912
    107383291904
    0
    0
    64
    1229995000058520000000
    0
    2
    536870912
    107920162816
    0
    0
    64
    1229995000058520000000
    0
    2
    536870912
    108457033728
    0
    0
    64
    1229995000058520000000
    0
    2
    536870912
    108993904640
    0
    0
    64
    1230004000028400000000
    0
    2
    536870912
    109530775552
    0
    0
    64
    1230004000028400000000
    0
    2
    536870912
    110067646464
    0
    0
    64
    1230004000028400000000
    0
    2
    536870912
    110604517376
    0
    0
    64
    1230004000028400000000
    0
    2
    536870912
    111141388288
    0
    0
    64
    1230004000028400000000
    0
    2
    536870912
    111678259200
    0
    0
    64
    1230004000028400000000
    0
    2
    536870912
    112215130112
    0
    0
    64
    1230004000028400000000
    0
    2
    536870912
    112752001024
    0
    0
    64
    1230004000028400000000
    0
    2
    536870912
    113288871936
    0
    0
    64
    1230004000028400000000
    0
    2
    536870912
    113825742848
    0
    0
    64
    1230004000028400000000
    0
    2
    536870912
    114362613760
    0
    0
    64
    1230004000028400000000
    0
    2
    536870912
    114899484672
    0
    0
    64
    1230004000028400000000
    0
    2
    536870912
    115436355584
    0
    0
    64
    1230004000028400000000
    0
    2
    536870912
    115973226496
    0
    0
    64
    1230004000028400000000
    0
    2
    536870912
    116510097408
    0
    0
    64
    1230004000028400000000
    0
    2
    536870912
    117046968320
    0
    0
    64
    1230004000028400000000
    0
    2
    536870912
    117583839232
    0
    0
    64
    1230012000103140000000
    0
    2
    536870912
    118120710144
    0
    0
    64
    1230012000103140000000
    0
    2
    536870912
    118657581056
    0
    0
    64
    1230012000103140000000
    0
    2
    536870912
    119194451968
    0
    0
    64
    1230012000103140000000
    0
    2
    536870912
    119731322880
    0
    0
    64
    1230012000103140000000
    0
    2
    536870912
    120268193792
    0
    0
    64
    1230012000103140000000
    0
    2
    536870912
    120805064704
    0
    0
    64
    1230012000103140000000
    0
    2
    536870912
    121341935616
    0
    0
    64
    1230012000103140000000
    0
    2
    536870912
    121878806528
    0
    0
    64
    1230012000103140000000
    0
    2
    536870912
    122415677440
    0
    0
    64
    1230012000103140000000
    0
    2
    536870912
    122952548352
    0
    0
    64
    1230012000103140000000
    0
    2
    536870912
    123489419264
    0
    0
    64
    1230012000103140000000
    0
    2
    536870912
    124026290176
    0
    0
    64
    1230012000103140000000
    0
    2
    536870912
    124563161088
    0
    0
    64
    1230012000103140000000
    0
    2
    536870912
    125100032000
    0
    0
    64
    1230012000103140000000
    0
    2
    536870912
    125636902912
    0
    0
    64
    1230012000103140000000
    0
    2
    536870912
    126173773824
    0
    0
    128
    1230338000973820000000
    0
    2
    536870912
    126710644736
    0
    0
    128
    1230338000973820000000
    0
    2
    536870912
    127247515648
    0
    0
    128
    1230338000973820000000
    0
    2
    536870912
    127784386560
    0
    0
    128
    1230338000973820000000
    0
    2
    536870912
    128321257472
    0
    0
    128
    1230338000973820000000
    0
    2
    536870912
    128858128384
    0
    0
    128
    1230338000973820000000
    0
    2
    536870912
    129394999296
    0
    0
    128
    1230338000973820000000
    0
    2
    536870912
    129931870208
    0
    0
    128
    1230338000973820000000
    0
    2
    536870912
    130468741120
    0
    0
    128
    1230338000973820000000
    0
    2
    536870912
    131005612032
    0
    0
    128
    1230338000973820000000
    0
    2
    536870912
    131542482944
    0
    0
    128
    1230338000973820000000
    0
    2
    536870912
    132079353856
    0
    0
    128
    1230338000973820000000
    0
    2
    536870912
    132616224768
    0
    0
    128
    1230338000973820000000
    0
    2
    536870912
    133153095680
    0
    0
    128
    1230338000973820000000
    0
    2
    536870912
    133689966592
    0
    0
    128
    1230338000973820000000
    0
    2
    536870912
    134226837504
    0
    0
    128
    1230338000973820000000
    0
    2
    536870912
    134763708416
    0
    0
    128
    1230338001901440000000
    0
    2
    536870912
    135300579328
    0
    0
    128
    1230338001901440000000
    0
    2
    536870912
    135837450240
    0
    0
    128
    1230338001901440000000
    0
    2
    536870912
    136374321152
    0
    0
    128
    1230338001901440000000
    0
    2
    536870912
    136911192064
    0
    0
    128
    1230338001901440000000
    0
    2
    536870912
    137448062976
    0
    0
    128
    1230338001901440000000
    0
    2
    536870912
    137984933888
    0
    0
    128
    1230338001901440000000
    0
    2
    536870912
    138521804800
    0
    0
    128
    1230338001901440000000
    0
    2
    536870912
    139058675712
    0
    0
    128
    1230338001901440000000
    0
    2
    536870912
    139595546624
    0
    0
    128
    1230338001901440000000
    0
    2
    536870912
    140132417536
    0
    0
    128
    1230338001901440000000
    0
    2
    536870912
    140669288448
    0
    0
    128
    1230338001901440000000
    0
    2
    536870912
    141206159360
    0
    0
    128
    1230338001901440000000
    0
    2
    536870912
    141743030272
    0
    0
    128
    1230338001901440000000
    0
    2
    536870912
    142279901184
    0
    0
    128
    1230338001901440000000
    0
    2
    536870912
    142816772096
    0
    0
    128
    1230338001901440000000
    0
    2
    536870912
    143353643008
    0
    0
    128
    1230346000103040000000
    0
    2
    536870912
    143890513920
    0
    0
    128
    1230346000103040000000
    0
    2
    536870912
    144427384832
    0
    0
    128
    1230346000103040000000
    0
    2
    536870912
    144964255744
    0
    0
    128
    1230346000103040000000
    0
    2
    536870912
    145501126656
    0
    0
    128
    1230346000103040000000
    0
    2
    536870912
    146037997568
    0
    0
    128
    1230346000103040000000
    0
    2
    536870912
    146574868480
    0
    0
    128
    1230346000103040000000
    0
    2
    536870912
    147111739392
    0
    0
    128
    1230346000103040000000
    0
    2
    536870912
    147648610304
    0
    0
    128
    1230346000103040000000
    0
    2
    536870912
    148185481216
    0
    0
    128
    1230346000103040000000
    0
    2
    536870912
    148722352128
    0
    0
    128
    1230346000103040000000
    0
    2
    536870912
    149259223040
    0
    0
    128
    1230346000103040000000
    0
    2
    536870912
    149796093952
    0
    0
    128
    1230346000103040000000
    0
    2
    536870912
    150332964864
    0
    0
    128
    1230346000103040000000
    0
    2
    536870912
    150869835776
    0
    0
    128
    1230346000103040000000
    0
    2
    536870912
    151406706688
    0
    0
    128
    1230346000103040000000
    0
    2
    536870912
    151943577600
    0
    0
    128
    1230355000086930000000
    0
    2
    536870912
    152480448512
    0
    0
    128
    1230355000086930000000
    0
    2
    536870912
    153017319424
    0
    0
    128
    1230355000086930000000
    0
    2
    536870912
    153554190336
    0
    0
    128
    1230355000086930000000
    0
    2
    536870912
    154091061248
    0
    0
    128
    1230355000086930000000
    0
    2
    536870912
    154627932160
    0
    0
    128
    1230355000086930000000
    0
    2
    536870912
    155164803072
    0
    0
    128
    1230355000086930000000
    0
    2
    536870912
    155701673984
    0
    0
    128
    1230355000086930000000
    0
    2
    536870912
    156238544896
    0
    0
    128
    1230355000086930000000
    0
    2
    536870912
    156775415808
    0
    0
    128
    1230355000086930000000
    0
    2
    536870912
    157312286720
    0
    0
    128
    1230355000086930000000
    0
    2
    536870912
    157849157632
    0
    0
    128
    1230355000086930000000
    0
    2
    536870912
    158386028544
    0
    0
    128
    1230355000086930000000
    0
    2
    536870912
    158922899456
    0
    0
    128
    1230355000086930000000
    0
    2
    536870912
    159459770368
    0
    0
    128
    1230355000086930000000
    0
    2
    536870912
    159996641280
    0
    0
    128
    1230355000086930000000
    0
    2
    536870912
    160533512192
    0
    0
    128
    1230364000070870000000
    0
    2
    536870912
    161070383104
    0
    0
    128
    1230364000070870000000
    0
    2
    536870912
    161607254016
    0
    0
    128
    1230364000070870000000
    0
    2
    536870912
    162144124928
    0
    0
    128
    1230364000070870000000
    0
    2
    536870912
    162680995840
    0
    0
    128
    1230364000070870000000
    0
    2
    536870912
    163217866752
    0
    0
    128
    1230364000070870000000
    0
    2
    536870912
    163754737664
    0
    0
    128
    1230364000070870000000
    0
    2
    536870912
    164291608576
    0
    0
    128
    1230364000070870000000
    0
    2
    536870912
    164828479488
    0
    0
    128
    1230364000070870000000
    0
    2
    536870912
    165365350400
    0
    0
    128
    1230364000070870000000
    0
    2
    536870912
    165902221312
    0
    0
    128
    1230364000070870000000
    0
    2
    536870912
    166439092224
    0
    0
    128
    1230364000070870000000
    0
    2
    536870912
    166975963136
    0
    0
    128
    1230364000070870000000
    0
    2
    536870912
    167512834048
    0
    0
    128
    1230364000070870000000
    0
    2
    536870912
    168049704960
    0
    0
    128
    1230364000070870000000
    0
    2
    536870912
    168586575872
    0
    0
    128
    1230364000070870000000
    0
    2
    536870912
    169123446784
    0
    0
    128
    1230373000054750000000
    0
    2
    536870912
    169660317696
    0
    0
    128
    1230373000054750000000
    0
    2
    536870912
    170197188608
    0
    0
    128
    1230373000054750000000
    0
    2
    536870912
    170734059520
    0
    0
    128
    1230373000054750000000
    0
    2
    536870912
    171270930432
    0
    0
    128
    1230373000054750000000
    0
    2
    536870912
    171807801344
    0
    0
    128
    1230373000054750000000
    0
    2
    536870912
    172344672256
    0
    0
    128
    1230373000054750000000
    0
    2
    536870912
    172881543168
    0
    0
    128
    1230373000054750000000
    0
    2
    536870912
    173418414080
    0
    0
    128
    1230373000054750000000
    0
    2
    536870912
    173955284992
    0
    0
    128
    1230373000054750000000
    0
    2
    536870912
    174492155904
    0
    0
    128
    1230373000054750000000
    0
    2
    536870912
    175029026816
    0
    0
    128
    1230373000054750000000
    0
    2
    536870912
    175565897728
    0
    0
    128
    1230373000054750000000
    0
    2
    536870912
    176102768640
    0
    0
    128
    1230373000054750000000
    0
    2
    536870912
    176639639552
    0
    0
    128
    1230373000054750000000
    0
    2
    536870912
    177176510464
    0
    0
    128
    1230373000054750000000
    0
    2
    536870912
    177713381376
    0
    0
    128
    1230382000038660000000
    0
    2
    536870912
    178250252288
    0
    0
    128
    1230382000038660000000
    0
    2
    536870912
    178787123200
    0
    0
    128
    1230382000038660000000
    0
    2
    536870912
    179323994112
    0
    0
    128
    1230382000038660000000
    0
    2
    536870912
    179860865024
    0
    0
    128
    1230382000038660000000
    0
    2
    536870912
    180397735936
    0
    0
    128
    1230382000038660000000
    0
    2
    536870912
    180934606848
    0
    0
    128
    1230382000038660000000
    0
    2
    536870912
    181471477760
    0
    0
    128
    1230382000038660000000
    0
    2
    536870912
    182008348672
    0
    0
    128
    1230382000038660000000
    0
    2
    536870912
    182545219584
    0
    0
    128
    1230382000038660000000
    0
    2
    536870912
    183082090496
    0
    0
    128
    1230382000038660000000
    0
    2
    536870912
    183618961408
    0
    0
    128
    1230382000038660000000
    0
    2
    536870912
    184155832320
    0
    0
    128
    1230382000038660000000
    0
    2
    536870912
    184692703232
    0
    0
    128
    1230382000038660000000
    0
    2
    536870912
    185229574144
    0
    0
    128
    1230382000038660000000
    0
    2
    536870912
    185766445056
    0
    0
    128
    1230382000038660000000
    The create LSN column seems to have been truncated so here is is again, sorry for the bulky reply.
    CreateLSN
    0
    0
    0
    0
    1229654000000041600001
    1229656000000012000001
    1229656000000012000001
    1229656000000012000001
    1229656000000012000001
    1229656000000012000001
    1229656000000012000001
    1229656000000012000001
    1229656000000012000001
    1229656000000012000001
    1229989001661260800316
    1229989001661260800316
    1229989001661260800316
    1229989001661260800316
    1229989001661260800316
    1229989001661260800316
    1229989001661260800316
    1229989001661260800316
    1229989001661260800316
    1229989001661260800316
    1229989001661260800316
    1229989001661260800316
    1229989001661260800316
    1229989001661260800316
    1229989001661260800316
    1229989001661260800316
    1229995000058525600316
    1229995000058525600316
    1229995000058525600316
    1229995000058525600316
    1229995000058525600316
    1229995000058525600316
    1229995000058525600316
    1229995000058525600316
    1229995000058525600316
    1229995000058525600316
    1229995000058525600316
    1229995000058525600316
    1229995000058525600316
    1229995000058525600316
    1229995000058525600316
    1229995000058525600316
    1230004000028405600295
    1230004000028405600295
    1230004000028405600295
    1230004000028405600295
    1230004000028405600295
    1230004000028405600295
    1230004000028405600295
    1230004000028405600295
    1230004000028405600295
    1230004000028405600295
    1230004000028405600295
    1230004000028405600295
    1230004000028405600295
    1230004000028405600295
    1230004000028405600295
    1230004000028405600295
    1230012000103148800147
    1230012000103148800147
    1230012000103148800147
    1230012000103148800147
    1230012000103148800147
    1230012000103148800147
    1230012000103148800147
    1230012000103148800147
    1230012000103148800147
    1230012000103148800147
    1230012000103148800147
    1230012000103148800147
    1230012000103148800147
    1230012000103148800147
    1230012000103148800147
    1230012000103148800147
    1230338000973824800555
    1230338000973824800555
    1230338000973824800555
    1230338000973824800555
    1230338000973824800555
    1230338000973824800555
    1230338000973824800555
    1230338000973824800555
    1230338000973824800555
    1230338000973824800555
    1230338000973824800555
    1230338000973824800555
    1230338000973824800555
    1230338000973824800555
    1230338000973824800555
    1230338000973824800555
    1230338001901449600555
    1230338001901449600555
    1230338001901449600555
    1230338001901449600555
    1230338001901449600555
    1230338001901449600555
    1230338001901449600555
    1230338001901449600555
    1230338001901449600555
    1230338001901449600555
    1230338001901449600555
    1230338001901449600555
    1230338001901449600555
    1230338001901449600555
    1230338001901449600555
    1230338001901449600555
    1230346000103044000554
    1230346000103044000554
    1230346000103044000554
    1230346000103044000554
    1230346000103044000554
    1230346000103044000554
    1230346000103044000554
    1230346000103044000554
    1230346000103044000554
    1230346000103044000554
    1230346000103044000554
    1230346000103044000554
    1230346000103044000554
    1230346000103044000554
    1230346000103044000554
    1230346000103044000554
    1230355000086934400510
    1230355000086934400510
    1230355000086934400510
    1230355000086934400510
    1230355000086934400510
    1230355000086934400510
    1230355000086934400510
    1230355000086934400510
    1230355000086934400510
    1230355000086934400510
    1230355000086934400510
    1230355000086934400510
    1230355000086934400510
    1230355000086934400510
    1230355000086934400510
    1230355000086934400510
    1230364000070872800554
    1230364000070872800554
    1230364000070872800554
    1230364000070872800554
    1230364000070872800554
    1230364000070872800554
    1230364000070872800554
    1230364000070872800554
    1230364000070872800554
    1230364000070872800554
    1230364000070872800554
    1230364000070872800554
    1230364000070872800554
    1230364000070872800554
    1230364000070872800554
    1230364000070872800554
    1230373000054757600431
    1230373000054757600431
    1230373000054757600431
    1230373000054757600431
    1230373000054757600431
    1230373000054757600431
    1230373000054757600431
    1230373000054757600431
    1230373000054757600431
    1230373000054757600431
    1230373000054757600431
    1230373000054757600431
    1230373000054757600431
    1230373000054757600431
    1230373000054757600431
    1230373000054757600431
    1230382000038664800234
    1230382000038664800234
    1230382000038664800234
    1230382000038664800234
    1230382000038664800234
    1230382000038664800234
    1230382000038664800234
    1230382000038664800234
    1230382000038664800234
    1230382000038664800234
    1230382000038664800234
    1230382000038664800234
    1230382000038664800234
    1230382000038664800234
    1230382000038664800234
    1230382000038664800234
    Thanks
    James

  • Using WMI alert for mirroring in Sql server 2012

    We are using mirroring in Sql Server 2012  and we are using WMI alerts for some of events such as Connection lost,Manual failover,...
    In alert definition we have set the followings:
    Type: WMI event alert
    NameSpace:
    \\.\root\Microsoft\SqlServer\ServerEvents\MSSQLSERVER
    Query: select * from DATABASE_MIRRORING_STATE_CHANGE where State = 6
    The alert is bing triggered correctly,but on email description instead of having meaningful explaination like 'Connection lost',We have the same query:
    Query: select * from DATABASE_MIRRORING_STATE_CHANGE where State = 6
    We have used the same implementation in our Sql Server 2008 servers and it is working fine.This mashine (Sql Server 2012) is a new mashine.
    I would appreciate if someone help me on this.AlsoI checked and 'Include body of e-mail in notification message' was already set.
    Thanks
    Aspet
    A.G

    Are you looking for alerting related to mirroring like below ?
    http://www.mssqltips.com/sqlservertip/1859/monitoring-sql-server-database-mirroring-with-email-alerts/
    http://technet.microsoft.com/en-us/library/cc966392.aspx
    Raju Rasagounder Sr MSSQL DBA

  • System Center 2012 R2 install: SQL server Data file and log file

    This might be a dumb question, but I can't find the answer anywhere.  
    I'm installing a new instance of  System Center 2012 R2 on a new server, I'm stuck on the SQL Server data file section.  Everytime I put in a path, it says that tne path does not exist.  I'm I supposed to be creating some sort of SQL Server
    data file and log file before this installation, I didn't get this prompt when installing System Center 2012 SP1 or hen I upgraded from System Center 2012 SP1 to System Center 2012 R2
    My SQL is on a different server
    Thank you in advanced

    Have you reviewed the setup.log?
    On a side note, why would you put the database file on the same drive as the OS? That defeats the whole purpose of having a remote SQL Server. Why use a remote SQL Server in the first place.
    Jason | http://blog.configmgrftw.com

  • SQL Server 2012 Installed KB2793634 and it completed successfully but display error in the event log

    Hi
    Running SQL Server 2012 with SP1 on Windows 7 x64 SP1
    One of the machines that this is installed displayed that the Windows Installer was starting repeatedly, like every 30 secs
    I installed KB2793634 and everything completed successfully.  No errors in any of the Summary, Detail, etc and all check marks at the end.  I went throught the event viewer and in the application log and saw the following
    Product: SQL Server 2012 Database Engine Services - Update '{4023B523-7241-4B6D-83A4-92105B0A3DC8}' could not be installed. Error code 1642. Windows Installer can create logs to help troubleshoot issues with installing software packages. Use the
    following link for instructions on turning on logging support:
    Is this something with the KB.  How do I find what the issue is and what do I do to fix it? Or is this a real error?
    I brought up SQL Server and the issue that the KB resolves seems to been resolved.  I can connect to the instance just fine, the version of the KB has been applied to the instance so now it is at 11.0.3128
    Any information will be greatly appreciated.

    Hi,
    According to the description, I know the patch that was successfully installed after the msiinstaller error.
    1. Per
    KB304888 and mentioned the possibility that the hotfix was launched a second time after the initial successful update.
    I suspect if you have installed any hotfixes or Cumulative updates after installing Service Pack 1 for SQL Server 2012.
    Reference:
    http://support.microsoft.com/kb/2793634
    2. Check the application log. Is the error happening intermittently?
    Thanks.
    Tracy Cai
    TechNet Community Support

  • SQL Server 2012 Multi-Site clustering with 2 nodes for HA and DR

    Usually we setup 2 Node Prod cluster for Local HA and 1 or 2 Nodes in other data centre for DR
    Given that we have an option to setup multi-site / multi-subnet clustering from SQL 2008 R2/2012. I am planning to use just 2 nodes, 1 in prod data centre and 1 in DR data centre with 2 or 3 instances. This will act as both HA and DR solution.
    I would like to know if this solution is good, and any disadvantages, any best practices, etc.? By implementing this I can save some cost on physical servers.
    Following will be configured:
    * Will be using different subnets, quorum on different server with "Node and File Share Majority"
    * All virtual IPs will be registered for virtual name, and Subnetdelay, Subnet threshold will be modified accordingly
    * All nodes on same domain
    * Use SAN Disk with replication to DR site

    SQL 2008 R2 doesn't support multi-subnet clustering. You would still need 3rd party component like VLAN and Disk Replication. SQL 2012 is the first version to support multi-subnet clustering without using VLAN. you would still need disk replication hardware/software.
    Taken from my book
    Since nodes are often located in two different data centers at geographically dispersed locations, there is no shared storage between the nodes in a multi-site cluster. Clustering across two different data centers provides a higher level of availability and
    protection at the storage level as we have more than a single copy of the data.
    For SAN replication technology implemented in such clusters, the main activity is to keep data replicated between the sites. Typically, if we have nodes on two different sites, we would have two different network infrastructures and the nodes would be in
    different subnets. In such cases, if we are on a SQL Server version before 2012, we need to use third party VLAN (Virtual LAN) technology so that one IP address travels between two sites. This is called wide-IP. Companies hesitate with this solution because
    of the need to buy a third party solution to deploy the VLAN. Using VLAN technology means the same IP address would failover to the remote site in case of a local site disaster. Network administration might consider this as an overhead to maintenance and an
    extra piece of the networking component that needs to be secure.
    With SQL Server 2012 we do not need to use stretch VLAN technology but SAN replication is still needed for multi-site clustering. The OS version for this can be from Windows Server 2008 R2 and above. In this deployment, we can have a SQL virtual network
    name having an “OR” dependency on two different IP addresses. One address would be representing each subnet. With the “OR” dependency, if IP1 or IP2 is online we just use the network name. This is one of the Enterprise Editions only features.
    Other option which you can think of, without using 3rd party solutions would be AlwaysOn Availability Group. I have written details about it in my book.
    Balmukund Lakhani | Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
    This posting is provided "AS IS" with no warranties, and confers no rights.
    My Blog |
    Team Blog | @Twitter
    Author: SQL Server 2012 AlwaysOn -
    Paperback, Kindle

  • Can you minimize logging in a SSIS data flow when the database is in a SQL Server 2012 Always On Group?

    We have a file that we are loading 1st into a staging database then into a production database that contains over 5 million rows. Both databases belong to a SQL Server 2012 AG. We would like to minimize the logging in the staging database but t
    the same time keep the staging database in the AG. I know about fast load and setting the buffer settings in SSIS but I've read that this doesn't work on replicated tables and I am assuming that speaks to the AG.
    Are there any articles or someone's personal experiences with this type of scenario that could point us in the right direction and offset some of the initial data load into staging by minimizing logging?
    Thanks,
    Sue
    Sue

    Hi Sue,
    I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated.
    Thank you for your understanding and support.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Do we need to format data and log files with 64k cluster size for sql server 2012?

    Do we need to format data and log files with 64k cluster size for sql server 2012?
    Does this best practice still applies to sql server 2012 & 2014?

    Yes.  The extent size of SQL Server data files, and the max log block size have not changed with the new versions, so the guidance should remain the same.
    Microsoft SQL Server Storage Engine PM

  • SQL Server 2012 DB log file doesn't shrink (simple recovery model)

    I've found several similar questions in this forum, but none of the answers have resolved my problem: I have a SQL Server 2012 DB using simple recovery model.  The MDF file is 12 GB and the LDF file is 10 GB.  I'm trying to shrink the size of the
    LDF file.  I've read that for simple recovery model DBs there are reasons for delaying log file shrinking, but I still can't find a solution based on these reasons.
    When I try to shrink it using this command:
    DBCC SHRINKFILE(MyDB_log, 1000000)
    I get these results, and no change of file size:
    DbId FileId CurrentSize MinimumSize UsedPages EstimatedPages8 2 1241328 128 1241328 128
    The same results running this:
    DBCC SHRINKFILE(MyDB_log, 1000000, TRUNCATEONLY)
    There doesn't appear to be any open transactions:
    DBCC OPENTRAN()No active open transactions.DBCC execution completed. If DBCC printed error messages, contact your system administrator.
    And this returns NOTHING:
    SELECT name, database_id, log_reuse_wait_desc FROM sys.databases WHERE database_id = DB_ID()name database_id log_reuse_wait_descMyDB 8 NOTHING
    I've also tried running the following, but nothing useful is returned:
    SELECT * FROM sys.dm_tran_database_transactionsSELECT * FROM sys.dm_exec_requests WHERE database_id=DB_ID()SELECT * FROM sys.dm_tran_locks WHERE resource_database_id=DB_ID()
    Any other suggestions of what I can do to shrink this log file?  Or perhaps someone can justify its enormous size?
    David Collacott

    The answer is pretty simple.
    The following code is the problem:
    DBCC SHRINKFILE(MyDB_log, 1000000)
    You are telling SQL Server that you want to "shrink" the MyDB_log file and the target size is 1TB.  Well according to you the MyDB_Log file is well below the 1TB size you are targeting, in fact it's only 10GB so SQL Server is doing precisely what you
    are telling it to do.
    See, according to the SQL Server documentation
    here, target size "Is the size for the file in megabytes, expressed as an integer."
    Now if you'd like to actually shrink the log file down to, oh say 1GB, then you should try the following command:
    DBCC SHRINKFILE(MyDB_log, 1000)
    The theory being 1000 * 1048576 (i.e. 1MB) is equal to 1GB.

  • 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

Maybe you are looking for