Solved

PCVM Type or Annotation not set Alert

  • 2 November 2018
  • 2 replies
  • 2114 views

Userlevel 1
Badge +2
Any ideas what or where to fix this alert in Prism Central?
icon

Best answer by nishantpanchal 3 November 2018, 09:15

View original

This topic has been closed for comments

2 replies

Userlevel 1
Badge +2
Beautiful!

This was my solution

[h4]Solution[/h4]

Please follow these steps to implement the best practice restrictions on each of the Prism Central VMs:

1. Login to the PC UI using admin credentials.
2. Navigate to 'Explore' and click on 'VMs' in the Entities list on the left.
3. Select the PCVM on which you want to implement the best practice and click on the 'Actions' menu.
4. Select 'Update'.
5. In the 'Update VM' window enter the Description as
code:
NutanixPrismCentral


6. Click on 'Save' to close the window.

The restrictions on the PCVM as per the Best Practice should now have been implemented.
Userlevel 3
Badge +7
[h4]Description[/h4]
The NCC health check pcvm_type_annotation_check 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.

Note: 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.


Running the NCC check
You can run this check as part of the complete NCC Health Checks :
code:
nutanix@cvm$ ncc health_checks run_all


code:
Or you can run this check separately :nutanix@cvm$ ncc health_checks pcvm_checks pcvm_type_annotation_check


Sample Output

code:
For Status : PASSRunning /health_checks/pcvm_checks/pcvm_type_annotation_check [ PASS ]
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+-----------------------+
| State | Count |
+-----------------------+
| Pass | 1 |
| Total Plugins | 1 |
+-----------------------+


code:
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


code:
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

[h4]Solution[/h4]
[h4]INFO status[/h4]
If the NCC check pcvm_type_annotation_check 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.

[h4]WARN status[/h4]
If the NCC check pcvm_type_annotation_check 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.

Annotation (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.
vm_type is set for a newly 1-click-deployed Prism Central VM since version 5.6.

Either 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.


https://portal.nutanix.com/#/page/kbs/details?targetId=kA00e000000LK8XCAW