Quantcast
Channel: Data Protection Manager - SQL Protection forum
Viewing all 397 articles
Browse latest View live

DPM SQL Protection of Multiple Instances on one Host

$
0
0

Hello

We have a single DPM 2010 Server instance (with Agent version 3.0.8195.0) and we are trying to protect databases on three SQL Server 2008 R2 x64 SP1 instances, which live on the same server.

The instances all listen on the same port, but on different IP addresses allocated to the same server. No instance listens on the default IP of the server. No instance listens on the localhost IP.

When enumerating the SQL data sources on the DPM server (e.g. when creating a new Protection Group), we can see the details for one of the three instances but the other two instances error out (after a very long time).

The errors shown for the two instances are:
For each Database: DPM could not enumerate the application component <SQL DB> on <PS> ID 964. Please mae sure that the writer is in good state.
For the instance: DPM could not connect to SQL Server instance <Instance> on the <PS> ID 966. Please make sure that SQL server instance is in good state.

I can confirm that:
1. Communication between DPM and the protected server seems fine
2. The SQL Server VSS writer is not in an error or inconsistent state (with "vssadmin list writers")
3. The "NT Authority\Local System" account has SysAdmin SQL permissions for all instances
4. The SQLServerVSSWriter service uses the "Local System" account
5. The backups for the instance that does work is fine and running stable
6. There are no known issues with the two instances. They are running, in production and we have not come across any issues when connecting to them in SSMS or otherwise

For the two instances that don't work, I have run the SQL Profiler when DPM was querying these instances. I can see the DPM Agent log on to the instance, retrieve the list of databases with:
select name,  recovery_model_desc, state_desc, CONVERT(integer, is_in_standby), ISNULL(source_database_id,0) from master.sys.databases

and query the databases with :
select rtrim(physical_name),rtrim(type_desc),rtrim(state_desc), is_name_reserved from sys.master_files where DB_ID(N'master') = database_id

But there is no futher communication.

Does anyone have any idea on why DPM can't enumerate the SQL databases on the two instances when the DPM Agent appears to be able to log on and have access to the SQL instance?

Thanks

Sunil


Uninstall DPM Agent from rebuilt cluster node

$
0
0

DPM 2010 v3.0.7707.0

We recently had to rebuild 1 node of a 2 node cluster.  DPM still thinks the agent is installed but cannot communicate with it.  Is it possible to manually uninstall the agent from the DPM repository without removing all the protection groups?  I'm trying to avoid unprotecting/reprotecting 11 protection groups with 275 protected databases.  I'm assuming this would take quite awhile. 

DPM 2012 SP1 - How to protect a single SQL instance with more than 3000 Databases ?

$
0
0

I want to protect a SQL Server 2008 R2 failover cluster, one instance and more than 3000 databases.

DPM  2012 have some limitations: 4200 Ful Express Backup / week, 30  backup / volume, 600 volumes max...

Any idea on how to bypass this limits ?  Or do i need to use a different method ? ( protect SQL Backup file .bck, etc.)

Secondary DPM reflects incorrect Primary DPM

$
0
0

DPM 2010 v3.0.7707.0

I have a server PS that was originally protected by primary DPM1 and secondary SDPM.  Protection was changed to use primary DPM2. I'm not sure how the protection was changed on the secondary(I wasn't involved), but SDPM still thinks that PS is protected by DPM1. This generates errors on SDPM stating that the datasource is not available on DPM1.  Also in trying to set up secondary protection for PS, it's not listed under the DPM2 in the gui when selecting Group members. Its does, however, show up under DPM1.

In looking at the table tbl_AM_Server on SDPM, the DPMServerID points to DPM1. Is there a proper way to correct this without just updating this table?

Having to run mofcomp fix after every restart

$
0
0

mofcomp "C:\Program Files (x86)\Microsoft SQL Server\100\Shared\sqlmgmproviderxpsp2up.mof"

I am learning this by heart. Every time I restart my SQL backend for SharePoint I have to run it.

Is there a way of fixing it permanently?


CarolChi

Protection Group Creation SQL Cluster Fails

$
0
0

I am trying to create a protection group using DPM2012SP1 for a SQL 2008R2 2-node cluster. After 2 seconds, the creation fails with the message:

Create protection group: Maspeth SQL Cluster failed:
Error 419: DPM could not set security permissions on the replica or recovery point volume that was created.
Error details: The system cannot find the path specified
Recommended action: Review the error details, take appropriate action and retry the operation.

