tpaexec download-packages v23
The purpose of the downloader is to provide the packages required to do a full installation of a TPA cluster from an existing configuration. This is useful when you want to ship packages to secure clusters that do not have internet access, or avoid downloading packages repeatedly for test clusters.
The downloader will download the full dependency tree of packages required, and the resulting package repository will include metadata files for the target distribution package manager, so can be used exclusively to build clusters. At this time package managers Apt and YUM are supported.
Usage
An existing cluster configuration needs to exist which can be achieved
using the tpaexec configure
command. No specific options are required
to use the downloader. See configuring a cluster
.
Execute the download-packages subcommand to start the download process. Provide the OS and OS version that should be used by the downloader.
This can also be expressed as a specific docker image. It is strongly recommended that you use one of the tpa images prefixed like the example below.
The downloader will place files downloaded in the directory local-repo
by default. It is possible to download to alternative directory by using
the option --download-dir path
.
Using the result
The contents of the local-repo
directory is populated with a structure
determined by ansible according to the OS contained in the docker image.
For example, the docker image tpa/redhat:8
would have the following:
You can use this in the cluster as is or copy it to a target control node. See recommendations for installing to an air-gapped environment. A local-repo will be detected and used automatically by TPA.
- On this page
- Usage
- Using the result