使用 Nutanix 虚拟化

SUSE 是 Nutanix 的生态系统合作伙伴,SUSE Multi-Linux Manager 已获得“Nutanix AHV integrated”类别的 Nutanix Ready 认证。

有关 Nutanix 集成的详细信息,请参见 https://www.nutanix.com/partners/technology-alliances/suse

您可以通过在 SUSE Multi-Linux Manager 中设置虚拟主机管理器 (VHM) 来使用 Nutanix AHV 虚拟机。开始前,您需要在 SUSE Multi-Linux Manager 服务器上设置 VHM,然后清点可用的 VM 主机。

1. VHM 设置

虚拟主机管理器 (VHM) 在 SUSE Multi-Linux Manager 服务器上运行。

Ensure you have installed the virtual-host-gatherer-Nutanix package on the SUSE Multi-Linux Manager Server.

要运行 VHM,必须打开端口 9440 以使您的 SUSE Multi-Linux Manager 服务器可访问 Nutanix Prism Element API。

过程:创建 Nutanix VHM
  1. 在 SUSE Multi-Linux Manager Web UI 中,导航到系统  虚拟主机管理器

  2. Click Create and select Nutanix AHV.

  3. In the Add a Nutanix AHV Virtual Host Manager section, use these parameters:

    • In the Label field, type a custom name for your VHM.

    • In the Hostname field, type the fully qualified domain name (FQDN) or host IP address.

    • In the Port field, type the Prism Element API port to use (for example, 9440).

    • In the Username field, type the username associated with the VM host.

    • In the Password field, type the password associated with the VM host user.

  4. 单击 创建 保存更改并创建 VHM。

  5. On the Virtual Host Managers page select the new VHM.

  6. On the Properties page, click Refresh Data to inventory the new VHM.

要查看已清点的对象和资源,请导航到系统  系统列表  虚拟系统

Connecting to the Nutanix Prism API server from a browser using HTTPS can sometimes log an invalid certificate error. If this occurs, refreshing the data from the virtual host manager fails. A valid SSL certificate (not self-signed) is required on your Nutanix API server. If you are using a custom CA authority for your Nutanix SSL certificate, copy the custom CA certificate to /etc/pki/trust/anchors on the SUSE Multi-Linux Manager Server.

Re-trust the certificate by running the update-ca-certificates command on the command line, and restart the spacewalk services.

创建并配置好 VHM 后,Taskomatic 即会自动运行数据收集过程。如果您要手动进行数据收集,请导航到系统  虚拟主机管理器,选择适当的 VHM,然后单击 刷新数据

SUSE Multi-Linux Manager ships with a tool called virtual-host-gatherer that can connect to VHMs using their API, and request information about virtual hosts. virtual-host-gatherer maintains the concept of optional modules, where each module enables a specific VHM. This tool is automatically invoked nightly by Taskomatic. Log files for the virtual-host-gatherer tool are located at /var/log/rhn/gatherer.log.