Creating an Air-gapped Repository
Create and publish the selected Data Fabric repositories, verify serving readiness, and make the local mirror available to cluster nodes.
Prerequisites
- You must be connected to the Internet to create an air-gapped repository.
- The local mirror host must reach the selected HPE Data Fabric upstream package repository and required
downloader source. NOTEImage-registry access is needed only when the image must be pulled; use an already loaded image with
--local. - Required disk space must be available on the local mirror host on which you are to install the air-gapped repository. See Disk Capacity and Preflight to plan storage.
-
See Installing with the Air-Gapped Data Fabric Repository for information about the need for an air-gapped repository.
About this task
airgap-repository
create command.Command Syntax
./airgap-repository create \
[--core-versions VER [VER...] --core-os OS [OS...]] \
[--mep-versions VER [VER...] --mep-os OS [OS...]] \
[--installer-os OS [OS...]] \
REPOSITORY_SOURCE [OPTIONS]Select at least one of the following groups. Although each group is independently optional, an empty selection is rejected:
| Component | Selection |
|---|---|
| Core | --core-versions VER [VER...] --core-os OS
[OS...] |
| DEP | --mep-versions VER [VER...] --mep-os OS
[OS...] |
| Installer | --installer-os OS [OS...] |
- --repo-config-file FILE
- --repo-url URL
- --repo-url-file FILE
- --repo-url-stdin
Command Help
./airgap-repository create --help
./airgap-repository create -h
Command Parameters
| Parameter | Required? | Description |
|---|---|---|
--runtime auto|docker|podman |
No | The runtime selection. Default: auto. Use
docker or podman
explicitly when required. |
--container-name NAME |
No | The managed container name. Default:
mapr-airgap-repository. |
--dry-run |
No | Use the option to preview the operation without stopping the repository container. |
-h, --help |
No | Use the option to view command help. |
By default, create pulls the configured image. If the release
supplies an image archive, load it first, replacing the sample archive
filename:
docker image load --input airgap-repository-image.tarNOTE--local to use an existing local image. Loading an image
does not download Data Fabric packages; synchronization requires access to the
upstream Data Fabric package repository that is
accessible over the Internet.The create operation requires you to enter the following
parameters:
-
at least one core version
-
at least one core OS
-
at least one DEP version
-
at least one DEP OS
-
at least one installer OS
-
exactly one repository source
For example:
./airgap-repository create \
--local
--core-versions 8.1.0
--core-os ubuntu22 suse15.5
--mep-versions 10.1.1
--mep-os ubuntu suse \
--installer-os ubuntu suse
--repo-config-file /root/airgap-repository.conf
--data-dir /var/lib/mapr-airgap-repository
--port 8080
--advertise-host
mirror.example.testSelect at least one component and exactly one repository source:
- Core: both
--core-versionsand--core-os. - DEP: both
--mep-versionsand--mep-os. - Installer:
--installer-osonly, when selected.
For installation workflows that require public signing keys, include an
installer branch during initial preparation. Its archive supplies
pub/; this is not mandatory for every air-gapped
publication.