Updating classic virtual system patterns by using the command-line interface

Periodic updates are available for classic virtual system patterns. You can download updates from IBM® Fix Central and then import the updated patterns to Cloud Pak System Software by using the command-line interface.

Importing a classic virtual system pattern

You can download the command-line interface from the Welcome page. Click Download Tooling > Download command line tool on the Welcome page. After you extract the contents of the file, use the importPatterns.py script that is in the samples directory to import the updated classic virtual system pattern.

Use the standard CLI parameters to specify the host name, user ID, and password to access the classic virtual system pattern, and the location of the importPatterns.py script. In addition, use the -a parameter, which you can also format as --acceptcert, so that SSL certificates from the system are automatically accepted. Specify both the file name and classic virtual system pattern, as shown in the following example:
pure -h <hostname.com> -u <user> -p <password> --acceptcert -f ../samples/importPatterns.py -s <target_source_directory>

Options

Use the following options with the importPatterns.py script:
-s <target_source_directory> or --source <target_source_directory>
Indicates that the patterns and the associated artifacts are uploaded from the specified source folder or file name for the .tgz/.tar.gz file.

If you import an updated version of the IBM WebSphere® Application Server classic virtual system pattern, you can update your existing classic virtual system instances that are based on this pattern by applying service to the instance. For more information, see the Related tasks section.

If you import an updated version of the IBM DB2® classic virtual system pattern, you cannot update your existing classic virtual system instances that are based on this pattern to the new version. You must redeploy the classic virtual system instances and use the updated pattern when you redeploy.