• July 1, 2022

Using DMMRKPOS SAVOBJ(*YES) to synchronize iCluster 7.1 TR2

At iCluster 7.1 TR2 we introduced a new capability to the DMMRKPOS command to allow objects in replication scope to be automatically saved as part of the command. What this new capability does is reduce or eliminate the OBS (Obsolete) objects on the backup reported as out of sync by a *CHKOBSLETE sync check.

Prior to iCluster 7.1 TR2, an initial synchronization of a group would be done with a SAVLIB for each library being replicated by the group, followed by a DMMRKPOS for the group and a restore on the backup node. This worked well if *ALL objects were being replicated within the library. If however there were excludes specified for the group, those objects would live on the backup node because of the RSTLIB, and when the next *CHKOBSLETE sync check was run they would show up as OBS.

Now with TR2 you can specify SAVOBJ(*YES) as below and then a library where the save files will be stored and a target release. So in this example we are doing a DMMRKPOS for the PAYROLL group, saving all objects in replication scope into save files in library MYLIB at release V7R1M0.

DMMRKPOS SAVOBJ

Save files with a name of the library where the objects resides (1 per library) will be created in MYLIB. For IFS objects a single save file called BSFSAVF will be created in MYLIB, while for DLO a single save file called DLOSAVF will be created.

So once the DMMRKPOS is completed, you just need to FTP the save files across to the backup node, restore them and then start the group with Marked positions *YES i.e. DMSTRGRP GROUP(PAYROLL ) USEMARKED(*YES).

Some notes:

  1. DMMRKPOS must be issued on an active node in the cluster when the replication group is inactive.
  2. You cannot specify a target release that is higher than the IBM i OS.

Finally the command does not CURRENTLY do the send of the save files across to the backup and restore them, so this process is manual, but STAY TUNED!

iCluster Tech Tuesday 0 Posts

iCluster TechTuesday is a set of posts covering technical tips and techniques to help get the most out of your Rocket iCluster installation.

0 Comments

Leave a Comment

Your email address will not be published.