Protect SQL Mirrored databases

Can DPM 2012 R2 protect SQL mirrored databases? I know with DPM 2010 it was supported. Thank you.

Hi,
Yes, see the following TechNet article.
Managing Mirrored SQL Servers
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights.

Similar Messages

  • Project Server 2010 failover environment with Database SQL Mirroring

     
    Hello,
    We have prod and failover environment. Failover environment created by using farm backup and restore of prod.
    my question is : Can we do SQL Mirroring (from prod to failover) of 5 databases (4 PS databases and content db) to keep both the environment in sync. Will this process work in the case of Project
    Server 2010. i am in doubt due to timestamp and GUID in config DB.
    Also will this process is supportable.
    Any help much appreciated.
    Thanks

    Hello MOhit2020,
    I haven't done this type of failover, but I think you would need to setup all your SharePoint  and project databases to use a SQL Alias to point to your production databases.  When and if your production databases failed, you would update
    your SQL Alias to point to the mirror location.
    The other nice feature about having SQL Alias setup in SharePoint, is that in the future, if you switch to another SQL Server, the SQL alias makes it easier to handle.
    Cheers!
    Michael Wharton, MVP, MBA, PMP, MCT, MCTS, MCSD, MCSE+I, MCDBA
    Website http://www.WhartonComputer.com
    Blog http://MyProjectExpert.com contains my field notes and SQL queries

  • SQL mirroring for CMS database

    I don't think SQL mirroring for CMS database is supported. anybody has any information onthis?

    This is error ...
    Database-level error reported by JDBC driver while executing statement 'UPDATE
    CLIARC SET CLICL3 = 0 WHERE clicl1 = 10'. The JDBC driver returned the following error message: 'java.sql.SQLException: CLIARC en PROXL07 de tipo *FILE no encontrado. Causa . . . . . : CLIARC en PROXL07 tipo *FILE no se ha encontrado. Si se trata de una sentencia ALTER TABLE y el tipo es *N, no se ha encontrado una restricción o partición. Si no se trata de una sentencia ALTER TABLE y el tipo es *N, no se ha encontrado una función, procedimiento o desencadenante. Si no se ha encontrado una función, CLIARC es el programa de servicio que contiene la función. La función no se encontrará si el nombre externo y el nombre de uso no coinciden exactamente. Examine en las anotaciones de trabajo para ver si encuentra un mensaje que dé más detalles sobre el nombre de función que se está buscando y el nombre que no coincide. Recuperación . : Cambie el nombre y vuelva a intentar la petición. Si el objeto es un grupo de nodos, asegúrese de que el producto DB2 Multisystem está instalado en el sistema y cree un grupo de nodos con el mandato CL CRTNODGRP. Si no se ha encontrado la función externa, asegúrese de que las mayúsculas y minúsculas del EXTERNAL NAME en la sentencia CREATE FUNCTION coinciden exactamente con las mayúsculas y minúsculas del nombre exportado por el programa de servicio.'. For details, contact your database server vendor. 
    The sentences in using are following:
    Query Sql Statement: select clicl2  from proxl.cliarc where clicl1 = 10
    Update Sql Statement: UPDATE CLIARC SET CLICL3 = 0  WHERE clicl1 = 10
    Tks for your help anybody

  • Powershell SMO SQL Server Mirror Databases

    Hello,
    I am almost done writing a script to help my team manage mirrored database during planned outages.  I would like to do determine the role of the database (principal or mirror). If I query atheDMV sys.database_mirroring, I am able to determine the
    role of the database by looking at the mirror_role and mirror_role_desc columns.
    http://technet.microsoft.com/en-us/library/ms178655(v=sql.110).aspx
    Since I am using SMO objects I looked for their equivalents, but I could not find any.
    http://msdn.microsoft.com/en-us/library/Microsoft.SqlServer.Management.Smo.Database_properties.aspx
    Does anyone have any idea where I could find/determine this information using SMO?
    Thank you

    If you must you can use this.
    http://stackoverflow.com/questions/10091613/powershell-to-find-the-principal-mirror-in-sql-servers
    ¯\_(ツ)_/¯

  • App-V 5 Reporting Database SQL Mirroring

    Hi,
    As I understand, there is a registry entry for the SQL string in order for the App-V Management Database to work with a mirrored database.  However, I've searched all over and could not find an equivalent setting to the Reporting Database.
    I understand that the Management DB is important however in my organization we may have over 30,000 clients sending usage data to the reporting server so we would like to ensure that the Database server is fault tolerant by mirror the database.
    It is my belief that the Reporting Database will grow larger and have more transactions than the Management Server Database due to client user log collection.

    Thanks for the response.  We have implemented the same SQL string we use for Management DB for mirroring and it does not work for Reporting Server.  When we stopped the MSSQL services on the principal SQL DB server.  The App-V Reporting Server
    loses connectivity to the DB. 
    This is the string that we use for the HKLM\Software\Microsoft\AppV\Server\ReportingService
    Keyname: REPORTING_SQL_CONNECTION_STRING
    Data Source={0};Initial Catalog={1};Integrated Security=True;MultipleActiveResultSets=True;Asynchronous Processing=true;Failover Partner=FQDN_SQL_Mirror_server
    We are able to verify that the Management DB with the failover partner string does work.
    I just hope somebody from Microsoft can read this and help us out.  Because in a production App-V environment with many clients sending reporting data this will have more impact on our environment than the publishing or management servers.

  • Mirror Database shows Recovery state in Database mirroring in sql 2012

    Hi I am working on DBmirroring and have encountered problem of mirror database showing recovery state.
    I tried to resolve issue by removing database mirroring from principal ,removing endpoints from both the nodes and
    finally firing alter database db1 set partner off statement also.But when reconfigure dbmirroring on principal it does not allow
    start dbmirroring and mirror database db1 comes in to recovery state from restoring stage.
    srm_2010

    ok in that case why it is not allowing me to configure db mirroring when I am trying from SSMS.It gives an error.tell me????
    srm_2010
    And what is the error ? If while configuring mirroring it fails for some reason you have to make sure the mirror database which has gone in recovery state needs to be brought in restoring state.
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

  • Lync 2013 SQL Mirroring

    I have Lync server 2013 SQL mirroring in place.  My firm is looking to decrease our SQL server count. Can I collocate none Lync databases on the Mirror Lync SQL instance? Thanks.

    Hi TTMing,
    It’s not recommend collocating Lync Server databases with other databases, this might affect availability and performance.
    Form https://technet.microsoft.com/en-us/library/gg398990%28v=ocs.15%29.aspx?f=255&MSPPError=-2147217396
    “If you collocate Lync Server databases with other databases, we highly recommend assessing all factors that might affect availability and performance, as well as ensuring that, if one node fails, the remaining node can handle the load. To verify failover
    capabilities, we recommend testing all failover scenarios. ”
    Best regards,
    Eric
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • SAP IDES ECC5.0 (SQL 2005 Database) installation Error at  Database instan.

    At the time IDES ECC 5.0 installation (SQL 2005 database), I was copy all DVD on Hard drive and start setup then at installation of database instance, following Errors are occured. so I cant continue with the installation, if anyone have installation guide/or solve the following error please mail me at [email protected]
    from Log file SAPCLUST
    Interface access functions from dynamic library dbmssslib.dll loaded.myCluster
    (3.5.Imp): 613: error when retrieving table description for physical table AABLG.
    myCluster (3.5.Imp): 614: return code received from nametab is 32
    myCluster (3.5.Imp): 296: error when retrieving physical nametab for table AABLG.
    (CNV) ERROR: code page conversion failed
                 rc = 2
    from sappool.log
    Interface access functions from dynamic library dbmssslib.dll loaded.failed to read short nametab of table ARCH_NUM     (rc=32)conversion failed for row 0 of table  VARKEY = ⁘††††††††††††††††††††††††
    (CNV) ERROR: code page conversion failed
    So please send me solution/ or any configuration need for SQL 2005 / installation guide thanks

    This may be hard disk problem, some file not able to write on HDD.
    Regards
    Rajnish

  • SQL Conectivity error (1418) on SQL Mirroring in SQL Server_2014 Enterprises

    I perform this subjected task/activity in DOMAIN environment with Multiple VPN.
    No matter what I try, I constantly run into a 1418 error, I've check all my tcp/ip configs both in sql,
    and the server 2012 os, on both vms/physical machine.  I’ve
    enabled tcp/ip filtering and allowed all connections, rulessets in firewall, I’ve used telnet to connect up.  Nothing
    seems to work.  Each
    server can ping the other, they can telnet into 5022, & 5023 as well. I don’t know where to proceed from here.  Is
    there some config somewhere or issues with vms that I am not seeing?  All
    the machines in the mirroring array are server 2012 with same SQL 2014 Ent edition. Now please guide as what can we do to go at next Step....!
    Regards,
    Zeeshan

    Hi Zeeshan,
    Please check the following, have you checked the error log? Share the error screenshot here in order to verify the issue.
    Make sure that the mirror database is ready for mirroring.
    Make sure that the name and port of the mirror server instance are correct.
    Make sure that the destination mirror server instance is not behind a firewall.
    Make sure that the principal server instance is not behind a firewall.
    Verify that the endpoints are started on the partners by using the state or state_desc column the of the sys.database_mirroring_endpoints catalog view. If either endpoint is not
    started, execute an ALTER ENDPOINT statement to start it.
    Make sure that the principal server instance is listening on the port assigned to its database mirroring endpoint and that and the mirror server instance is listening on its port. For more information, see "Verifying Port Availability," later in this
    topic. If a partner is not listening on its assigned port, modify the database mirroring endpoint to listen on a different port.

  • Maximum Number of Mirrored Databases Decreases as Number of Available Cores Increases?

    Hi,
    I wonder if you can help me. We're planning a large in-house mirroring deployment and are concerned we may (at some point) run into the limits described in the following KB article:
    http://support.microsoft.com/kb/2001270/en-gb.
    Based on the formulas contained within the above article, I knocked up a quick spreadsheet to see how increasing the number of cores might allow us to increase the number of mirrored databases. However, to my surprise, my calculations imply that as you increase
    the number of cores, the number of databases you can potentially mirror decreases?
    No. of Logical Cores
    Max Worker Threads
    Threads Required per Mirrored Database
    Max. No. of Databases that can be Mirrored
    4
    512
    3
    170.6666667
    8
    576
    4
    144
    12
    640
    5
    128
    16
    704
    6
    117.3333333
    20
    768
    7
    109.7142857
    24
    832
    8
    104
    28
    896
    9
    99.55555556
    32
    960
    10
    96
    64
    1472
    18
    81.77777778
    Am I missing something here? Have a miscalculated somewhere? This seems counterintuitive.
    Regards
    Andy

    Hi  rushandy,
    As the KB post, we need to calculate the max worker threads, which is default no. of worker thread SQL Server will spawn. about database mirroring requirements for worker threads, we need to calculate the number of threads required per mirrored database.
    At end,
    maximum number of databases that can be mirrored = the max worker threads/ the number of threads required per mirrored database.
    As your post, for 64 bit architectures, if the number of logical CPU cores is 16 on the mirror server, after calculating , maximum number of databases that can be mirrored is 117. However, in actual scenario, the mirroring databases is less than 117, or
    else, it will cause some errors, such as error 17884 and so on.
    Usually, not all worker threads would be available to perform mirroring activities as some threads are assigned to core database activity on the server. For more information, see:http://sqlknowledgeshare.blogspot.com/2012/02/do-you-know-maximum-number-of-databases.html
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Mirrored database in Disconnected/In Recovery state

    I am running Microsoft SQL 2008 R2 database server I have a mirrored database that shows in the following state 'databasename (Principal, Disconnected/In Recovery)'. When I look at the mirror server is shows in the same state 'databasename (mirror, Disconnected/In
    Recovery)'. I am not able to do anything with either DB, I cannot break the mirror, I can't take it offline, I cannot delete it. This is a Dev Database so if need be I could destroy it and re-create. But I would like to figure out what the issue is and get
    it working again in case I was to have this problem in production.
    Thanks for any Help!

    Hi wstclair,
    I’m writing to follow up with you on this post. Was the problem resolved after performing our action plan steps? If you are satisfied with our solution, I’d like to mark this issue as "Answered". Please also feel free to unmark the issue, with any new findings
    or concerns you may have.
    Thanks,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • RDS 2012 R2 Connection broker in HA mode SQL mirroring issue

    Hi,
    I have an issue where our two brokers will not connect to the failover database when the database fails over.
    Our setup:
    Database - 2 x SQL 2012 Standard with the RDCB database mirrored in high safety with automatic failover mode. 
    Brokers/Web gateways - 2 x server duel role servers in different subnets. They're configured in HA mode
    I won't include the session hosts as it's out of scope for this issue.
    So the RD database connection string has been set to:
    DatabaseConnectionString : DRIVER=SQL Server Native Client 11.0;SERVER=server2\instance2,5555;Failover_Partner=server1\instance1,5555;Trusted_Connection=Yes;APP=Remote Desktop Services Connection Broker;Database=RDCB
    So when this was first set, the DB was failed over and it worked. It was then failed back to the correct principal but now when failed over to the Failover_Partner it will not connect.
    I've confirmed the SQL permissions and custom port aren't an issue.
    Has anyone else experienced this issue?
    Stephen Turner

    Hi Stephen,
    Thank you for posting in Windows Server Forum.
    Did you receive any specific error\Event ID for your issue?
    Apart it seems there is some misconfiguration issue for failover cluster. If connections are empty, that means broker servers are not connecting to the mirror server database, most common problem is database security in mirror server. So check all brokers have
    full access to the mirror database and mirror database saved folder.
    For more information to recheck the steps you can go through following articles.
    Window server 2012 | Remote Desktop Connection Broker high available with SQL Server Mirror
    https://asithadesilva.wordpress.com/tag/remote-desktop-connection-broker-high-availability-with-sql-mirror/
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    TechNet Community Support

  • Loading data from SAS tables to SQL server database

    Hi Guys
    I am championing a BI Proof of Concept project to create a self-service BI platform using tabular model parallel to  our traditional BI platform on SAS.
    I need to load certain SAS tables  to SQL server database so I can start creating reports in SSAS. Appreciate if anyone can suggest the process that I can load the files to database engine as a scheduled job.
    Appreciate your feedback and if further info needed please ask.
    Cheers
    Mark

    From VB6 there is not much alternative than to send row by row which indeed is slow.
    But you could write a C# application which uses a table-valued parameter to load the data, and this could be streamed so that the client never has the hold the entire file. I have an example of this in this article on my web site:
    http://www.sommarskog.se/arrays-in-sql-2008.html
    You can also use the SqlBulkCopy class, but I don't have any example of this myself.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Lync 2013 Mirror Database fails to install - Error: DsRoleGetPrimaryDomainInformation failed with error "6BA".

    Database primary installs just fine for Lync 2013 - however fails instantly when trying to install mirror DB to mirror SQL Server.  The account has dull domain admin, Enterprise admins, and schema admins.  Full access to the share as well.  I
    get the following error:
     InstallMirrorDatabaseCmdlet.StartMirroring
    4/7/2014 10:38:56 AM
    Failed
         └ 
    Error: DsRoleGetPrimaryDomainInformation failed with error "6BA".
    ▼ Details
    └ Type: CannotGetDomainInfoException
    └ ► Stack Trace
        └  
    at Microsoft.Rtc.Management.ADConnect.NativeHelpers.NativeHelper.GetPrimaryDomainInformation(String server)
    at Microsoft.Rtc.Management.Deployment.MirrorUtils.GetSqlServerAccount(String server, String instanceName)
    at Microsoft.Rtc.Management.Deployment.TopologyParser.PopulateDatabasesForSqlInstance(ISqlInstance sqlInstance)
    at Microsoft.Rtc.Management.Deployment.TopologyParser.FindDatabasesForMachine(IMachine machine)
    at Microsoft.Rtc.Management.Deployment.TopologyParser.FindDatabasesForFqdn()
    at Microsoft.Rtc.Management.Deployment.TopologyParser.GetDbListToMirror()
    at Microsoft.Rtc.Management.Deployment.TopologyParser.get_DbInfoList()
    at Microsoft.Rtc.Management.Deployment.InstallMirrorDatabaseCmdlet.StartMirroring()
    at Microsoft.Rtc.Management.Internal.Utilities.LogWriter.InvokeAndLog(Action action)
    4/7/2014 10:38:58 AM
    Error
     └ 
    Error: An error occurred: "Microsoft.Rtc.Management.ADConnect.CannotGetDomainInfoException" "DsRoleGetPrimaryDomainInformation failed with error "6BA"."

    The issue could be a typo in the SQL server name or that the SQL server isn't allowing remote connections. If you run the Install-csmirrordatabase command from powershell you should see more details about the error.
    Take a look at Doug Deitterick's blog: http://blogs.technet.com/b/dodeitte/archive/2013/03/05/issue-configuring-sql-mirroring-for-lync-server-2013-when-sql-witness-is-defined-but-not-available.aspx
    Please mark posts as answers/helpful if it answers your question.
    Blog
    Lync Validator - Used to assist in the validation and documentation of Lync Server 2013.

  • SSRT + SQL-mirror

    I have an SQL-mirror (SRV1.example.com, SRV2.example.com) added into DPM 2010. I'm trying to allow some users to restore some databases from that mirror. I created a new DPM role and added SRV1.example.com as SQL Server Instance at the "Specify Recovery
    Items" page. I also added one of the databases, users have to restore, just as 'DB1'. Next, when I try to restore this DB through SSRT, it says me I have no databases available to recovery.
    I ensure my account is in group assigned to DPM role and affected databases have valid recovery points. The datasource's DisplayPath and LogicalName look like 'SRV1\DB1' but when I try to add this string as database name, I get an error "SQL
    Server database with name, SRV1\DB1 and SQL Server instance name, srv1.example.com could not be found". If I leave Database Name blank, I can restore any DB from that SQL-mirror with SSRT.
    How can I restrict users with only some databases to restore at my SQL-mirror?
    http://kf.lj.ru

    As we found out, there are some inconsistencies happened in our DPMDB, preventing filter from correctly works. We rebuilt our DPM server.
    http://about.me/exchange12rocks

Maybe you are looking for