Send Linux-ha-cvs mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]
You can reach the person managing the list at
[EMAIL PROTECTED]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Linux-ha-cvs digest..."
Today's Topics:
1. Linux-HA CVS: cts by andrew from
([email protected])
2. Linux-HA CVS: crm by andrew from
([email protected])
3. Linux-HA CVS: include by andrew from
([email protected])
4. Linux-HA CVS: heartbeat by andrew from
([email protected])
5. Linux-HA CVS: tools by andrew from
([email protected])
----------------------------------------------------------------------
Message: 1
Date: Sun, 9 Apr 2006 06:47:14 -0600 (MDT)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: cts by andrew from
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
linux-ha CVS committal
Author : andrew
Host :
Project : linux-ha
Module : cts
Dir : linux-ha/cts
Modified Files:
CIB.py.in
Log Message:
Force DTD validation
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/cts/CIB.py.in,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- CIB.py.in 4 Apr 2006 17:15:43 -0000 1.8
+++ CIB.py.in 9 Apr 2006 12:47:14 -0000 1.9
@@ -183,7 +183,7 @@
</clone>"""
cib_template ='''
-<cib cib_feature_revision="1" have_quorum="false">
+<cib cib_feature_revision="1" have_quorum="false" ignore_dtd="false">
<configuration>
<crm_config> %s
</crm_config>
------------------------------
Message: 2
Date: Sun, 9 Apr 2006 06:47:36 -0600 (MDT)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: crm by andrew from
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
linux-ha CVS committal
Author : andrew
Host :
Project : linux-ha
Module : crm
Dir : linux-ha/crm/crmd
Modified Files:
messages.c
Log Message:
Logging
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/crm/crmd/messages.c,v
retrieving revision 1.146
retrieving revision 1.147
diff -u -3 -r1.146 -r1.147
--- messages.c 19 Feb 2006 20:04:05 -0000 1.146
+++ messages.c 9 Apr 2006 12:47:35 -0000 1.147
@@ -341,6 +341,7 @@
{
fsa_data_t* message = g_list_nth_data(fsa_message_queue, 0);
fsa_message_queue = g_list_remove(fsa_message_queue, message);
+ crm_debug_2("Processing input %d", message->id);
return message;
}
------------------------------
Message: 3
Date: Sun, 9 Apr 2006 06:50:04 -0600 (MDT)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: include by andrew from
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
linux-ha CVS committal
Author : andrew
Host :
Project : linux-ha
Module : include
Dir : linux-ha/include
Modified Files:
ha_msg.h
Log Message:
Daemon for organising attribute updates to the CIB accross all nodes
(part of the ipfail replacement code)
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/include/ha_msg.h,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -3 -r1.78 -r1.79
--- ha_msg.h 21 Dec 2005 02:34:32 -0000 1.78
+++ ha_msg.h 9 Apr 2006 12:50:04 -0000 1.79
@@ -1,4 +1,4 @@
-/* $Id: ha_msg.h,v 1.78 2005/12/21 02:34:32 gshi Exp $ */
+/* $Id: ha_msg.h,v 1.79 2006/04/09 12:50:04 andrew Exp $ */
/*
* Intracluster message object (struct ha_msg)
*
@@ -204,6 +204,7 @@
#define T_STONITH "stonith" /* Stonith return code */
#define T_SHUTDONE "shutdone" /* External Shutdown complete */
#define T_CRM "crmd" /* Cluster resource manager message */
+#define T_ATTRD "attrd" /* Cluster resource manager
message */
#define T_ADDNODE "addnode" /* Add node message*/
#define T_DELNODE "delnode" /* Delete node message*/
#define T_REQNODES "reqnodes" /* Request node list */
------------------------------
Message: 4
Date: Sun, 9 Apr 2006 06:50:04 -0600 (MDT)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: heartbeat by andrew from
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
linux-ha CVS committal
Author : andrew
Host :
Project : linux-ha
Module : heartbeat
Dir : linux-ha/heartbeat
Modified Files:
config.c
Log Message:
Daemon for organising attribute updates to the CIB accross all nodes
(part of the ipfail replacement code)
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/heartbeat/config.c,v
retrieving revision 1.193
retrieving revision 1.194
diff -u -3 -r1.193 -r1.194
--- config.c 23 Feb 2006 20:12:12 -0000 1.193
+++ config.c 9 Apr 2006 12:50:04 -0000 1.194
@@ -1,4 +1,4 @@
-/* $Id: config.c,v 1.193 2006/02/23 20:12:12 alan Exp $ */
+/* $Id: config.c,v 1.194 2006/04/09 12:50:04 andrew Exp $ */
/*
* Parse various heartbeat configuration files...
*
@@ -2396,15 +2396,17 @@
const char * dval;
} r2dirs[] =
/* CCM already implicit */
- { {"apiauth", "cib uid=" HA_CCMUSER}
- , {"apiauth", "stonithd uid=root"}
+ { {"apiauth", "stonithd uid=root"}
/* LRM is not a heartbeat API client */
+ , {"apiauth", "cib uid=" HA_CCMUSER}
, {"apiauth", "crmd uid=" HA_CCMUSER}
+ , {"apiauth", "attrd uid=" HA_CCMUSER}
, {"respawn", " "HA_CCMUSER " " HALIB "/ccm"}
, {"respawn", " "HA_CCMUSER " " HALIB "/cib"}
, {"respawn", "root " HALIB "/stonithd"}
, {"respawn", "root " HALIB "/lrmd"}
+ , {"respawn", " "HA_CCMUSER " " HALIB "/attrd"}
, {"respawn", " "HA_CCMUSER " " HALIB "/crmd"}
};
gboolean dorel2;
@@ -2517,6 +2519,10 @@
/*
* $Log: config.c,v $
+ * Revision 1.194 2006/04/09 12:50:04 andrew
+ * Daemon for organising attribute updates to the CIB accross all nodes
+ * (part of the ipfail replacement code)
+ *
* Revision 1.193 2006/02/23 20:12:12 alan
* Unimportant correction to config.c
*
------------------------------
Message: 5
Date: Sun, 9 Apr 2006 06:50:05 -0600 (MDT)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: tools by andrew from
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
linux-ha CVS committal
Author : andrew
Host :
Project : linux-ha
Module : tools
Dir : linux-ha/tools
Modified Files:
.cvsignore Makefile.am
Added Files:
attrd.c attrd.h attrd_updater.c
Log Message:
Daemon for organising attribute updates to the CIB accross all nodes
(part of the ipfail replacement code)
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/tools/.cvsignore,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- .cvsignore 7 Jan 2006 22:26:52 -0000 1.4
+++ .cvsignore 9 Apr 2006 12:50:04 -0000 1.5
@@ -12,4 +12,5 @@
MISC_ERRORS
ccdv
haresources2cib.py
-
+attrd
+attrd_updater
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/tools/Makefile.am,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- Makefile.am 23 Sep 2005 00:41:19 -0000 1.14
+++ Makefile.am 9 Apr 2006 12:50:04 -0000 1.15
@@ -29,8 +29,11 @@
halibdir = $(libdir)/@HB_PKG@
gliblib = @GLIBLIB@
-habin_PROGRAMS = cl_status cl_respawn
-halib_SCRIPTS = haresources2cib.py
+habin_PROGRAMS = cl_status cl_respawn
+sbin_PROGRAMS = attrd_updater
+halib_SCRIPTS = haresources2cib.py
+halib_PROGRAMS = attrd
+include_HEADERS = attrd.h
## SOURCES
ccdv: $(top_srcdir)/tools/ccdv.c
@@ -52,6 +55,26 @@
$(gliblib) \
$(top_builddir)/replace/libreplace.la
+
+attrd_SOURCES = attrd.c
+attrd_CFLAGS = -DHA_VARLIBDIR='"@HA_VARLIBDIR@"'
+attrd_LDADD = $(CRM_DEBUG_LIBS) \
+ $(top_builddir)/lib/clplumbing/libplumb.la \
+ $(top_builddir)/lib/crm/common/libcrmcommon.la \
+ $(top_builddir)/lib/hbclient/libhbclient.la \
+ $(top_builddir)/lib/crm/cib/libcib.la \
+ $(GLIBLIB) \
+ $(LIBRT)
+
+attrd_updater_SOURCES = attrd_updater.c
+attrd_updater_CFLAGS = -DHA_VARLIBDIR='"@HA_VARLIBDIR@"'
+attrd_updater_LDADD = $(CRM_DEBUG_LIBS) \
+ $(top_builddir)/lib/clplumbing/libplumb.la \
+ $(top_builddir)/lib/crm/common/libcrmcommon.la \
+ $(GLIBLIB) \
+ $(LIBRT)
+
+
install-data-hook: # install-exec-hook doesn't work (!)
-chgrp $(apigid) $(DESTDIR)/$(habindir)/cl_status
-chmod g+s,a-w $(DESTDIR)/$(habindir)/cl_status
------------------------------
_______________________________________________
Linux-ha-cvs mailing list
[email protected]
http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs
End of Linux-ha-cvs Digest, Vol 29, Issue 41
********************************************