pacemaker 2.1.5-a3f44794f94
Scalable High-Availability cluster resource manager
pcmki_sched_allocate.h
Go to the documentation of this file.
1/*
2 * Copyright 2004-2022 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__PCMKI_PCMKI_SCHED_ALLOCATE__H
11# define PCMK__PCMKI_PCMKI_SCHED_ALLOCATE__H
12
13# include <glib.h>
14# include <crm/common/xml.h>
15# include <crm/pengine/status.h>
16# include <crm/pengine/complex.h>
18# include <crm/pengine/internal.h>
19# include <crm/common/xml.h>
21
28 const pe_node_t *node);
31 const pe_resource_t *orig_rsc,
32 GList *all_rscs, GHashTable *utilization);
34
38void clone_rsc_location(pe_resource_t *rsc, pe__location_t *constraint);
40 const pe_node_t *node);
43extern void clone_append_meta(pe_resource_t * rsc, xmlNode * xml);
45 const pe_resource_t *orig_rsc,
46 GList *all_rscs, GHashTable *utilization);
48
50 pe_action_t *then,
51 const pe_node_t *node, uint32_t flags,
52 uint32_t filter, uint32_t type,
54
55void pcmk__log_transition_summary(const char *filename);
56void clone_create_pseudo_actions(pe_resource_t *rsc, GList *children,
57 notify_data_t **start_notify,
58 notify_data_t **stop_notify);
59#endif
uint64_t flags
Definition: remote.c:3
enum crm_ais_msg_types type
Definition: cpg.c:3
pe_working_set_t * data_set
const char * action
Definition: pcmk_fence.c:30
bool pcmk__bundle_create_probe(pe_resource_t *rsc, pe_node_t *node)
enum pe_action_flags clone_action_flags(pe_action_t *action, const pe_node_t *node)
void pcmk__bundle_create_actions(pe_resource_t *rsc)
void pcmk__clone_shutdown_lock(pe_resource_t *rsc)
void clone_create_actions(pe_resource_t *rsc)
void pcmk__bundle_rsc_location(pe_resource_t *rsc, pe__location_t *constraint)
enum pe_action_flags pcmk__bundle_action_flags(pe_action_t *action, const pe_node_t *node)
void clone_rsc_location(pe_resource_t *rsc, pe__location_t *constraint)
bool clone_create_probe(pe_resource_t *rsc, pe_node_t *node)
void pcmk__bundle_add_utilization(const pe_resource_t *rsc, const pe_resource_t *orig_rsc, GList *all_rscs, GHashTable *utilization)
void pcmk__clone_add_utilization(const pe_resource_t *rsc, const pe_resource_t *orig_rsc, GList *all_rscs, GHashTable *utilization)
void clone_append_meta(pe_resource_t *rsc, xmlNode *xml)
void pcmk__bundle_expand(pe_resource_t *rsc)
void clone_create_pseudo_actions(pe_resource_t *rsc, GList *children, notify_data_t **start_notify, notify_data_t **stop_notify)
void clone_expand(pe_resource_t *rsc)
void pcmk__bundle_shutdown_lock(pe_resource_t *rsc)
void pcmk__log_transition_summary(const char *filename)
uint32_t pcmk__multi_update_actions(pe_action_t *first, pe_action_t *then, const pe_node_t *node, uint32_t flags, uint32_t filter, uint32_t type, pe_working_set_t *data_set)
void clone_internal_constraints(pe_resource_t *rsc)
void pcmk__bundle_internal_constraints(pe_resource_t *rsc)
pe_node_t * pcmk__clone_allocate(pe_resource_t *rsc, const pe_node_t *prefer)
pe_node_t * pcmk__bundle_allocate(pe_resource_t *rsc, const pe_node_t *prefer)
pe_action_flags
Definition: pe_types.h:298
Cluster status and scheduling.
Wrappers for and extensions to libxml2.