HealthMonitoring
The health monitoring settings of a compute node group. Health monitoring continuously checks running instances for hardware and software faults.
Contents
- mode
-
The health monitoring mode. This value is required when you specify
healthMonitoring. There is no default value. Valid values:-
NONE– Turns off health monitoring. You can't specifyrepairActionwith this mode. -
STANDARD– Continuously checks running instances for hardware and software faults.
Type: String
Valid Values:
NONE | STANDARDRequired: No
-
- repairAction
-
The action that AWS PCS takes when health monitoring finds a fault on an instance. You can't specify this value when
modeisNONE. If you don't specify this value andmodeisn'tNONE, AWS PCS usesAUTO.GetComputeNodeGroupdoesn't return arepairActionthat you didn't specify. Valid values:-
AUTO– AWS PCS chooses the repair action based on the fault. -
REPLACE– Replaces the instance after running jobs finish. -
ISOLATE– Stops new jobs on the instance and keeps the instance running until you investigate. -
NONE– Records the fault in Slurm and leaves the instance available for jobs.
Type: String
Valid Values:
AUTO | REPLACE | ISOLATE | NONERequired: No
-
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: