Class DeepHealthCheckOnStart
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DeepHealthCheckOnStart.Builder,DeepHealthCheckOnStart>
The deep health check that runs each time an instance starts, including after a reboot, before the compute node accepts jobs.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()profile()The deep health check profile to run.final StringThe deep health check profile to run.The action that PCS takes when an instance fails the deep health check.final StringThe action that PCS takes when an instance fails the deep health check.static Class<? extends DeepHealthCheckOnStart.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
profile
The deep health check profile to run. Each profile other than
NONEruns NVIDIA Data Center GPU Manager (DCGM) diagnostics. More thorough profiles run more tests and add more time to instance launch. A profile other thanNONErequires instance types with NVIDIA GPUs. This value is required when you specifyonStart. There is no default value. Valid values:-
NONE– Turns off the deep health check. You can't specifyrepairActionwith this profile. -
QUICK– Runs basic GPU tests (DCGM diagnostics level 1). This profile adds the least time to instance launch. -
MEDIUM– Runs extended GPU tests (DCGM diagnostics level 2). -
LONG– Runs GPU stress and diagnostic tests (DCGM diagnostics level 3). This profile adds the most time to instance launch.
If the service returns an enum value that is not available in the current SDK version,
profilewill returnDeepHealthCheckOnStartProfile.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromprofileAsString().- Returns:
- The deep health check profile to run. Each profile other than
NONEruns NVIDIA Data Center GPU Manager (DCGM) diagnostics. More thorough profiles run more tests and add more time to instance launch. A profile other thanNONErequires instance types with NVIDIA GPUs. This value is required when you specifyonStart. There is no default value. Valid values:-
NONE– Turns off the deep health check. You can't specifyrepairActionwith this profile. -
QUICK– Runs basic GPU tests (DCGM diagnostics level 1). This profile adds the least time to instance launch. -
MEDIUM– Runs extended GPU tests (DCGM diagnostics level 2). -
LONG– Runs GPU stress and diagnostic tests (DCGM diagnostics level 3). This profile adds the most time to instance launch.
-
- See Also:
-
-
profileAsString
The deep health check profile to run. Each profile other than
NONEruns NVIDIA Data Center GPU Manager (DCGM) diagnostics. More thorough profiles run more tests and add more time to instance launch. A profile other thanNONErequires instance types with NVIDIA GPUs. This value is required when you specifyonStart. There is no default value. Valid values:-
NONE– Turns off the deep health check. You can't specifyrepairActionwith this profile. -
QUICK– Runs basic GPU tests (DCGM diagnostics level 1). This profile adds the least time to instance launch. -
MEDIUM– Runs extended GPU tests (DCGM diagnostics level 2). -
LONG– Runs GPU stress and diagnostic tests (DCGM diagnostics level 3). This profile adds the most time to instance launch.
If the service returns an enum value that is not available in the current SDK version,
profilewill returnDeepHealthCheckOnStartProfile.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromprofileAsString().- Returns:
- The deep health check profile to run. Each profile other than
NONEruns NVIDIA Data Center GPU Manager (DCGM) diagnostics. More thorough profiles run more tests and add more time to instance launch. A profile other thanNONErequires instance types with NVIDIA GPUs. This value is required when you specifyonStart. There is no default value. Valid values:-
NONE– Turns off the deep health check. You can't specifyrepairActionwith this profile. -
QUICK– Runs basic GPU tests (DCGM diagnostics level 1). This profile adds the least time to instance launch. -
MEDIUM– Runs extended GPU tests (DCGM diagnostics level 2). -
LONG– Runs GPU stress and diagnostic tests (DCGM diagnostics level 3). This profile adds the most time to instance launch.
-
- See Also:
-
-
repairAction
The action that PCS takes when an instance fails the deep health check. You can't specify this value when
profileisNONE. If you don't specify this value andprofileisn'tNONE, PCS usesAUTO.GetComputeNodeGroupdoesn't return arepairActionthat you didn't specify. Valid values:-
AUTO– PCS chooses the repair action based on the fault. -
REPLACE– Replaces the instance before it accepts jobs. -
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.
If the service returns an enum value that is not available in the current SDK version,
repairActionwill returnDeepHealthCheckOnStartRepairAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrepairActionAsString().- Returns:
- The action that PCS takes when an instance fails the deep health check. You can't specify this value when
profileisNONE. If you don't specify this value andprofileisn'tNONE, PCS usesAUTO.GetComputeNodeGroupdoesn't return arepairActionthat you didn't specify. Valid values:-
AUTO– PCS chooses the repair action based on the fault. -
REPLACE– Replaces the instance before it accepts jobs. -
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.
-
- See Also:
-
-
repairActionAsString
The action that PCS takes when an instance fails the deep health check. You can't specify this value when
profileisNONE. If you don't specify this value andprofileisn'tNONE, PCS usesAUTO.GetComputeNodeGroupdoesn't return arepairActionthat you didn't specify. Valid values:-
AUTO– PCS chooses the repair action based on the fault. -
REPLACE– Replaces the instance before it accepts jobs. -
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.
If the service returns an enum value that is not available in the current SDK version,
repairActionwill returnDeepHealthCheckOnStartRepairAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrepairActionAsString().- Returns:
- The action that PCS takes when an instance fails the deep health check. You can't specify this value when
profileisNONE. If you don't specify this value andprofileisn'tNONE, PCS usesAUTO.GetComputeNodeGroupdoesn't return arepairActionthat you didn't specify. Valid values:-
AUTO– PCS chooses the repair action based on the fault. -
REPLACE– Replaces the instance before it accepts jobs. -
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.
-
- See Also:
-
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<DeepHealthCheckOnStart.Builder,DeepHealthCheckOnStart> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-