Skip to content

/AWS1/CL_HPPNODELCACTIONS

The lifecycle actions configured on a compute node group. Lifecycle actions define scripts that PCS runs on compute nodes at specific stages of their lifecycle.

CONSTRUCTOR

IMPORTING

Required arguments:

io_stages TYPE REF TO /AWS1/CL_HPPNODELCSTAGES /AWS1/CL_HPPNODELCSTAGES

The lifecycle stages where you configure scripts to run.

Optional arguments:

iv_scriptcachingpolicy TYPE /AWS1/HPPSCRIPTCACHINGPOLICY /AWS1/HPPSCRIPTCACHINGPOLICY

The caching policy for node lifecycle scripts. The default value is CACHE_ONCE. Valid values:

  • CACHE_ONCE – Downloads each script once and reuses it on subsequent boots.

  • REFRESH_ON_REBOOT – Downloads each script on every boot.


Queryable Attributes

stages

The lifecycle stages where you configure scripts to run.

Accessible with the following methods

Method Description
GET_STAGES() Getter for STAGES

scriptCachingPolicy

The caching policy for node lifecycle scripts. The default value is CACHE_ONCE. Valid values:

  • CACHE_ONCE – Downloads each script once and reuses it on subsequent boots.

  • REFRESH_ON_REBOOT – Downloads each script on every boot.

Accessible with the following methods

Method Description
GET_SCRIPTCACHINGPOLICY() Getter for SCRIPTCACHINGPOLICY, with configurable default
ASK_SCRIPTCACHINGPOLICY() Getter for SCRIPTCACHINGPOLICY w/ exceptions if field has no
HAS_SCRIPTCACHINGPOLICY() Determine if SCRIPTCACHINGPOLICY has a value