cancel
Showing results for 
Search instead for 
Did you mean: 

replicate\duplicate NBU image

rookie11
Moderator
Moderator
   VIP   

Hello experts,

1 have locations M1 and B1. M1 have NBU appliance and a separate master server. site B1 have only 1 NBU appliance, its master is at site M1. AIR license enabled and it works fine. copy1 created at B1 then copy2 at M1.(eg SLP name B1-to-M1-daily) Both images exist on appliance. Now I have a special requirement where I want to copy NDMP backup image from site M1 to site B1. I tried to do it by nbreplicate but failed. Both appliances version 2.6, 5220

C:\Program Files\Veritas\NetBackup\bin\admincmd>nbreplicate -backupid ndmpfiler1_1434988805 -cn 2 -rcn 1 -priority 99999 -slp_name M1-to-B1-Test
INF - Suspend window close behavior is not supported for nbreplicate
INF - window close behavior: Continue processing the current image
INF - .\dsmlib_common.cpp:151 EMM server set to MASTERSERVER
INF - .\dsmlib_common.cpp:174 Master server set to MASTERSERVER
INF - .\dsmlib_common.cpp:256 Connecting to DiskServiceMgr on MASTERSERVER
INF - .\dsmlib_common.cpp:51 Using dsmlib private orb
INF - .\dsmlib_common.cpp:264 Connecting to NBDSMFSM using orb 0000000002F778D0
INF - .\dsmlib_common.cpp:330 Registerd Framework OBV factories with orb 0000000002F778D0
INF - .\dsmlib_common.cpp:338 Registerd DiskServiceMgr OBV factories with orb 0000000002F778D0
Skipping backup id ndmpfiler1_1434988805, fragments exist on media which does not support replication

PLZ HELP

1 ACCEPTED SOLUTION

Accepted Solutions

Andrew_Madsen
Level 6
Partner

So we need the credentials set. When you wish to duplicate / replicate both directions between storage units you need the credentials configured for both. In an appliance this means retrieving the deduplication password. So Appliance M1 needs the ID and password for B1 and Appliance B1 needs the ID and password for M1. 

To get the password from an appliance log in to an ssh session as admin and in the CLISH type Administration and at the next screen type ShowDedupPassword

Use this password when you set up credentials in the administration console.

View solution in original post

5 REPLIES 5

Marianne
Level 6
Partner    VIP    Accredited Certified

What is the Storage Unit where copy 2 of backupid ndmpfiler1_1434988805 was written?

Only backup images on MSDP STU can be replicated to a remote MSDP.

Andrew_Madsen
Level 6
Partner

Since the media server at M1 and the media server at B1 are a part of the same NBU domain (M1) you need to use bpduplicate not nbreplicate.

Andrew_Madsen
Level 6
Partner

Since the media server at M1 and the media server at B1 are a part of the same NBU domain (M1) you need to use bpduplicate not nbreplicate.

rookie11
Moderator
Moderator
   VIP   

@ andrew: i tried using bpduplicate.

>bpduplicate -dstunit stu_disk_B1 -cn 2 -client ndmpfiler1 -backupid  ndmpfiler1_1434988805 -set_pr
imary 0
Duplicate started 20/07/2015 13:57:32
Activity monitor job id = 109889
INF - Cannot obtain resources for this job : error [2107]
INF - Status = no images were successfully processed.

 from GUI:

07/20/2015 13:57:32 - begin Duplicate
07/20/2015 13:57:32 - requesting resource stu_disk_B1
07/20/2015 13:57:32 - reserving resource @aaaah
07/20/2015 13:57:32 - resource @aaaah reserved
07/20/2015 13:57:32 - granted resource  MediaID=@aaaaj;DiskVolume=PureDiskVolume;DiskPool=dp_disk_b1;Path=PureDiskVolume;StorageServer=B1;MediaServer=B1
07/20/2015 13:57:32 - granted resource  stu_disk_B1
07/20/2015 13:57:33 - requesting resource @aaaah
07/20/2015 13:57:33 - Error nbjm (pid=4400) NBU status: 2107, EMM status: Requested media server does not have credentials or is not configured for the storage server
07/20/2015 13:57:34 - Error bpduplicate (pid=5996) Status = no images were successfully processed.
07/20/2015 13:57:34 - end Duplicate; elapsed time 0:00:02
Requested media server does not have credentials or is not configured for the storage server  (2107)

@Marianne

Storage Unit where copy 2 of backupid ndmpfiler1_1434988805 is stu_disk_M1, Disk Pool:            dp_disk_M1 (it is also an NBu appliance 5220)

 

Andrew_Madsen
Level 6
Partner

So we need the credentials set. When you wish to duplicate / replicate both directions between storage units you need the credentials configured for both. In an appliance this means retrieving the deduplication password. So Appliance M1 needs the ID and password for B1 and Appliance B1 needs the ID and password for M1. 

To get the password from an appliance log in to an ssh session as admin and in the CLISH type Administration and at the next screen type ShowDedupPassword

Use this password when you set up credentials in the administration console.