[Pacemaker] Installation woes (w/Debian packages)

2009-10-05 Thread Colin
ople successfully use? Thanks, Colin ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Re: [Pacemaker] Installation woes (w/Debian packages)

2009-10-05 Thread Colin
On Mon, Oct 5, 2009 at 8:25 PM, Stefan wrote: > helo, > > Am Montag 05 Oktober 2009 16:30:37 schrieb Colin: >> Hi All, >> >> in order to evaluate Pacemaker for our new cluster (the features shown >> in "Configuration Explained" are exactly what we need,

Re: [Pacemaker] Installation woes (w/Debian packages)

2009-10-05 Thread Colin
On Mon, Oct 5, 2009 at 4:53 PM, Johan Verrept wrote: > On Mon, 2009-10-05 at 16:30 +0200, Colin wrote: > >> - The pacemaker-heartbeat installation, with "crm yes" in >> /etc/ha.d/ha.cf, does not seem to start pacemaker, at least a crm_mon >> just hangs try

Re: [Pacemaker] Installation woes (w/Debian packages)

2009-10-06 Thread Colin
Is there a complete documentation of all config-parameters somewhere? A heap of "Using default value for..." just scrolled by in the log, with most of the affected parameters not even appearing once in the documentation... Regards, Colin ___

Re: [Pacemaker] Installation woes (w/Debian packages)

2009-10-06 Thread Colin
/var/run/crm created the cluster at least stays up, and crm_mon gives me some sane output. cluster0:/var/run# mkdir crm cluster0:/var/run# chown hacluster:haclient crm I'll take it from there... Thanks, Colin ___ Pacemaker mailing list Pacem

Re: [Pacemaker] Installation woes (w/Debian packages)

2009-10-06 Thread Colin
On Tue, Oct 6, 2009 at 9:59 AM, Andrew Beekhof wrote: > On Tue, Oct 6, 2009 at 8:58 AM, Colin wrote: >> Is there a complete documentation of all config-parameters somewhere? >> >> A heap of "Using default value for..." just scrolled by in the log, >> with mos

Re: [Pacemaker] Installation woes (w/Debian packages)

2009-10-09 Thread Colin
On Wed, Oct 7, 2009 at 11:31 AM, Andrew Beekhof wrote: > On Tue, Oct 6, 2009 at 10:19 AM, Colin wrote: > > ok, you can run both of those commands with metadata to get the descriptions >  /usr/lib/heartbeat/crmd metadata >  /usr/lib/heartbeat/pengine metadata Thanks for the hint;

[Pacemaker] Access CIB/CRM via IPC/Library?

2009-10-09 Thread Colin
that crm and cibadmin use libcrmcommon to communicate via the Unix sockets in /var/run/crm. Is this library documented anywhere? Are there Python-bindings? Is there any other officially supported API? Thanks, Colin ___ Pacemaker mailing list Pacemaker

Re: [Pacemaker] Access CIB/CRM via IPC/Library?

2009-10-14 Thread Colin
Ok, thanks for the pointers. Colin ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Re: [Pacemaker] Installation woes (w/Debian packages)

2009-10-15 Thread Colin
On Sun, Oct 11, 2009 at 9:13 PM, Andrew Beekhof wrote: > On Fri, Oct 9, 2009 at 3:12 PM, Colin wrote: >> The config explained document is excellent -- once everything is up >> and running to arrive at "its level". > > Agreed.  I've started working on some h

Re: [Pacemaker] Installation woes (w/Debian packages)

2009-10-16 Thread Colin
On Thu, Oct 15, 2009 at 10:51 AM, Matthew Palmer wrote: > On Thu, Oct 15, 2009 at 10:07:56AM +0200, Colin wrote: >> Another question regarding how to activate a pacemaker config: Is >> there any way to activate the config before the cluster starts up? >> >> (Scenario

Re: [Pacemaker] Adding Cluster Nodes in Pacemaker "Configuration Explained"

2009-10-21 Thread Colin
On Wed, Oct 21, 2009 at 12:14 PM, Andrew Beekhof wrote: > On Oct 21, 2009, at 12:11 PM, Colin wrote: >> On Wed, Oct 21, 2009 at 12:00 PM, Andrew Beekhof wrote: >>> On Oct 21, 2009, at 11:50 AM, Colin wrote: >>>> On Wed, Oct 21, 2009 at 11:12 AM, Andrew Beekhof >

[Pacemaker] Load Balancing, Node Scores and Stickiness

2009-10-21 Thread Colin
signment of nodes proceed? My guess is something like: for every resource in order of resource priority choose node with highest score for that resource ??? somehow modify scores to prevent all resources on one node Are the details documented anywhere [except for the

Re: [Pacemaker] Load Balancing, Node Scores and Stickiness

2009-10-22 Thread Colin
On Thu, Oct 22, 2009 at 11:40 AM, Andrew Beekhof wrote: > On Wed, Oct 21, 2009 at 2:06 PM, Colin wrote: >> >> it seems from the documentation that Pacemaker has some inherent >> tendency to to load-balancing, in the sense of, given equal choice, >> not starting all

Re: [Pacemaker] Load Balancing, Node Scores and Stickiness

2009-10-23 Thread Colin
tion of resources (perfect could be too hard, this is squarely in NP-complete land; PostgreSQL uses a genetic algorithm for query optimisation...). This is not as good as dynamic balancing, but still better than nothing, for example this could make sure that a resource with a tendency to do I/O runs on the same node with a resource that generally uses much CPU... Regards, Colin ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Re: [Pacemaker] Load Balancing, Node Scores and Stickiness

2009-10-26 Thread Colin
On Fri, Oct 23, 2009 at 2:23 PM, Andrew Beekhof wrote: > On Fri, Oct 23, 2009 at 10:13 AM, Colin wrote: >> On Thu, Oct 22, 2009 at 3:51 PM, Johan Verrept wrote: >>> On Thu, 2009-10-22 at 15:10 +0200, Florian Haas wrote: >>>> On 10/22/2009 02:37 PM, Andrew Beekhof w

Re: [Pacemaker] [ANNOUNCEMENT] Debian Packages for Pacemaker 1.0.6, completely revamped

2009-11-04 Thread Colin
to try out pacemaker with corosync from the latest packages, what do I minimally need to set up? Thanks, Colin ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Re: [Pacemaker] [ANNOUNCEMENT] Debian Packages for Pacemaker 1.0.6, completely revamped

2009-11-04 Thread Colin
On Wed, Nov 4, 2009 at 2:32 PM, Colin wrote: > On Tue, Nov 3, 2009 at 4:32 PM, Martin Gerhard Loschwitz wrote: > > One question: AFAICS the package dependencies automatically install > corosync, but not heartbeat; so in order to use pacemaker with > heartbeat we need to (a) disa

Re: [Pacemaker] [ANNOUNCEMENT] Debian Packages for Pacemaker 1.0.6, completely revamped

2009-11-04 Thread Colin
it for the next round of tests, i.o.w., the details of the cluster underneath Pacemaker are so well hidden that (a) it doesn't make much difference, and (b) my ignorance in that area never was a problem: It just works. -Colin ___ Pac

Re: [Pacemaker] Adding Cluster Nodes in Pacemaker "Configuration Explained"

2009-11-05 Thread Colin
On Thu, Nov 5, 2009 at 7:32 PM, Andrew Beekhof wrote: > On Thu, Nov 5, 2009 at 4:25 PM, Colin wrote: >> On Wed, Oct 21, 2009 at 2:57 PM, Andrew Beekhof wrote: >>> On Wed, Oct 21, 2009 at 1:48 PM, Colin wrote: >>>> Let's see whether I can summarise corre

Re: [Pacemaker] Suggestions/questions for Pacemaker

2009-11-08 Thread Colin
On Fri, Nov 6, 2009 at 12:56 PM, Andrew Beekhof wrote: > On Fri, Nov 6, 2009 at 12:16 PM, Colin wrote: > >> 2) If I haven't missed something, there is no possibility to configure >> dependencies on "any of a group"; given a configuration of "resource >&

Re: [Pacemaker] Installation woes (w/Debian packages)

2009-11-09 Thread Colin
and load > the config using the crm shell. Is it correct, that the remote-{clear|tls}-port attributes are only honoured at startup, i.e. I need to restart corosync (or shoot down the cib process) in order to get the port to be opened? That would mean a stop-start cycle of the cluster on eve

[Pacemaker] Remote Access not Working

2009-11-09 Thread Colin
s from cleanly shutting down, too. Am I doing something obviously wrong? Thanks, Colin PS: AFAICS the remote access does not support something like failover, or connections to multiple cluster hosts, so I'll have to roll my own wrapper that takes care of the issue? _

Re: [Pacemaker] Remote Access not Working

2009-11-10 Thread Colin
Does anybody else successfully use this feature, or is it suffering from bit-rot? Thanks, Colin ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Re: [Pacemaker] Remote Access not Working

2009-11-12 Thread Colin
ouple dozen attempts, did the remote access actually yield the correct output, other times it completely fails without any apparent reason ... at this point I'm not quite sure what to make of all this. Regards, Colin ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Re: [Pacemaker] Remote Access not Working

2009-11-16 Thread Colin
Hi Andrew, thanks for your response! On Mon, Nov 16, 2009 at 3:19 PM, Andrew Beekhof wrote: > On Thu, Nov 12, 2009 at 4:46 PM, Colin wrote: >> On Thu, Nov 12, 2009 at 3:36 PM, Andrew Beekhof wrote: > >> 5) The log message "cib: [2941]: debug: cib_remote_listen: New &

Re: [Pacemaker] Remote Access not Working

2009-11-16 Thread Colin
On Mon, Nov 16, 2009 at 4:42 PM, Andrew Beekhof wrote: > On Mon, Nov 16, 2009 at 4:31 PM, Colin wrote: >> >> On Mon, Nov 16, 2009 at 3:19 PM, Andrew Beekhof wrote: >>> On Thu, Nov 12, 2009 at 4:46 PM, Colin wrote: >>>> On Thu, Nov 12, 2009 at 3:36 PM, Andrew

Re: [Pacemaker] Remote Access not Working

2009-11-19 Thread Colin
On Thu, Nov 19, 2009 at 8:31 PM, Andrew Beekhof wrote: > Fixed the plaintext connections and made a couple of the changes you > suggested. > > http://hg.clusterlabs.org/pacemaker/stable-1.0/rev/971d8989e9f0 That's great, thanks! /me is off to compile

Re: [Pacemaker] Remote Access not Working

2009-11-20 Thread Colin
goto bail; } } And that is as far as I can get with crm_mon, as it doesn't supports continuous update via remote access? static int cib_remote_set_connection_dnotify( cib_t *cib, void (*dnotify)(gpointer user_data)) { return cib_NOTSUPPORTED; }