The sql writers look ok. confirmed with vssadmin list writers and diskshadow /l. It sees all the luns for the cluster. There are numerous errors in the DPMRACurr.log on the active cluster node:

1ACC 1B30 03/04 19:48:30.142 03 clusterutil.cpp(1858)  658D7154-0C5E-42EA-A565-7A10C7BEBB87 WARNING ClusterResourceTypeOpenEnum failed for resource type GeoCluster Replicated Disk with windows error 5078
1ACC 1B30 03/04 19:48:30.220 03 clusterutil.cpp(1858)  658D7154-0C5E-42EA-A565-7A10C7BEBB87 WARNING ClusterResourceTypeOpenEnum failed for resource type Volume Manager Disk Group with windows error 5078
1ACC 1B30 03/04 19:48:30.220 03 clusterutil.cpp(1858)  658D7154-0C5E-42EA-A565-7A10C7BEBB87 WARNING ClusterResourceTypeOpenEnum failed for resource type GeoCluster Replicated Disk with windows error 5078
1ACC 1B30 03/04 19:48:30.283 03 clusterutil.cpp(1858)  658D7154-0C5E-42EA-A565-7A10C7BEBB87 WARNING ClusterResourceTypeOpenEnum failed for resource type Volume Manager Disk Group with windows error 5078
1ACC 1B30 03/04 19:48:30.283 03 clusterutil.cpp(1858)  658D7154-0C5E-42EA-A565-7A10C7BEBB87 WARNING ClusterResourceTypeOpenEnum failed for resource type GeoCluster Replicated Disk with windows error 5078

I have another SQL cluster that is setup identically that works with no problems.

Replica inconsistent - SQL database

$
0
0

Hi,

I have a problem with backup SQL databases with DMP 2012. I don’t know exactly why this stopped to work, but I know, that there is responsible SQL VSS writer.
My environment is:
- DPM 2012
- SQL 2008R2 Express installed on non-domain Server 2008R2, virtualized on Server 2012

DPM agent and communication between servers is OK, because I am able to backup file shares on the same server. I can also see all SQL databases in DPM console, but when I am trying to backup them, I receive “Replica is inconsistent”. I am unable to repair this and if I manually start “Perform Consistency Check”, I receive the following error:
An unexpected error occurred on DPM server machine during a VSS operation. (ID 207 Details: VssError:The shadow copy provider had an error. Check the System and Application event logs for more information.
 (0x80042306))

On SQL server, I looked with vssadmin list writers and SQL writer is listed with status Stable, No Errors.

Can you please help me to solve my issue?


Regards,


Elvis Gustin

Restore SQL database encrypted with EFS

$
0
0

With EFS I encrypted SQL Server databases which DPM backed up. I want to restore to another SQL Server but the restore fails. Error number 5: Operating System error access is denied.

I'm sure I have the EFS set correctly on both servers. If I detach the database, copy the MDF and LDF file to the destination server then I can attach to the database.

Has anyone done this? Does anyone know of documentation?

Thanks,


Tom Morris



DPM 2012 Sp1 VS SQL 2008 R2 Cluster

$
0
0

I am new to DPM added two Windows 2008 R2 cluster nodes which has SQL Cluster resources, but when i expand the Cluster i dont see SQL instance to protect the databases.

Initially i just installed agents on both the nodes do i need to do anything other than this to make cluster available as a SQL cluster

DMP 2012 - SQL Point in Time Recovery

$
0
0

Hey all,

I'm little bit confused, maybe someone could help me out.

Im testing Backups on a SQL 2008 instance with DPM 2012.

My Problem now is, i can set the DPM synchronisation to a minimum of 15 minutes,

If for example I lose my Database at 09.14, and the last synchronisation was at 09.00, do i lose everey changes that i did in this 14 Minutes?

I'm kind of stuck with this Problem, maybe i see it wrong, or i'm completly wrong, but do i need to backup the TRN's from the SQL Server & roll it back over the SQL Server Manager if i want to get a recovery for 09.14?

Would be nice if someone could give me a hint, i'm able to learn and am greatfull for every kind of help.

Ano

SQL Backup appear as File Shares

$
0
0

I am using DPM 2012 with SP1, when trying to create a protection group for a SQL 2008 r2 cluster the instances appears like file shares. I have another protection for SQL which works correctly.  Previously it had been functioning correctly using DPM 2012, I built a new server with DPM 2012 SP1 running on Server 2012.

