pacemaker  2.1.4-dc6eb4362
Scalable High-Availability cluster resource manager
Data Fields
lrmd_event_data_s Struct Reference

#include <include/crm/lrmd.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 200 of file lrmd.h.

Field Documentation

◆ call_id

int lrmd_event_data_s::call_id

The client api call id associated with this event

Definition at line 212 of file lrmd.h.

◆ connection_rc

int lrmd_event_data_s::connection_rc

int connection result. Used for connection and poke events

Definition at line 238 of file lrmd.h.

◆ exec_time

unsigned int lrmd_event_data_s::exec_time

Time in length op took to execute

Definition at line 233 of file lrmd.h.

◆ exit_reason

const char* lrmd_event_data_s::exit_reason

exit failure reason string from resource agent operation

Definition at line 250 of file lrmd.h.

◆ interval_ms

guint lrmd_event_data_s::interval_ms

The operation's recurring interval in ms.

Definition at line 216 of file lrmd.h.

◆ op_status

int lrmd_event_data_s::op_status

The executor status returned for exec_complete events

Definition at line 225 of file lrmd.h.

◆ op_type

const char* lrmd_event_data_s::op_type

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

Definition at line 207 of file lrmd.h.

◆ output

const char* lrmd_event_data_s::output

stdout from resource agent operation

Definition at line 227 of file lrmd.h.

◆ params

void* lrmd_event_data_s::params

Definition at line 242 of file lrmd.h.

◆ queue_time

unsigned int lrmd_event_data_s::queue_time

Time in length spent in queue

Definition at line 235 of file lrmd.h.

◆ rc

enum ocf_exitcode lrmd_event_data_s::rc

The executed ra return code mapped to OCF

Definition at line 223 of file lrmd.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 247 of file lrmd.h.

◆ rsc_deleted

int lrmd_event_data_s::rsc_deleted

This operation that just completed is on a deleted rsc.

Definition at line 220 of file lrmd.h.

◆ rsc_id

const char* lrmd_event_data_s::rsc_id

The resource this event occurred on.

Definition at line 205 of file lrmd.h.

◆ start_delay

int lrmd_event_data_s::start_delay

The operation's start delay value in ms.

Definition at line 218 of file lrmd.h.

◆ t_rcchange

unsigned int lrmd_event_data_s::t_rcchange

Timestamp of last rc change

Definition at line 231 of file lrmd.h.

◆ t_run

unsigned int lrmd_event_data_s::t_run

Timestamp of when op ran

Definition at line 229 of file lrmd.h.

◆ timeout

int lrmd_event_data_s::timeout

The operation's timeout period in ms.

Definition at line 214 of file lrmd.h.

◆ type

enum lrmd_callback_event lrmd_event_data_s::type

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

Definition at line 202 of file lrmd.h.

◆ user_data

const char* lrmd_event_data_s::user_data

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

Definition at line 209 of file lrmd.h.


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