FlashCopy cloning function-clauses
The following functions are supported by the fcmcli command
option -f 'function' for FlashCopy® cloning operations:
- 1 This option is not required for -f inquire_clone or -f inquire_detail_clone commands.
- 1 This option is not required for -f inquire_clone or -f inquire_detail_clone commands.
The return code of the fcmcli command is 0 if it finishes the request without an error or if there were no candidates for the request. The return code is 1 if one or more minor issues occur which are not critical but must be checked to prevent major issues later. Return code 2 indicates that an error occurred during the command execution.
Issue cloning-related commands on the production system as the production database instance owner. The cloning commands must be issued from the instance directory where the IBM® Storage Protect Snapshot product files are located. The fcmcli command identifies the name of the production database.
- For DB2® databases, the DB2 database directory is used. If only one entry exists in the database directory, this entry is used to identify the production database name.
- If the
-d production database nameoption is specified, this value overwrites the value that is identified in the previous step. Also, this value is used to identify the production database name. Its use with DB2 depends on the number of database entries in the database directory. If more than one entry is in the DB2 database directory, the -d option is required.
fcmcli -f create_clone -C CLONE -u db2cloneins -d PROD