Hi Jiaju I tried booth and I found this error
crm_ticket: invalid option -- 'n' Is that right -n option in pacemaker tools? I think -v option is right. then send the attated patch file. check the file please. Best Regards, Taihun (2011/12/05 15:18), Jiaju Zhang wrote:
Hello everyone, I'm happy to announce to the Booth cluster ticket manager, which is part of the key feature for pacemaker in 2011 - improving support for multi-site clusters. Multi-site clusters can be considered as “overlay” clusters where each cluster site corresponds to a cluster node in a traditional cluster. The overlay cluster is managed by the booth mechanism. It guarantees that the cluster resources will be highly available across different cluster sites takes. This is achieved by using so-called tickets that are treated as failover domain between cluster sites, in case a site should be down. Booth is designed to be an add-on of pacemaker, and now it is also hosted in ClusterLabs, together with pacemaker. You can find it from: https://github.com/ClusterLabs/booth Now, booth is still in heavy development, so it may not work for you for the time being;) But I'll be working on it ... Review and comments are highly appreciated! Thanks, Jiaju _______________________________________________ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org
diff --git a/src/pacemaker.c b/src/pacemaker.c index 9fd596a..d7c16ca 100644 --- a/src/pacemaker.c +++ b/src/pacemaker.c @@ -27,7 +27,7 @@ static void pcmk_grant_ticket(const void *ticket) FILE *p; char cmd[COMMAND_MAX]; - snprintf(cmd, COMMAND_MAX, "crm_ticket -t %s -n true", (char *)ticket); + snprintf(cmd, COMMAND_MAX, "crm_ticket -t %s -v true", (char *)ticket); log_info("command: '%s' was executed", cmd); p = popen(cmd, "r"); if (p == NULL) { @@ -44,7 +44,7 @@ static void pcmk_revoke_ticket(const void *ticket) FILE *p; char cmd[COMMAND_MAX]; - snprintf(cmd, COMMAND_MAX, "crm_ticket -t %s -n false", (char *)ticket); + snprintf(cmd, COMMAND_MAX, "crm_ticket -t %s -v false", (char *)ticket); log_info("command: '%s' was executed", cmd); p = popen(cmd, "r"); if (p == NULL) {
_______________________________________________ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org