Re: [Pacemaker] Remote Access not Working

2009-11-20 Thread Colin
On Fri, Nov 20, 2009 at 12:36 PM, Andrew Beekhof wrote: > On Fri, Nov 20, 2009 at 11:17 AM, Colin wrote: >> - The assumption that a partial read (wrt. the buffer) signals no more >> data is IMO not valid. > > It is if you didn't get a signal. What if the number of payl

Re: [Pacemaker] Remote Access not Working

2009-11-20 Thread Colin
PS: I believe this CRM_ASSERT() in lib/common/remote.c can never trigger. if(encrypted) { #ifdef HAVE_GNUTLS_GNUTLS_H reply = cib_recv_tls(session); #else CRM_ASSERT(encrypted == FALSE); #endif } else { ___ Pacemaker mailing list

Re: [Pacemaker] Remote Access not Working

2009-11-23 Thread Colin
clear-text connections. Downloading ... Compiling ... Testing ... Success! (Although there's still the following message from crm_mon: "Notification setup failed, won't be able to reconnect after failure", it does seem to hang on and update itself correctly wh

Re: [Pacemaker] Remote Access not Working

2009-11-23 Thread Colin
mplement that functionality too and the message will go away. Then the next Cool Thing would be to support multiple CIB_servers and use the first one that a connection can be made to. Hm. Or do other people use a clustered IP address for remote administration, toget

Re: [Pacemaker] Remote Access not Working

2009-11-27 Thread Colin
On Mon, Nov 23, 2009 at 9:59 AM, Colin wrote: > On Fri, Nov 20, 2009 at 8:05 PM, Andrew Beekhof wrote: >> On Fri, Nov 20, 2009 at 12:36 PM, Andrew Beekhof wrote: >>> Remote notifications should work, I'll test that today. >> >> As of http://hg.clust

[Pacemaker] How to delete a resource

2009-12-07 Thread Colin
these methods don't work, and the "crm"-shell doesn't have a "delete" for resources, is there an official and simple way to delete a resource? (Otherwise I need to shutdown the cluster on all nodes, trash the cib, and configure from scratch.) Thanks, Colin _

Re: [Pacemaker] How to delete a resource

2009-12-07 Thread Colin
On Mon, Dec 7, 2009 at 11:03 AM, Tim Serong wrote: > On 12/7/2009 at 08:53 PM, Colin wrote: >> Hi, >> >> when trying to delete a resource, either by replacing the whole >> ""-part of the CIB with cibadmin with a new version where >> some resources

Re: [Pacemaker] How to delete a resource

2009-12-07 Thread Colin
On Mon, Dec 7, 2009 at 11:06 AM, Michael Schwartzkopff wrote: > Am Montag, 7. Dezember 2009 10:53:46 schrieb Colin: >> Hi, >> >> when trying to delete a resource, either by replacing the whole >> ""-part of the CIB with cibadmin with a new version where >&

Re: [Pacemaker] How to delete a resource

2009-12-07 Thread Colin
On Mon, Dec 7, 2009 at 12:07 PM, Andrew Beekhof wrote: > On Mon, Dec 7, 2009 at 11:10 AM, Colin wrote: >>>  # crm configure delete >> >> Thanks, that did the trick — it recursively deletes everything >> connected to the resource. >> >> Wonder why crm_

Re: [Pacemaker] How to delete a resource

2009-12-07 Thread Colin
On Mon, Dec 7, 2009 at 12:27 PM, Andrew Beekhof wrote: > On Mon, Dec 7, 2009 at 12:14 PM, Colin wrote: >> On Mon, Dec 7, 2009 at 12:07 PM, Andrew Beekhof wrote: >>> On Mon, Dec 7, 2009 at 11:10 AM, Colin wrote: >>>>>  # crm configure delete >>

Re: [Pacemaker] Remote Access not Working

2009-12-10 Thread Colin
On Thu, Dec 10, 2009 at 2:00 PM, Andrew Beekhof wrote: > On Fri, Nov 27, 2009 at 10:54 AM, Colin wrote: >> On Mon, Nov 23, 2009 at 9:59 AM, Colin wrote: >>> On Fri, Nov 20, 2009 at 8:05 PM, Andrew Beekhof wrote: >>>> On Fri, Nov 20, 2009 at 12:36 PM, Andrew Beek

Re: [Pacemaker] Split Site 2-way clusters

2010-01-18 Thread Colin
hanks, Colin ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Re: [Pacemaker] Split Site 2-way clusters

2010-01-18 Thread Colin
on in the case of a) a fire area losing power, b) the separate quorum-server failing, or c) the cross-fire-area cluster-interconnects failing (but not more than one failure at a time)…) Regards, Colin ___ Pacemaker mailing list Pacemaker@os

Re: [Pacemaker] Starting Pacemaker Cluster Manager: [FAILED]

2013-06-18 Thread Colin Blair
Pacemaker cluster resource manager Subject: Re: [Pacemaker] Starting Pacemaker Cluster Manager: [FAILED] On 18/06/2013, at 3:09 AM, Colin Blair wrote: > All, > Newbie here. I am trying to create a two-node cluster with the following: > > Ubuntu Server 11.10 > Pacemaker 1.1.5 >

Re: [Pacemaker] Starting Pacemaker Cluster Manager: [FAILED]

2013-06-18 Thread Colin Blair
Thanks Sven. Unfortunately, I am unable at this time. CB -Original Message- From: Sven Arnold [mailto:sven.arn...@localite.de] Sent: Tuesday, June 18, 2013 3:50 AM To: The Pacemaker cluster resource manager Subject: Re: [Pacemaker] Starting Pacemaker Cluster Manager: [FAILED] Hi Colin

Re: [Pacemaker] Starting Pacemaker Cluster Manager: [FAILED]

2013-06-19 Thread Colin Blair
service cman start. Thx, CB -Original Message- From: Andrew Beekhof [mailto:and...@beekhof.net] Sent: Tuesday, June 18, 2013 8:03 PM To: The Pacemaker cluster resource manager Subject: Re: [Pacemaker] Starting Pacemaker Cluster Manager: [FAILED] On 18/06/2013, at 9:35 PM, Colin Blair

