Using the Installation Manager live repositories

One of the simplest ways to create an Installation Manager repository that works with WebSphere Application Server family of offerings is to use the IBM Installation Manager live repositories. You can build a single repository that contains a specific WebSphere fix pack version by using the IBM Package Utility.

Before you begin

The Installation Manager toolkit binaries step have been completed.

About this task

Set up the software repository with the proper Installation Manager toolkit and IBM Package Utility that are used to create the Installation Manager enterprise repositories.

Complete the following steps to install the Installation Manager toolkit and the IBM Package Utility product.

Procedure

  1. Log in to the Content Runtime virtual machine.

  2. Change to the /opt/ibm/docker/software-repo/var/swRepo/private directory.

    cd /opt/ibm/docker/software-repo/var/swRepo/private
    
  3. Make a directory named IMTemp.

    mkdir IMTemp
    
  4. Change to the IMTemp directory.

    cd IMTemp
    
  5. Copy the installer file to the IMTemp directory.

    cp /opt/ibm/docker/software-repo/var/swRepo/private/im/v1x/base/agent.installer.linux.gtk.x86_64_1.8.8000.20171130_1105.zip /opt/ibm/docker/software-repo/var/swRepo/private/IMTemp
    
  6. Extract the files from the agent.installer.linux.gtk.x86_64_1.8.8000.20171130_1105.zip file.

    unzip agent.installer.linux.gtk.x86_64_1.8.8000.20171130_1105.zip -d imtoolkit
    
  7. Change to the /opt/ibm/docker/software-repo/var/swRepo/private/IMTemp/imtoolkit/tools directory.

    cd /opt/ibm/docker/software-repo/var/swRepo/private/IMTemp/imtoolkit/tools
    
  8. Install the package utility from the IBM public installation manager repository.

    ./imcl install com.ibm.cic.packagingUtility_1.8.8000.20171130_1136 -repositories http://www.ibm.com/software/repositorymanager/com.ibm.cic.packagingUtility  -installationDirectory /opt/ibm/docker/software-repo/var/swRepo/private/IMProducts/PUCL -dataLocation /opt/ibm/docker/software-repo/var/swRepo/private/IMProducts/datalocation -sharedResourcesDirectory /opt/ibm/docker/software-repo/var/swRepo/private/IMProducts/IMshared -log /opt/ibm/docker/software-repo/var/swRepo/private/IMProducts/IMlogs -prompt -showProgress  -acceptLicense
    
  9. Change to the IBM Package Utility directory.

    cd /opt/ibm/docker/software-repo/var/swRepo/private/IMProducts/PUCL
    
  10. Using the IBM Package Utility, build the required Installation Manager repositories based on the product offerings you require. Follow the instructions that follow.

Build the Installation Manager 1.8.6.1 fix pack repository

It is recommended that the Installation Manager 1.8.6.1 be used as it has additional security fixes. This fix pack level is retrieved from the IBM hosted repositories. This is only needed if you are using the Middleware cookbooks version 1.0.2.

  1. Copy the Installation Manager 1.8.6.1 fix pack into the repository using the IBM hosted repositories

    ./PUCL copy com.ibm.cic.agent_1.8.6001.20170428_1156 -repositories http://www.ibm.com/software/repositorymanager/com.ibm.cic.agent  -target /opt/ibm/docker/software-repo/var/swRepo/private/IMRepo/im186fp1 -prompt  -showProgress -acceptLicense
    

Build the WebSphere v9.0.0.x repository

The commands in the following procedure create a set of installation binaries that supports direct installation to the latest WebSphere Application Server Network Deployment v9.0.0.x fix pack level. If a particular fix pack level is required, the offering name and version number must be specified in the copy command.

The middleware templates are defaulted to install version 9.0.0.6 but they can be changed to use a different fix pack during deployment of the template.

The following table lists the offering IDs that should be used in the Package Utility copy command for various fix pack levels.

