cluster/cman cman_tool/cman_tool.h cman_tool/j ...
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: pcaulfield at sourceware.org 2008-01-30 15:46:41
Modified files:
cman/cman_tool : cman_tool.h join.c
cman/daemon : ais.c
cman/man : cman_tool.8
Log message:
Improve startup error checking and logging.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/cman_tool/cman_tool.h.diff?cvsroot=cluster&r1=1.14&r2=1.15
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/cman_tool/join.c.diff?cvsroot=cluster&r1=1.53&r2=1.54
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/daemon/ais.c.diff?cvsroot=cluster&r1=1.59&r2=1.60
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/man/cman_tool.8.diff?cvsroot=cluster&r1=1.15&r2=1.16
cman/cman_tool/cman_tool.h +2 -0
@@ -56,6 +56,8 @@#define MAX_MCAST_NAME_LEN 256#define MAX_PATH_LEN 256 +#define DEBUG_STARTUP_ONLY 32 +enum format_opt {FMT_NONE ,
cman/cman_tool/join.c +83 -33
205 lines not on this page · raw message
cman/daemon/ais.c +4 -1
@@ -249,6 +249,7 @@static int cman_exec_init_fn (struct objdb_iface_ver0 *objdb) {unsigned int object_handle; +char pipe_msg[256 ];/* We can only work if our config interface was run first */ if (!config_run)
@@ -273,7 +274,9 @@/* Open local sockets and initialise I/O queues */ cman_init (); -/* Let cman_tool know we are running */ +/* Let cman_tool know we are running and our PID */ +sprintf (pipe_msg,"SUCCESS: %d" ,getpid ()); +write_cman_pipe (pipe_msg);close (startup_pipe); startup_pipe =0 ;
cman/man/cman_tool.8 +2 -0
@@ -290,6 +290,8 @@ .br 16 Interaction with OpenAIS .br +32 Startup debugging (cman_tool join operations only) +.br .SH NOTES .br the