Moving BRMS to New AS400 System

When buying a new machine, a migration process is usually required to move the environment on the old machine to the new machine. This also includes moving the BRMS information to the new machine so that the BRMS does not start logging from blank.

Here’s the way I usually do in transferring all BRMS information from the old machine to the new machine (make sure the BRMS requirements are installed on the new machine):

  1. On the old systems, backup the QUSRBRM and Q1ABRMSF* libraries to backup media. Use the SAVLIB or SAVLIBBRM commands to back up a full library.
  1. On the new machine, check the QUSRBRM locking library as we will be doing a delete library. WRKOBJLCK OBJ(QSYS/QUSRBRM) OBJTYPE(LIB). If there is locking, it is usually because the BRMS network subsystem is on. Shut down the subsystem with the command ENDSBS SBS(Q1ABRMNET) OPTION(IMMED).
BRMS Network Job
  1. Delete the QUSRBRM and Q1ABRMSF* libraries on the new machine. Even though the new machine still doesn’t have BRMS information, I’m more comfortable with deleting it first.
Command Delete Library QUSRBRM
  1. Restore the QUSRBRM and Q1ABRMSF* libraries that were backed up on the old machine (point 1) on the new machine. Use the RSTLIB command to restore the library. When finished, all the data is actually already in the QUSRBRM library but it still can’t be used because there are configuration differences between the old machine and the new machine.
  1. Run the INZBRM OPTION(*DATA) command to initialize the restored BRMS data information. This command can take a long time depending on the amount of data being restored, I suggest to submit a batch job.
Intialize BRM Data
  1. Because we are restoring data from the old server that has a different network attribute, the old server details will automatically be in the BRMS network group settings. Type GO BRMS -> 11.Policy Administration -> 1.System Policy -> 4.Change Network Group
BRMS Change Network Group

If your old server no longer exists, note the Remote Local Location Name and Remote Network ID of the old server. If the old server is active, DSPNETA to find out these two values. Give the option 4 = Remove on the old server press enter once. Set the Remove media parameter to *RENAME according to the image below. Press enter and wait for the process to finish. This process usually takes a long time, depending on the amount of BRMS data on your old machine.

  1. Currently your BRMS system name is still using the system name on the old machine. The local machine system name can be seen in point 5 in the upper right corner. To change the system name, you can use the INZBRM OPTION(*CHGSYSNAM) command. Set Previous System Name based on DSPNETA on the old machine or based on the record in point 6 before *RENAME with the format ‘LocalLocationName.LocalNetworkID’. For new systems, use the *LCL parameter will automatically read the network attributes on the new system.

BRMS already moved to a new machine.

Leave a Reply