This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.10.2.10. 完整安装:创建 Red Hat Enterprise Linux CoreOS(RHCOS)机器
在您置备的 IBM Z 基础架构上安装集群前,您必须将 RHCOS 安装为 Red Hat Enterprise Linux(RHEL)虚拟机,供集群使用。完成以下步骤,在新的 QEMU copy-on-write(QCOW2)磁盘镜像中的完整安装中创建机器。
先决条件
- 至少有一个 LPAR 在 KVM 中运行 RHEL 8.3,在此过程中称为 RHEL KVM 主机。
- KVM/QEMU 管理程序安装在 RHEL KVM 主机上。
- 可执行主机名并对节点进行逆向查询的域名服务器(DNS)。
- 设置了 HTTP 或 HTTPS 服务器。
流程
从红帽客户门户网站上的产品下载页面或 RHCOS 镜像 mirror 页面,获取 RHEL kernel、initramfs 和 rootfs 文件。
重要RHCOS 镜像可能不会随着 OpenShift Container Platform 的每一发行版本都有改变。您必须下载最高版本的镜像,其版本号应小于或等于您安装的 OpenShift Container Platform 版本。仅使用以下流程中描述的适当 RHCOS QCOW2 镜像。
文件名包含 OpenShift Container Platform 版本号。它们类似以下示例:
-
kernel:
rhcos-<version>-live-kernel-<architecture>
-
initramfs:
rhcos-<version>-live-initramfs.<architecture>.img
-
rootfs:
rhcos-<version>-live-rootfs.<architecture>.img
-
kernel:
在启动
virt-install
前,将下载的 RHEL live kernel、initramfs 和 rootfs 以及 Ignition 文件移动到 HTTP 或 HTTPS 服务器中。注意Ignition 文件由 OpenShift Container Platform 安装程序生成。
使用 RHEL kernel、initramfs 和 Ignition 文件、新磁盘镜像和调整的解析行参数创建新 KVM 客户机节点。
-
对于
--location
,指定 HTTP 或者 HTTPS 服务器中的 kernel/initrd 的位置。 -
对于
coreos.inst.ignition_url=
,为机器角色指定 Ignition 文件。使用bootstrap.ign
、master.ign
或worker.ign
。只支持 HTTP 和 HTTPS 协议。 对于
coreos.live.rootfs_url=
,为您引导的内核和 initramfs 指定匹配的 rootfs 工件。只支持 HTTP 和 HTTPS 协议。Copy to Clipboard Copied! Toggle word wrap Toggle overflow 注意IBM z15 和 LinuxONE III 需要
dfltcc=off
。
-
对于