将 SUSE Multi-Linux Manager 5.2 服务器部署为虚拟机 - VMware
本章提供用于将 SUSE Multi-Linux Manager 5.2 部署为映像的虚拟机设置。将使用 VMware 作为此安装的沙箱。
1. 可用映像
|
部署 SUSE Multi-Linux Manager 5.2 服务器的首选方法是使用以下可用映像之一。所有工具都已包含在这些映像中,因而大大简化了部署。 |
SUSE Multi-Linux Manager 5.2 的映像可在 SUSE Multi-Linux Manager 5.2 VM 映像中找到。
|
自定义的 SUSE Multi-Linux Manager 5.2 VM 映像仅适用于 SL Micro 6.2。要在 SUSE Linux Enterprise Server 15 SP7 上运行该产品,请使用从 https://www.suse.com/download/sles/ 获取的标准 SUSE Linux Enterprise Server 15 SP7 安装媒体,并在其上启用 SUSE Multi-Linux Manager 5.2 扩展。 |
|
For more information on preparing raw images, see https://documentation.suse.com/sle-micro/6.2/html/Micro-deployment-raw-images-virtual-machines/index.html#deployment-preparing-configuration-device. For additional information on the self install images, see https://documentation.suse.com/sle-micro/6.2/html/Micro-deployment-selfinstall-images/index.html |
| 体系结构 | 映像格式 |
|---|---|
aarch64 |
qcow2、vmdk |
x86_64 |
qcow2、vmdk、raw、自安装程序 |
ppc64le |
raw、自安装程序 |
s390x * |
qcow2、raw |
* s390x 有两个可用存储选项:CDL DASD 和 FBA。
2. SUSE Multi-Linux Manager 虚拟机设置 - VMware
本节说明 VMware 配置,重点介绍如何在 VMware 环境中创建对 SUSE Multi-Linux Manager 存储分区至关重要的额外虚拟磁盘。
-
Download SUSE Multi-Linux Manager Server
.vmdkfile then transfer a copy to your VMware storage. -
Make a copy of uploaded
.vmdkfile using VMware web interface. This will convert provided.vmdkfile to the format suitable for vSphere hypervisor. -
Create and name a new virtual machine based on the Guest OS Family
Linuxand Guest OS Version SUSE Linux Enterprise 15 (64-bit). -
Add an additional
Hard Disk 2of 500 GB (or more). -
配置满足最低要求的 RAM 和 CPU 数量。*)
-
根据需要设置网络适配器。
-
启动 VM,然后按照首次引导对话框中的提示操作(键盘布局、许可协议、时区、root 的口令)。
-
安装完成后,以 root 身份登录。
-
继续阅读下一节。
3. 注册 SL Micro 和 SUSE Multi-Linux Manager 5.2 服务器
开始之前,从 SUSE Customer Center (https://scc.suse.com) 获取您的 SUSE Multi-Linux Manager 注册代码。
|
SL Micro 6.2 权利包含在 SUSE Multi-Linux Manager 权利中,因此不需要单独的注册代码。 |
|
SUSE Multi-Linux Manager server hosts that are hardened for security may restrict execution of files from the 例如:
在 SUSE Multi-Linux Manager 的后续更新中,相关工具将进行优化,届时无需再使用此临时解决方案。 |
-
引导虚拟机。
-
以
root身份登录。 -
在 SCC 中注册 SL Micro。
transactional-update register -r <注册代码> -e <您的电子邮件地址>
-
重引导。
-
在 SUSE Customer Center 中注册 SUSE Multi-Linux Manager 5.2。
transactional-update register -p Multi-Linux-Manager-Server/5.2/x86_64 -r <REGCODE>
-
重引导
-
更新系统:
transactional-update
-
如果已应用更新,请重引导。
-
This step is optional. However, if custom persistent storage is required for your infrastructure, use the
mgr-storage-servertool.For more information, see
mgr-storage-server --help. This tool simplifies creating the container storage and database volumes. Use the command in the following manner:mgr-storage-server <storage-disk-device> [<database-disk-device>]
例如:
mgr-storage-server /dev/nvme1n1 /dev/nvme2n1
This command will create the persistent storage volumes at
/var/lib/containers/storage/volumes.有关详细信息,请参见
-
部署 SUSE Multi-Linux Manager。
If you use VM images as a migration target, here as the last step, execute the command
mgradm migrateinstead ofmgradm install.根据 SSL 证书类型(自我签名证书或第三方证书),执行以下命令之一。 请将
<FQDN>替换为 SUSE Multi-Linux Manager 服务器的完全限定域名:-
使用 SUSE Multi-Linux Manager 提供的自我签名证书:
mgradm install podman <FQDN> -
使用第三方 SSL 证书标志导入相应 SSL 证书(如果无需全部证书,可调整示例):
mgradm install podman <FQDN> \ --ssl-ca-intermediate <strings> \ --ssl-ca-root <string> \ --ssl-server-cert <string> \ --ssl-server-key <string> \ --ssl-db-ca-intermediate <strings> \ --ssl-db-ca-root <string> \ --ssl-db-cert <string> \ --ssl-db-key <string>For more information, see
mgradm install podman --help.
-