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: heartbeat by zhenh from
([email protected])
2. Linux-HA CVS: heartbeat by zhenh from
([email protected])
3. Linux-HA CVS: linux-ha by zhenh from
([email protected])
4. Linux-HA CVS: debian by zhenh from
([email protected])
5. Linux-HA CVS: heartbeat by zhenh from
([email protected])
6. Linux-HA CVS: include by zhenh from
([email protected])
----------------------------------------------------------------------
Message: 1
Date: Sat, 27 May 2006 18:40:05 -0600 (MDT)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: heartbeat by zhenh from
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
linux-ha CVS committal
Author : zhenh
Host :
Project : linux-ha
Module : heartbeat
Dir : linux-ha/heartbeat/lib
Added Files:
hb_setsite.in hb_setweight.in
Log Message:
set the weight and site of node
------------------------------
Message: 2
Date: Sat, 27 May 2006 18:43:12 -0600 (MDT)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: heartbeat by zhenh from
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
linux-ha CVS committal
Author : zhenh
Host :
Project : linux-ha
Module : heartbeat
Dir : linux-ha/heartbeat/lib
Modified Files:
hb_setsite.in hb_setweight.in
Log Message:
change the unmatched comments
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/heartbeat/lib/hb_setsite.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- hb_setsite.in 28 May 2006 00:40:05 -0000 1.1
+++ hb_setsite.in 28 May 2006 00:43:12 -0000 1.2
@@ -2,12 +2,7 @@
#
# Support: [EMAIL PROTECTED]
# License: GNU General Public License (GPL)
-# This script sets the node (where it was called) to *active*
-# It forces the other node to release all the held resources and lets
-# this node do a takeover.
-#
-# This script will only work for a two machine setup...
-# More than that and you need to vote, or something...
+# This script sets the site of node
[EMAIL PROTECTED]@/ha.d
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/heartbeat/lib/hb_setweight.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- hb_setweight.in 28 May 2006 00:40:05 -0000 1.1
+++ hb_setweight.in 28 May 2006 00:43:12 -0000 1.2
@@ -2,12 +2,7 @@
#
# Support: [EMAIL PROTECTED]
# License: GNU General Public License (GPL)
-# This script sets the node (where it was called) to *active*
-# It forces the other node to release all the held resources and lets
-# this node do a takeover.
-#
-# This script will only work for a two machine setup...
-# More than that and you need to vote, or something...
+# This script sets the weight of the node
[EMAIL PROTECTED]@/ha.d
------------------------------
Message: 3
Date: Sat, 27 May 2006 18:45:08 -0600 (MDT)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: linux-ha by zhenh from
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
linux-ha CVS committal
Author : zhenh
Host :
Module : linux-ha
Dir : linux-ha
Modified Files:
configure.in
Log Message:
add the script for setting the weight and site of node
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/configure.in,v
retrieving revision 1.523
retrieving revision 1.524
diff -u -3 -r1.523 -r1.524
--- configure.in 26 May 2006 01:30:50 -0000 1.523
+++ configure.in 28 May 2006 00:45:07 -0000 1.524
@@ -10,7 +10,7 @@
AC_INIT(heartbeat.spec.in)
AC_CONFIG_AUX_DIR(.)
-AC_REVISION($Revision: 1.523 $) dnl cvs revision
+AC_REVISION($Revision: 1.524 $) dnl cvs revision
AC_CANONICAL_HOST
@@ -2689,6 +2689,8 @@
heartbeat/lib/hb_takeover \
heartbeat/lib/hb_addnode \
heartbeat/lib/hb_delnode \
+ heartbeat/lib/hb_setweight \
+ heartbeat/lib/hb_setsite \
heartbeat/shellfuncs \
heartbeat/libnet_util/Makefile \
heartbeat/logrotate.d/Makefile \
------------------------------
Message: 4
Date: Sat, 27 May 2006 18:45:08 -0600 (MDT)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: debian by zhenh from
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
linux-ha CVS committal
Author : zhenh
Host :
Project : linux-ha
Module : debian
Dir : linux-ha/debian
Modified Files:
heartbeat-2.files
Log Message:
add the script for setting the weight and site of node
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/debian/heartbeat-2.files,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- heartbeat-2.files 26 May 2006 01:32:14 -0000 1.17
+++ heartbeat-2.files 28 May 2006 00:45:07 -0000 1.18
@@ -82,6 +82,8 @@
usr/lib/heartbeat/haresources2cib.py
usr/lib/heartbeat/hb_addnode
usr/lib/heartbeat/hb_delnode
+usr/lib/heartbeat/hb_setsite
+usr/lib/heartbeat/hb_setweight
usr/lib/heartbeat/hb_standby
usr/lib/heartbeat/hb_takeover
usr/lib/heartbeat/hbagent
------------------------------
Message: 5
Date: Sat, 27 May 2006 18:45:08 -0600 (MDT)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: heartbeat by zhenh from
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
linux-ha CVS committal
Author : zhenh
Host :
Project : linux-ha
Module : heartbeat
Dir : linux-ha/heartbeat/lib
Modified Files:
Makefile.am
Log Message:
add the script for setting the weight and site of node
------------------------------
Message: 6
Date: Sat, 27 May 2006 18:48:31 -0600 (MDT)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: include by zhenh from
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
linux-ha CVS committal
Author : zhenh
Host :
Project : linux-ha
Module : include
Dir : linux-ha/include
Modified Files:
ha_msg.h
Log Message:
add messages and fields for setting the weight and site of node
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/include/ha_msg.h,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -3 -r1.81 -r1.82
--- ha_msg.h 9 May 2006 06:34:04 -0000 1.81
+++ ha_msg.h 28 May 2006 00:48:31 -0000 1.82
@@ -1,4 +1,4 @@
-/* $Id: ha_msg.h,v 1.81 2006/05/09 06:34:04 andrew Exp $ */
+/* $Id: ha_msg.h,v 1.82 2006/05/28 00:48:31 zhenh Exp $ */
/*
* Intracluster message object (struct ha_msg)
*
@@ -154,6 +154,8 @@
#define F_TO "dest" /* Destination (optional) */
#define F_TOUUID "destuuid" /* Destination uuid(optional) */
#define F_STATUS "st" /* New status (type = status) */
+#define F_WEIGHT "weight" /* weight of node */
+#define F_SITE "site" /* site of node */
#define F_PROTOCOL "protocol" /* Protocol number for communication*/
#define F_CLIENTNAME "cn" /* Client name */
#define F_CLIENTSTATUS "cs" /* Client status */
@@ -208,6 +210,8 @@
#define T_ATTRD "attrd" /* Cluster resource manager
message */
#define T_ADDNODE "addnode" /* Add node message*/
#define T_DELNODE "delnode" /* Delete node message*/
+#define T_SETWEIGHT "setweight" /* Set node weight*/
+#define T_SETSITE "setsite" /* Set node site*/
#define T_REQNODES "reqnodes" /* Request node list */
#define T_REPNODES "repnodes" /* reply node list rquest*/
------------------------------
_______________________________________________
Linux-ha-cvs mailing list
[email protected]
http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs
End of Linux-ha-cvs Digest, Vol 30, Issue 87
********************************************