pacemaker  2.1.7-0f7f88312f
Scalable High-Availability cluster resource manager
Data Fields
lrmd_event_data_s Struct Reference

#include <include/crm/lrmd_events.h>

Data Fields

enum lrmd_callback_event type
 
const char * rsc_id
 
const char * op_type
 
const char * user_data
 
int call_id
 
int timeout
 
guint interval_ms
 
int start_delay
 
int rsc_deleted
 
enum ocf_exitcode rc
 
int op_status
 
const char * output
 
unsigned int t_run
 
unsigned int t_rcchange
 
unsigned int exec_time
 
unsigned int queue_time
 
int connection_rc
 
void * params
 
const char * remote_nodename
 
const char * exit_reason
 

Detailed Description

Definition at line 36 of file lrmd_events.h.

Field Documentation

◆ call_id

int lrmd_event_data_s::call_id

The client api call id associated with this event

Definition at line 48 of file lrmd_events.h.

◆ connection_rc

int lrmd_event_data_s::connection_rc

int connection result. Used for connection and poke events

Definition at line 84 of file lrmd_events.h.

◆ exec_time

unsigned int lrmd_event_data_s::exec_time

Time in length op took to execute

Definition at line 78 of file lrmd_events.h.

◆ exit_reason

const char* lrmd_event_data_s::exit_reason

exit failure reason string from resource agent operation

Definition at line 96 of file lrmd_events.h.

◆ interval_ms

guint lrmd_event_data_s::interval_ms

The operation's recurring interval in ms.

Definition at line 54 of file lrmd_events.h.

◆ op_status

int lrmd_event_data_s::op_status

The executor status returned for exec_complete events

Definition at line 66 of file lrmd_events.h.

◆ op_type

const char* lrmd_event_data_s::op_type

The action performed, start, stop, monitor...

Definition at line 43 of file lrmd_events.h.

◆ output

const char* lrmd_event_data_s::output

stdout from resource agent operation

Definition at line 69 of file lrmd_events.h.

◆ params

void* lrmd_event_data_s::params

Definition at line 88 of file lrmd_events.h.

◆ queue_time

unsigned int lrmd_event_data_s::queue_time

Time in length spent in queue

Definition at line 81 of file lrmd_events.h.

◆ rc

enum ocf_exitcode lrmd_event_data_s::rc

The executed ra return code mapped to OCF

Definition at line 63 of file lrmd_events.h.

◆ remote_nodename

const char* lrmd_event_data_s::remote_nodename

client node name associated with this connection (used to match actions to the proper client when there are multiple)

Definition at line 93 of file lrmd_events.h.

◆ rsc_deleted

int lrmd_event_data_s::rsc_deleted

This operation that just completed is on a deleted rsc.

Definition at line 60 of file lrmd_events.h.

◆ rsc_id

const char* lrmd_event_data_s::rsc_id

The resource this event occurred on.

Definition at line 41 of file lrmd_events.h.

◆ start_delay

int lrmd_event_data_s::start_delay

The operation's start delay value in ms.

Definition at line 57 of file lrmd_events.h.

◆ t_rcchange

unsigned int lrmd_event_data_s::t_rcchange

Timestamp of last rc change

Definition at line 75 of file lrmd_events.h.

◆ t_run

unsigned int lrmd_event_data_s::t_run

Timestamp of when op ran

Definition at line 72 of file lrmd_events.h.

◆ timeout

int lrmd_event_data_s::timeout

The operation's timeout period in ms.

Definition at line 51 of file lrmd_events.h.

◆ type

enum lrmd_callback_event lrmd_event_data_s::type

Type of event, register, unregister, call_completed...

Definition at line 38 of file lrmd_events.h.

◆ user_data

const char* lrmd_event_data_s::user_data

The user data passed by caller of exec() API function

Definition at line 45 of file lrmd_events.h.


The documentation for this struct was generated from the following file: