Command Line Programs
This section describes new and changed command line programs, commands, and command options for Metadata Manager.
mmcmd
Effective in version 9.6.1, the following mmcmd commands have changes:
- createRepository
- The --domainPassword option is required only when the domain uses Kerberos authentication and you do not specify the --keyTab option for the domain user. Previously, this option was always required.
- createResource
- The following options are added:
- - --resourcePassword. If the resource uses a password and the resource configuration file does not contain the resource password, use this option to specify the password.
- - --secureJDBCParameters. Use this option to specify secure JDBC parameters to append to the JDBC connection URL. Metadata Manager does not display secure parameters or parameter values in the resource configuration properties.
- deleteRepository
- The --domainPassword option is required only when the domain uses Kerberos authentication and you do not specify the --keyTab option for the domain user. Previously, this option was always required.
- getResource
- The -includePassword option is added. You can include or exclude the resource password in the resource configuration file. Previously, the command always included the password.
- restorePCRepository
- The --domainPassword option is required only when the domain uses Kerberos authentication and you do not specify the --keyTab option for the domain user. Previously, this option was always required.
- updateResource
- The following options are added:
- - --resourcePassword. If the resource uses a password and the resource configuration file does not contain the resource password, use this option to specify the password.
- - --secureJDBCParameters. Use this option to specify secure JDBC parameters to append to the JDBC connection URL. Metadata Manager does not display secure parameters or parameter values in the resource configuration properties.
mmRepoCmd
Effective in version 9.6.1, you use the mmRepoCmd command line program to back up and restore Metadata Manager repository database contents.
mmRepoCmd contains the following enhancements:
- •When you restore repository contents, mmRepoCmd encrypts sensitive data in the Metadata Manager repository with the domain encryption key.
- •mmRepoCmd gets repository database connection information from the Metadata Manager Service. When you run commands, you do not need to specify connection parameters as arguments.
mmRepoCmd contains the following commands:
- backupRepository
- Backs up the Metadata Manager repository to a backup file.
- restoreRepository
- Restores Metadata Manager repository contents from a backup file.
Previously, you used the backupCmdLine command line program to back up and restore Metadata Manager repository database contents. backupCmdLine is removed.
rmu
Effective in version 9.6.1, you can use rmu to migrate resources from Metadata Manager 9.1.0, 9.5.x, and 9.6.0 to the current version. rmu detects the original resource version.
Previously, you used rmu to migrate resources from Metadata Manager 9.1.0 to 9.5.x or 9.6.0.
rcfmu
Effective in version 9.6.1, you can use rcfmu to migrate resource configuration files from Metadata Manager 9.1.0, 9.5.x, and 9.6.0 to the current version. rcfmu contains a new option, -smv, that specifies the original resource configuration file version.
Previously, you used rcfmu to migrate resource configuration files from Metadata Manager 9.1.0 to 9.5.x or 9.6.0.