Table. WebSphere Application Server
WebSphere Application Server Network Deployment Release Offering ID
9.0.0.6 com.ibm.websphere.ND.v90_9.0.6.20171205_1311
9.0.0.7 com.ibm.websphere.ND.v90_9.0.7.20180302_0440
latest com.ibm.websphere.ND.v90
Table. IBM HTTP Server
IBM HTTP Server Release Offering ID
9.0.0.6 com.ibm.websphere.IHS.v90_9.0.6.20171205_1311
9.0.0.7 com.ibm.websphere.IHS.v90_9.0.7.20180302_0440
latest com.ibm.websphere.ND.v90
Table. Web server plug-ins
Web server plug-ins Release Offering ID
9.0.0.6 com.ibm.websphere.PLG.v90_9.0.6.20171205_1311
9.0.0.7 com.ibm.websphere.PLG.v90_9.0.7.20180302_0440
latest com.ibm.websphere.PLG.v90
Table. Java 8 SDK
Java 8 SDK Release Offering ID
8.0.5.7 com.ibm.java.jdk.v8_8.0.5007.20171218_1035
8.0.5.10 com.ibm.java.jdk.v8_8.0.5010.20180320_0647
latest com.ibm.java.jdk.v8

If you do not see the fix pack offering ID, you can use the following command to view the live repositories. You will be prompted for your IBMid.

/opt/ibm/docker/software-repo/var/swRepo/private/IMProducts/PUCL/PUCL listAvailablePackages -repositories http://www.ibm.com/software/repositorymanager/V9WASND -prompt

The commands in the following procedure build the latest available WebSphere Application Server Network Deployment V9 fix pack level that is available using the IBM hosted repositories. Repeat these commands for each of the fix pack releases that you want to use by replacing the latest offering ID with the appropriate product offering ID.

  1. Change your directory to the IBM Package Utility:

    cd /opt/ibm/docker/software-repo/var/swRepo/private/IMProducts/PUCL
    
  2. Copy the latest available WebSphere Application Server Network Deployment binaries:

    ./PUCL copy com.ibm.websphere.ND.v90  -repositories http://www.ibm.com/software/repositorymanager/com.ibm.websphere.ND.v90 -target /opt/ibm/docker/software-repo/var/swRepo/private/IMRepo/WAS9   -prompt -showProgress -acceptLicense
    
  3. Copy the latest available IBM HTTP Server binaries:

    ./PUCL copy com.ibm.websphere.IHS.v90 -repositories http://www.ibm.com/software/repositorymanager/com.ibm.websphere.IHS.v90  -target /opt/ibm/docker/software-repo/var/swRepo/private/IMRepo/WAS9   -prompt -showProgress -acceptLicense
    
  4. Copy the WebSphere Web Server Plug-ins binaries:

    ./PUCL copy com.ibm.websphere.PLG.v90 -repositories http://www.ibm.com/software/repositorymanager/com.ibm.websphere.PLG.v90/WAS9 -target /opt/ibm/docker/software-repo/var/swRepo/private/IMRepo/WAS9  -prompt -showProgress -acceptLicense
    
  5. Copy the Java 8 SDK binaries:

    ./PUCL copy com.ibm.java.jdk.v8 -repositories http://www.ibm.com/software/repositorymanager/com.ibm.java.jdk.v8  -target /opt/ibm/docker/software-repo/var/swRepo/private/IMRepo/jdk8   -prompt  -showProgress -acceptLicense
    

Build the Liberty repository

The commands in the following procedure create a set of installation binaries that supports direct installation to the latest WebSphere Application Server Liberty fix pack level. If a particular fix pack level is required, the offering ID must be used in place of the latest offering ID on the copy command.

The following table lists the WebSphere Liberty core releases and their offering IDs:

Table. WebSphere Liberty Core
WebSphere Liberty Core Release Offering ID
17.0.0.4 com.ibm.websphere.liberty.CORE_17.0.4.20171206_1447
18.0.0.1 com.ibm.websphere.liberty.CORE_18.0.1.20180309_2209
latest com.ibm.websphere.liberty.CORE

The following table lists the WebSphere Liberty releases and their offering IDs:

Table. WebSphere Liberty
WebSphere Liberty Release Offering ID
17.0.0.4 com.ibm.websphere.liberty.BASE_17.0.4.20171206_1447
18.0.0.1 com.ibm.websphere.liberty.BASE_18.0.1.20180309_2209
latest com.ibm.websphere.liberty.BASE
Table. WebSphere Liberty Network
WebSphere Liberty Network Deployment Offering ID
17.0.0.4 com.ibm.websphere.liberty.ND_17.0.4.20171206_1447
18.0.0.1 com.ibm.websphere.liberty.ND_18.0.1.20180309_2209
latest com.ibm.websphere.liberty.ND

The following table lists the Java 8 SDK releases and their offering IDs:

