pacemaker
2.1.7-0f7f88312f
Scalable High-Availability cluster resource manager
|
Scheduler API for resource roles. More...
Go to the source code of this file.
Enumerations | |
enum | rsc_role_e { pcmk_role_unknown = 0, pcmk_role_stopped = 1, pcmk_role_started = 2, pcmk_role_unpromoted = 3, pcmk_role_promoted = 4, RSC_ROLE_UNKNOWN = pcmk_role_unknown, RSC_ROLE_STOPPED = pcmk_role_stopped, RSC_ROLE_STARTED = pcmk_role_started, RSC_ROLE_UNPROMOTED = pcmk_role_unpromoted, RSC_ROLE_SLAVE = pcmk_role_unpromoted, RSC_ROLE_PROMOTED = pcmk_role_promoted, RSC_ROLE_MASTER = pcmk_role_promoted } |
Scheduler API for resource roles.
Definition in file roles.h.
enum rsc_role_e |
Possible roles that a resource can be in (order matters; values can be compared with less than and greater than)
Enumerator | |
---|---|
pcmk_role_unknown | Resource role is unknown. |
pcmk_role_stopped | Stopped. |
pcmk_role_started | Started. |
pcmk_role_unpromoted | Unpromoted. |
pcmk_role_promoted | Promoted. |
RSC_ROLE_UNKNOWN |
|
RSC_ROLE_STOPPED |
|
RSC_ROLE_STARTED |
|
RSC_ROLE_UNPROMOTED |
|
RSC_ROLE_SLAVE |
|
RSC_ROLE_PROMOTED |
|
RSC_ROLE_MASTER |
|