DumbMonit

集成虚拟化和容器

用 DumbMonit 监控 XCP-ng / XenServer

An XCP-ng or XenServer pool through XAPI: hosts disabled or offline, VMs and their power state, storage repositories filling up, and a high-availability pool that can no longer survive the host failures it is set to tolerate.

文档官方网站:XCP-ng

产品说明为英文,与产品内一致。页面标签使用您的语言。

DumbMonit 监控的内容

An XCP-ng or XenServer (Citrix Hypervisor) pool, read through XAPI, the management API every host already runs. No Xen Orchestra is needed.

典型用途. Pool through XAPI: hosts, VMs, storage repositories, high availability

示例

  • XCP-ng 8.2 and 8.3
  • XenServer / Citrix Hypervisor

连接方式

您需要准备

  • User name and passwordThe dumbmonit account, registered on the pool as a subject with the read-only role.

需要开放的网络端口

  • 443/TCPXAPI (HTTPS, default)
设置步骤: Give DumbMonit a read-only XAPI account
  1. On every host of the pool, create a local account with a long random password.

    useradd -M -s /sbin/nologin dumbmonit
    passwd dumbmonit
  2. On the pool coordinator, turn on PAM authentication once.

    xe pool-enable-external-auth auth-type=PAM service-name=pam
  3. Register the account as a subject and note the UUID it prints.

    xe subject-add subject-name=dumbmonit
  4. Give that subject the built-in read-only role, with the UUID.

    xe subject-role-add uuid=SUBJECT_UUID role-name=read-only
  5. In DumbMonit, enter the address of the pool coordinator (for example xcp01.lan) with that user name and password.

注意. If the pool already uses Active Directory, create the account there and skip steps 1 and 2. XCP-ng uses a self-signed certificate: enable "Accept an unverifiable certificate" unless the DumbMonit host trusts it.