升级到 vRA 7.1 时出现“以下节点上未安装 VMware 证书 (The VMware certificate was not installed on the following nodes)”错误
search cancel

升级到 vRA 7.1 时出现“以下节点上未安装 VMware 证书 (The VMware certificate was not installed on the following nodes)”错误

book

Article ID: 341903

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

本文介绍如何从 vRealize Automation postgres 数据库中移除有问题的节点。

Symptoms:
免责声明:本文为 "The VMware certificate was not installed on the following nodes" when upgrading to vRA 7.1 (2146590) 的翻译版本。尽管我们会不断努力为本文提供最佳翻译版本,但本地化的内容可能会过时。有关最新内容,请参见英文版本。

  • 将 vRealize Automation 升级到 vRealize Automation 7.1 失败。
  • 您会看到以下错误:

    以下节点上未安装 VMware 证书 (The VMware certificate was not installed on the following nodes)。
    <服务器名称> (<Server Names>)


Environment

VMware vRealize Automation 7.1.x
VMware vRealize Automation 7.0.x
VMware vRealize Automation 6.2.x

Cause

当无法从 vRealize Automation 实例访问一个或多个节点或者管理代理与其在 vRealize Automation 数据库中的数据之间存在一些混淆时,会出现此问题。

Resolution

要解决此问题,请在升级到 vRealize Automation 7.1 之前修复通信、管理代理,或者从 vRealize Automation postgres 数据库中移除无效或重复的节点:

  1. 如果节点有效,应该可以访问,请验证以下几项:

    1. 为 vRealize Automation IaaS 服务器生成快照/备份。
    2. 尝试在发生故障的服务器上手动安装 7.1 管理代理,然后重试。
    3. 如果无法访问的节点是 Windows 服务器,则 vRealize Automation 管理代理服务应该正在其上运行。
    4. 节点与从其升级的设备之间的网络连接 (Ping)。
    5. 应该在节点与从其升级的设备之间正确配置 DNS (nslookup)。
    6. 从管理代理日志中查看可能更详细地说明了为什么发生故障的任何错误。

  2. 如果节点无效或者之前已从环境中移除,请从 vRealize Automation 主设备中移除节点条目:

    注意:如果正在 vRealize Automation 7.0.1 或更高版本上运行,请导航到 VAMI 页面中的 vRA 设置 > 群集选项卡,然后在“节点”表中单击删除以移除无效的节点。


    1. 备份 vRealize Automation 设备和 Postgres 数据库。
    2. 通过 SSH 连接到 vRealize Automation 主设备,并按指定的顺序运行以下命令:

      1. cd /opt/vmware/vpostgres/current/bin
      2. su postgres
      3. ./psql vcac

    3. 登录到 postgres 数据库后,按指定的顺序运行以下命令:

      1. \c vcac
      2. \x
      3. select * from cluster_nodes;

    4. 找到要移除的节点的 node_id,并运行以下命令:

      1. delete from cluster_nodes where node_id = '<ID from previous step>';

  3. 重新运行升级。


Additional Information

要在更新本文时收到提醒,请在“Actions”框中单击 Subscribe to Article。