Hi,
after quite some time I want to start developing again. Is there any help and
example how to use the corosync / pacemaker APIs?
Especially I would like to find out how many nodes are in a cluster and how
many nodes are online. Perhaps somebody could post a code snipplet here.
Thanks.
--
Am Mittwoch, 12. Juni 2013, 09:42:13 schrieb Andrew Beekhof:
> On 12/06/2013, at 4:48 AM, Michael Schwartzkopff
wrote:
> > Am Dienstag, 11. Juni 2013, 22:33:32 schrieb Andrey Groshev:
> > > Hi,
> > > I want to make Postgres cluster.
> > > As far as I understand, for the proper functioning of the
On 2013-06-12T09:09:31, Michael Schwartzkopff wrote:
> Especially I would like to find out how many nodes are in a cluster and how
> many nodes are online. Perhaps somebody could post a code snipplet here.
I think you might find the crm_mon.c source code useful for this.
Regards,
Lars
--
On 2013-06-05T20:44:56, Michael Schwartzkopff wrote:
Hi Michael,
yes, the idea to make utilization more dynamic was something Andrew and
I looked into ages ago.
Especially, there's still the open issue that it somewhat sucks that one
has to configure them at all. It'd be nice if monitor_0 would
Am Mittwoch, 12. Juni 2013, 11:01:18 schrieb Lars Marowsky-Bree:
> On 2013-06-05T20:44:56, Michael Schwartzkopff wrote:
>
> Hi Michael,
>
> yes, the idea to make utilization more dynamic was something Andrew and
> I looked into ages ago.
>
> Especially, there's still the open issue that it some
Am Mittwoch, 12. Juni 2013, 10:08:39 schrieb Lars Marowsky-Bree:
> On 2013-06-12T09:09:31, Michael Schwartzkopff wrote:
> > Especially I would like to find out how many nodes are in a cluster and
> > how
> > many nodes are online. Perhaps somebody could post a code snipplet here.
>
> I think you
On 2013-06-12T12:03:46, Michael Schwartzkopff wrote:
> > I think you might find the crm_mon.c source code useful for this.
> Thanks. That helps a lot.
It's where I stole the bits I needed for SBD from ;-)
Regards,
Lars
--
Architect Storage/HA
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jenn
Hi,
sorry for my mistake of course is hacluster the pacemaker user.
nagios user is in haclient group and have full access for crmshell without
having any role/user configuration. my pacemaker version is
pacemaker-1.1.10-1.1622.6ca9c6b.git.el6.x86_64
In my opinion the user doesn´t have any righ
Hi,
On Tue, Jun 11, 2013 at 02:21:11PM +0200, andreas graeper wrote:
> hi,
> when
> crm node online|standby
> i get this error message :
> Cannot change active directory to /var/lib/pacemaker/cores/root: No such
> file or directory (2)
Looks like something wrong with the pacemaker installation.
On 12/06/2013, at 8:42 PM, Dejan Muhamedagic wrote:
> Hi,
>
> On Tue, Jun 11, 2013 at 02:21:11PM +0200, andreas graeper wrote:
>> hi,
>> when
>> crm node online|standby
>> i get this error message :
>> Cannot change active directory to /var/lib/pacemaker/cores/root: No such
>> file or directory
Hi all!
We are working according to this documents:
http://clusterlabs.org/doc/en-US/Pacemaker/1.1-plugin/html-single/Clusters_from_Scratch/index.html#_update_the_configuration
https://github.com/ClusterLabs/pacemaker/blob/master/doc/pcs-crmsh-quick-ref.md
We have added Apache using the follow
On 2013-06-12T17:08:22, Michael Furman wrote:
> pcs
> resource create WebSite ocf:heartbeat:apache params
> configfile=/etc/httpd/conf/httpd.conf op monitor interval=20s
>
> Then, to
> test the failover we stop Apache using the following command:
>
> service httpd stop
>
>
> We see that Apach
--
Dr. Michael Schwartzkopff
Guardinistr. 63
81375 München
Tel: (0163) 172 50 98___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker
Project Home: http://www.clusterlabs.org
Getting started: h
- Original Message -
> From: "Michael Furman"
> To: pacemaker@oss.clusterlabs.org
> Sent: Wednesday, June 12, 2013 9:08:22 AM
> Subject: [Pacemaker] Why Pacemaker 1.1.8 starts Apache service?
>
>
>
> Hi all!
>
>
> We are working according to this documents:
> http://clusterlabs.or
Thank you for the fast reply!
Personally I do not think that starting of the service is
the issue.
May be I missed it in the documentation.
According to my understanding, all resources added to Pacemaker
are added as managed and monitored resources.
Can I configure a resource to be only a m
- Original Message -
> From: "Michael Schwartzkopff"
> To: pacemaker@oss.clusterlabs.org
> Sent: Wednesday, June 12, 2013 9:21:08 AM
> Subject: [Pacemaker] clusterlabs.org down?
yep, it is down for me as well.
-- Vossel
> --
>
> Dr. Michael Schwartzkopff
>
> Guardinistr. 63
>
>
On 06/12/2013 10:41 AM, David Vossel wrote:
- Original Message -
From: "Michael Schwartzkopff"
To: pacemaker@oss.clusterlabs.org
Sent: Wednesday, June 12, 2013 9:21:08 AM
Subject: [Pacemaker] clusterlabs.org down?
yep, it is down for me as well.
-- Vossel
Down here, too.
We should
On 2013-06-12T11:31:43, Michael Schwartzkopff wrote:
> > Pacemaker is not necessarily the best tool to implement quick reaction
> > to changing load, though. The utilization feature is concerned with
> > *correctness* first - namely, don't overcommit resources severely, e.g.,
> > the case of Xen/
Hi Digimer,
oh...sorry...just stonithed the server while
trying to reverse engineer the fence api...
;)
Best regards
Andreas Mock
-Ursprüngliche Nachricht-
Von: Digimer [mailto:li...@alteeve.ca]
Gesendet: Mittwoch, 12. Juni 2013 16:45
An: The Pacemaker cluster resource manager
Betre
On 06/12/2013 11:42 AM, Andreas Mock wrote:
Hi Digimer,
oh...sorry...just stonithed the server while
trying to reverse engineer the fence api...
;)
Best regards
Andreas Mock
Haha!
Smart asses everywhere. :p
--
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer i
On Wed, Jun 12, 2013 at 11:42 AM, Andreas Mock wrote:
> Hi Digimer,
>
> oh...sorry...just stonithed the server while
> trying to reverse engineer the fence api...
>
> ;)
>
> Best regards
> Andreas Mock
>
>
Should have kept cman's implementation of fenced
N.
_
On 06/12/2013 03:06 AM, Michael Schwartzkopff wrote:
Am Mittwoch, 12. Juni 2013, 09:42:13 schrieb Andrew Beekhof:
> On 12/06/2013, at 4:48 AM, Michael Schwartzkopff
wrote:
> > Am Dienstag, 11. Juni 2013, 22:33:32 schrieb Andrey Groshev:
> > > Hi,
> > > I want to make Postgres cluster.
> > >
On 06/12/2013 11:57 AM, Digimer wrote:
Run IPMI through your primary fence and the PDUs through your backup switch
Run IPMI through your primary *switch* and the PDUs through your backup
switch
--
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in th
On 2013-06-12T11:57:05, Digimer wrote:
> I build exclusively two-node clusters, and the biggest draw-back is the
> possibility of a "fence loop". That is, without quorum and with a network
> error, a node can come up on it's own, fail to contact it's peer and fence
> it. When the fenced node boot
Seems up now... I didn't do anything
On 13/06/2013, at 12:41 AM, David Vossel wrote:
>
>
>
>
> - Original Message -
>> From: "Michael Schwartzkopff"
>> To: pacemaker@oss.clusterlabs.org
>> Sent: Wednesday, June 12, 2013 9:21:08 AM
>> Subject: [Pacemaker] clusterlabs.org down?
>
> y
On 13/06/2013, at 1:42 AM, Andreas Mock wrote:
> Hi Digimer,
>
> oh...sorry...just stonithed the server while
> trying to reverse engineer the fence api...
Nah, it was probably just the NSA taking a backup.
>
> ;)
>
> Best regards
> Andreas Mock
>
>
>
> -Ursprüngliche Nachricht-
On 13/06/2013, at 1:57 AM, Digimer wrote:
> On 06/12/2013 03:06 AM, Michael Schwartzkopff wrote:
>> Am Mittwoch, 12. Juni 2013, 09:42:13 schrieb Andrew Beekhof:
>> > On 12/06/2013, at 4:48 AM, Michael Schwartzkopff
>> wrote:
>> > > Am Dienstag, 11. Juni 2013, 22:33:32 schrieb Andrey Groshev:
>>
On 12/06/2013, at 8:28 PM, Wolfgang Routschka
wrote:
> Hi,
>
> sorry for my mistake of course is hacluster the pacemaker user.
>
> nagios user is in haclient group and have full access for crmshell without
> having any role/user configuration. my pacemaker version is
> pacemaker-1.1.10-1.16
Hi Andrew,
can you tell me what the attribute #uname is holding?
Is it the node-name or the 'uname -n' of the node?
(I justt read
http://clusterlabs.org/doc/en-US/Pacemaker/1.1-plugin/html-single/Pacemaker_
Explained/index.html#_which_resource_instance_is_promoted)
Is there an attribute like '#n
Hahah The plot the thickens
Nick from Toronto.
___
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/
On 13/06/2013, at 7:50 AM, "Andreas Mock" wrote:
> Hi Andrew,
>
> can you tell me what the attribute #uname is holding?
> Is it the node-name or the 'uname -n' of the node?
The value for uname in which contains the name of the
node (either "uname -n" or something you chose).
Changing that f
On 12/06/2013, at 3:13 PM, Michael Schwartzkopff wrote:
> Am Mittwoch, 12. Juni 2013, 08:06:43 schrieb Andrew Beekhof:
> > On 08/06/2013, at 6:49 PM, Michael Schwartzkopff
> > wrote:
> > > Am Donnerstag, 6. Juni 2013, 14:08:26 schrieb Andrew Beekhof:
> > > > On 06/06/2013, at 4:44 AM, Michael
On 12/06/2013, at 4:02 PM, ESWAR RAO wrote:
> Hi All,
>
> I have a 3 node setup with heartbeat+pacemaker.
>
> After some time I observed that "Current DC:" keeps on changing between the 3
> nodes.
That means something it probably crashing, a lot.
> I also observed that the monitoring of res
On 12/06/2013, at 6:08 PM, Lars Marowsky-Bree wrote:
> On 2013-06-12T09:09:31, Michael Schwartzkopff wrote:
>
>> Especially I would like to find out how many nodes are in a cluster and how
>> many nodes are online. Perhaps somebody could post a code snipplet here.
>
> I think you might find
On 06/12/2013 05:59 PM, Nick Khamis wrote:
Hahah The plot the thickens
Nick from Toronto.
Hello from another Torontonian! :)
--
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without
access to education?
___
On 06/12/2013 05:45 PM, Andrew Beekhof wrote:
On 13/06/2013, at 1:57 AM, Digimer wrote:
On 06/12/2013 03:06 AM, Michael Schwartzkopff wrote:
Am Mittwoch, 12. Juni 2013, 09:42:13 schrieb Andrew Beekhof:
On 12/06/2013, at 4:48 AM, Michael Schwartzkopff
wrote:
Am Dienstag, 11. Juni 2013, 22
The only reason I write that on this list is because I know
you're from the GTA as well :).
N.
___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker
Project Home: http://www.clusterlabs.org
Gett
Andrew Beekhof writes:
>
> Try increasing your stickiness as it is being exceeded by the location
constraints.
> For the biggest stick, try 'infinity' which means - never move unless the
node dies.
>
Thanks, Andrew, I applied infinity resource stickiness. However, the sst
resource is still swi
On 13/06/2013, at 2:43 PM, Xiaomin Zhang wrote:
> Andrew Beekhof writes:
>
>>
>> Try increasing your stickiness as it is being exceeded by the location
> constraints.
>> For the biggest stick, try 'infinity' which means - never move unless the
> node dies.
>>
>
> Thanks, Andrew, I applied i
39 matches
Mail list logo