Utilities
Registry backup
Use the JCL for registry backup located in BBSAMP member AAOAGSBK. This JCL creates a flat file backup of the registry that can be restored when you need it. Review the comments in the beginning of the JCL to help you customize the JCL and submit the JCL to create a backup.
Registry restoration
In the event that you need to restore from a backup registry, use the JCL from BBSAMP member AAOAGSRS. This JCL restores the registry with a backup that you made and load it into the target registry.
Note that the target registry can be a newly created and empty registry data set or it can be an already-populated registry data set. In the case of the already populated registry, the restore will merge the backup into the registry, create new items as needed, and replace existing items as needed.
Export Rules from a registry
BMC AMI Ops Automation provides an export utility that you can use with the registry. You can use the export utility to make backup copies of Rule Sets instead of (or in addition to) making full registry backups.
The exported Rule Sets are stored in a partitioned data set (PDS) where the name of the Rule Set is used as the name of the PDS member. You can then use the exported Rule Sets with a PAS that does not currently use a registry (such as at a disaster recovery site) or you can import the PDS into the same, or a different registry.
The export utility is accessible from any REXX EXEC that you execute in any PAS that has access to the registry with the Rule Set(s) you want to export. You can find a sample REXX EXEC in BBSAMP member QAOEXPRT. The sample EXEC contains documentation that you can use to customize the utility.
Print audit reports
BMC AMI OpsA provides two BBSAMP members that you can use to create and print auditing reports:
- AGSAUDTR creates a Rule change audit report
- AGSAUDTD creates a deployment auditing report
The comment section in each member contains information about how to edit the JCL and run the report.
Print AuxLog records to SYSPRINT or to a Data set
You can use choose to print AuxLog records to SYSPRINT or to a predefined sequential data set. For more information, view BBSAMP member AGSLXAUX which contains sample JCL, and edit and specify the parameters for your site.