升级到 vRealize Operations Manager 6.4 后,对象不显示收集状态
search cancel

升级到 vRealize Operations Manager 6.4 后,对象不显示收集状态

book

Article ID: 342844

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

Symptoms:
免责声明:本文为 After upgrading to vRealize Operations Manager 6.4 Objects show no Collection Status 的翻译版本。尽管我们会不断努力为本文提供最佳翻译版本,但本地化的内容可能会过时。有关最新内容,请参见英文版本。
 
  • 升级到 vRealize Operations Manager 6.4 后,某些对象不显示收集状态。
  • 升级到 vRealize Operations Manager 6.4 后,某些仪表板不显示任何数据。
  • 在 /storage/vcops/log/analytics-uuid.log 文件中,您会看到类似以下内容的条目:

    Note: The preceding log excerpts are only examples. Dates, times, and environmental variables may vary depending on your environment.


Environment

VMware vRealize Operations Manager 6.2.x
VMware vRealize Operations Manager 6.4.x
VMware vRealize Operations Manager 6.6.x
VMware vRealize Operations Manager 6.5.x
VMware vRealize Operations Manager 6.3.x
VMware vRealize Operations Manager (Standalone) 5.8.x
VMware vRealize Operations Manager 6.0.x
VMware vRealize Operations Manager 6.1.x

Cause

出现此问题的原因是,某些 HDS 属性的数据类型不一致。数据类型仅定义为数字,但也可以是字符串数据。

启动适配器时,这会导致出现 NumberFormatException 错误。

Resolution

这是影响升级到 6.4 且曾从 5.8.x 部署导入数据的 vRealize Operations Manager 群集的已知问题。


要解决该问题,请执行以下操作:
  1. 以 root 用户身份登录到每个 vRealize Operations Manager 分析节点。
     
  2. 如果上述命令返回的 property_value_string 为 "Unlimited",则还应运行下一个命令。如果未出现 "Unlimited",说明数据没有问题,则不需要运行第二个命令。 

    su - postgres -c "/opt/vmware/vpostgres/9.3/bin/psql -d vcopsdb -p 5432 -c \"UPDATE hd_resource_property_history SET property_value_string = '-1.0' where property_instance_id 

     
  3. After completing this on all Analytic nodes within the Cluster, you will need to take the Cluster offline via the Admin UI.
To restart the cluster:
  1. Log into the vRealize Operations Manager Admin UI.
  2. Click Take Offline.
  3. Once the Cluster is fully stopped, click Take Online.

    Note: After the Cluster has come online you may need to wait a few collection cycles for the objects to return to a Collecting State.


Additional Information

After upgrading to vRealize Operations Manager 6.4 Objects show no Collection Status