附录 D. 删除 Red Hat Virtualization Manager

您可以使用 engine-cleanup 命令删除 Red Hat Virtualization Manager 的特定组件或所有组件。

注意

总是自动创建 Manager 数据库和 PKI 密钥的压缩存档和配置。这些文件保存在 /var/lib/ovirt-engine/backups/ 下,并分别在相应的文件名中包含 engine-engine-pki- 数据。

流程

  1. 在 Manager 机器中运行以下命令:

    # engine-cleanup
  2. 系统将提示您删除所有 Red Hat Virtualization Manager 组件:

    • 输入 Yes 并按 Enter 删除所有组件:

      Do you want to remove all components? (Yes, No) [Yes]:
    • 键入 No,然后按 Enter 键选择要删除的组件。您可以选择单独保留或删除每个组件:

      Do you want to remove Engine database content? All data will be lost (Yes, No) [No]:
      Do you want to remove PKI keys? (Yes, No) [No]:
      Do you want to remove PKI configuration? (Yes, No) [No]:
      Do you want to remove Apache SSL configuration? (Yes, No) [No]:
  3. 您会给另一个机会更改您的想法,并取消删除 Red Hat Virtualization Manager。如果选择继续,则 ovirt-engine 服务将停止,并且根据您选择的选项删除您的环境配置。

    During execution engine service will be stopped (OK, Cancel) [OK]:
    ovirt-engine is about to be removed, data will be lost (OK, Cancel) [Cancel]:OK
  4. 删除 Red Hat Virtualization 软件包:

    # yum remove rhvm* vdsm-bootstrap