pacemaker  2.1.7-0f7f88312f
Scalable High-Availability cluster resource manager
action_relation_internal.h
Go to the documentation of this file.
1 /*
2  * Copyright 2023 the Pacemaker project contributors
3  *
4  * The version control history for this file may have further details.
5  *
6  * This source code is licensed under the GNU Lesser General Public License
7  * version 2.1 or later (LGPLv2.1+) WITHOUT ANY WARRANTY.
8  */
9 
10 #ifndef PCMK__CRM_COMMON_ACTION_RELATION_INTERNAL__H
11 # define PCMK__CRM_COMMON_ACTION_RELATION_INTERNAL__H
12 
22 
24  pcmk__ar_ordered = (1U << 0),
25 
28 
35 
41 
47 
53 
56 
59 
62 
73 
89 
100  pcmk__ar_serialize = (1U << 14),
101 
104 
107 
110 
112  pcmk__ar_asymmetric = (1U << 20),
113 
116 
118  pcmk__ar_min_runnable = (1U << 22),
119 
122 
125 
128 };
129 
131 
132 #endif // PCMK__CRM_COMMON_ACTION_RELATION_INTERNAL__H
Relation applies only if actions are on same node.
&#39;then&#39; is runnable (and migratable) only if &#39;first&#39; is runnable
Actions are ordered if on same node (or migration target for migrate_to)
User-configured asymmetric ordering.
If &#39;first&#39; is unrunnable, &#39;then&#39; becomes a real, unmigratable action.
If &#39;first&#39; is required, &#39;then&#39; action for instance on same node is.
Ordering applies even if &#39;first&#39; runs on guest node created by &#39;then&#39;.
pcmk__action_relation_flags
Actions are ordered (optionally, if no other flags are set)
Ordering applies only if &#39;first&#39; is required and on same node as &#39;then&#39;.
If &#39;then&#39; is required, &#39;first&#39; must be added to the transition graph.
If &#39;first&#39; is required and runnable, &#39;then&#39; must be in graph.
Relation applies only if &#39;first&#39; cannot be part of a live migration.
If &#39;then&#39; action becomes required, &#39;first&#39; becomes optional.
&#39;then&#39; action is runnable if certain number of &#39;first&#39; instances are
No relation (compare with equality rather than bit set)