Creating custom installation repositories with IBM Packaging Utility
WebSphere® Application Server Liberty uses IBM® Installation Manager for installation and lifecycle management. Installation Manager accesses source repositories that contain the content for a software product installation. Repositories are available on product media, in IBM-hosted web-based repositories, and from Passport Advantage®. IBM Packaging Utility can help you create and customize enterprise repositories that contain the correct combination of products and maintenance levels needed for all aspects of your business.
About this task
You use Installation Manager to connect to an Installation Manager repository (or set of repositories) to find products and service updates that are available to you for installation. An Installation Manager repository is simply a tree-structured file folder that includes product payload and metadata. You can install the software products that you need directly from an IBM web-based service repository or download and unpack compressed files from Passport Advantage and install the products from the resulting unpacked file folders. The result of unpacking the files is also considered to be an Installation Manager repository. Like any Installation Manager repository, these unpacked files can be hosted on an internal HTTP server, FTP server, or network mount in order to make them available to the organization.
Packaging Utility is a companion tool for Installation Manager with which you can create and manage custom Installation Manager repositories for your organization. You can copy multiple packages, maintenance levels, and fixes into a single repository. Packaging Utility copies from source repositories to your target custom repositories. Source repositories can include any accessible Installation Manager repository, including IBM web-hosted product repositories and unzipped Passport Advantage downloads.
For more information on Packaging Utility, go to the IBM Packaging Utility product documentation.
As an administrator, you can control the content of your enterprise repository, which then can serve as the central repository to which your organization connects in order to perform product installations and updates.
Packaging Utility essentially copies from a set of source Installation Manager repositories to a target repository and eliminates duplicate artifacts, helping to keep the repository size as small as possible. You can also delete (or "prune") a repository, removing maintenance levels or products that are not needed.
You can download the latest version of Packaging Utility from the IBM Support Portal.
Like Installation Manager, Packaging Utility has GUI and command-line interfaces. You must specify repository URLs for Installation Manager repositories that contain the offerings that you wish to copy.
The target repository that you create with Packaging Utility will always support a full installation; therefore, you cannot use Packaging Utility to create a repository that is only a copy of a fix pack. You can, however, create a repository that contains the minimum content to support direct installation to a fix-pack level. Consider the following two examples that use the Packaging Utility command-line interface (PUCL.exe) that is available in the Packaging Utility installation folder.
- Example 1Note: Note that you must read the license agreement that you can find with the product files and then signify your acceptance of the license agreement by specifying -acceptLicense in the command as shown in the following example.
PUCL copy com.ibm.websphere.liberty.CORE.ND -repositories http://www.ibm.com/software/repositorymanager/com.ibm.websphere.liberty.CORE.ND -target D:\LIB_CORE_version -prompt -showProgress -acceptLicense
Because no version number is specified with the offering name, this command creates a new repository that supports direct installation to the latest fix-pack level for WebSphere Application Server Liberty.
PUCL copy com.ibm.websphere.liberty.CORE.ND_126.96.36.19960503_0200 -repositories http://www.ibm.com/software/repositorymanager/com.ibm.websphere.liberty.CORE.ND -target D:\LIB_CORE -prompt -showProgress -acceptLicense PUCL copy com.ibm.websphere.liberty.CORE.ND_188.8.131.5260829_1838 -repositories http://www.ibm.com/software/repositorymanager/com.ibm.websphere.liberty.CORE.ND -target D:\LIB_CORE -prompt -showProgress -acceptLicense
The first command creates a target repository with WebSphere Application Server Liberty 184.108.40.206. The second command adds the 220.127.116.11 fix pack to the same repository. You can now use this resulting repository to install fix pack 18.104.22.168, install fix pack 22.214.171.124, or update from 126.96.36.199 to 188.8.131.52.
archarguments as shown in the following example:
Your repository can be scoped for platforms other than the one on which it is created or stored. For example, you can run Packaging Utility on a Windows system to create a repository with the content needed to install on a Linux® system. During installation on Linux, you point Installation Manager to your custom repository.
PUCL copy com.ibm.java.jdk.v8 -repositories http://www.ibm.com/software/repositorymanager/com.ibm.java.jdk.v8 -platform os=linux,arch=ppc64 -target D:\LIB_CORE -prompt -showProgress -acceptLicense</p>
||32-bit repository for 32-bit Windows OS and 64-bit Windows|
||64-bit repository for 64-bit Windows|
||32-bit repository for 32-bit Linux Intel and 64-bit Linux Intel|
||64-bit repository for 64-bit Linux Intel|
||32-bit repository for 32-bit Linux Power and 64-bit Linux Power|
||64-bit repository for 64-bit Linux Power|
||32-bit repository for 32-bit zLinux and 64-bit zLinux|
||64-bit repository for 64-bit zLinux|
||32-bit repository for 32-bit AIX and 64-bit AIX|
||64-bit repository for 64-bit AIX|
||32-bit repository for 32-bit Solaris Sparc and 64-bit Solaris Sparc|
||64-bit repository for 64-bit Solaris Sparc|
||64-bit repository for 64-bit Solaris Intel|
||64-bit repository for 64-bit HP-UX Itanium|
||64-bit repository for z/OS|
For more information on platform slicing, see the IBM Packaging Utility product documentation.