Table. Java 8 SDK
Java 8 SDK Release Offering ID
8.0.5.7 com.ibm.java.jdk.v8_8.0.5007.20171218_1035
8.0.5.10 com.ibm.java.jdk.v8_8.0.5010.20180320_0647
latest com.ibm.java.jdk.v8

If you do not see the fix pack offering ID, you can use the following command to view the WebSphere Liberty live repositories. The command prompts for your IBMid.

/opt/ibm/docker/software-repo/var/swRepo/private/IMProducts/PUCL/PUCL listAvailablePackages -repositories http://www.ibm.com/software/repositorymanager/com.ibm.websphere.liberty.CORE -prompt

The commands in the following procedure build the latest available WebSphere Application Server Liberty fix pack level that is available using the IBM live repositories. Repeat these commands for each of the fix pack releases that you want to use by replacing the latest offering ID with the appropriate product offering ID.

  1. Change your directory to the IBM Package Utility:

    cd /opt/ibm/docker/software-repo/var/swRepo/private/IMProducts/PUCL
    
  2. Copy the WebSphere Liberty Core binaries:

    ./PUCL copy com.ibm.websphere.liberty.CORE -repositories http://www.ibm.com/software/repositorymanager/com.ibm.websphere.liberty.CORE -target /opt/ibm/docker/software-repo/var/swRepo/private/IMRepo/Liberty   -prompt -showProgress -acceptLicense
    
  3. Copy the WebSphere Liberty Network Deployment binaries:

    ./PUCL copy com.ibm.websphere.liberty.ND -repositories http://www.ibm.com/software/repositorymanager/com.ibm.websphere.liberty.ND -target /opt/ibm/docker/software-repo/var/swRepo/private/IMRepo/Liberty -prompt  -showProgress -acceptLicense
    
  4. Copy the WebSphere Liberty binaries:

    ./PUCL copy com.ibm.websphere.liberty.BASE -repositories http://www.ibm.com/software/repositorymanager/com.ibm.websphere.liberty.BASE -target /opt/ibm/docker/software-repo/var/swRepo/private/IMRepo/Liberty   -prompt   -showProgress -acceptLicense
    
  5. Copy the Java 8 SDK binaries:

    ./PUCL copy com.ibm.java.jdk.v8 -repositories http://www.ibm.com/software/repositorymanager/com.ibm.java.jdk.v8  -target /opt/ibm/docker/software-repo/var/swRepo/private/IMRepo/jdk8   -prompt  -showProgress -acceptLicense
    

Build WebSphere Application Server 8.5.5.x repository

When building this repository, you need the WebSphere Application Sever 8.5.5.0 Installation Manager repositories in order to build a fully functional repository that is capable of installing the product. You have the following two options:

If your target repository is already built based upon the 8.5.5.0 code base, you can just use the IBM live repositories.

Using IBM hosted repositories

You can also use the Package Utility -connnectPassportAdvantage parameter option to connect to the Passport Advantage repository which allows you to not have to download the V8.5.5.0 product binaries. You must have the appropriate IBMid that is entitled to the WebSphere 8.5.5.0 product binaries.

For example, use the following command to download WebSphere Application Server Network Deployment v8.5.5.12 where your IBMid is entitled to use the Passport Advantage repositories that are IBM hosted:

./PUCL copy com.ibm.websphere.ND.v85_8.5.5012.20170627_1018 -repositories http://www.ibm.com/software/repositorymanager/com.ibm.websphere.ND.v85 -target /opt/ibm/docker/software-repo/var/swRepo/private/IMRepo/WAS8 -showProgress -acceptLicense -prompt -connnectPassportAdvantage

Using IBM hosted repositories and Passport Advantage repositories

This option uses a combination of using two source repositories to build a single repository that contains the appropriate fix pack level. This method is used when your IBMid is not entitled to access the Passport Advantage repositories that are configured in the IBM hosted repository site.

For more information, see How to download WebSphere Application Server Network Deployment V8.5.5 from Passport Advantage External link icon. The required part numbers are listed in the following table:

Note: IBM WebSphere SDK Java Technology Edition 7.1 is not available on the product media or on Passport Advantage. IBM hosted repository can be used to retrieve the Java 7.1 SDK binaries.

After downloading these files, unpackage each product offering file into a separate directory structure, one for the supplements and one for the network deployment. Then use the IBM Package Utility to use two source repositories to create a single new repository. For example:

