Interface HealthMonitoring.Builder

  • Method Details

    • 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 specify repairAction with this mode.

      • STANDARD – Continuously checks running instances for hardware and software faults.

      Parameters:
      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 specify repairAction with this mode.

      • STANDARD – Continuously checks running instances for hardware and software faults.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 specify repairAction with this mode.

      • STANDARD – Continuously checks running instances for hardware and software faults.

      Parameters:
      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 specify repairAction with this mode.

      • STANDARD – Continuously checks running instances for hardware and software faults.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • repairAction

      HealthMonitoring.Builder repairAction(String repairAction)

      The action that PCS takes when health monitoring finds a fault on an instance. You can't specify this value when mode is NONE. If you don't specify this value and mode isn't NONE, PCS uses AUTO. GetComputeNodeGroup doesn't return a repairAction that you didn't specify. Valid values:

      • AUTO – 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.

      Parameters:
      repairAction - The action that PCS takes when health monitoring finds a fault on an instance. You can't specify this value when mode is NONE. If you don't specify this value and mode isn't NONE, PCS uses AUTO. GetComputeNodeGroup doesn't return a repairAction that you didn't specify. Valid values:

      • AUTO – 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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • repairAction

      The action that PCS takes when health monitoring finds a fault on an instance. You can't specify this value when mode is NONE. If you don't specify this value and mode isn't NONE, PCS uses AUTO. GetComputeNodeGroup doesn't return a repairAction that you didn't specify. Valid values:

      • AUTO – 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.

      Parameters:
      repairAction - The action that PCS takes when health monitoring finds a fault on an instance. You can't specify this value when mode is NONE. If you don't specify this value and mode isn't NONE, PCS uses AUTO. GetComputeNodeGroup doesn't return a repairAction that you didn't specify. Valid values:

      • AUTO – 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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: