yumapro  23.10T-7
YumaPro SDK
Loading...
Searching...
No Matches
agt_yp_ha_active.h File Reference

YumaPro High Availability module (YP-HA). More...

#include "agt_yp_ha.h"
#include "status_enum.h"
Include dependency graph for agt_yp_ha_active.h:

Go to the source code of this file.

Functions

status_t agt_yp_ha_active_setup (yp_ha_service_t *ha_serv)
 One time pre-init YP-HA Active mode. More...
 
status_t agt_yp_ha_active_go (yp_ha_service_t *ha_serv)
 Go into YP-HA Active server mode. More...
 
void agt_yp_ha_active_stop (yp_ha_service_t *ha_serv)
 Exit from YP-HA Active server mode. More...
 
void agt_yp_ha_active_init (yp_ha_service_t *ha_serv)
 Initialize the YP-HA Active module. More...
 
void agt_yp_ha_active_cleanup (yp_ha_service_t *ha_serv)
 Cleanup the YP-HA Active module. More...
 
void agt_yp_ha_active_cleanup_server (yp_ha_service_t *ha_serv, yp_ha_server_t *ha_server)
 Cleanup the YP-HA Active Server subsystem record. More...
 
status_t agt_yp_ha_active_config_update (yp_ha_service_t *ha_serv, rpc_msg_t *msg, agt_cfg_transaction_t *txcb)
 Do a config update in the active role. More...
 
status_t agt_yp_ha_active_nvstore (yp_ha_service_t *ha_serv)
 Do an <nvstore> command to the standby servers. More...
 
void agt_yp_ha_active_mod_event (yp_ha_service_t *ha_serv, const xmlChar *name, const xmlChar *revision, val_value_t *inputval, boolean is_module, boolean is_load)
 Generate a module event. More...
 
status_t agt_yp_ha_active_get_config_info (yp_ha_service_t *ha_serv, ncx_transaction_id_t *config_id, const xmlChar **config_stamp)
 Get the config ID and timestamp info. More...
 

Detailed Description

YumaPro High Availability module (YP-HA).

HA Active Mode