./PUCL copy com.ibm.websphere.ND.v85_8.5.5012.20170627_1018 -repositories <path_to_8.5.5.0_repostories,http://www.ibm.com/software/repositorymanager/com.ibm.websphere.ND.v85 -target /opt/ibm/docker/software-repo/var/swRepo/private/IMRepo/WAS8 -showProgress -acceptLicense -prompt

The following table lists the offering IDs that must be used in the Package Utility copy command for a particular fix pack level.

Table. WebSphere Application Server
WebSphere Application Server Release Offering ID
8.5.5.12 com.ibm.websphere.ND.v85_8.5.5012.20170627_1018
8.5.5.13 com.ibm.websphere.ND.v85_8.5.5013.20180112_1418
latest com.ibm.websphere.ND.v85
Table. IBM HTTP Server
IBM HTTP Server Release Offering ID
8.5.5.12 com.ibm.websphere.IHS.v85_8.5.5012.20170627_1018
8.5.5.13 ccom.ibm.websphere.IHS.v85_8.5.5013.20180112_1418
latest com.ibm.websphere.IHS.v85
Table. Web server Plug-ins
Web server Plug-ins Release Offering ID
8.5.5.12 com.ibm.websphere.PLG.v85_8.5.5012.20170627_1018
8.5.5.13 com.ibm.websphere.PLG.v85_8.5.5013.20180112_1418
latest com.ibm.websphere.PLG.v85
Table. WebSphere Java 7.1 SDK
WebSphere Java 7.1 SDK Offering ID
8.5.5.12 com.ibm.websphere.IBMJAVA.v71_7.1.4005.20170626_0531
8.5.5.13 com.ibm.websphere.IBMJAVA.v71_7.1.4015.20171219_1604
latest com.ibm.websphere.IBMJAVA.v71

If you do not see the fix pack offering ID, you can use the following commands to view the WebSphere Liberty live repositories

/opt/ibm/docker/software-repo/var/swRepo/private/IMProducts/PUCL/PUCL listAvailablePackages -repositories http://www.ibm.com/software/repositorymanager/com.ibm.websphere.ND.v85  -prompt
/opt/ibm/docker/software-repo/var/swRepo/private/IMProducts/PUCL/PUCL listAvailablePackages -repositories http://www.ibm.com/software/repositorymanager/com.ibm.websphere.IBMJAVA.v71  -prompt
/opt/ibm/docker/software-repo/var/swRepo/private/IMProducts/PUCL/PUCL listAvailablePackages -repositories http://www.ibm.com/software/repositorymanager/com.ibm.websphere.IHS.v85  -prompt

The following example illustrates the commands that are used to build a functional WebSphere Application Server Network Deployment repository that is based on the latest fix pack available on IBM hosted repositories:

  1. Change your directory to the IBM Package Utility:

    cd /opt/ibm/docker/software-repo/var/swRepo/private/IMProducts/PUCL
    
  2. Copy the WebSphere Application Server Network Deployment offering:

    ./PUCL copy com.ibm.websphere.ND.v85 -repositories http://www.ibm.com/software/repositorymanager/com.ibm.websphere.ND.v85 -target /opt/ibm/docker/software-repo/var/swRepo/private/IMRepo/WAS8 -showProgress -acceptLicense -prompt
    
  3. Copy the IBM HTTP Server offering:

    ./PUCL copy com.ibm.websphere.IHS.v85 -repositories http://www.ibm.com/software/repositorymanager/com.ibm.websphere.IHS.v85 -target  /opt/ibm/docker/software-repo/var/swRepo/private/IMRepo/WAS8 -acceptLicense -prompt
    
  4. Copy the Web Server Plug-ins offering:

    ./PUCL copy com.ibm.websphere.PLG -repositories http://www.ibm.com/software/repositorymanager/com.ibm.websphere.PLG.v85 -target /opt/ibm/docker/software-repo/var/swRepo/private/IMRepo/WAS8 -acceptLicense -prompt
    
  5. Copy the WebSphere Java 7.1 SDK:

    ./PUCL copy com.ibm.websphere.IBMJAVA.v71 -repositories http://www.ibm.com/software/repositorymanager/com.ibm.websphere.IBMJAVA.v71  -target /opt/ibm/docker/software-repo/var/swRepo/private/IMRepo/WAS8 -acceptLicense -prompt
    

What to do next

Set up the composite repository. For more information, see Setting up a composite repository.

References