Ignore Nodes with CAPMC

Update the Cray Advanced Platform Monitoring and Control (CAPMC) ConfigMap to ignore non-compute nodes (NCNs) and ensure that they cannot be powered off or reset.

Modifying the CAPMC ConfigMap to ignore nodes can prevent them from accidentally being power cycled.

Nodes can also be locked with the Hardware State Manager (HSM) API. Refer to Lock and Unlock Management Nodes for more information.

Prerequisites

This procedure requires administrative privileges.

Procedure

  1. Edit the CAPMC ConfigMap.

    ncn-m001# kubectl -n services edit configmaps cray-capmc-configuration
    
  2. Uncomment the # BlockRole = ["Management"] value in the [PowerControls.Off], [PowerControls.On], and [PowerControls.ForceRestart] sections.

  3. Save and quit the ConfigMap.

    CAPMC restarts using the new ConfigMap.