]> sourceware.org Git - cluster.git/log
cluster.git
16 years ago[CMAN] Display the node's votes in cman_tool status master
Christine Caulfield [Tue, 29 Jul 2008 12:52:14 +0000 (13:52 +0100)]
[CMAN] Display the node's votes in cman_tool status

I'm not sure how this one slipped the net.

Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
16 years ago[CMAN] pass COROSYNC_ env variables to the daemon
Christine Caulfield [Tue, 29 Jul 2008 09:38:42 +0000 (10:38 +0100)]
[CMAN] pass COROSYNC_ env variables to the daemon

cman_tool makes its own environment for the aisexec daemon to
use but some newer config modules like to have configuring environment
variables. So now cman_tool passes down all environment variables
starting with COROSYNC_ down.

To make this work, I've also changed the plugins that currently
take environment variables to name them COROSYNC_.

Yes, I know we're not using corosync yet, but this is just
one less thing we;ll need to remember to change next week or
whenever.

Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
16 years agoconfig: allow users to override default config file in xmlconfig
Fabio M. Di Nitto [Tue, 29 Jul 2008 05:12:37 +0000 (07:12 +0200)]
config: allow users to override default config file in xmlconfig

By setting CLUSTER_CONFIG_FILE either in the enviroment it is possible
to use an alternate cluster.conf.

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
16 years agocman: fix typo (#!/bin/bash) from previous commit
Ryan O'Hara [Mon, 28 Jul 2008 19:11:26 +0000 (14:11 -0500)]
cman: fix typo (#!/bin/bash) from previous commit

Line 0 of the cman init script was #!/BIN/BAsh?

16 years agocman: add option to init script to prevent joining the fence domain
Ryan O'Hara [Mon, 28 Jul 2008 15:46:02 +0000 (10:46 -0500)]
cman: add option to init script to prevent joining the fence domain

New sysconfig variable FENCE_JOIN will control whether or not the
node joins the fence domain. This variable can be set to either
value "yes" or "no". When FENCE_JOIN is set to "no", the init script
will not attempt to join the fence domain. Any other value is
equivalant to "yes", in which case the init script will attempt to
join the fence domain. (BZ #455598)

16 years ago[CMAN] Fix overridden node names
Christine Caulfield [Mon, 28 Jul 2008 13:16:34 +0000 (14:16 +0100)]
[CMAN] Fix overridden node names

cman-tool join -n <nodename> was failing because it assumed
an old object context. It now uses the nodeslist functions
I wrote for the purpose.

Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
16 years agorgmanager: init script does not need network config
Fabio M. Di Nitto [Mon, 28 Jul 2008 04:34:52 +0000 (06:34 +0200)]
rgmanager: init script does not need network config

rgmanager init LSB header already express the requirement for network
via Required-Start: cman that in chain Required-Start: $network.

Lack of network will not start cman and as consequence rgmanager.

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
16 years agocman: init script should not user cluster.conf directly
Fabio M. Di Nitto [Mon, 28 Jul 2008 04:23:11 +0000 (06:23 +0200)]
cman: init script should not user cluster.conf directly

fence_xvmd function needs to query the config to know if the daemon
should start or not.

switch an xmllint call to a ccs_tool query and remove hardcoded
dependency on cluster.conf

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
16 years agorgmanager: fix clean target
Fabio M. Di Nitto [Fri, 25 Jul 2008 19:58:58 +0000 (21:58 +0200)]
rgmanager: fix clean target

stub clean target in init script Makefile

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
16 years agogfs_mkfs: change the way we check to see if a device is mounted
Ryan O'Hara [Fri, 25 Jul 2008 19:33:47 +0000 (14:33 -0500)]
gfs_mkfs: change the way we check to see if a device is mounted

New method will attempt to open device with O_EXCL flag. If open()
responds with EBUSY, mkfs will die. This indicates that the device
is either mounted or part of a LVM volume. (BZ #426298)

16 years agogfs2_edit: was parsing out gfs1 log descriptors improperly
Bob Peterson [Fri, 25 Jul 2008 13:48:50 +0000 (08:48 -0500)]
gfs2_edit: was parsing out gfs1 log descriptors improperly

GFS2 log descriptors have 8 bytes per entry which represents
a block number.  GFS1 log descriptors have a small structure
that is 16-bytes, the first 8 bytes of which is the block.
So gfs2_edit was mistaking the extra 0x00000000 for a GFS2
end-of-block marker when it shouldn't have.  This fixes it.

16 years agogfs2_edit: Ability to enter "journalX" in block number.
Bob Peterson [Fri, 25 Jul 2008 13:17:12 +0000 (08:17 -0500)]
gfs2_edit: Ability to enter "journalX" in block number.

With gfs2_edit, you can position to the "block #" field and
press <enter>, then enter a block number to jump to.
You may also enter a keyword, like "root" to jump to the
root directory, "rindex" to jump to the rindex, etc.
Most keywords worked, but you could not enter "journal0"
to jump to the first journal until this fix made it possible.

16 years agofence: port scsi agent to use ccs_tool query and drop XML::LibXML requirement
Fabio M. Di Nitto [Fri, 25 Jul 2008 10:03:56 +0000 (12:03 +0200)]
fence: port scsi agent to use ccs_tool query and drop XML::LibXML requirement

The new ccs_tool query is able to answer to the queries from
fence_scsi*.

Drop the need of XML::LibXML.

Use ccs_tool query directly.

Abstract from the need of parsing cluster.conf that is not the
authoritative config file anymore.

Drop unrequire check_config_nodes that's already embedded in the need of
cman to run this code.

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
16 years agofence: simplify init script
Fabio M. Di Nitto [Fri, 25 Jul 2008 10:03:16 +0000 (12:03 +0200)]
fence: simplify init script

fence_scsi needs cman to run. Verify that cman is running
as first thing, before querying for config information that
are now stored in cman/aisexec.

cman already guarantees that all nodes have a nodeid. Drop
this redundant check.

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
16 years agorgmanger: remove check on cluster.conf from rgmanager init script
Fabio M. Di Nitto [Fri, 25 Jul 2008 10:02:32 +0000 (12:02 +0200)]
rgmanger: remove check on cluster.conf from rgmanager init script

cluster.conf is not the only authoritative configuration file anymore.
LDAP and others could be in place.

Remove the check and allow rgmanager to start.

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
16 years agoRevert "rgmanger: remove check on cluster.conf from rgmanager init script"
Fabio M. Di Nitto [Fri, 25 Jul 2008 10:01:16 +0000 (12:01 +0200)]
Revert "rgmanger: remove check on cluster.conf from rgmanager init script"

This reverts commit 691c72052655c0f7c8142c35145237e122ae6b86.

16 years agoRevert "fence: simplify init script"
Fabio M. Di Nitto [Fri, 25 Jul 2008 10:01:03 +0000 (12:01 +0200)]
Revert "fence: simplify init script"

This reverts commit 6a0647657348dd732615b7a0b7d6aad89c85b93a.

16 years agoRevert "fence: port scsi agent to use ccs_tool query and drop XML::LibXML requirement"
Fabio M. Di Nitto [Fri, 25 Jul 2008 10:00:49 +0000 (12:00 +0200)]
Revert "fence: port scsi agent to use ccs_tool query and drop XML::LibXML requirement"

This reverts commit e968098fa53e14d1cc9e60c42a4102674ecb51d2.

16 years agofence: port scsi agent to use ccs_tool query and drop XML::LibXML requirement
Andrew Price [Fri, 25 Jul 2008 09:07:26 +0000 (11:07 +0200)]
fence: port scsi agent to use ccs_tool query and drop XML::LibXML requirement

The new ccs_tool query is able to answer to the queries from
fence_scsi*.

Drop the need of XML::LibXML.

Use ccs_tool query directly.

Abstract from the need of parsing cluster.conf that is not the
authoritative config file anymore.

Drop unrequire check_config_nodes that's already embedded in the need of
cman to run this code.

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
16 years agofence: simplify init script
Andrew Price [Fri, 25 Jul 2008 09:04:35 +0000 (11:04 +0200)]
fence: simplify init script

fence_scsi needs cman to run. Verify that cman is running
as first thing, before querying for config information that
are now stored in cman/aisexec.

cman already guarantees that all nodes have a nodeid. Drop
this redundant check.

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
16 years agorgmanger: remove check on cluster.conf from rgmanager init script
Andrew Price [Fri, 25 Jul 2008 09:02:48 +0000 (11:02 +0200)]
rgmanger: remove check on cluster.conf from rgmanager init script

cluster.conf is not the only authoritative configuration file anymore.
LDAP and others could be in place.

Remove the check and allow rgmanager to start.

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
16 years ago[qdisk] Make stop_cman="1" work if heuristics fail during initialization
Lon Hohberger [Thu, 24 Jul 2008 20:08:50 +0000 (16:08 -0400)]
[qdisk] Make stop_cman="1" work if heuristics fail during initialization

Bugzilla #455865

16 years ago[GFS2] libgfs2: Build with -fPIC
Andrew Price [Thu, 24 Jul 2008 17:09:36 +0000 (19:09 +0200)]
[GFS2] libgfs2: Build with -fPIC

Build libgfs2 with -fPIC to enable linking on x86_64 and others.

Signed-off-by: Andrew Price <andy@andrewprice.me.uk>
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
16 years agogfs2_fsck dupl. blocks between EA and data
Bob Peterson [Thu, 24 Jul 2008 15:15:23 +0000 (10:15 -0500)]
gfs2_fsck dupl. blocks between EA and data

16 years agoRGRepair: Account for RG blocks inside journals
Bob Peterson [Thu, 24 Jul 2008 14:49:33 +0000 (09:49 -0500)]
RGRepair: Account for RG blocks inside journals

16 years agoBetter error reporting in gfs2_fsck
Bob Peterson [Wed, 23 Jul 2008 22:36:42 +0000 (17:36 -0500)]
Better error reporting in gfs2_fsck

16 years agoShrink memory 3: smaller link counts in inode_info
Bob Peterson [Wed, 23 Jul 2008 22:18:13 +0000 (17:18 -0500)]
Shrink memory 3: smaller link counts in inode_info

16 years agoShrink memory 2: get rid of 3 huge in-core bitmaps
Bob Peterson [Thu, 24 Jul 2008 14:45:16 +0000 (09:45 -0500)]
Shrink memory 2: get rid of 3 huge in-core bitmaps

16 years agoShrink memory 1: eliminate b_size from pseudo-buffer-heads
Bob Peterson [Wed, 23 Jul 2008 19:46:55 +0000 (14:46 -0500)]
Shrink memory 1: eliminate b_size from pseudo-buffer-heads

16 years agoDeleted unused function print_map
Bob Peterson [Wed, 23 Jul 2008 19:17:52 +0000 (14:17 -0500)]
Deleted unused function print_map

16 years agoFix some bad references to gfs_tool and gfs_fsck
Bob Peterson [Wed, 23 Jul 2008 19:15:16 +0000 (14:15 -0500)]
Fix some bad references to gfs_tool and gfs_fsck

16 years agogfs_fsck crosswrite for block number sanity checking
Bob Peterson [Wed, 23 Jul 2008 19:09:19 +0000 (14:09 -0500)]
gfs_fsck crosswrite for block number sanity checking

16 years agoSpeed up userspace bitmap manipulation code.
Bob Peterson [Wed, 23 Jul 2008 19:03:50 +0000 (14:03 -0500)]
Speed up userspace bitmap manipulation code.

16 years agobuild: update .gitignore
Fabio M. Di Nitto [Thu, 24 Jul 2008 05:27:12 +0000 (07:27 +0200)]
build: update .gitignore

Add some more files we can ignore

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
16 years ago[BUILD] Cleanup groupd makefile
Fabio M. Di Nitto [Wed, 23 Jul 2008 10:54:08 +0000 (12:54 +0200)]
[BUILD] Cleanup groupd makefile

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
16 years agofence: update apc snmp agent
Ryan McCabe [Tue, 22 Jul 2008 19:56:13 +0000 (15:56 -0400)]
fence: update apc snmp agent

Pushing update to fix bz447414 for jparsons

16 years agogroupd: use logsys
David Teigland [Tue, 22 Jul 2008 20:16:56 +0000 (15:16 -0500)]
groupd: use logsys

Add logsys usage and configuration, following fenced pattern.

Signed-off-by: David Teigland <teigland@redhat.com>
16 years ago[rgmanager] Add optional save/restore to vm resource
Lon Hohberger [Tue, 22 Jul 2008 15:01:53 +0000 (11:01 -0400)]
[rgmanager] Add optional save/restore to vm resource

This patch adds optional save/restore support to virtual machines.
Patch Federico Simoncelli federico dot simoncelli at gmail dot com

16 years agodlm_controld/gfs_controld: add logging.c file
David Teigland [Tue, 22 Jul 2008 14:08:54 +0000 (09:08 -0500)]
dlm_controld/gfs_controld: add logging.c file

which I forgot to add in previous commits.

Signed-off-by: David Teigland <teigland@redhat.com>
16 years ago[BUILD] Cleanup linking order for logsys
Fabio M. Di Nitto [Tue, 22 Jul 2008 05:42:15 +0000 (07:42 +0200)]
[BUILD] Cleanup linking order for logsys

Collect all openais libs into their own LDFLAGS entry

Linking to logsys requires pthread

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
16 years ago[FENCE] Fix fence_apc_snmp logging
Fabio M. Di Nitto [Tue, 22 Jul 2008 05:10:35 +0000 (07:10 +0200)]
[FENCE] Fix fence_apc_snmp logging

Move log file together with all the others when invoked in verbose mode.

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
16 years ago[BUILD] Fix LOGDIR usage
Fabio M. Di Nitto [Tue, 22 Jul 2008 05:07:18 +0000 (07:07 +0200)]
[BUILD] Fix LOGDIR usage

LOGDIR was duplicate of logdir. Remove the duplication and use logdir as
it should be.

Also add logdir info to fencebuild, required for fence_apc_snmp

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
16 years ago[FENCE] Sync fence_apc_snmp from RHEL47 branch
Fabio M. Di Nitto [Tue, 22 Jul 2008 04:59:28 +0000 (06:59 +0200)]
[FENCE] Sync fence_apc_snmp from RHEL47 branch

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
16 years agoPrint log header flags for gfs journals.
Bob Peterson [Mon, 21 Jul 2008 22:21:49 +0000 (17:21 -0500)]
Print log header flags for gfs journals.

16 years agogfs_controld: use logsys
David Teigland [Mon, 21 Jul 2008 16:56:39 +0000 (11:56 -0500)]
gfs_controld: use logsys

Add logsys usage and configuration, following fenced pattern.

Signed-off-by: David Teigland <teigland@redhat.com>
16 years agodlm_controld: use logsys
David Teigland [Mon, 21 Jul 2008 16:35:13 +0000 (11:35 -0500)]
dlm_controld: use logsys

Add logsys usage and configuration, following fenced pattern.

Signed-off-by: David Teigland <teigland@redhat.com>
16 years agofenced: munge logging
David Teigland [Mon, 21 Jul 2008 16:02:35 +0000 (11:02 -0500)]
fenced: munge logging

to prepare for copying it to the other daemons.

Signed-off-by: David Teigland <teigland@redhat.com>
16 years agofenced: complete messages copy start messages
David Teigland [Fri, 18 Jul 2008 19:22:55 +0000 (14:22 -0500)]
fenced: complete messages copy start messages

use the same formats and functions for handling "complete" messages

Signed-off-by: David Teigland <teigland@redhat.com>
16 years agodlm_controld: improved start messages
David Teigland [Fri, 18 Jul 2008 19:00:32 +0000 (14:00 -0500)]
dlm_controld: improved start messages

Copy the improved start/sync message formats from fenced/gfs_controld,
which allows the messages to be extended in the future without breaking
compatibility.

Signed-off-by: David Teigland <teigland@redhat.com>
16 years agofenced: debug logsys options
David Teigland [Fri, 18 Jul 2008 16:04:29 +0000 (11:04 -0500)]
fenced: debug logsys options

Enable/disable logsys debugging in the following ways, in order of priority:
. command line -L [0|1]
. environment variable FENCED_DEBUG_LOGSYS [0|1]
. cluster.conf logging/logger_subsys/debug [off|on]
. cluster.conf logging/debug  [off|on]

Signed-off-by: David Teigland <teigland@redhat.com>
16 years agofenced: munge config option code
David Teigland [Fri, 18 Jul 2008 15:34:00 +0000 (10:34 -0500)]
fenced: munge config option code

to match the code in other daemons.

Signed-off-by: David Teigland <teigland@redhat.com>
16 years agofenced: improved start messages
David Teigland [Wed, 16 Jul 2008 18:01:54 +0000 (13:01 -0500)]
fenced: improved start messages

Copy the improved start/sync message formats back from gfs_controld,
which also makes it simple to sync fencing history to new nodes.

Signed-off-by: David Teigland <teigland@redhat.com>
16 years agogfs_controld: close dlm_controld connection
David Teigland [Fri, 18 Jul 2008 14:46:35 +0000 (09:46 -0500)]
gfs_controld: close dlm_controld connection

when we get a poll error from it

Signed-off-by: David Teigland <teigland@redhat.com>
16 years ago[BUILD] Fix logrotate snippet filename
Fabio M. Di Nitto [Fri, 18 Jul 2008 07:51:37 +0000 (09:51 +0200)]
[BUILD] Fix logrotate snippet filename

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
16 years ago[BUILD] Fix ccs_tool linking dir order
Fabio M. Di Nitto [Fri, 18 Jul 2008 07:38:06 +0000 (09:38 +0200)]
[BUILD] Fix ccs_tool linking dir order

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
16 years agogfs_controld: byte swap ids earlier
David Teigland [Thu, 17 Jul 2008 20:34:47 +0000 (15:34 -0500)]
gfs_controld: byte swap ids earlier

before they are used in match_change.

Signed-off-by: David Teigland <teigland@redhat.com>
16 years ago[RGMANGER] Fix call to ccs_tool
Fabio M. Di Nitto [Thu, 17 Jul 2008 13:34:47 +0000 (15:34 +0200)]
[RGMANGER] Fix call to ccs_tool

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
16 years ago[RGMANAGER] Port ccs_get to proper ccs_tool output
Fabio M. Di Nitto [Thu, 17 Jul 2008 13:32:28 +0000 (15:32 +0200)]
[RGMANAGER] Port ccs_get to proper ccs_tool output

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
16 years agoRevert "[RGMANAGER] Use proper ccs_tool query output"
Fabio M. Di Nitto [Thu, 17 Jul 2008 13:30:06 +0000 (15:30 +0200)]
Revert "[RGMANAGER] Use proper ccs_tool query output"

This reverts commit 2eaca4f9e31409f110ae318d1f192673dd744e33.

16 years ago[CCS] Inflict hopefully last compat issues love to ccs_t*
Fabio M. Di Nitto [Thu, 17 Jul 2008 13:29:07 +0000 (15:29 +0200)]
[CCS] Inflict hopefully last compat issues love to ccs_t*

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
16 years ago[BUILD] Fix ccs_tool/ccs_test build with new compat code
Fabio M. Di Nitto [Thu, 17 Jul 2008 12:33:08 +0000 (14:33 +0200)]
[BUILD] Fix ccs_tool/ccs_test build with new compat code

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
16 years ago[RGMANAGER] Use proper ccs_tool query output
Fabio M. Di Nitto [Thu, 17 Jul 2008 12:29:14 +0000 (14:29 +0200)]
[RGMANAGER] Use proper ccs_tool query output

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
16 years ago[CCS] Make ccs_tool/ccs_test more consistent
Christine Caulfield [Thu, 17 Jul 2008 12:23:42 +0000 (13:23 +0100)]
[CCS] Make ccs_tool/ccs_test more consistent

After much chatter, these tools are more consistent.

ccs_test exists for old and new code, and always returns the
old format output.
ccs_tool query always returns new format output and the -c
flag has been removed.

Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
16 years ago[BUILD] Fix race condition in oldconfig update/execution
Fabio M. Di Nitto [Thu, 17 Jul 2008 10:23:48 +0000 (12:23 +0200)]
[BUILD] Fix race condition in oldconfig update/execution

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
16 years ago[CCS] Set return status on failure
Christine Caulfield [Thu, 17 Jul 2008 08:30:29 +0000 (09:30 +0100)]
[CCS] Set return status on failure

Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
16 years ago[CONFIG] Add some more errnos to libccsconfdb
Christine Caulfield [Thu, 17 Jul 2008 08:28:05 +0000 (09:28 +0100)]
[CONFIG] Add some more errnos to libccsconfdb

Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
16 years ago[RGMANAGER] Port smb resource agent to ccs_tool
Fabio M. Di Nitto [Thu, 17 Jul 2008 04:42:24 +0000 (06:42 +0200)]
[RGMANAGER] Port smb resource agent to ccs_tool

Fix also a wrong arg in get_service_ip_keys in config-utils.sh.in

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
16 years agogfs_controld: add missing endian conversion
David Teigland [Wed, 16 Jul 2008 21:30:48 +0000 (16:30 -0500)]
gfs_controld: add missing endian conversion

for id_info structs in start messages

Signed-off-by: David Teigland <teigland@redhat.com>
16 years agogfs_controld: change start message from new members
David Teigland [Wed, 16 Jul 2008 20:32:16 +0000 (15:32 -0500)]
gfs_controld: change start message from new members

Have new nodes include an id struct for all members so we have the
extra verification step when matching start messages to changes.

Signed-off-by: David Teigland <teigland@redhat.com>
16 years ago[RGMANAGER] Port all resource agents to new ccs interface
Fabio M. Di Nitto [Wed, 16 Jul 2008 19:27:32 +0000 (21:27 +0200)]
[RGMANAGER] Port all resource agents to new ccs interface

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
16 years ago[CCS] Kill obsolted ccs_test
Fabio M. Di Nitto [Wed, 16 Jul 2008 13:49:39 +0000 (15:49 +0200)]
[CCS] Kill obsolted ccs_test

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
16 years ago[CCS] add -c flag to ccs_tool query
Christine Caulfield [Wed, 16 Jul 2008 14:34:40 +0000 (15:34 +0100)]
[CCS] add -c flag to ccs_tool query

The -c (compat) flag displays the query results in the
same format emitted by the old "ccs_test" tool.

Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
16 years ago[BUILD] Fix doc install target when building objects outside source tree
Fabio M. Di Nitto [Wed, 16 Jul 2008 13:42:37 +0000 (15:42 +0200)]
[BUILD] Fix doc install target when building objects outside source tree

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
16 years ago[BUILD] Fix ccs.h include path
Fabio M. Di Nitto [Wed, 16 Jul 2008 13:34:00 +0000 (15:34 +0200)]
[BUILD] Fix ccs.h include path

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
16 years ago[BUILD] Add ccs_test replacement when building legacy_code
Fabio M. Di Nitto [Wed, 16 Jul 2008 08:37:57 +0000 (10:37 +0200)]
[BUILD] Add ccs_test replacement when building legacy_code

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
16 years ago[BUILD] Implement --enable_legacy_code in the build system
Fabio M. Di Nitto [Wed, 16 Jul 2008 08:21:04 +0000 (10:21 +0200)]
[BUILD] Implement --enable_legacy_code in the build system

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
16 years ago[CCS] Fix LEGACY_CODE ifdef
Fabio M. Di Nitto [Wed, 16 Jul 2008 08:09:48 +0000 (10:09 +0200)]
[CCS] Fix LEGACY_CODE ifdef

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
16 years ago[CCS] Fold ccs_test into ccs_tool and tidy
Christine Caulfield [Wed, 16 Jul 2008 08:03:58 +0000 (09:03 +0100)]
[CCS] Fold ccs_test into ccs_tool and tidy

Move all the code from ccs_test into ccs_tool and make it
switch depending on argv[0]. Also add ccs_tool query that
does full XPath queries on confdb.

When build with LEGACY_CODE set ccs_tool will behave as it
used to, talking to ccsd. Without that it will use the
new confdb system and assume that ccsd is NOT used for
distribution of cluster configurations.

Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
16 years ago[CMAN] Don't use logsys in config modules.
Christine Caulfield [Tue, 15 Jul 2008 15:39:24 +0000 (16:39 +0100)]
[CMAN] Don't use logsys in config modules.

Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
16 years agoRevert "[CMAN] Don't use logsys in config modules."
Christine Caulfield [Tue, 15 Jul 2008 15:38:50 +0000 (16:38 +0100)]
Revert "[CMAN] Don't use logsys in config modules."

I'm not sure how those deletes got in there, sorry

This reverts commit 41e7b5a1db20a86d6f5306afeab89944f44bc7b2.

16 years ago[CMAN] Don't use logsys in config modules.
Christine Caulfield [Tue, 15 Jul 2008 15:32:06 +0000 (16:32 +0100)]
[CMAN] Don't use logsys in config modules.

I must not use libraries in config modules
I must not use libraries in config modules
I must not use libraries in config modules
I must not use libraries in config modules
I must not use libraries in config modules
I must not use libraries in config modules
I must not use libraries in config modules
I must not use libraries in config modules
I must not use libraries in config modules
I must not use libraries in config modules

Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
16 years ago[CCS] Set errno when an error occurs.
Christine Caulfield [Tue, 15 Jul 2008 14:55:13 +0000 (15:55 +0100)]
[CCS] Set errno when an error occurs.

Set errno to the error code to be consistent with other libraries.

Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
16 years agodlm_controld: set id before recovery cluster-2.99.06
David Teigland [Mon, 14 Jul 2008 19:40:13 +0000 (14:40 -0500)]
dlm_controld: set id before recovery

The lockspace id needs to be set in the kernel before starting recovery
in the kernel, which depends on a valid id.

Signed-off-by: David Teigland <teigland@redhat.com>
16 years agofenced: fix logsys define
David Teigland [Mon, 14 Jul 2008 16:48:20 +0000 (11:48 -0500)]
fenced: fix logsys define

name is LOG_MODE_FILTER_DEBUG_FROM_SYSLOG

Signed-off-by: David Teigland <teigland@redhat.com>
16 years agofenced: enable new logsys mode flag
David Teigland [Mon, 14 Jul 2008 15:46:48 +0000 (10:46 -0500)]
fenced: enable new logsys mode flag

since it's been commited to openais svn

Signed-off-by: David Teigland <teigland@redhat.com>
16 years ago[CMAN] Remove some spurious prints
Christine Caulfield [Mon, 14 Jul 2008 13:22:47 +0000 (14:22 +0100)]
[CMAN] Remove some spurious prints

They were left in after debugging.

Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
16 years ago[MISC] Fix build with newer toolchain
Fabio M. Di Nitto [Mon, 14 Jul 2008 10:08:08 +0000 (12:08 +0200)]
[MISC] Fix build with newer toolchain

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
16 years ago[BUILD] Clean extra kernel modules files
Fabio M. Di Nitto [Mon, 14 Jul 2008 05:19:23 +0000 (07:19 +0200)]
[BUILD] Clean extra kernel modules files

Signed-off-by: Fabio M. Di Nitto <fabbione@cerberus.int.fabbione.net>
16 years agogroupd: sync daemon setup/structure with others
David Teigland [Fri, 11 Jul 2008 18:39:38 +0000 (13:39 -0500)]
groupd: sync daemon setup/structure with others

This daemon is defunct, but will continue to exist for back compat cases,
so put code in sync with other daemons.

Signed-off-by: David Teigland <teigland@redhat.com>
16 years agofenced: tune logsys settings
David Teigland [Fri, 11 Jul 2008 17:04:26 +0000 (12:04 -0500)]
fenced: tune logsys settings

put errors in fenced.log (in addition to syslog) by default
keep debug out of syslog by default (commented out pending openais commit)

Signed-off-by: David Teigland <teigland@redhat.com>
16 years ago[MISC] Create and install logrotate file
Fabio M. Di Nitto [Fri, 11 Jul 2008 06:58:17 +0000 (08:58 +0200)]
[MISC] Create and install logrotate file

With daemons writing their own log files, we want to rotate them
properly.

Add logrotate snippet in doc/ for who wants to do it manually

Install it in logrotate dir (you will need to rerun configure for this
to be set properly)

Adapt build system to propagate info around

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
16 years agofenced/dlm_controld: fix quorum waiting
David Teigland [Thu, 10 Jul 2008 21:27:14 +0000 (16:27 -0500)]
fenced/dlm_controld: fix quorum waiting

Fix how fenced and dlm_controld check for quorum, and how they verify
that quorum is adjusted for all the necessary failures.

Fix how dlm_controld creates configfs entries for existing cman members.

Signed-off-by: David Teigland <teigland@redhat.com>
16 years agofenced/dlm_controld/gfs_controld: ccs/cman setup
David Teigland [Thu, 10 Jul 2008 18:45:50 +0000 (13:45 -0500)]
fenced/dlm_controld/gfs_controld: ccs/cman setup

Consistently set up and clean up ccs and cman.

Signed-off-by: David Teigland <teigland@redhat.com>
16 years ago[CONFIG] Add a man page for confdb2ldif
Christine Caulfield [Thu, 10 Jul 2008 14:18:12 +0000 (15:18 +0100)]
[CONFIG] Add a man page for confdb2ldif

and make the program do as the man page says.

Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
16 years ago[BUILD] Plug confdb to ldap tool
Fabio M. Di Nitto [Thu, 10 Jul 2008 08:13:53 +0000 (10:13 +0200)]
[BUILD] Plug confdb to ldap tool

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
16 years ago[CONFIG] rename ldap config generator
Christine Caulfield [Thu, 10 Jul 2008 07:51:04 +0000 (08:51 +0100)]
[CONFIG] rename ldap config generator

Rename loadldap to confdb2ldif. This more accurately
expresses what the program does. I've also added a comment
to the generated ldif file.

Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
16 years ago[CONFIG] Fix loadldap include
Fabio M. Di Nitto [Thu, 10 Jul 2008 04:33:53 +0000 (06:33 +0200)]
[CONFIG] Fix loadldap include

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
16 years agogfs_controld: add journal for new node
David Teigland [Wed, 9 Jul 2008 21:19:52 +0000 (16:19 -0500)]
gfs_controld: add journal for new node

Wasn't adding a journal struct for a new node.

Signed-off-by: David Teigland <teigland@redhat.com>
16 years agogfs_controld: add query code
David Teigland [Wed, 9 Jul 2008 18:44:24 +0000 (13:44 -0500)]
gfs_controld: add query code

Also let group_tool query new daemons.

Signed-off-by: David Teigland <teigland@redhat.com>
16 years ago[CONFIG] Add ldap loader
Christine Caulfield [Wed, 9 Jul 2008 14:18:09 +0000 (15:18 +0100)]
[CONFIG] Add ldap loader

Add a new tool to load an existing cluster config into LDAP. This
is as incomplete as the schema at the moment, but it will allow
you to add nodes and some very basic fencing devices.

It uses libconfdb so it can migrate either a running system
or a cluster.conf file.

Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
This page took 0.074304 seconds and 5 git commands to generate.