Setting repository preferences
A repository is a location that stores data for installing, modifying, rolling back, updating, or uninstalling packages.
Before you begin
Before installing, modifying, or updating a release, obtain the installation repository location from your administrator or HCL.
About this task
On the Repositories window, you can add, edit, or remove repositories and modify the repository order in the repository table. You can clear credentials for a repository or test a connection to a repository. You can set a preference to search or not search service repositories when installing or updating a package.
Repository Locations
You can add repository locations on the Repositories page of the Preferences window. To add a new repository location, you must select one of the following files: diskTag.inf, repository.config, .zip, or a JAR file containing a repository. The file you select depends on what you are installing, modifying, or updating. The Repository files table provides information about the different files.
Repository file | Information |
---|---|
diskTag.inf | diskTag.inf indicates to Installation Manager that the files are from a disk image.
diskTag.inf can be across multiple disks. diskTag.inf cannot be used from an HTTP server. Updates
do not contain a diskTag.inf. Note: You cannot create a diskTag.inf with Packaging Utility but you
can select a diskTag.inf in Packaging Utility. |
JAR file containing a repository | License kits are distributed using a .jar file. |
repository.config | Repository.config obtained from the repository files. For updates, this file
is typically in the install_files\IBMProduct directory. Repository.config can be created or selected in Packaging Utility. |
.zip file | .zip files that contain a diskTag.inf or are larger than 2.2 GB in size must be extracted. |
If you perform a search of the HCL product installation files, you might find both a diskTag.inf and a repository.config. Use the diskTag.inf when selecting a repository location.
Test Connections
- Check the box to the left of the repositories that you want to test.
- Click Test Connections
For repositories that you are connected to, you see a green box in the Connection column of the repository table. When Installation Manager cannot connect to a repository, a message displays with information about the failed connection to the repository. Click Details to view additional details about the failed connection. For failed connections, a red box displays in the Connection column.
Service Repository
Installation Manager searches both service repositories and repositories listed in the repository table or the response file. The repository table is available in Installation Manager. To view the repository table, go to . The response file is used with silent installs.
offering.service.repositories.areUsed
to true. To not search the service
repositories, either clear the preference Search service repositories during installation and
updates in Installation Manager or set
offering.service.repositories.areUsed
to false in the response file. The preferences Search service repositories during installation and updates and Search for Installation Manager updates determine what updates are search for by Installation Manager. For information about how these preferences work together, see Searching for updates.
Procedure
- In Installation Manager,
click .The Repositories page opens and displays available repositories, repository locations, and the connection status for the repositories.
- Click Add Repository.
- Enter the repository location or click Browse. When browsing, navigate to the repository location and select the diskTag.inf, repository.config, .zip, or JAR file as appropriate for your environment.
- Click OK.
If you provided an HTTPS or restricted FTP repository location, you are prompted to enter a user ID and password.
The new repository location is added to the list. If the repository is not connected, a red box displays in the Connection column. - Optional: Check Search service repositories during installation and updates. Installation Manager searches the service repositories for updates to installed packages.
- Click OK to close the Preference page.