Periodic updates are available for pattern types.
Before you begin
You can download updates from IBM® Fix Central and then import the updated
pattern type to Cloud Pak System by using
the command-line interface.
Before
patterns can be updated, you must upgrade Cloud Pak System with
the latest system update maintenance.
IBM Foundation Pattern must
be updated before any other pattern types can be updated. If you update
the IBM Web Application Pattern,
you must also update the Db2® with BLU Acceleration® Pattern.
About this task
Use the command-line interface to
complete this task.
Procedure
-
Download the latest version of the pattern type *.tgz file from Fix Central to the
/tmp directory on a Linux® or UNIX system.
- Log in to the console with the IP address: http://systemIP.
- Download the command-line interface.
You can download the command-line interface from
the Welcome page. Click on the Welcome page. Download
the command-line interface to
the /tmp directory.
- Extract the command-line interface with
the unzip command:
#cd /tmp
#unzip deployer.cli*.zip
- Log in to the system:
#cd deployer.cli/bin
#./deployer -h System_IP -u Admin_ID -p Admin_PW
where
- System_IP is the IP address/host name of your
system
- Admin_ID is the administrator ID of your system
- Admin_PW is the administrator password of your
system
- The command-line interface displays
the following prompts:
Welcome to the IBM Cloud Pak System CLI. Enter 'help' if you need help getting started.
>>>
- Run the following command to update the type. Ensure that
you specify the correct location of the pattern type .tgz file,
or the command fails.
The file names for the pattern
types are:
- webapp-x.x.x.x.tgz
- foundation-x.x.x.x.tgz
- dbaas-x.x.x.x.tgz
- javaapp-x.x.x.x.tgz
Replace
x.x.x.x
with the
appropriate version number.
- Type the following command:
>>>deployer.patterntypes.create("/tmp/ptype-x.x.x.x.tgz")
Replace
ptype-x.x.x.x
with
the appropriate pattern type file name and version number.
- Click Enter to submit the command.
The following information is displayed:
{
"description": "DESCRIPTION".
"name": "NAME".
"shortname": "ptype".
"status": "avail".
"version": "x.x.x.x"
}
>>>exit
where
ptype
is
the pattern type name and
x.x.x.x
is
the version number.