I have made sure that the SQL VSS Writer service is running, the NT AUTHORITY\SYSTEM is a member in the SQL sysadmin group and that the DB’s don’t have any trailing spaces.


JD Young


DPM 2012 - SQL 2008R2 - error 964

$
0
0

I am new to this forum but i am getting this error with one of my 2008 R2 databases using DPM2012sp1.

DPM could not enumerate application component TGPROSQL01\PROZONE\master on protected computer tgprosql01.saintsfc.co.uk. (ID: 964)

Please make sure that writer is in good state.

I have checked the vss state and all looks fine

PS C:\Windows\system32> vssadmin list writers
vssadmin 1.1 - Volume Shadow Copy Service administrative command-line t
(C) Copyright 2001-2005 Microsoft Corp.

Writer name: 'Task Scheduler Writer'
   Writer Id: {d61d61c8-d73a-4eee-8cdd-f6f9786b7124}
   Writer Instance Id: {1bddd48e-5052-49db-9b07-b96f96727e6b}
   State: [1] Stable
   Last error: No error

Writer name: 'VSS Metadata Store Writer'
   Writer Id: {75dfb225-e2e4-4d39-9ac9-ffaff65ddf06}
   Writer Instance Id: {088e7a7d-09a8-4cc6-a609-ad90e75ddc93}
   State: [1] Stable
   Last error: No error

Writer name: 'Performance Counters Writer'
   Writer Id: {0bada1de-01a9-4625-8278-69e735f39dd2}
   Writer Instance Id: {f0086dda-9efc-47c5-8eb6-a944c3d09381}
   State: [1] Stable
   Last error: No error

Writer name: 'System Writer'
   Writer Id: {e8132975-6f93-4464-a53e-1050253ae220}
   Writer Instance Id: {dc29d415-b4a1-4a4b-8cff-1e23e4a724d7}
   State: [1] Stable
   Last error: No error

Writer name: 'SqlServerWriter'
   Writer Id: {a65faa63-5ea8-4ebc-9dbd-a0c4db26912a}
   Writer Instance Id: {b168eaaa-9233-49a7-9163-404cd0c5fd8e}
   State: [1] Stable
   Last error: No error

Writer name: 'ASR Writer'
   Writer Id: {be000cbe-11fe-4426-9c58-531aa6355fc4}
   Writer Instance Id: {a34a86ae-904f-4e4b-83fc-3af465549a95}
   State: [1] Stable
   Last error: No error

Writer name: 'WMI Writer'
   Writer Id: {a6ad56c2-b509-4e6c-bb19-49d8f43532f0}
   Writer Instance Id: {39c7216a-b0a7-47f9-b1a8-c81934e0152d}
   State: [1] Stable
   Last error: No error

Writer name: 'COM+ REGDB Writer'
   Writer Id: {542da469-d3e1-473c-9f4f-7847f01fc64f}
   Writer Instance Id: {fc4dfb96-42ac-428e-9ed3-f99b284e69d6}
   State: [1] Stable
   Last error: No error

Writer name: 'Registry Writer'
   Writer Id: {afbab4a2-367d-4d15-a586-71dbb18f8485}
   Writer Instance Id: {4eacb542-1909-4f4d-b317-eb769acd2460}
   State: [1] Stable
   Last error: No error

Writer name: 'Shadow Copy Optimization Writer'
   Writer Id: {4dc3bdd4-ab48-4d07-adb0-3bee2926fd7f}
   Writer Instance Id: {b217f079-d39e-433c-a916-93f3de76a19f}
   State: [1] Stable
   Last error: No error

DPM Self Service Recovery Tool does not list clustered SQL instances

$
0
0

I am running DPM 2012 w/SP1 to backup my SQL Server 2008 clustered instances.  I have configured a Self Service Recovery role on the DPM server to allow our SQL administrator to do SQL database restores.  I was able to configure the Self Service Recovery role to include all the SQL instances I am backing up with DPM (non-clustered and clustered).  However, when I use the DPM Self Service Recovery Tool I only see the non-clustered SQL instances and not the clustered ones.

When I created the DPM Self Service role I specified the clustered SQL instances as<FQDN of the resource group>\<SQL virtual name>\<SQL instance>. Otherwise, I would get an error saying that the SQL Instance could not be found.

Anyone know how to get the clustered SQL instances to show up in the DPM Self Service Recovery Tool?

