Utilities
Overview of various tools and utilities supplied with the IBM Verify Identity Governance - Container product.
Overview
The following utility programs are bundled with the IBM Verify Identity Governance - Container.
Utilities in /starter/bin
The following utility scripts are available in the /starter/bin directory.
- changePasswords.sh
-
Run this script whenever a data tier password needs to be changed.
- configls.sh
-
Run this script to update the configuration files in data directory.
- configure.sh
-
Tip:
It is recommended that you run this script before running install.sh.
- createConfigs.sh
-
You must run this script after updating configuration files or the data directory.
- getConfig.sh
-
Run this script when updating configuration files in data directory.
- getLogs.sh
-
This script retrieves the IBM Verify Identity Governance - Container and WebSphere Liberty logs from the container and adds them as date-stamped tar files or gzip files in the logs directory. Use this script during troubleshooting of any issues.
Example usage: $ ./getLogs.sh
- install.sh
-
Use this utility to install the IBM Verify Identity Governance - Container product.
- loadHRFeed.sh
-
This utility copies a DSML file into the IBM Verify Identity Governance - Container, so that it can be accessed by an HR Feed service. Use this utility to upload new HR data from a DSML file to IBM Verify Identity Governance - Container.
Example usage: $ ./loadHRFeed.sh myHRFeed.dsml
- renewCerts.sh
-
The auto-generated SSL certificates used in the IBM Verify Identity Governance - Container expire in just over one year. Run this utility annually to update auto-generated SSL certificates. Note that although the renewed certificates are added to the ConfigMap, you must restart all the pods for the change to take effect.
Example usage: $ ./renewCerts.sh
Options:
-check : displays the current expiration date for each certificate
Example usage: $ ./renewCerts.sh -check
- updateYaml.sh
-
Run this script after modifying a yaml file in the helm/templates directory.
Utilities in /starter/bin/util
The following utility scripts are available in the /starter/bin/util directory.
- backupMasterKey.sh
-
You must run this script after installation is complete.
- DBPurge.sh
-
This script deletes historical workflow audit data, non-workflow audit events, and reconciliation reporting entries from the database that were completed before the specified date.
Parameters:
-age: Removes all the data older than the specified number of days from the current date
Example usage: To remove the data older than 90 days from the current date: $ ./DBPurge.sh -age 90
- dbUpgrade.sh
-
Use this script when upgrading to a new version of IBM Verify Identity Governance - Container.
- encryptLibertyPwd.sh
-
Use this script to specify a password used by the Liberty server.
- getExtensions.sh
-
IBM Verify Identity Governance - Container installation has a collection of helpful examples for configuring its behavior. To access this content, run this script to copy the data from the container to your host.
Example usage: $ ./getExtensions.sh
- getDepthOfLocalMQ.sh
-
When you run this script, it displays the message depth for all the queues present in that particular pod. When the queue depth is 0 for a pod, you can scale down that particular pod.
Example usage: $ ./getDepthOfLocalMQ.sh
- ldapUpgrade.sh
-
Use this script when upgrading to a new version of IBM Verify Identity Governance - Container.
- migrateKeystore.sh
-
Use this script when migrating to the IBM Verify Identity Governance - Container.
- restoreMasterKey.sh
-
Use this script to restore a lost master key.
- syncISIMData.sh
-
This utility script updates the Access Catalog for use in the Service Center. Use this utility on a regular basis to keep the Access Catalog up to date.
Example usage:
syncISIMData.sh [-syncOption value] [-dataType value] echo
Here: -syncOption is a required parameter. Valid values are 'Upgrade' or 'Maintenance'.
-dataType is a required parameter. Valid values are 'ConfigData', 'AccessCatalog', or 'ALL'.
- upgradeRoleHierarchy.sh
-
This script is used to upgrade the Role Hierarchy data when upgrading to a new version of IBM Verify Identity Governance - Container.
Miscellaneous utilities
These utilities are called internally by the system to perform housekeeping functions.
- cleanup.sh
-
This script is present in /starter/bin/sys.
Restriction: The files in /starter/bin/sys directory are for internal usage by IBM Verify Identity Governance - Container system and they are not meant to be used directly by the user.