Switch protection to Secondary DPM if Primary DPM fails

Hello,
      I have one Primary DPM 2012 R2 server and one Secondary DPM 2012 R2 server.  I have not found a step by step guide to switch protection over to the Secondary DPM in an event when the Primary Server is not available
(gone belly up). 
Looking for instructions on how to "Switch Disaster Protection" of all Protected computers  at once from Primary to the Secondary and how to revert back to Primary when the Primary is again available.  Thank you.

Have you had any luck with this yet?
I've found the following:
http://technet.microsoft.com/en-gb/library/bb808972.aspx

Similar Messages

  • Unable to login to Switch & Router through secondary Acs ,when primary ACS is down.

    Dear All,
      i have configured primary ACS in DC data center and secondary ACS in DR data center, i have configured replication , and it is working well, but when we put down primary ACS , we are unable to login in switch and router through secondary ACS , i ahve  dedicated link between core dc sw to core dr sw through which all traffic is getting replicated . All user , mgmt vlan are created in FWSM firewall.Kindly help.
    Regards
    Amit Kulshrestha

    Hi Bro
    I'm assuming you've configured your ACS correctly and the Cisco network devices correctly. Perhaps, this could be a bug. The reason I say this is because last week, I was implementing 2 units of Cisco ACS 1121 v5.3 (in HA mode) for a client, and i had similar issues myself. When I down the primary ACS, I'm unable to login to my network devices, eventhough my secondary ACS is UP and PINGable from all network devices.
    Hence, I downloaded and applied the latest cummulative patch from the CCO website 5-3-0-40-4.tar.gpg (Release Date: 27/May/2012) and my problem solved.
    Perhaps, your ACS version isn't 5.3, but the morale of the story here is, maybe patching is required for your case!!
    Please do let me know the outcome. May the force be with you, bro!

  • Booting form secondary BE when primary BE fails

    Hello,
    I have used separate disks to configure primary and secondary BEs on
    HP ML370 G5
    I want to simulate a scenario where the primary BE and active disk fails.
    What are the possible ways to activate and boot from Secondary BE disk?
    Thanks and Regards
    asutosh

    An easy way is to drop to ok prompt and issue a boot command referencing your secondary (mirror?) boot disk. You may want to consider setting up an alias for it whilst you are there, if one has not already been made.
    A 'bad' way to do it is to 'pull the plug' on your primary disk ... ;)

  • Errors in event log of Secondary DPM server protecting replicas on Primary

    Hello again
    I have two DPM servers, one situated on-site (primary) and one situated off-site (secondary). Protection jobs seem to be running correctly on both servers in that the jobs complete and I am able to restore data from the backups. I use the primary server
    to make the initial backups of critical systems and data (Exchange MDB's etc) and the secondary server to backup those replicas off-site in case of primary site loss or DPM system loss.
    The primary server is a physical server and the secondary server is a virtual server. Both DPM servers have their DPM databases stored on one physical SQL server that is in the primary site.
    Basically what is happening is that every day our virtual machines are snapshotted (secondary DPM server included) and everyday the snapshot of the secondary DPM server fails. I see the following to entries in the event log of the secondary server.
    Error 1:
    WARNING
    Source: MSDPM
    Event ID: 955
    The description for Event ID 955 from source MSDPM cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event:
    The consistency check resulted in the following changes to SQL Server Agent schedules: Schedules added: 2 Schedules removed: 2 Schedules updated: 0.  
    Problem Details:
    <ConsistencyCheck><__System><ID>26</ID><Seq>27861</Seq><TimeCreated>22/05/2014 23:01:31</TimeCreated><Source>SchedulerImpl.cs</Source><Line>719</Line><HasError>True</HasError></__System><Tags><JobSchedule
    /></Tags></ConsistencyCheck>
    the message resource is present but the message is not found in the string/message table
    Error 2
    ERROR
    Source: MSDPM
    Event ID: 4212
    The description for Event ID 4212 from source MSDPM cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event:
    DpmWriter service encountered an error during PrepareBackup as more than one component is selected for backup in the same snapshot set.  Select a single DPM replica for backup and try the operation again.
    Problem Details:
    <DpmWriterEvent><__System><ID>30</ID><Seq>7</Seq><TimeCreated>23/05/2014 00:30:45</TimeCreated><Source>d:\btvsts\21011\private\product\tapebackup\dpswriter\vssfunctionality.cpp</Source><Line>438</Line><HasError>True</HasError></__System><DetailedCode>4212</DetailedCode></DpmWriterEvent>
    the message resource is present but the message is not found in the string/message table
    These two events are followed by another event from VMWare Tools everyday
    Error 3:
    WARNING
    Source: VMWare Tools
    Event ID: 1000
    [ warning] [vmvss:vmvss] CVmSnapshotRequestor::CheckWriterStatus():1536: writer DPM Writer in failed state: res = 0x800423f4, err = 0x1, error =
    Has anyone come across this before? Currently I am not quite sure what is going wrong and whether it is actually related to snapshots failing, but I want to try to fix these errors first and see what happens.
    Regards

    Your ar using VMware for Virtualization?
    Are you trying to do an online Backup of the VM, think that will not work?
    One thing i wonder, your have installed second DPM if Site one fails or goes done, but SQL for DPM2 is in Site one? try to move SQL to external site for DPM 2
    Seidl Michael | http://www.techguy.at |
    twitter.com/techguyat | facebook.com/techguyat

  • Secondary DPM server does not show "protected server group" when attempting to protect primary server

    Hi Guys,
    I have a bit of a weird situation with DPM 2012(pre SP1). We have a primary server which is running quite happily(protects 8 SQL servers). I'm attempting to setup a secondary. When I've done this in the past with other DPM versions(this version included)
    all i have to do is this following:
    Install the same version of DPM on the "secondary machine"
    Attach the agent on the "primary server"
    Create a new protection group for everything
    The catch is that I only see the following:
    I can successfully protect the database of the primary server. However the secondary server cannot see any computers protected on the primary for some reason. Any ideas why this object doesn't show at all? 

    Hi,
    At any time, was the primary DPM Server rebuilt and it's database restored ?
    Can you verify that the DPMWriter service is running.
    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.

  • Switched Protection - DPM 2012 R2

    Hi everyone
    With a bit of luck someone can help me out.
    Is there a way of removing this message? 
    I had DPM-pri and DPM-sec.
    DPM-pri is down and will stay that way so I want DPM-sec to be the primary one.
    I have two clients witch states 'Switched Protection'
    I figured that I am not able to configure a DPM-third to take backup of Switched Protection Data....
    I have uninstalled the agents and rebooted the clients.
    I ran SetDpmServer.exe
    -dpmServerName DPM-sec
    Still I get the message...

    Hi,
    Once a secondary DPM server always a secondary DPM server, there is no supported way to "convert" it to be a primary dpm server for the protected data sources already in secondary protection.  The correct action would be to fix the primary
    and retire the secondary if you no longer require or want secondary protection.  With that said, there is no harm continuing protection in switched mode, you just cannot add another secondary DPM server for those data sources. 
    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.

  • Secondary DPM (2012 R2) Issues: synchronising too much data from Primary DPM, persistant consistancy checks, and no dedup support!

    I have a Primary DPM server that is protecting various File servers and a Exchange DAG. Everything is working as it should on this server, but I am experiencing constant issues on the secondary DPM protecting these same data sources.
    On the primary, two Protection Groups in particular are set up to protect two different volumes on the same file server. Volume D:\ is 46TB in size, with a deduplicated file size of 22TB (actual 39TB) whilst Volume E:\ is 25 TB in size, with a deduplicated
    file size of 2.5TB (actual 5.5TB).
    Issue 1:
    As expected Volume D: was initially replicated to the secondary DPM server at its undeduplicated size ( 39TB), as was Volume E:\ with initial replication to the secondary of 5.5 TB.  So when is Microsoft going to support dedup on a secondary DPM ? It
    seems daft to support dedup on the Primary DPM which is always more likely to be close to the original datasources on the  LAN and not on the secondary DPM which is most likely to be placed offsite on a WAN !
    Issue 2:
    I have a big issue with the subsequent Synchronizations on the secondary server for E: which seems to transfer almost the full 5.5 TB every day ( I have it set to sync every 24hrs) - although the data is fairly static (i.e.unchanging) on that volume. On
    one occasion a Sync continued for over 48 hours for this volume and had transferred over 20GB (according to the DPM console) , until I manually cancelled the job - how is that possible on a volume with only 5.5 TB (UN-deduplicated) ?? What is going on here
    - has anyone any ideas?
    Issue 3:
    Another File server I am protecting on both the Primary & Secondary DPM server - always fails over to a consistency check on the secondary server - usually due to the fact it cannot access a particular file which results in an inconsistent replica .
    However the Sync (and subsequent restore point) on the primary DPM server from the original datasource is always completes without any issues. Again, has anyone any clues ?
    I do get the impression that the whole Secondary DPM thing is not quite robust enough. I can only assume that as the Primary seems to protect the original datasources ok, that the issue is with the secondary reading the information on the primary DPM.

    I tried changing the time of the synchronization, but that didn't help.
    Meanwhile, I was working on another unrelated case with Microsoft and so I didn't want to have a second case open at the same time. So I waited for some weeks with no change on this problem. Then, about a day or two before I was finally going to call Microsoft
    to open a case (months after the problem had started), the problem suddenly resolved itself, with no input from me! So I don't really know if it was time that fixed it eventually or what. Sorry I can't be of more help.
    Rob

  • Secondary DPM backup failure with error code 0x80070002

    Hello everyone,
    I have the following scenario:
    Protected Server -> Primary DPM (DPM 2012 R2 UR4) -> Secondary DPM (DPM 2012 R2 UR4 - remote network)
    I have created a Protection Group in Primary DPM server containing three folders under C: drive. Backups works fine.
    In my Secondary DPM server, I have created a Protection Group containing my Primary DPM server's protected data, which is the entire drive C:.
    I am getting the following error while running a Consistency Check on Secondary DPM server:
    An unexpected error occurred while the job was running. (ID 104 Details: The system cannot find the file specified (0x80070002))
    In the logs, I just see entries like this:
    1238 0B5C 11/12 00:00:08.005 18 fsutils.cpp(4055) 6A3D1492-680E-40BC-974E-59FD1EED6B68 WARNING Failed: Hr: = [0x80070003] : GetFileAttributes failed for \\?\Volume{dff758bf-692e-11e4-80bb-00155d40499d}\5778d89f-e343-4bc8-a26e-7ee7f39e3da4\Incremental\b30c95f9-5e28-4fca-bcd7-0e630e6ea942\C-Vol\Program Files\Microsoft SQL Server\MSSQL10_50.DPM2012R2\MSSQL\DATA\
    1238 0B5C 11/12 00:00:08.005 18 fsutils.cpp(4055) 6A3D1492-680E-40BC-974E-59FD1EED6B68 WARNING Failed: Hr: = [0x80070003] : GetFileAttributes failed for \\?\Volume{dff758bf-692e-11e4-80bb-00155d40499d}\5778d89f-e343-4bc8-a26e-7ee7f39e3da4\Incremental\b30c95f9-5e28-4fca-bcd7-0e630e6ea942\C-Vol\Program Files\Microsoft SQL Server\MSSQL10_50.DPM2012R2\MSSQL\
    1238 0B5C 11/12 00:00:08.005 18 fsutils.cpp(4055) 6A3D1492-680E-40BC-974E-59FD1EED6B68 WARNING Failed: Hr: = [0x80070003] : GetFileAttributes failed for \\?\Volume{dff758bf-692e-11e4-80bb-00155d40499d}\5778d89f-e343-4bc8-a26e-7ee7f39e3da4\Incremental\b30c95f9-5e28-4fca-bcd7-0e630e6ea942\C-Vol\Program Files\Microsoft SQL Server\MSSQL10_50.DPM2012R2\
    1238 0B5C 11/12 00:00:08.005 18 fsutils.cpp(4055) 6A3D1492-680E-40BC-974E-59FD1EED6B68 WARNING Failed: Hr: = [0x80070003] : GetFileAttributes failed for \\?\Volume{dff758bf-692e-11e4-80bb-00155d40499d}\5778d89f-e343-4bc8-a26e-7ee7f39e3da4\Incremental\b30c95f9-5e28-4fca-bcd7-0e630e6ea942\C-Vol\Program Files\Microsoft SQL Server\
    1238 0B5C 11/12 00:00:08.005 18 fsutils.cpp(4055) 6A3D1492-680E-40BC-974E-59FD1EED6B68 WARNING Failed: Hr: = [0x80070002] : GetFileAttributes failed for \\?\Volume{dff758bf-692e-11e4-80bb-00155d40499d}\5778d89f-e343-4bc8-a26e-7ee7f39e3da4\Incremental\b30c95f9-5e28-4fca-bcd7-0e630e6ea942\C-Vol\Program Files\
    In the DPM console, this data source status icon shows green, however no Recovery Point is created.
    Do you guys have any idea on why this is happening?
    Thanks for your cooperation.
    Best regards,
    Bruno Martins

    Does Volume C:\ on your primary server involves boot configuration data which is offline?
    This can happen due to installation of some 3rd party disk storage management solutions.
    The following blog has some details on how to solve file not specified errors:
    http://blogs.technet.com/b/askcore/archive/2010/06/18/reasons-why-the-error-enumeration-of-the-files-failed-may-occur-during-system-state-backup.aspx
    Regards, Trinadh [MSFT] This posting is provided AS IS with no warranties, and confers no rights. If you found the reply helpful, please MARK IT AS ANSWER. Looking for source of information for DPM? http://blogs.technet.com/b/dpm/ http://technet.microsoft.com/en-in/library/hh758173.aspx

  • Help needed with secondary DPM backup of SQL databases

    I am having difficulties with some SQL databases not backing up to my secondary DPM server. a number of them are in "Replica is inconsistent" state and a few are in "Recovery Point creation failed" state though they are all OK on the
    primary DPM server.
    The primary server is getting lots of Event ID 4222 errors for MSDPM (DPM has run out of free recovery point space and will fail snapshots) even though the disk allocated looks healthy.
    On the primary, VSSADMIN LIST Writers says the DPM Writer is State: [7] Failed and in non-retryable error state but I can't work out why or how to fix it so far.
    There are no errors on the secondary other than the failure to backup some databases on the primary.
    I am using DPM 2012 R2 on Windows Server 2012 R2 for both primary and secondary.
    Any suggestions would be most welcome.
    Thanks
    Mark

    The errors I get on the secondary DPM server are:
    Those databases with Replica is Inconsistent
    Affected area: <database name>(SQL Server <servername>)
    Occurred since: 18/07/2014 16:38:46
    Description: The replica of SQL Server 2012 database <database name>(SQL Server <servername>) on <Primary DPM Server> is inconsistent with the protected data source. All protection activities for data source will fail until the replica is
    synchronized with consistency check. You can recover data from existing recovery points, but new recovery points cannot be created until the replica is consistent.
    For SharePoint farm, recovery points will continue getting created with the databases that are consistent. To backup inconsistent databases, run a consistency check on the farm. (ID 3106)
     Synchronization for replica of <database name>(SQL Server <servername> on <Primary DPM Server> failed because the replica is not in a valid state or is in an inactive state. (ID 30300 Details: VssError:The writer experienced a non-transient
    error.  If the backup process is retried,
    the error is likely to reoccur.
     (0x800423F4))
     More information
    Recommended action: Review the application event log on the protected computer for errors from the DPM writer service. Take appropriate action and retry the operation.
     Synchronize with consistency check.
     Run a synchronization job with consistency check...
    Resolution: To dismiss the alert, click below
     Inactivate
    For those databases with Recovery Point creation failed
    Affected area: <database name>(SQL Server <servername>)
    Occurred since: 18/07/2014 09:05:15
    Description: Recovery point creation jobs for SQL Server 2012 database <database name>(SQL Server <servername>) on <Primary DPM Server> have been failing. The number of failed recovery point creation jobs = 74.
     If the data source protected has some dependent data sources (like a SharePoint Farm), then click on the Error Details to view the list of dependent data sources for which recovery point creation failed. (ID 3114)
     Synchronization for replica of <Database name>(SQL Server) on <Primary DPM Server> failed because the replica is not in a valid state or is in an inactive state. (ID 30300 Details: VssError:The writer experienced a non-transient error. 
    If the backup process is retried,
    the error is likely to reoccur.
     (0x800423F4))
     More information
    Recommended action: Review the application event log on the protected computer for errors from the DPM writer service. Take appropriate action and retry the operation.
     Create a recovery point...
    Resolution: To dismiss the alert, click below
     Inactivate

  • Unable to modify or create Protection Groups in DPM 2012 R2 - Error: 31220

    "DPM failed to apply the required policies to this protection group since the recovery point limit for this DPM server has been exceeded. (ID: 31220)"
    I am trying to add new data sources to our DPM server and continually run into the above message. I get the same error whether I attempt to create a new Protection Group and add the data sources to it... or if I attempt to modify an existing Protection Group
    to add data sources to it. I can guess that the obvious answer is "You have too many data sources or to many recovery points for the server to handle..." If that's the case, I need to figure out how to tell how many I have. As best as I can figure
    myself, I have less than 150 data sources and less than 2500 recovery points/snapshot/express-full. If there is a tool or a command that I can run to tell that, I'd be grateful to anyone who can point me in that direction.
    I have tried to remove inactive member servers that no longer exist from our Protection Groups... no effect.  I have tried to completely delete the removed server's data from replica... no effect.  We began seeing this issue in 2012 SP1, so I ran
    through the upgrade to 2012 R2 hoping that it would resolve the issue... no effect.  I am able to remove members from our Protection Groups, but if I try to add an entirely new member or even just a single DB on an already protected member... fails with
    above message.  I also tried to adjust the retention and backup schedule... fails with above error.
    Other than the stock answer from Microsoft that I am truly exceeding some limit, is there any other underlying issue that can cause this to be mis-reported to me?  I hope that SOMEONE has an answer or guidance for me.

    Hi,
    Another DPM PowerShell script - this one allows you to delete older recovery points for a selected datasource without having to modify the PG.
    #Author : Ruud Baars
    #Date : 11/09/2008
    #Edited : 11/15/2012 By: Wilson S.
    #edited : 11/27/2012 By: Mike J.
    # NOTE: Update script to only remove recovery points on Disk. Recovery points removed will be from the oldest one up to the date
    # entered by the user while the script is running
    #deletes all recovery points before 'now' on selected data source.
    $version="V4.7"
    $ErrorActionPreference = "silentlycontinue"
    add-pssnapin sqlservercmdletsnapin100
    Add-PSSnapin -Name Microsoft.DataProtectionManager.PowerShell
    $MB=1024*1024
    $logfile="DPMdeleteRP.LOG"
    $wait=10 #seconds
    $confirmpreference = "None"
    function Show_help
    cls
    $l="=" * 79
    write-host $l -foregroundcolor magenta
    write-host -nonewline "`t<<<" -foregroundcolor white
    write-host -nonewline " DANGEROUS :: MAY DELETE MANY RECOVERY POINTS " -foregroundcolor red
    write-host ">>>" -foregroundcolor white
    write-host $l -foregroundcolor magenta
    write-host "Version: $version" -foregroundcolor cyan
    write-host "A: User Selects data source to remove recovery points for" -foregroundcolor green
    write-host "B: User enters date / time (using 24hr clock) to Delete recovery points" -foregroundcolor green
    write-host "C: User Confirms deletion after list of recovery points to be deleted is displayed." -foregroundcolor green
    write-host "Appending to log file $logfile`n" -foregroundcolor white
    write-host "User Accepts all responsibilities by entering a data source or just pressing [Enter] " -foregroundcolor white -backgroundcolor blue
    "**********************************" >> $logfile
    "Version $version" >> $logfile
    get-date >> $logfile
    show_help
    $DPMservername=&"hostname"
    "Selected DPM server = $DPMservername" >> $logfile
    write-host "`nConnnecting to DPM server retrieving data source list...`n" -foregroundcolor green
    $pglist = @(Get-ProtectionGroup $DPMservername) # WILSON - Created PGlist as array in case we have a single protection group.
    $ds=@()
    $tapes=$null
    $count = 0
    $dscount = 0
    foreach ($count in 0..($pglist.count - 1))
    # write-host $pglist[$count].friendlyname
    $ds += @(get-datasource $pglist[$count]) # WILSON - Created DS as array in case we have a single protection group.
    # write-host $ds
    # write-host $count -foreground yellow
    if ( Get-Datasource $DPMservername -inactive) {$ds += Get-Datasource $DPMservername -inactive}
    $i=0
    write-host "Index Protection Group Computer Path"
    write-host "---------------------------------------------------------------------------------"
    foreach ($l in $ds)
    "[{0,3}] {1,-20} {2,-20} {3}" -f $i, $l.ProtectionGroupName, $l.psinfo.netbiosname, $l.logicalpath
    $i++
    $DSname=read-host "`nEnter a data source index from list above - Note co-located datasources on same replica will be effected"
    if (!$DSname)
    write-host "No datasource selected `n" -foregroundcolor yellow
    "Aborted on Datasource name" >> $logfile
    exit 0
    $DSselected=$ds[$DSname]
    if (!$DSselected)
    write-host "No datasource selected `n" -foregroundcolor yellow
    "Aborted on Datasource name" >> $logfile
    exit 0
    $rp=get-recoverypoint $DS[$dsname]
    $rp
    # $DoTape=read-host "`nDo you want to remove when recovery points are on tape ? [y/N]"
    # "Remove tape recovery point = $DoTape" >> $logfile
    write-host "`nCollecting recoverypoint information for datasource $DSselected.name" -foregroundcolor green
    if ($DSselected.ShadowCopyUsedspace -gt 0)
    while ($DSSelected.TotalRecoveryPoints -eq 0)
    { # "still 0"
    #this is on disk
    $oldShadowUsage=[math]::round($DSselected.ShadowCopyUsedspace/$MB,1)
    $line=("Total recoverypoint usage {0} MB on DISK in {1} recovery points" -f $oldShadowUsage ,$DSselected.TotalRecoveryPoints )
    $line >> $logfile
    write-host $line`n -foregroundcolor white
    #this is on tape
    #$trptot=0
    #$tp= Get-RecoveryPoint($dsselected) | where {($_.Datalocation -eq "Media")}
    #foreach ($trp in $tp) {$trptot += $trp.size }
    #if ($trptot -gt 0 )
    # $line=("Total recoverypoint usage {0} MB on TAPE in {1} recovery points" -f ($trptot/$MB) ,$DSselected.TotalRecoveryPoints )
    # $line >> $logfile
    # write-host $line`n -foregroundcolor white
    [datetime]$afterdate="1/1/1980"
    #$answer=read-host "`nDo you want to delete recovery points from the beginning [Y/n]"
    #if ($answer -eq "n" )
    # [datetime]$afterdate=read-host "Delete recovery points AFTER date [MM/DD/YYYY hh:mm]"
    [datetime]$enddate=read-host "Delete ALL Disk based recovery points BEFORE and Including date/time entered [MM/DD/YYYY hh:mm]"
    "Deleting recovery points until $enddate" >>$logfile
    write-host "Deleting recovery points until and $enddate" -foregroundcolor yellow
    $rp=get-recoverypoint $DSselected
    if ($DoTape -ne "y" )
    $RPselected=$rp | where {($_.representedpointintime -le $enddate) -and ($_.Isincremental -eq $FALSE) -and ($_.DataLocation -eq "Disk")}
    else
    $RPselected=$rp | where {($_.representedpointintime -le $enddate) -and ($_.Isincremental -eq $FALSE)}
    if (!$RPselected)
    write-host "No recovery points found!" -foregroundcolor yellow
    "No recovery points found, aborting...!" >> $logfile
    exit 0
    $reselect = $enddate
    $adjustflag = $false
    foreach ($onerp in $RPselected)
    $rtime=[string]$onerp.representedpointintime
    $rsize=[math]::round(($onerp.size/$MB),1)
    $line= "Found {0}, RP size= {1} MB (If 0 MB, co-located datasource cannot be computed), Incremental={2} "-f $rtime, $rsize,$onerp.Isincremental
    $line >> $logfile
    write-host "$line" -foregroundcolor yellow
    #Get dependent rp's for data source
    $allRPtbd=$DSselected.GetAllRecoveryPointsToBeDeleted($onerp)
    foreach ($oneDrp in $allRPtbd)
    if ($oneDrp.IsIncremental -eq $FALSE) {continue}
    $rtime=[string]$oneDrp.representedpointintime
    $rsize=[math]::round(($oneDrp.size/$MB),1)
    $line= ("`t...is dependancy for {0} size {1} `tIncremental={2}" -f $rtime, $rsize, $oneDrp.Isincremental)
    $line >> $logfile
    if ($oneDrp.representedpointintime -ge $enddate)
    #stick to latest full ($oneDrp = dependents, $onerp = full)
    $adjustflag = $true
    $reselect = $onerp.representedpointintime
    "<< Dependents newer than BEFORE date >>>" >> $logfile
    Write-Host -nonewline "`t <<< later than BEFORE date >>>" -foregroundcolor white -backgroundcolor red
    write-host "$line" -foregroundcolor yellow
    else
    #Ok, include current latest incremental
    $reselect = $oneDrp.representedpointintime
    write-host "$line" -foregroundcolor yellow
    if ($reselect -lt $oneDrp.representedpointintime)
    #we adjusted further backward than latest incremental within selection
    $reselect = $rtime
    $line = "Adjusted BEFORE date to be $reselect to include dependents to $enddate"
    $line >> $logfile
    Write-Host $line -foregroundcolor white -backgroundcolor blue
    $line="`n<<< SECOND TO LAST CHANCE TO ABORT - ONE MORE PROMPT TO CONFIRM. >>>"
    write-host $line -foregroundcolor white -backgroundcolor blue
    $line >> $logfile
    $line="Above recovery points within adjusted range will be permanently deleted !!!"
    write-host $line -foregroundcolor red
    $line >> $logfile
    $line="These RP's include dependent recovery points and may contain co-located datasource(s)"
    write-host $line -foregroundcolor red
    $line >> $logfile
    $line="Data source activity = " + $DSselected.Activity
    $line >> $logfile
    write-host $line -foregroundcolor white
    $DoDelete=""
    while (($DoDelete -ne "N" ) -and ($DoDelete -ne "Y"))
    $line="Continue with deletion (must answer) Y/N? "
    write-host $line -foregroundcolor white
    $DoDelete=read-host
    $line = $line + $DoDelete
    $line >> $logfile
    if (!$DSselected.Activity -eq "Idle")
    $line="Data source not idle, do you want to wait Y/N ? "
    write-host $line -foregroundcolor yellow
    $Y=read-host
    $line = $line + $Y
    $line >> $logfile
    if ($Y -ieq "Y")
    Write-Host "Waiting for data source to become idle..." -foregroundcolor green
    while ($DSselected.Activity -ne "Idle")
    ("Waiting {0} seconds" -f $wait) >>$logfile
    Write-Host -NoNewline "..." -ForegroundColor blue
    start-sleep -s $wait
    if ($DoDelete -eq "Y")
    foreach ($onerp in $RPselected)
    #reselect is adjusted to safe range relative to what was requested
    #--- if adjustflag not set then all up to including else only older because we must keep the full
    if ((($onerp.representedpointintime -le $reselect) -and ($adjustflag -eq $false)) -or ($onerp.representedpointintime -lt $reselect))
    $rtime=[string]$onerp.representedpointintime
    write-host `n$line -foregroundcolor red
    $line >>$logfile
    if (($onerp ) -and ($onerp.IsIncremental -eq $FALSE)) { remove-recoverypoint -RecoveryPoint $onerp -confirm:$True} # >> $logfile}
    $line =("---`nDeleting recoverypoint -> " + $rtime)
    $line >>$logfile
    "All Done!" >> $logfile
    write-host "`nAll Done!`n`n" -foregroundcolor white
    $line="Do you want to View DPMdeleteRP.LOG file Y/N ? "
    write-host $line -foregroundcolor white
    $Y=read-host
    $line = $line + $Y
    $line >> $logfile
    if ($Y -ieq "Y")
    Notepad DPMdeleteRP.LOG
    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.

  • DPM failed to communicate with the protection agent on DPM 2010 SERVER because the agent is not responding. (ID 43 Details: Internal error code: 0x8099090E)

    Hi everyone,
    Backup jobs for protected members are intermittently failing with the following error on the DPM server:
    DPM failed to communicate with the protection agent on <DPM 2010 SERVER> because the agent is not responding. (ID 43 Details: Internal error code: 0x8099090E)
    Why does the DPM server failing to see it's own DPM agent cause the backup job for another server to fail? One day a backup will work fine, the next it may fail; and the next back to normal again...
    The following error is recorded in the Service Control Manager event log on the DPM server just prior to the above error:
    A timeout was reached (30000 milliseconds) while waiting for the DPMRA service to connect.
    Thank you.
    With regards,
    Rob

    Hello,
    I have read these entire postings and see that my problems match most of the above problems. 
    I believe we have tried all of the ideas in this blog and lots of other ideas from other forums and internet searches.
    We have about 80 small databases protected and set at 15 minute incremental and most will work but some fail.  When they fail the most common, but not only error, is something like "DPM
    failed to communicate with the protection agent on <DPM 2010 SERVER> because the agent is not responding. (ID 43 Details: Internal error code: 0x8099090E)". The alert is inactivated in the DPM Console, and the backups resume as normal."
    Since later jobs are successful I thought all was well.  All was well until I went to restore from incremental backups.  We worked for two days (day and night work) to restore
    from a corrupted virtual disk on our SQL Server 2008 R2.  I suspect DPM had something to do with the corrupted virtual disk.  All I know is that we never had this problem until installing DPM.  Here is what we encountered when we went to restore
    from the protection points: 
    *  Restore jobs take a minimum of 15 minutes for jobs that are 45 MB or 2 GB. 
    *  If you pick a backup from the list of recovery points that is not valid the job runs for 15 minutes and then "Failed". 
    *  You cannot rerun the job because SQL Server 2008 has the table being recovered as <tablename> (recovering) and a retry will not work.  Of course time is wasted while waiting
    to see if it worked.
    * Eventually you realize that even after dropping the table in the (recovering) mode in SQL that the restore point must be bad or possibly one of this failed recovery points.
    * So begins the quest to start restoring recovery points one by one and 15 minutes by 15 minutes until you find one that actually restores to a SQL Instance.
    *  If you have 80 of these to do and you average trying three recovery points and each takes 15 minutes, not to mention the time to drop the table in SQL, well that time adds up to 3,600
    minutes of trial and error.  60 hours of trial and error, wow not much of a savings using DPM over a SQL backup plan.
    * And then you have to explain to your customers that their databases were restored but you do not know at what point the DB was restored. 
    All in all it seems like DPM concept is great but like many backups the backup plan looks good on paper but actually restoring a backup is quite a different matter.
    I don't know if anyone has ever solved the problems presented in this forum but if they have then I wish they would post and if no one has solved the problem then shame on DPM.
    Good luck everyone, but I for one have spent about two months on trying to protect and restore consistently.  I have never had one day of consistent and reliable restore points.  I
    am going back to sql management plans for my backups.  I have never, in 10 years had a sql generated backup fail me.  Never.
    gbl

  • Can I switch a secondary email to primary

    I am changing my email address soon, I need to delete it and switch one of my secondary emails to primary. How can I do that?

    Hi marcofromcri,
    I am presuming you mean you want to change the email address associated with an Apple ID, is that correct? This article explains how to do that -
    Change your Apple ID
    http://support.apple.com/kb/HT5621
    Thanks for using Apple Support Communities.
    Best,
    Brett L

  • HT202667 I am trying to make one of my secondary emails my primary and remove my current primary.

    I am trying to make one of my secondary emails my primary and remove my current primary as I am going to be closing my current primary soon to tidy up all email correspondence. The system seems to remember my secondary after I delete it and try to assign it as the primary.

    If you don't have access to your rescue email account (you won't be able to change it until you can answer your questions) then you will have to contact Support in your country to get the questions reset.
    Contacting Apple about account security : Contact Apple for help with Apple ID account security
    If your country isn't on that page then try this form to contact Support : https://www.apple.com/emea/support/itunes/contact.html
    When they've been reset you can then update your rescue email address to an account that you have access to for potential future use : Manage your Apple ID primary, rescue, alternate, and notification email addresses

  • Replication from secondary site to primary site

    When we want to replicate from secondary site to primary site then we can't use database replication. Why?

    Not sure what you mean... The replication between primary sites and secondary sites is using both database replication and file replication. See for more information:
    http://technet.microsoft.com/en-us/library/gg712701.aspx#Planning_for_Database_Replication
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • ILR DPM "failed to gather item level catalog for 4 database"

    Dear all,
    Im dealing with an "DPM failed to gather item level catalog for 4 database(s) .... (ID 3133)" error.
    I have check log error at Sharepoint Agent logs and got the following:
    42AC      32F4       08/24     23:04:18.574       31           WSSCatalogGenerator.cs(234)  
    [0000000000F488B0]                       WARNING           [UniqueId 600] Caught Exception trying to
    generate a Catalog for Database [SQLCLU2\MSSQLSERVER_2\C_SP15_Content_WS_Technology]
    42AC      32F4       08/24     23:01:16.029       31           WSSCatalogGenerator.cs(234)  
    [0000000000F488B0]                       WARNING           [UniqueId 599] Caught Exception trying to
    generate a Catalog for Database [SQLCLU2\MSSQLSERVER_2\C_SP15_Content_WS_Comms]
    Any clue about how to solve this ?
    thanks in advace

    Hi,
    In the snip provided above does the log outline what the
    Exception Message is equal to?
    Example of what you may see in the stack  [
    Exception Message = ]  the line below that should state what the warning <is for>. This maybe helpful to narrowing down the failure.
    **Sample snip**
    WARNING Exception Message   = 
    WARNING <                           >
    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,Dwayne Jackson II. [MSFT] This posting is provided "AS IS" with no warranties, and confers no rights."

Maybe you are looking for