[Pacemaker] NIC memory dump on 2nd node Corosync startup

2013-06-19 Thread Colin Blair
All, Anyone run into a NIC memory dump when Corosync is started on 2nd node? Corosync starts fine on each node. When I start them at the same time, the network is flooded and the NICs memory dump. Ubuntu 11.10 Corosync 1.1.3 Thx, CB The information contained in this transmission may contain p

[Pacemaker] GPU Processing

2013-06-25 Thread Colin Blair
Andrew, Does Pacemaker support GPU processes? R, CB The information contained in this transmission may contain privileged and confidential information. It is intended only for the use of the person(s) named above. If you are not the intended recipient, you are hereby notified that any review,

[Pacemaker] Pacemaker error trying to add Apache resource

2013-06-26 Thread Colin Blair
All, Couldn't find a solution in the forum. Configuration info: Ubuntu 12.04 Server Corosync 1.4.2 cman plugin Pacemaker 1.1.6 Apache 2.2.22 I have an active/passive 2-node cluster running. I am receiving the following error when adding the web-server resource: Failed actions: web-server_start_

Re: [Pacemaker] Pacemaker error trying to add Apache resource

2013-06-26 Thread Colin Blair
- Original Message - > From: "Colin Blair" > To: "The Pacemaker cluster resource manager" > > Sent: Wednesday, June 26, 2013 10:56:49 AM > Subject: [Pacemaker] Pacemaker error trying to add Apache resource > > All, > Couldn't