Cheers,

Rene

System Center 2012 DPM Service Pack 1 cannot find SQL 2008 R2 instances

$
0
0

Hi there,

I am experiencing some difficulties while trying to backup SQL 2008 R2 databases. When I browse the SQL server in "New Protection Group" screen, I can see "All Volumes", "All Shares" and "System Protection" but no SQL instances. 

There is a slight catch which is whenever I remove the databases attached to SQL server, I can see the default databases "Master", "model" and so on. 

Reconnecting the databases will result in disappearance of the instances that were shown in DPM.

I can see the SQL instances on DPM, but all other SQL servers fail to be shown on the "New Protection Group" screen.

any help would be appreciated. 

DPM 2012 fails to backup SQL Server 2005 SP3

$
0
0

I upgraded my DPM 2010 to DPM 2012. Most of our Database Server are SQL 2008 or 2008 R2. But there is one SQL 2005 (SP3) where i get this error for every single Database:

          Triggering synchronization on Server\Database failed:

          Error 30501: Change Tracking has been marked inconsistent due to one of the following reasons

          1. Unexpected shutdown of the protected server

          2. Unforeseen issue in DPM Bitmap failover during cluster failover of one or more datasources sharing the tracked volume.

          Error details: Unknown error (0xe0062009) (0xE0062009)

          Recommended action: Run a synchronization job with consistency check.

When i run a consistency check, it succeeds. But when i try to backup a database, i get the same error again. Only when i stop protection for one member and delete the replica in the process i can make one single backup successfully. But if i try a second backup i get the same error again.


Move DPM_SQL_PROTECT after moving Database Files - DPM2010

$
0
0

After moving the database files in SQL (using detach/reattach) is there a way of getting the DPM_SQL_PROTECT to move to the new file location (without unprotecting and re-protecting the datasource).

For example:

Original:

f:\old_DB_location\db.mdf
f:\old_DB_location\db.ldf
f:\old_DB_location\DPM_SQL_PROTECT\all the backup stuff

After detach/reattach:

f:\new_DB_location\db.mdf
f:\new_DB_location\db.ldf
f:\old_DB_location\DPM_SQL_PROTECT\all the backup stuff

Note: if you delete the DPM_SQL_PROTECT folder (when DPM is not running) then on the next synchronisation it gets recreated.

What we want:

f:\new_DB_location\db.mdf
f:\new_DB_location\db.ldf
f:\new_DB_location\DPM_SQL_PROTECT\all the backup stuff

Self Service Recovery Tool error 33107

$
0
0

So I'm trying to use the self service recovery tool, but am receiving a 33107 error when using this as a non-domain admin account.  I am on a Windows 7 machine logging in as a non-domain admin account.  If I run SSRT as a domain admin account, then the restore works.

Here is the data from the EURClient0Curr.errlog:

55C4    4764    05/03    20:04:53.926    63    SummaryPage.cs(169)            NORMAL    Triggering recovery for datasourceId: 3a0dac65-3edb-4a84-9198-95c89651a3f8, recoverySourceId: ed41e4b5-fd12-4b28-8398-3c563a94bbf9, recoveryTime: 5/3/2012 8:03:48 PM
55C4    4F48    05/03    20:04:54.051    63    ProxyUtils.cs(110)            WARNING    StartRecovery for DPM Server XXXXDPM03 failed with Exception of type System.ServiceModel.FaultException`1[System.String]
55C4    4F48    05/03    20:04:54.053    63    ProxyUtils.cs(114)            WARNING    Exception Message = RestoreServerDoesNotHaveAgent
55C4    4F48    05/03    20:04:54.053    63    ProxyUtils.cs(114)            WARNING    Exception Stack =
55C4    4F48    05/03    20:04:54.053    63    ProxyUtils.cs(114)            WARNING    Server stack trace:
55C4    4F48    05/03    20:04:54.053    63    ProxyUtils.cs(114)            WARNING       at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
55C4    4F48    05/03    20:04:54.053    63    ProxyUtils.cs(114)            WARNING       at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
55C4    4F48    05/03    20:04:54.053    63    ProxyUtils.cs(114)            WARNING       at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
55C4    4F48    05/03    20:04:54.053    63    ProxyUtils.cs(114)            WARNING       at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
55C4    4F48    05/03    20:04:54.053    63    ProxyUtils.cs(114)            WARNING    Exception rethrown at [0]:
55C4    4F48    05/03    20:04:54.053    63    ProxyUtils.cs(114)            WARNING       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
55C4    4F48    05/03    20:04:54.053    63    ProxyUtils.cs(114)            WARNING       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
55C4    4F48    05/03    20:04:54.053    63    ProxyUtils.cs(114)            WARNING       at IDPMAMService.StartRecovery(Guid datasourceId, Guid recoverySourceId, RecoveryOptions recoveryOptions, String notificationMail, RecoveryType RecoveryBehavior, DateTime recoveryTime)
55C4    4F48    05/03    20:04:54.053    63    ProxyUtils.cs(114)            WARNING       at Microsoft.Internal.EnterpriseStorage.Dls.ClientUI.SummaryPage.StartRecovery(Object obj)
55C4    4F48    05/03    20:04:54.053    63    ProxyUtils.cs(114)            WARNING    InnerException =
55C4    4F48    05/03    20:04:54.189    35    ErrorDialog.cs(105)            WARNING    Error Dialog.Show: Code: 33109, DetailedErrorCode: , DetailedErrorSource: None
55C4    4F48    05/03    20:04:54.189    35    ErrorDialog.cs(105)            WARNING    Problem: The recovery job could not be started.
55C4    4F48    05/03    20:04:54.189    35    ErrorDialog.cs(105)            WARNING    The server XXXSQL03.us.planview.world does not have a DPM protection agent installed or is not protected by the DPM server sgcvmdpm03.planview.world.
55C4    4F48    05/03    20:04:54.189    35    ErrorDialog.cs(105)            WARNING    Action: None
55C4    4F48    05/03    20:05:24.011    63    SettingsController.cs(203)            NORMAL    Storing settings file in [C:\Users\drosen\AppData\Roaming\Microsoft\Microsoft System Center Data Protection Manager 2010]
55C4    4F48    05/03    20:05:24.027    63    ClientUI.cs(46)            ACTIVITY    Stopping error logging for EUR Console
55C4    4F48    05/03    20:05:24.027    63    ClientUI.cs(49)            ACTIVITY    Exiting End User Console for Microsoft System Center Data

I can confirm the agent is installed and SQL server is protected by the DPM server.  I've been able to restore databases as domain-admin but not non-domain admin.  Any ideas?

Auto-protect question

$
0
0

I have a Primary and Secondary DPM 2012 SP1 server running on Server 2012. The primary is protecting both a SQL 2008 R2 and a SQL 2012 server (both running Win Server 2012).

Yesterday, I added new databases to both SQL servers, but today, neither DPM server picked them up. I ran the "AutoProtectInstances.ps1" script on the Primary, and it did indeed pick up the new databases. I ran this on the secondary, and got no results.

My first question is why did the primary not discover any new databases? There are no error messages anywhere that I see, so it seems that it didn't even try.

My second question is whether or not the secondary is supposed to auto-protect the primary? There is no indication when setting up the protection group that there is any such auto-protect even possible.


-Richard

How to backup a cluster(Physical) use DPM 2012?

$
0
0
Can Microsoft DPM 2012 Backup a SQL Failover Cluster ?

SQL Self Service Recovery Tool - Error for Databases with too many Recovery Points

$
0
0

Hi there,

We are facing a problem here with the DPM 2012 SQL Self Service Recovery Tool when trying to use it for databases with a large number of recovery points.
After specifying the SQL Server and Database on the first screen the tool fail on the "Specify Recovery Point" screen with the following error:

"Cannot connect to the DPM Server xxxxxx.domain - Make sure that the DPM Server is online and that the required firewall exceptions for port 6075 have been configured on it. If the issue persists, contact your DPM administrator (ID: 33106)"

We have several Protection Groups for SQL configured on our DPM as follows:
- Some have Retention range for 31 days with Synchronization just before a recovery point with 2 Express Full Backups per day. These databases will have 63 recovery points and these databases works without problem on the SQL Self Service Recovery Tool.
- Some Protection Groups have Retention range for 31 days with Synchronization in Every 15 minutes and 1 Express Full Backup per day. These databases will reach about 3000 recovery points. When a database have this large number of recovery points (more than 2700 on our tests) it will start to fail on the SQL Self Service Recovery Tool with the mentioned error. If a new database is added to this Protection Group it will start with a low number of recovery points, then it will works fine until reach around 2700 recovery points an then will start to fail.


Joao Vitor Arruda

Viewing all 397 articles
Browse latest View live




Latest Images