解决了

PCVM类型或注释未设置警报

  • 2018年11月2日
  • 2个答复
  • 1824年的观点

Userlevel 1
徽章 +2
有什么想法在Prism Central中如何解决此警报?
图标

最好的答案Nishantpanchal2018年11月3日,09:15

Description<\/b>[\/h4]
\r\nThe NCC health check pcvm_type_annotation_check <\/b>verifies if the annotation or vm_type is set for Prism Central (PC) VMs in a PC cluster. The check will throw a WARN status if neither of the two are set right.
\r\n
\r\nNote: This NCC check and the corresponding alert is introduced on Prism Central in NCC 3.6.2.1. This check is valid only for Prism Central clusters which are on version 5.5 or higher.
\r\n
\r\n
\r\nRunning the NCC check<\/u><\/b>
\r\nYou can run this check as part of the complete NCC Health Checks :
\r\n
code:<\/b>
nutanix@cvm$ ncc health_checks run_all
<\/pre><\/div>
\r\n
\r\n
code:<\/b>
Or you can run this check separately :nutanix@cvm$ ncc health_checks pcvm_checks pcvm_type_annotation_check
<\/pre><\/div>
\r\n
\r\nSample Output<\/u><\/b>
\r\n
\r\n
code:<\/b>
For Status : PASSRunning \/health_checks\/pcvm_checks\/pcvm_type_annotation_check [ PASS ]
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+-----------------------+
| State | Count |
+-----------------------+
| Pass | 1 |
| Total Plugins | 1 |
+-----------------------+
<\/pre><\/div>
\r\n
\r\n
code:<\/b>
For Status : INFODetailed information for pcvm_type_annotation_check:
Node xx.xx.xx.241:
INFO: Could not run the check as host PE not registered to this PC. Please register the host PE to this PC.
Refer to KB 6027 (http:\/\/portal.nutanix.com\/kb\/6027) for details on pcvm_type_annotation_check or Recheck with: ncc health_checks pcvm_checks pcvm_type_annotation_check
<\/pre><\/div>
\r\n
\r\n
code:<\/b>
For Status : WARNDetailed information for pcvm_type_annotation_check:
Node xx.xx.xx.241:
WARN: vm_type and vm_annotation not set for xx.xx.xx.241.

Refer to KB 6027 (http:\/\/portal.nutanix.com\/kb\/6027) for details on pcvm_type_annotation_check or Recheck with: ncc health_checks pcvm_checks pcvm_type_annotation_check
<\/pre><\/div>
\r\n[h4]Solution<\/b>[\/h4]
\r\n[h4]INFO status<\/b>[\/h4]
\r\nIf the NCC check pcvm_type_annotation_check <\/b>returns an INFO status, the check indicates that the Prism Central Cluster is not registered to the Prism Element Cluster where it is hosted. As a result, the check cannot find the information it needs. This check is run only if Prism Central is registered to its host Prism Element Cluster.
\r\n
\r\n[h4]WARN status<\/b>[\/h4]
\r\nIf the NCC check pcvm_type_annotation_check <\/b>returns a WARN status, the check indicates that one or more of the Prism Central VMs in the PC Scale Out cluster do not have either the vm_type set or the right annotation set.
\r\n
\r\nAnnotation (or VM description) for a Prism Central VM is set to \"NutanixPrismCentral\" for a newly 1-click-deployed Prism Central VM since version 5.5.
\r\nvm_type is set for a newly 1-click-deployed Prism Central VM since version 5.6.
\r\n
\r\nEither one of the above settings are necessary to implement the best practice restrictions on a Prism Central VM. To get more details on these restrictions and to resolve the WARN status, follow KB 5418<\/a>.
\r\n
\r\n
\r\nhttps:\/\/portal.nutanix.com\/#\/page\/kbs\/details?targetId=kA00e000000LK8XCAW","className":"post__content__best_answer"}">
查看原件

该主题已关闭以供评论

2个答复

UserLevel 3
徽章 +7
[H4]描述[/H4]
NCC健康检查pcvm_type_annotation_check验证是否为PC群集中的Prism Central(PC)VM设置了注释或VM_TYPE。如果两个都不正确,则支票将发出警告状态。

注意:此NCC检查和相应的警报是在NCC 3.6.2.1中的Prism Central上引入的。此检查仅适用于5.5版或更高版本上的Prism Central群集。


运行NCC检查
您可以作为完整的NCC健康检查的一部分运行此检查:
代码:
nutanix@cvm $ ncc health_checks run_all


代码:
或者,您可以单独运行此检查:Nutanix@cvm $ ncc health_checks pcvm_checks pcvm_type_annotation_check


样本输出

代码:
状态:Passrunning/health_checks/pcvm_checks/pcvm_type_annotation_check [pass]
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+-----------------------------+
|状态|计数|
+-----------------------------+
|通过|1 |
|总插件|1 |
+-----------------------------+


代码:
状态:PCVM_TYPE_ANNOTATION_CHECK的InfoDeTailed信息:
节点xx.xx.xx.241:
信息:无法将检查作为主机PE未注册到此PC的主机。请在此PC上注册主机PE。
有关PCVM_TYPE_ANNOTATION_CHECK或与:NCC Health_checks pcvm_checks pcvm_type_annotation_annotation_check,请参阅KB 6027(http://portal.nutanix.com/kb/6027))


代码:
用于状态:pcvm_type_annotation_check的警告信息:
节点xx.xx.xx.241:
警告:vm_type和vm_annotation未设置xx.xx.xx.241。

有关PCVM_TYPE_ANNOTATION_CHECK或与:NCC Health_checks pcvm_checks pcvm_type_annotation_annotation_check,请参阅KB 6027(http://portal.nutanix.com/kb/6027))

[H4]解决方案[/H4]
[H4]信息状态[/H4]
如果NCC检查pcvm_type_annotation_check返回信息状态,检查表明Prism Central群集未注册到托管的Prism Element群集。结果,支票找不到所需的信息。仅在将Prism Central注册到其主机Prism Element cluster时,才运行此检查。

[H4]警告状态[/H4]
如果NCC检查pcvm_type_annotation_check返回警告状态,该检查表明PC中的一个或多个Prism Central VM缩放群集没有VM_TYPE集或正确的注释集。

自版本5.5版以来,棱镜中央VM的注释(或VM描述)设置为“ NutanixPrismCentral”。
自版本5.6以来,VM_TYPE设置为新的1键单击的Prism Central VM。

以上设置中的任何一种是对PRISM CENTRAL VM的最佳实践限制所必需的。要获取有关这些限制并解决警告状态的更多详细信息,请关注KB 5418


https://portal.nutanix.com/#/page/kbs/details?targetId=ka00e000000000000lk8xcaw
Learn more about our cookies.<\/a>","cookiepolicy.button":"Accept cookies","cookiepolicy.button.deny":"Deny all","cookiepolicy.link":"Cookie settings","cookiepolicy.modal.title":"Cookie settings","cookiepolicy.modal.content":"We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.<\/a>","cookiepolicy.modal.level1":"Basic
Functional","cookiepolicy.modal.level2":"Normal
Functional + analytics","cookiepolicy.modal.level3":"Complete
Functional + analytics + social media + embedded videos"}}}">
Baidu