Previous Topic: ops--How Transient States WorkNext Topic: How to Specify and Store Actions


How SSM Decides What Action to Take

Various events can cause the current and desired operating states of a resource to differ. Therefore, the values in the ACTION_CURRENT and ACTION_DESIRED columns of your action table should take different types of resource state changes into account. For example, you probably want to specify the following pairs of values in the ACTION_CURRENT and ACTION_DESIRED columns of your action table:

ACTION_CURRENT Column Value

ACTION_DESIRED Column Value

Meaning of This Value Pair

UNKNOWN

null

The current state of a resource is UNKNOWN and its desired state is anything else.

DOWN

UP

The current state of a resource is DOWN and its desired state is UP.

UP

DOWN

The current state of a resource is UP and its desired state is DOWN.

ERROR

UP

The current state of a resource is ERROR and its desired state is UP.

ERROR

DOWN

The current state of a resource is ERROR and its desired state is DOWN.

STOPPING

UP

A resource is stopping and its desired state is UP.

STARTING

DOWN

A resource is starting and its desired state is DOWN.