pacemaker
2.1.7-0f7f88312f
Scalable High-Availability cluster resource manager
|
Scheduler API. More...
#include <sys/types.h>
#include <libxml/tree.h>
#include <glib.h>
#include <crm/common/iso8601.h>
#include <crm/common/actions.h>
#include <crm/common/nodes.h>
#include <crm/common/resources.h>
#include <crm/common/roles.h>
#include <crm/common/scheduler_types.h>
#include <crm/common/tags.h>
#include <crm/common/tickets.h>
Go to the source code of this file.
Data Structures | |
struct | pe_working_set_s |
Implementation of pcmk_scheduler_t. More... | |
Scheduler API.
Definition in file scheduler.h.
enum pcmk_scheduler_flags |
Scheduling options and conditions.
Enumerator | |
---|---|
pcmk_sched_none | No scheduler flags set (compare with equality rather than bit set) |
pcmk_sched_quorate | Whether partition has quorum (via have-quorum property) |
pcmk_sched_symmetric_cluster | Whether cluster is symmetric (via symmetric-cluster property) |
pcmk_sched_in_maintenance | Whether cluster is in maintenance mode (via maintenance-mode property) |
pcmk_sched_fencing_enabled | Whether fencing is enabled (via stonith-enabled property) |
pcmk_sched_have_fencing | Whether cluster has a fencing resource (via CIB resources) |
pcmk_sched_enable_unfencing | Whether any resource provides or requires unfencing (via CIB resources) |
pcmk_sched_concurrent_fencing | Whether concurrent fencing is allowed (via concurrent-fencing property) |
pcmk_sched_stop_removed_resources | Whether resources removed from the configuration should be stopped (via stop-orphan-resources property) |
pcmk_sched_cancel_removed_actions | Whether recurring actions removed from the configuration should be cancelled (via stop-orphan-actions property) |
pcmk_sched_stop_all | Whether to stop all resources (via stop-all-resources property) |
pcmk_sched_start_failure_fatal | Whether start failure should be treated as if migration-threshold is 1 (via start-failure-is-fatal property) |
pcmk_sched_remove_after_stop |
|
pcmk_sched_startup_fencing | Whether unseen nodes should be fenced (via startup-fencing property) |
pcmk_sched_shutdown_lock | Whether resources should be left stopped when their node shuts down cleanly (via shutdown-lock property) |
pcmk_sched_probe_resources | Whether resources' current state should be probed (when unknown) before scheduling any other actions (via the enable-startup-probes property) |
pcmk_sched_have_status | Whether the CIB status section has been parsed yet. |
pcmk_sched_have_remote_nodes | Whether the cluster includes any Pacemaker Remote nodes (via CIB) |
pcmk_sched_location_only | Whether to skip unpacking the CIB status section and stop the scheduling sequence after applying node-specific location criteria (skipping assignment, ordering, actions, etc.). |
pcmk_sched_sanitized | Whether sensitive resource attributes have been masked. |
pcmk_sched_no_counts | Skip counting of total, disabled, and blocked resource instances. |
pcmk_sched_no_compat | Skip deprecated code kept solely for backward API compatibility (internal code should always set this) |
pcmk_sched_output_scores | Whether node scores should be output instead of logged. |
pcmk_sched_show_utilization | Whether to show node and resource utilization (in log or output) |
pcmk_sched_validate_only | Whether to stop the scheduling sequence after unpacking the CIB, calculating cluster status, and applying node health (skipping applying node-specific location criteria, assignment, etc.) |
Definition at line 64 of file scheduler.h.
enum pe_quorum_policy |
Possible responses to loss of quorum.
Enumerator | |
---|---|
pcmk_no_quorum_freeze | |
pcmk_no_quorum_stop | |
pcmk_no_quorum_ignore | |
pcmk_no_quorum_fence | |
pcmk_no_quorum_demote | |
no_quorum_freeze |
|
no_quorum_stop |
|
no_quorum_ignore |
|
no_quorum_suicide |
|
no_quorum_demote |
|
Definition at line 38 of file scheduler.h.