This section describes the steps to move BRMS from donor system to a target system when the target system has BRMS installed. BRMS is running backup policies on the target system so there exists on this system history and media information owned by the target system. The merge operation basically consists of combining the BRMS data from the donor system with the BRMS data on the target system. Since BRMS is already installed on the target system, no installation of BRMS is required. The merge steps are:
DSPPFM FILE(QUSRBRM/QA1ANET2)
Verify
the QUSRBRM/QA1ANET2 file is empty as shown in the Display Physical
File Member panel below.
Display Physical File Member File . . . . . . : QA1ANET2 Library . . . . : QUSRBRM Member . . . . . : QA1ANET2 *...+....1....+....2....+....3....+....4....+....5....+....6....+....7 (Selected member contains no records)This indicates that donor has no data to send across the current network. Should the QA1ANET2 file not be empty, refer to Checking BRMS Network Synchronization
UPDATE QUSRBRM/QA1AHS
SET BKHGRP='new-control-group-name'
WHERE BKHGRP='old-control-group-name'
This step is optional
and may not even be necessary if the saves on the donor system were
performed using control groups which do not exist on the target system.
Once you have completed the rename and merge the data to the target
system, you will be able to view these older saves using the following
command:
WRKMEDIBRM CTLGRP(new-control-group-name)
SAVLIB LIB(QUSRBRM Q1ABRMSF*) DEV(tape_device)
SAVLIB LIB(QUSRBRM Q1ABRMSF*) DEV(tape_device)
The
save of these libraries will protect you in the event you need to
back off the merge. RSTOBJ OBJ(*ALL) LIB(Q1ABRMSF*) DEV(tape_device)
ALWOBJDIF(*ALL) MBROPT(*ALL)
RSTLIB LIB(QUSRBRM) DEV(tape_device) RSTLIB(temp-library-name)
ALWOBJDIF(*ALL) MBROPT(*ALL)
INZBRM OPTION(*MERGE) FROMLIB(temp-library-name)
TOLIB(QUSRBRM) MERGE(merge-options)
KEYSTORE((source-keystore-file translated-keystore-file))
You
can specify more then one keystore file on the Keystore parameter. INZBRM OPTION(*MERGE) FROMLIB(temp-library-name)
TOLIB(QUSRBRM) MERGE(merge-options)
INZBRM OPTION(*CHGSYSNAM) PRVSYSNAM(netword-id.donor-system-name)
NEWSYSNAM(*LCL)