exchange12rocks: (Default)
[personal profile] exchange12rocks
You have one secondary DPM-server (DPM3) and 2 primary connected to it (DPM1 and DPM2). You have a server (PS1) protected by DPM1 and DPM3. You decide to move protection of PS1 from DPM1 to DPM2. You stop protection of PS1 at DPM1 and DPM3. You connect PS1 to DPM2. You wait until first replica is created, then you try to add PS1 back to DPM3 but from DPM2.

In that case you cannot see PS1 at DPM3 in the list of data sources protected by DPM2.

This happens because each protected server has a single record in a table of protected servers at DPM configuration database. One of the attributes of this record is an ID of DPM server protecting that data source. Since secondary DPM knows nothing about you moving data sources between primary servers, it doesn't update that record with an ID of new primary DPM server.

You can fix this manually by updating DPMServerId attribute of migrated protected server with an ID of new primary DPM server.

WARNING! This scenario IS NOT supported by Microsoft. Use instructions below at one's own risk, except and only when you are specifically instructed by Microsoft technical support specialist to do this.

Be sure to backup your DPMDB database before run any T-SQL command!

  1. Connect to DPMDB of your secondary server (You can find more about it here).

  2. Get a list of DPM-servers and their IDs:
    SELECT ServerId, ServerName, DPMServerId FROM [dbo].[tbl_AM_Server]
    WHERE IsDPM = 1

  3. Write down IDs of DPM1 (<OLD-ID>) and DPM2 (<NEW-ID>).

  4. Determine which primary DPM-server protects PS1 according to the knowledge of SDPM1:
    SELECT DPMServerId FROM [dbo].[tbl_AM_Server]
    WHERE ServerName = '<Protected Server's FQDN>'

  5. Make sure it equals <OLD-ID>, otherwise this instruction is not for you — contact Microsoft Support instead.

  6. Update protected server record with ID of new primary server:
    UPDATE [dbo].[tbl_AM_Server] SET DPMServerId = '<NEW-ID>'
    WHERE ServerName = '<Protected Server's FQDN>'

  7. Run new/modify protection group master and press "Clear cache" button.

  8. Never ever move protected servers between primary DPMs again, since it is NOT supported by Microsoft.


Similar issues:
http://social.technet.microsoft.com/Forums/en-US/3a3c84aa-8fc9-445f-a8eb-7af7b3d74d76/problems-moving-protected-server-to-second-dpm-2012-server
http://social.technet.microsoft.com/Forums/en-US/9ad8a39b-dc1e-4238-a571-44e9c1956014/moving-or-switching-protected-servers-from-one-dpm-2010-server-to-another-dpm-2010-server-fails
http://social.technet.microsoft.com/Forums/en-US/a1d17f02-253a-48dd-b39d-1acab18f05ae/secondary-dpm-reflects-incorrect-primary-dpm
http://social.technet.microsoft.com/Forums/en-US/24d829e8-ee7c-4dbc-bfc6-f20fe932ec2c/error-id-31162-unable-to-switch-dpm-agent
http://social.technet.microsoft.com/Forums/en-US/70aa1634-2ad6-4756-af21-7f5852ee042e/id-31162-changing-ps-to-another-dpm-server
http://social.technet.microsoft.com/Forums/en-US/c60bd65d-0274-4a13-bf03-3515d4fcc94f/remove-an-item-from-the-dpm-protected-server-list
http://social.technet.microsoft.com/Forums/en-US/0545eb26-ef19-488b-9f28-59767aedefbd/cant-set-up-backups-for-vms-i-moved-via-server-2012s-replicationfailover-feature
http://social.technet.microsoft.com/Forums/en-US/8dddf150-299c-496a-9572-44da29e4516f/seconday-protection

Profile

exchange12rocks: (Default)
Kirill 'kf' Nikolaev

September 2016

S M T W T F S
    123
456789 10
11121314151617
18192021222324
252627282930 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Oct. 23rd, 2017 03:21 pm
Powered by Dreamwidth Studios