Documentation survey

将 SUSE Multi-Linux Manager 5.1 服务器部署为虚拟机 - VMware

本章提供用于将 SUSE Multi-Linux Manager 5.1 部署为映像的虚拟机设置。将使用 VMware 作为此安装的沙箱。

1. 可用映像

部署 SUSE Multi-Linux Manager 5.1 服务器的首选方法是使用以下可用映像之一。所有工具都已包含在这些映像中,因而大大简化了部署。

SUSE Multi-Linux Manager 5.1 的映像可在 SUSE Multi-Linux Manager 5.1 VM 映像中找到。

Customized SUSE Multi-Linux Manager 5.1 VM images are provided only for SL Micro 6.1. To run the product on SUSE Linux Enterprise Server 15 SP7, use the standard SUSE Linux Enterprise Server 15 SP7 installation media available at https://www.suse.com/download/sles/ and enable the SUSE Multi-Linux Manager 5.1 extensions on top of it.

Table 1. 可用服务器映像
体系结构 映像格式

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 存储分区至关重要的额外虚拟磁盘。

过程:创建 VMware 虚拟机
  1. 下载 SUSE Multi-Linux Manager Server .vmdk 文件,然后将该文件副本传输到您的 VMware 存储区。

  2. 使用 VMware Web 界面复制上载的 .vmdk 文件。这会将提供的 .vmdk 文件转换成适合 vSphere 超级管理程序的格式。

  3. 创建一个新的虚拟机,并根据 Guest 操作系统系列 Linux 和 Guest 操作系统版本 SUSE Linux Enterprise 15(64 位)为其命名。

+

  1. 额外添加一个 500 GB(或更多空间)的硬盘 2

  2. Configure RAM and number of CPUs with minimum values. *)

  3. 根据需要设置网络适配器。

  4. 启动 VM,然后按照首次引导对话框中的提示操作(键盘布局、许可协议、时区、root 的口令)。

  5. 安装完成后,以 root 身份登录。

  6. 继续阅读下一节。

3. 注册 SL Micro 和 SUSE Multi-Linux Manager 5.1 服务器

开始之前,从 SUSE Customer Center (https://scc.suse.com) 获取您的 SUSE Multi-Linux Manager 注册代码。

The SL Micro 6.1 entitlement is included within the SUSE Multi-Linux Manager entitlement, so it does not require a separate registration code.

SUSE Multi-Linux Manager server hosts that are hardened for security may restrict execution of files from the /tmp folder. In such cases, as a workaround, export the TMPDIR environment variable to another existing path before running mgradm. For example:

export TMPDIR=/path/to/other/tmp

In SUSE Multi-Linux Manager updates, tools will be changed to make this workaround unnecessary.

过程:注册 SL Micro 和 SUSE Multi-Linux Manager 5.1
  1. 引导虚拟机。

  2. root 身份登录。

  3. Register SL Micro with SCC.

    transactional-update register -r <注册代码> -e <您的电子邮件地址>
  4. 重引导。

  5. 在 SUSE Customer Center 中注册 SUSE Multi-Linux Manager 5.1。

    transactional-update register -p Multi-Linux-Manager-Server/5.1/x86_64 -r <REGCODE>
  6. 重引导

  7. 更新系统:

    transactional-update
  8. 如果已应用更新,请重引导。

  9. 此步骤是可选的。但是,如果您的基础架构需要自定义的永久性存储,请使用 mgr-storage-server 工具。 有关详细信息,请参见 mgr-storage-server --help。此工具可以简化容器存储和数据库卷的创建。

  10. Execute one of the following commands, depending on the SSL certificate variant (self-signed or third-party). Replace <FQDN> with your fully qualified domain name of the SUSE Multi-Linux Manager Server:

    • Using self-signed certificates provided by SUSE Multi-Linux Manager:

      mgradm install podman <FQDN>
    • With importing SSL certificates using third-party SSL certificate flags (the example can adjusted if not all these certificates are needed):

      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.