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.
Procedure
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.
http://www.ibm.com/software/repositorymanager/offering_name
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.
os
and arch
arguments as shown in the following
example: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>
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. Platform | Options | Resulting Repository |
---|---|---|
Windows | os=win32,arch=x86 |
32-bit repository for 32-bit Windows OS and 64-bit Windows |
os=win32.arch=x86_64 |
64-bit repository for 64-bit Windows | |
Linux Intel | os=linux,arch=x86 |
32-bit repository for 32-bit Linux Intel and 64-bit Linux Intel |
os=linux.arch=x86_64 |
64-bit repository for 64-bit Linux Intel | |
Linux Power® | os=linux,arch=ppc |
32-bit repository for 32-bit Linux Power and 64-bit Linux Power |
os=linux.arch=ppc64 |
64-bit repository for 64-bit Linux Power | |
zLinux | os=linux,arch=s390 |
32-bit repository for 32-bit zLinux and 64-bit zLinux |
os=linux.arch=s390x |
64-bit repository for 64-bit zLinux | |
AIX® | os=aix,arch=ppc |
32-bit repository for 32-bit AIX and 64-bit AIX |
os=aix.arch=ppc64 |
64-bit repository for 64-bit AIX | |
Solaris Sparc | os=solaris,arch=sparc |
32-bit repository for 32-bit Solaris Sparc and 64-bit Solaris Sparc |
os=solaris,arch=sparc64 |
64-bit repository for 64-bit Solaris Sparc | |
Solaris Intel | os=solaris,arch=x86_64 |
64-bit repository for 64-bit Solaris Intel |
HP-UX Itanium | os=hpux,arch=ia64 |
64-bit repository for 64-bit HP-UX Itanium |
z/OS® | os=zos,arch=s390x |
64-bit repository for z/OS |
For more information on platform slicing, see the IBM Packaging Utility product documentation.