Re: [Pacemaker] Cannot create more than 27 multistate resources

2014-07-21 Thread Colin Mason
from --xml-text (-X) to --xml-file (-x) and use the XML file you just created. Fixed. Colin -Original Message- From: Chris Feist [mailto:cfe...@redhat.com] Sent: Monday, July 21, 2014 11:14 AM To: K Mehta Cc: The Pacemaker cluster resource manager Subject: Re: [Pacemaker] Cannot create

[Pacemaker] Can't issue 'crm configure' commands under privileged user

2012-09-27 Thread Colin McCormack
Hi, I can't issue 'crm configure' commands under a designated privileged user (via: crm options user priv_user) - pacemaker seems to be only be able to be configured via the 'root' user. Run with sudo it gives this error: 'cibadmin not available, check your installation' Steps taken: I insta

Re: [Pacemaker] Can't issue 'crm configure' commands under privileged user

2012-09-28 Thread Colin McCormack
012 16:40:15 +0200 From: Lars Marowsky-Bree To: The Pacemaker cluster resource manager Subject: Re: [Pacemaker] Can't issue 'crm configure' commands under privileged user Message-ID:<20120927144015.go4...@suse.de> Content-Type: text/plain; charset=iso-

Re: [Pacemaker] Can't issue 'crm configure' commands under privileged user

2012-09-28 Thread Colin McCormack
Hi Dejan - thanks for taking the time to respond again >"Hangs? Wasn't it in the first message that "cibadmin is not available"? If it hangs, then you should check the process list (pstree) to see what the shell is doing at the time and take a look at the logs." crm configure... Hangs sudo crm

Re: [Pacemaker] Can't issue 'crm configure' commands under privileged user

2012-10-02 Thread Colin McCormack
t the latest version? yum update of course had no tagged updates. Cheers and thanks again Col On 10/01/12 10:06, pacemaker-requ...@oss.clusterlabs.org wrote: On Fri, Sep 28, 2012 at 04:51:36PM +0100, Colin McCormack wrote: > Hi Dejan - thanks for taking the time to respond again > >

Re: [Pacemaker] Can't issue 'crm configure' commands under privileged user

2012-10-02 Thread Colin McCormack
Hi Dejan, I see that's some kind of workaround in pacemaker code - but how do i affect a workaround? But i need a workaround from the terminal/bash So when i do: crm configure... it won't hang on me Cheers again Col On 10/02/12 12:04, pacemaker-requ...@oss.clusterlabs.org wrote: Ah, it's v

Re: [Pacemaker] Can't issue 'crm configure' commands under privileged user

2012-10-03 Thread Colin McCormack
On 10/02/12 15:49, pacemaker-requ...@oss.clusterlabs.org wrote: Check out http://clusterlabs.org/rpm-next for the latest pacemaker for RHEL5 derivatives. Thank you! No more hangs! Although i leave the "crm options user hacluster" my normal linux u

[Pacemaker] Following the clusters from scratch v2 document, and coming up with weird (erroneous?) errors...

2011-04-07 Thread Colin Hines
I've recently followed the clusters from scratch v2 document for RHEL and although my cluster works and fails over correctly using corosync, I have the following error message coming up in my logs consistently, twice a minute: Apr 7 17:44:41 cvt-db-005 cl_status: [5901]: ERROR: Cannot signon with

Re: [Pacemaker] Following the clusters from scratch v2 document, and coming up with weird (erroneous?) errors...

2011-04-08 Thread Colin Hines
sages. I can break/fix the issue by installing and removing the heartbeat-3.0.3-2.3.el5.x86_64 package. c On Fri, Apr 8, 2011 at 9:48 AM, Lars Ellenberg wrote: > On Fri, Apr 08, 2011 at 09:13:45AM +0200, Andrew Beekhof wrote: > > On Thu, Apr 7, 2011 at 11:48 PM, Colin Hines > wrote

[Pacemaker] Setting the logfile option in corosync.conf to a directory not created causes corosync to fail to start with non-descriptive parse error...

2011-04-08 Thread Colin Hines
Just adding this as an FYI if anyone comes across it... Not creating the logfile directory that is listed in corosync.conf will create the following log errors and corosync will fail to start (this is with the latest rpm based builds from http://www.clusterlabs.org/rpm/epel-5/ Apr 8 12:34:24 cvt