Cloning your iCluster Configuration at 7.1 TR1 using RTVHACFGS
Option 117 on the iCluster commands menu under Utilities, is a new command offered at iCluster 7.1 TR1 called RTVHACFGS for Retrieve HA Configuration Source. This is a nice command that used to be a part of ICTOOLS (ICTEMPLATE) and will allow you to easily clone your iCluster configuration.
What the command does is create a new source file with members: SETHASVAL, CRTHANODES, CRTHAGRPS, CRTHAOBJS, and CRTHABSFS containing commands used to modify iCluster system values, and create nodes, groups, object and BSF specifiers based on your current configuration. Each member can be compiled into a CL program to recreate your high availability configuration (in essence cloning it) on another system or LPAR.
This command can be issued on ANY node in the cluster.
Specify the group name or a generic, or *ALL for all groups or *PRIMNODE for all groups using the existing node (the one you are running the command from) as the primary node. If *PRIMNODE is specified for the Group parameter, you must enter the name of the primary node for the PRIMNODE parameter, otherwise the PRIMNODE parameter is ignored.
Finally specify the source file and library to hold the CL source members. The library must exist and the QCLSRC file should not.
The result can be seen in these screens.
Below is CRTHANODES:
followed by CRTHAGRPS:
and finally SETHASVAL:
Just save QCLSRC to a savefile, FTP to another system/LPAR, restore, compile each member and run, remembering to run CRTHANODES first, then CRTHAGRPS, followed by CRTHAOBJS and CRTHABSFS. SETHASVAL is optional.