pacemaker
2.1.7-0f7f88312f
Scalable High-Availability cluster resource manager
|
Implementation of pcmk_resource_t. More...
#include <include/crm/common/resources.h>
Data Fields | |
char * | id |
Resource ID in configuration. More... | |
char * | clone_name |
Resource instance ID in history. More... | |
xmlNode * | xml |
Resource configuration (possibly expanded from template) More... | |
xmlNode * | orig_xml |
Original resource configuration, if using template. More... | |
xmlNode * | ops_xml |
Configuration of resource operations (possibly expanded from template) More... | |
pcmk_scheduler_t * | cluster |
Cluster that resource is part of. More... | |
pcmk_resource_t * | parent |
Resource's parent resource, if any. More... | |
enum pe_obj_types | variant |
Resource variant. More... | |
void * | variant_opaque |
Variant-specific (and private) data. More... | |
pcmk_rsc_methods_t * | fns |
Resource object methods. More... | |
pcmk_assignment_methods_t * | cmds |
Resource assignment methods. More... | |
enum rsc_recovery_type | recovery_type |
How to recover if failed. More... | |
enum pe_restart | restart_type |
int | priority |
Configured priority. More... | |
int | stickiness |
Extra preference for current node. More... | |
int | sort_index |
Promotion score on assigned node. More... | |
int | failure_timeout |
Failure timeout. More... | |
int | migration_threshold |
Migration threshold. More... | |
guint | remote_reconnect_ms |
Retry interval for remote connections. More... | |
char * | pending_task |
Pending action in history, if any. More... | |
unsigned long long | flags |
Group of enum pcmk_rsc_flags. More... | |
gboolean | is_remote_node |
Whether this is a remote connection. More... | |
gboolean | exclusive_discover |
Whether exclusive probing is enabled. More... | |
pcmk_node_t * | allocated_to |
Node resource is assigned to. More... | |
pcmk_node_t * | partial_migration_target |
The destination node, if migrate_to completed but migrate_from has not. More... | |
pcmk_node_t * | partial_migration_source |
The source node, if migrate_to completed but migrate_from has not. More... | |
GList * | running_on |
Nodes where resource may be active. More... | |
GHashTable * | known_on |
Nodes where resource has been probed (key is node ID, not name) More... | |
GHashTable * | allowed_nodes |
Nodes where resource may run (key is node ID, not name) More... | |
enum rsc_role_e | role |
Resource's current role. More... | |
enum rsc_role_e | next_role |
Resource's scheduled next role. More... | |
GHashTable * | meta |
Resource's meta-attributes. More... | |
GHashTable * | parameters |
GHashTable * | utilization |
Resource's utilization attributes. More... | |
GList * | children |
Resource's child resources, if any. More... | |
GList * | dangling_migrations |
pcmk_resource_t * | container |
Resource containing this one, if any. More... | |
GList * | fillers |
Resources contained by this one, if any. More... | |
pcmk_node_t * | pending_node |
Node on which pending_task is happening. More... | |
pcmk_node_t * | lock_node |
Resource shutdown-locked to this node. More... | |
time_t | lock_time |
When shutdown lock started. More... | |
GHashTable * | parameter_cache |
GList * | rsc_cons_lhs |
GList * | rsc_cons |
GList * | rsc_location |
GList * | actions |
GList * | rsc_tickets |
Implementation of pcmk_resource_t.
Definition at line 399 of file resources.h.
GList* pe_resource_s::actions |
This field should be treated as internal to Pacemaker
Definition at line 447 of file resources.h.
pcmk_node_t* pe_resource_s::allocated_to |
Node resource is assigned to.
Definition at line 451 of file resources.h.
GHashTable* pe_resource_s::allowed_nodes |
Nodes where resource may run (key is node ID, not name)
Definition at line 466 of file resources.h.
GList* pe_resource_s::children |
Resource's child resources, if any.
Definition at line 475 of file resources.h.
char* pe_resource_s::clone_name |
Resource instance ID in history.
Definition at line 401 of file resources.h.
pcmk_scheduler_t* pe_resource_s::cluster |
Cluster that resource is part of.
Definition at line 412 of file resources.h.
pcmk_assignment_methods_t* pe_resource_s::cmds |
Resource assignment methods.
Definition at line 417 of file resources.h.
pcmk_resource_t* pe_resource_s::container |
Resource containing this one, if any.
Definition at line 480 of file resources.h.
GList* pe_resource_s::dangling_migrations |
Definition at line 478 of file resources.h.
gboolean pe_resource_s::exclusive_discover |
Whether exclusive probing is enabled.
Definition at line 433 of file resources.h.
int pe_resource_s::failure_timeout |
Failure timeout.
Definition at line 425 of file resources.h.
GList* pe_resource_s::fillers |
Resources contained by this one, if any.
Definition at line 481 of file resources.h.
unsigned long long pe_resource_s::flags |
Group of enum pcmk_rsc_flags.
Definition at line 429 of file resources.h.
pcmk_rsc_methods_t* pe_resource_s::fns |
Resource object methods.
Definition at line 416 of file resources.h.
char* pe_resource_s::id |
Resource ID in configuration.
Definition at line 400 of file resources.h.
gboolean pe_resource_s::is_remote_node |
Whether this is a remote connection.
Definition at line 432 of file resources.h.
GHashTable* pe_resource_s::known_on |
Nodes where resource has been probed (key is node ID, not name)
Definition at line 463 of file resources.h.
pcmk_node_t* pe_resource_s::lock_node |
Resource shutdown-locked to this node.
Definition at line 485 of file resources.h.
time_t pe_resource_s::lock_time |
When shutdown lock started.
Definition at line 487 of file resources.h.
GHashTable* pe_resource_s::meta |
Resource's meta-attributes.
Definition at line 471 of file resources.h.
int pe_resource_s::migration_threshold |
Migration threshold.
Definition at line 426 of file resources.h.
enum rsc_role_e pe_resource_s::next_role |
Resource's scheduled next role.
Definition at line 469 of file resources.h.
xmlNode* pe_resource_s::ops_xml |
Configuration of resource operations (possibly expanded from template)
Definition at line 410 of file resources.h.
xmlNode* pe_resource_s::orig_xml |
Original resource configuration, if using template.
Definition at line 407 of file resources.h.
GHashTable* pe_resource_s::parameter_cache |
Resource parameters may have node-attribute-based rules, which means the values can vary by node. This table has node names as keys and parameter name/value tables as values. Use pe_rsc_params() to get the table for a given node rather than use this directly.
Definition at line 495 of file resources.h.
GHashTable* pe_resource_s::parameters |
Definition at line 472 of file resources.h.
pcmk_resource_t* pe_resource_s::parent |
Resource's parent resource, if any.
Definition at line 413 of file resources.h.
pcmk_node_t* pe_resource_s::partial_migration_source |
The source node, if migrate_to completed but migrate_from has not.
Definition at line 457 of file resources.h.
pcmk_node_t* pe_resource_s::partial_migration_target |
The destination node, if migrate_to completed but migrate_from has not.
Definition at line 454 of file resources.h.
pcmk_node_t* pe_resource_s::pending_node |
Node on which pending_task is happening.
Definition at line 484 of file resources.h.
char* pe_resource_s::pending_task |
Pending action in history, if any.
Definition at line 428 of file resources.h.
int pe_resource_s::priority |
Configured priority.
Definition at line 422 of file resources.h.
enum rsc_recovery_type pe_resource_s::recovery_type |
How to recover if failed.
Definition at line 419 of file resources.h.
guint pe_resource_s::remote_reconnect_ms |
Retry interval for remote connections.
Definition at line 427 of file resources.h.
enum pe_restart pe_resource_s::restart_type |
Definition at line 421 of file resources.h.
enum rsc_role_e pe_resource_s::role |
Resource's current role.
Definition at line 468 of file resources.h.
GList* pe_resource_s::rsc_cons |
This field should be treated as internal to Pacemaker
Definition at line 445 of file resources.h.
GList* pe_resource_s::rsc_cons_lhs |
This field should be treated as internal to Pacemaker
Definition at line 444 of file resources.h.
GList* pe_resource_s::rsc_location |
This field should be treated as internal to Pacemaker
Definition at line 446 of file resources.h.
GList* pe_resource_s::rsc_tickets |
This field should be treated as internal to Pacemaker
Definition at line 448 of file resources.h.
GList* pe_resource_s::running_on |
Nodes where resource may be active.
Definition at line 460 of file resources.h.
int pe_resource_s::sort_index |
Promotion score on assigned node.
Definition at line 424 of file resources.h.
int pe_resource_s::stickiness |
Extra preference for current node.
Definition at line 423 of file resources.h.
GHashTable* pe_resource_s::utilization |
Resource's utilization attributes.
Definition at line 473 of file resources.h.
enum pe_obj_types pe_resource_s::variant |
Resource variant.
Definition at line 414 of file resources.h.
void* pe_resource_s::variant_opaque |
Variant-specific (and private) data.
Definition at line 415 of file resources.h.
xmlNode* pe_resource_s::xml |
Resource configuration (possibly expanded from template)
Definition at line 404 of file resources.h.