public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster: master - cman: make sure we load corosync's quorum service
@ 2009-01-27 12:57 Christine Caulfield
0 siblings, 0 replies; only message in thread
From: Christine Caulfield @ 2009-01-27 12:57 UTC (permalink / raw)
To: cluster-cvs-relay
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=ae050d89cf32c6408af1ca7a28c832f7b546c790
Commit: ae050d89cf32c6408af1ca7a28c832f7b546c790
Parent: 88ea8eac58662f32b22b011f80eaca2636a036c0
Author: Christine Caulfield <ccaulfie@redhat.com>
AuthorDate: Tue Jan 27 10:11:07 2009 +0000
Committer: Christine Caulfield <ccaulfie@redhat.com>
CommitterDate: Tue Jan 27 12:55:57 2009 +0000
cman: make sure we load corosync's quorum service
Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
---
cman/config/cman-preconfig.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/cman/config/cman-preconfig.c b/cman/config/cman-preconfig.c
index c3d9cee..ce63545 100644
--- a/cman/config/cman-preconfig.c
+++ b/cman/config/cman-preconfig.c
@@ -823,6 +823,14 @@ static void add_cman_overrides(struct objdb_iface_ver0 *objdb)
}
objdb->object_find_destroy(find_handle);
+ /* Load the quorum service */
+ objdb->object_create(OBJECT_PARENT_HANDLE, &object_handle,
+ "service", strlen("service"));
+ objdb->object_key_create(object_handle, "name", strlen("name"),
+ "corosync_quorum", strlen("corosync_quorum") + 1);
+ objdb->object_key_create(object_handle, "ver", strlen("ver"),
+ "0", 2);
+
/* Make sure we load our alter-ego - the main cman module */
objdb->object_create(OBJECT_PARENT_HANDLE, &object_handle,
"service", strlen("service"));
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-01-27 12:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-27 12:57 cluster: master - cman: make sure we load corosync's quorum service Christine Caulfield
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).