Create Local Repo#
ISO images of the installation DVDs for RHEL-family (see Supported Distributions and Features)
systems can be downloaded from their respective websites and imported into the
ICE ClusterWare™ software as repos using the scyld-clusterctl repos
command.
For example:
scyld-clusterctl repos create name=Rocky8repo iso=@Rocky-8.7-x86_64-dvd1.iso
Once the upload completes, the ISO will be automatically forwarded to all head nodes and will be locally mounted on each. Below are the repository details immediately after the upload completes:
[cwadmin@virthead]$ scyld-clusterctl repos -i Rocky8repo ls -l
Repos
Rocky8repo
iso
chksum: e47d5ca236a3152d63814b32081a1a3261dd1cf4
filename: 4aceb9db1aef4670be82bf49855b514a
mtime: 2023-01-31 23:07:36 UTC (0:08:31 ago)
size: 11.3 GiB (12129927168 bytes)
isolabel: Rocky-8-7-x86_64-dvd
keys: []
name: Rocky8repo
urls
<BASE_URL>/isomount/Rocky8repo/BaseOS/
<BASE_URL>/isomount/Rocky8repo/AppStream/
The ClusterWare platform
displays URLs for the repositories identified on the ISO.
For example, there is a repository in the root of the uploaded Rocky-8 ISO,
accessible at <BASE_URL>/isomount/Rocky8repo/BaseOS/
.
The <BASE_URL>
tag is used as a placeholder to signify that any head
node can provide access.
When using such a URL,
replace the <BASE_URL>
with the actual head node's base URL,
e.g., http://10.20.30.30/api/v1/isomount/Rocky8repo/BaseOS/<target-file>
The ISO can also be downloaded using the scyld-clusterctl
command:
scyld-clusterctl repos -i Rocky8repo download iso
Just like URL defined repos, repos created using ISOs can be referenced in distros. See Creating Images in Boot Configurations in this guide for details about using repos and distros to create compute node images.