[Linux-ha-dev] [PATCH 00 of 10] logd improvements v2

2011-08-24 Thread Bernd Schubert
Hi all, the following patches are to better handle bug 2470 and have some generic improvements. I'm not sure if I shall attach it to the bugzilla or if the mailing list is preferred. Changes to v1 sent in September: Split the first patch into 3 parts Sorry that that took so long, but I

[Linux-ha-dev] [PATCH 01 of 10] cl_log: Make functions static

2011-08-24 Thread Bernd Schubert
# HG changeset patch # User Bernd Schubert bernd.schub...@fastmail.fm # Date 1289416214 -3600 # Node ID 65daae533f821c45c00d116f88d501574dd1a75e # Parent aba1e2fa5a4eefbbe8e7be1c606f74abdffa5381 cl_log: Make functions static Signed-off-by: Bernd Schubert bschub...@ddn.com diff --git

[Linux-ha-dev] [PATCH 02 of 10] cl_logd: Remove childlog_dump_ipcmsg_stats

2011-08-24 Thread Bernd Schubert
# HG changeset patch # User Bernd Schubert bernd.schub...@fastmail.fm # Date 1289416214 -3600 # Node ID e55adbebfe182e3572f1cd31bfc05b6e9392eb48 # Parent 65daae533f821c45c00d116f88d501574dd1a75e cl_logd: Remove childlog_dump_ipcmsg_stats Remove unused function and variables. Signed-of-by: Bernd

[Linux-ha-dev] [PATCH 03 of 10] cl_log: Remove CircularBuffer

2011-08-24 Thread Bernd Schubert
# HG changeset patch # User Bernd Schubert bernd.schub...@fastmail.fm # Date 1289416214 -3600 # Node ID 4358a55b3c5df36d05d94e160378aafa9809b5d4 # Parent e55adbebfe182e3572f1cd31bfc05b6e9392eb48 cl_log: Remove CircularBuffer CircularBuffer was added more than 5 years ago and still it is not

[Linux-ha-dev] [PATCH 04 of 10] cl_log: Simplify a function

2011-08-24 Thread Bernd Schubert
# HG changeset patch # User Bernd Schubert bernd.schub...@fastmail.fm # Date 1289416214 -3600 # Node ID 2eab79309d86cbf93f6d2c057095f2229040a140 # Parent 4358a55b3c5df36d05d94e160378aafa9809b5d4 cl_log: Simplify a function Signed-off-by: Bernd Schubert bschub...@ddn.com diff --git

[Linux-ha-dev] [PATCH 05 of 10] ha_logd: Use C99 initializers, also correct max entity string length

2011-08-24 Thread Bernd Schubert
# HG changeset patch # User Bernd Schubert bernd.schub...@fastmail.fm # Date 1289416214 -3600 # Node ID e3ed606d23eee5b31e498391ea6e0dd3b87dcdab # Parent 2eab79309d86cbf93f6d2c057095f2229040a140 ha_logd: Use C99 initializers, also correct max entity string length C99 initializers are more easy

[Linux-ha-dev] [PATCH 06 of 10] cl_log: Always print the common log entity to syslog messages

2011-08-24 Thread Bernd Schubert
# HG changeset patch # User Bernd Schubert bernd.schub...@fastmail.fm # Date 1289416214 -3600 # Node ID 9c93c2baad5829b711161dd811e6c83941a5fad0 # Parent e3ed606d23eee5b31e498391ea6e0dd3b87dcdab cl_log: Always print the common log entity to syslog messages Pacemaker logs a lot of messages to

[Linux-ha-dev] [PATCH 07 of 10] ha_logd: New option to disable syslog logging

2011-08-24 Thread Bernd Schubert
# HG changeset patch # User Bernd Schubert bernd.schub...@fastmail.fm # Date 1289416214 -3600 # Node ID 37dd8d6f9573bded8646ff0985b6830522ce01cf # Parent 9c93c2baad5829b711161dd811e6c83941a5fad0 ha_logd: New option to disable syslog logging As we already write ha-log and ha-debug, users might

[Linux-ha-dev] [PATCH 08 of 10] cl_log: Restore old logfile open/seek/write/close behaviour

2011-08-24 Thread Bernd Schubert
# HG changeset patch # User Bernd Schubert bernd.schub...@fastmail.fm # Date 1289416214 -3600 # Node ID 151a7188b639c373628a1e497223ed290f39c4f7 # Parent 37dd8d6f9573bded8646ff0985b6830522ce01cf cl_log: Restore old logfile open/seek/write/close behaviour. This patch actually does not completely

[Linux-ha-dev] [PATCH 09 of 10] cl_log: Fix white space

2011-08-24 Thread Bernd Schubert
# HG changeset patch # User Bernd Schubert bernd.schub...@fastmail.fm # Date 1289416214 -3600 # Node ID d82e653b228e2fccaedff9149135a24512555b6d # Parent 151a7188b639c373628a1e497223ed290f39c4f7 cl_log: Fix white space Signed-off-by: Bernd Schubert bschub...@ddn.com diff --git

[Linux-ha-dev] [PATCH 10 of 10] ha_logd: Add a SIGHUP signal handler to close/open log files

2011-08-24 Thread Bernd Schubert
# HG changeset patch # User Bernd Schubert bernd.schub...@fastmail.fm # Date 1289416214 -3600 # Node ID 56483b899c35d03e4806d35a8c98a530fdc63e87 # Parent d82e653b228e2fccaedff9149135a24512555b6d ha_logd: Add a SIGHUP signal handler to close/open log files Without the signal handler cl_log uses

[Linux-ha-dev] OCF resource to control mac address

2011-08-24 Thread Jose Angel Fernandez Ameijeiras
Hello: I develop a ocf resource to control de mac address of a network interface. I use it on my production servers to change the mac address on the running interface to control a multiple fail over ip on the servers. The resource could be used for everything that needs to change the mac address

Re: [Linux-ha-dev] OCF resource to control mac address

2011-08-24 Thread Dejan Muhamedagic
Hi Jose, On Wed, Feb 16, 2011 at 09:36:11PM +0100, Jose Angel Fernandez Ameijeiras wrote: Hello: I develop a ocf resource to control de mac address of a network interface. I use it on my production servers to change the mac address on the running interface to control a multiple fail over ip

Re: [Linux-ha-dev] [PATCH 00 of 10] logd improvements v2

2011-08-24 Thread Lars Ellenberg
On Wed, Nov 10, 2010 at 08:23:42PM +0100, Bernd Schubert wrote: ... But: X-Mailman-Approved-At: Wed, 24 Aug 2011 05:32:24 -0600 So, ignore this. Has been dealt with 9 month ago... -- :

[Linux-HA] NFS with two IPs / various NFS questions / NFSv4

2011-08-24 Thread Tim
Hello all I'm building a drbd - pacemaker - nfs Server in active - passive mode, but there remain some open bits. I have two IP'Adresses on my server, how would I do that ? The example (see below) to work, that means, it doesn't produce any errors whereas the params nfs_ip line written

Re: [Linux-HA] NFS with two IPs / various NFS questions / NFSv4

2011-08-24 Thread Dimitri Maziuk
On 08/24/2011 02:40 AM, Tim wrote: I used http://linux-ha.org/HaNFS for setting up the shared directory on drbd. However, I didn't fully understand the STATD_HOSTNAME part. See e.g. http://people.redhat.com/rpeterso/Project/4.3nlmlockfailover.htm STATD_HOSTNAME=10.1.4.11 10.1.0.75 Would