linux-ha-cvs-request
Thu, 13 Jul 2006 09:24:00 -0700
Send Linux-ha-cvs mailing list submissions to
linux-ha-cvs@lists.linux-ha.org
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: fencing by sunjd from
(linux-ha-cvs@lists.linux-ha.org)
2. Linux-HA CVS: linux-ha by alan from
(linux-ha-cvs@lists.linux-ha.org)
3. Linux-HA CVS: heartbeat by alan from
(linux-ha-cvs@lists.linux-ha.org)
----------------------------------------------------------------------
Message: 1
Date: Thu, 13 Jul 2006 08:22:13 -0600 (MDT)
From: linux-ha-cvs@lists.linux-ha.org
Subject: [Linux-ha-cvs] Linux-HA CVS: fencing by sunjd from
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
linux-ha CVS committal
Author : sunjd
Host :
Project : linux-ha
Module : fencing
Dir : linux-ha/fencing/stonithd
Modified Files:
stonithd.c
Log Message:
bug1370: use correct channel to send back asynchronous result; bug1366: degrade
the log level
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/fencing/stonithd/stonithd.c,v
retrieving revision 1.97
retrieving revision 1.98
diff -u -3 -r1.97 -r1.98
--- stonithd.c 30 Jun 2006 07:43:27 -0000 1.97
+++ stonithd.c 13 Jul 2006 14:22:12 -0000 1.98
@@ -1,4 +1,4 @@
-/* $Id: stonithd.c,v 1.97 2006/06/30 07:43:27 sunjd Exp $ */
+/* $Id: stonithd.c,v 1.98 2006/07/13 14:22:12 sunjd Exp $ */
/* File: stonithd.c
* Description: STONITH daemon for node fencing
@@ -1864,7 +1864,7 @@
st_op->op_result = STONITH_SUCCEEDED;
st_op->node_list = g_string_append(st_op->node_list
, local_nodename);
- stonithop_result_to_local_client(st_op, ch);
+ stonithop_result_to_local_client(st_op, client->cbch);
}
del_st_op_and_return:
@@ -3099,7 +3099,7 @@
client->cbch->ops->destroy(client->cbch);
client->cbch = NULL;
} else {
- stonithd_log(LOG_ERR, "%s:%d: client->cbch = NULL"
+ stonithd_log(LOG_WARNING, "%s:%d: client->cbch = NULL"
, __FUNCTION__, __LINE__);
}
@@ -3595,6 +3595,9 @@
/*
* $Log: stonithd.c,v $
+ * Revision 1.98 2006/07/13 14:22:12 sunjd
+ * bug1370: use correct channel to send back asynchronous result; bug1366:
degrade the log level
+ *
* Revision 1.97 2006/06/30 07:43:27 sunjd
* give more code pieces privilege
*
------------------------------
Message: 2
Date: Thu, 13 Jul 2006 09:32:41 -0600 (MDT)
From: linux-ha-cvs@lists.linux-ha.org
Subject: [Linux-ha-cvs] Linux-HA CVS: linux-ha by alan from
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
linux-ha CVS committal
Author : alan
Host :
Module : linux-ha
Dir : linux-ha
Modified Files:
heartbeat.spec.in
Log Message:
Updated changelog for 2.0.6
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/heartbeat.spec.in,v
retrieving revision 1.186
retrieving revision 1.187
diff -u -3 -r1.186 -r1.187
--- heartbeat.spec.in 11 Jul 2006 03:55:49 -0000 1.186
+++ heartbeat.spec.in 13 Jul 2006 15:32:40 -0000 1.187
@@ -1,4 +1,4 @@
-# $Id: heartbeat.spec.in,v 1.186 2006/07/11 03:55:49 alan Exp $
+# $Id: heartbeat.spec.in,v 1.187 2006/07/13 15:32:40 alan Exp $
%define _unpackaged_files_terminate_build 1
%define _missing_doc_files_terminate_build 1
@@ -81,10 +81,8 @@
implementing any number of interfaces.
%changelog
-* Sun May 21 2006 Alan Robertson <[EMAIL PROTECTED]> (see doc/AUTHORS file)
-+ Version 2.0.6 - bug fix release
- + Fixed a long-standing problem where the .src.rpms weren't usable across
- 32/64-bit boundaries
+* Thu July 13 2006 Alan Robertson <[EMAIL PROTECTED]> (see doc/AUTHORS file)
++ Version 2.0.6 - bug fix and a few enhancements release
+ Added the ability to start/stop groups from the GUI
+ Fixed a few monitoring bugs in the Apache resource agent
+ Changed the name of the netmask parameter to the IPaddr and IPaddr2
@@ -93,6 +91,100 @@
to work the old way.
+ Changed target_role so that when you stop a resource, all the resources
which depend on it also stop - all in the proper order.
+ + Many enhancements
+ default_resource_failure_stickiness
+ OCFS2 cluster filesystem support
+ new VIPArip resource agent
+ new SysInfo resource agent
+ new Oracle resource agents
+ Add cluster naming directive
+ Added node quorum voting weights
+ Added site declaration
+ ha_propagate command
+ allow NFS to run as a cloneable filesystem
+ haresources2cib extensions
+ added cibadmin man page
+ Make startup fencing optional (for the brave)
+ Many CIM improvements
+ + Many GUI improvements
+ added hb_gui symlink in /usr/bin
+ significant speedup
+ added support for types of groups:
+ move resources up/down in groups
+ resources default to being stopped
+ stonith RA metadata
+ basic heartbeat class RA metadata
+ reworked resource addition dialog
+ right-click menu
+ support for clones
+ + Bug fixes:
+ Fixed a long-standing problem where the .src.rpms weren't usable across
+ 32/64-bit boundaries
+ Many clone resource fixes
+ autojoin works now
+ target_role is now handled completely differently
+ pingd and attrd now work
+ OSDL 1221 GUI doesn't always keep the top window on top
+ OSDL 1248 Add target_role to group causes pengine fatal assert.
+ OSDL 1252 probe for newly added resouces
+ Novell 12532 - parent options do NOT take precedence of child
+ values Use #default as a special parameter value
+ Novell #176014: wait longer before declaring attrd/pingd
+ unable to connect
+ Novell #178488: Notifications not generated for failed nodes
+ Novell #178764 - TE doesn't abort transition
+ Novell #179233 - Propagate the status of the heartbeat
+ service toojj
+ OSDL 1276 - Broken clones cause segfaults
+ OSDL 1275: add signing off
+ Novell #180303: Filesystem returned 7 instead of 0 for
+ an already unmounted filesystem.
+ Novell #180303: Notification ordering
+ Novell #180799: Multiple probes scheduled for non-unique clone
+ Novell #180699: Probe anonymous clones correctly
+ Novell #183221 - Resource migration
+ Deb 372850 migrate IPv6addr binary out of /etc
+ OSDL 1280: deal with the situation that the time restart
+ is shorter than deadtime
+ OSDL 1272: add a new channel for callback APIs
+ OSDL 1281: Handle anonymous clone renaming correctly when
+ we have too many instances in the status
+ section
+ OSDL 1183: use the new API of heartbeat to avoid message
+ delay; remove redundant code
+ OSDL 1318: Add to send back a confirmation of setting up the
+ callback channel
+ OSDL 1329: Fix for memory leak in CIB_OP_MODIFY
+ OSDL 1239: RPM unconditionally included files which were
+ only present when mgmtd was build.
+ OSDL 1334: When using anonymous clones, send the resource action
+ with the name that the clone uses locally, not the
+ name we use for it internally.
+ OSDL 1301: add the capacity of get_cur_state; polish on
+ memory free
+ OSDL 1340: Failure to stop a clone
+ OSDL 1300: stonithd / lrmd lose their connection
+ OSDL 1055: Add missing RPM package dependencies
+ OSDL 1349: Fix file descriptor leak on failed fork
+ Deb 375941 Don't run deluser and delgrp in postrm
+ OSDL 1356: Group colocation fixes when one group cant
+ run anywhere
+ OSDL 1350: Case sensitive searching for resources
+ OSDL 1344: when an admin replaces the nodes section we should
+ make sure that all the nodes heartbeat knows about
+ are in there.
+ OSDL 1356: reordered the "are any resources active" check to
+ happen after we've confirmed all resource actions
+ are complete
+ OSDL 1354: CRM silently ignores trailing characters in XML input
+ OSDL 1162: fix memory leak in cl_msg compression code
+ Deb 376722 Add missing debian dependencies
+ Deb 376786 Add missing debian dependencies
+ OSDL 1360: Clones enforce resource_stickiness == INFINITY
+ Move clone instances to higher preferred nodes
+ OSDL 1364: should restrict rpm-based commands to rpm-based
+ systems
+ OSDL 1269: STONITH clone stops running after some time ...
+ KNOWN LIMITATIONS and BUGS
+ the GUI core dumps when run using AIX-based X servers
------------------------------
Message: 3
Date: Thu, 13 Jul 2006 10:23:55 -0600 (MDT)
From: linux-ha-cvs@lists.linux-ha.org
Subject: [Linux-ha-cvs] Linux-HA CVS: heartbeat by alan from
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
linux-ha CVS committal
Author : alan
Host :
Project : linux-ha
Module : heartbeat
Dir : linux-ha/heartbeat
Modified Files:
config.c
Log Message:
Patch from Serge Dubrouski for not starting any optional components.
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/heartbeat/config.c,v
retrieving revision 1.202
retrieving revision 1.203
diff -u -3 -r1.202 -r1.203
--- config.c 28 May 2006 00:53:19 -0000 1.202
+++ config.c 13 Jul 2006 16:23:55 -0000 1.203
@@ -1,4 +1,4 @@
-/* $Id: config.c,v 1.202 2006/05/28 00:53:19 zhenh Exp $ */
+/* $Id: config.c,v 1.203 2006/07/13 16:23:55 alan Exp $ */
/*
* Parse various heartbeat configuration files...
*
@@ -2495,10 +2495,14 @@
static int
set_release2mode(const char* value)
{
- const struct do_directive {
+ struct do_directive {
const char * dname;
const char * dval;
- } r2dirs[] =
+ };
+
+ struct do_directive *r2dirs;
+
+ struct do_directive r2auto_dirs[] =
/*
* To whom it may concern: Please keep the apiauth and respawn
* lines in the same order to make auditing the two against each
@@ -2528,17 +2532,37 @@
#endif
/* Don't 'respawn' pingd - it's a resource agent */
};
+
+ struct do_directive r2manual_dirs[] =
+ { /* CCM apiauth already implicit elsewhere */
+ {"apiauth", "cib uid=" HA_CCMUSER}
+ , {"apiauth", "crmd uid=" HA_CCMUSER}
+
+ , {"respawn", " "HA_CCMUSER " " HALIB "/ccm"}
+ , {"respawn", " "HA_CCMUSER " " HALIB "/cib"}
+ , {"respawn", "root " HALIB "/lrmd"}
+ , {"respawn", " "HA_CCMUSER " " HALIB "/crmd"}
+ /* Don't 'respawn' pingd - it's a resource agent */
+ };
+
gboolean dorel2;
int rc;
- int j;
+ int j, r2size;
int rc2 = HA_OK;
+ r2dirs = &r2auto_dirs[0]; r2size = DIMOF(r2auto_dirs);
+
if ((rc = cl_str_to_boolean(value, &dorel2)) == HA_OK) {
if (!dorel2) {
return HA_OK;
}
}else{
- return rc;
+ if (0 == strcasecmp("manual", value)) {
+ r2dirs = &r2manual_dirs[0];
+ r2size = DIMOF(r2manual_dirs);
+ } else {
+ return rc;
+ }
}
DoManageResources = FALSE;
@@ -2549,24 +2573,26 @@
/* Enable release 2 style cluster management */
- for (j=0; j < DIMOF(r2dirs); ++j) {
+ for (j=0; j < r2size ; ++j) {
int k;
for (k=0; k < DIMOF(WLdirectives); ++k) {
- if (0 != strcmp(r2dirs[j].dname, WLdirectives[k].type))
{
+ if (0 != strcmp(r2dirs->dname, WLdirectives[k].type)) {
continue;
}
if (ANYDEBUG) {
cl_log(LOG_DEBUG, "Implicit directive: %s %s"
- , r2dirs[j].dname
- , r2dirs[j].dval);
+ , r2dirs->dname
+ , r2dirs->dval);
}
if (HA_OK
- != (rc2 = WLdirectives[k].parse(r2dirs[j].dval))) {
+ != (rc2 = WLdirectives[k].parse(r2dirs->dval))) {
cl_log(LOG_ERR, "Directive %s %s failed"
- , r2dirs[j].dname, r2dirs[j].dval);
- }
+ , r2dirs->dname, r2dirs->dval);
+ }
}
+ r2dirs++;
}
+
return rc2;
}
@@ -2638,6 +2664,9 @@
/*
* $Log: config.c,v $
+ * Revision 1.203 2006/07/13 16:23:55 alan
+ * Patch from Serge Dubrouski for not starting any optional components.
+ *
* Revision 1.202 2006/05/28 00:53:19 zhenh
* add functions for setting the weight and site of node
*
@@ -2659,7 +2688,7 @@
* Disabled traditional compression because of realtime concerns.
*
* Revision 1.197 2006/04/24 03:23:49 alan
- * Made mgmtd loaded by default with 'crm on'.
+ * Made loaded by default with 'crm on'.
*
* Revision 1.196 2006/04/11 22:11:17 lars
* CID 5: If we return here, the deallocation codepath at the end of the
------------------------------
_______________________________________________
Linux-ha-cvs mailing list
Linux-ha-cvs@lists.linux-ha.org
http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs
End of Linux-ha-cvs Digest, Vol 32, Issue 44
********************************************