Re: [Pacemaker] Upstart resources

2012-02-28 Thread Andrew Beekhof
On Wed, Feb 29, 2012 at 6:38 PM, Florian Haas wrote: > On Wed, Feb 29, 2012 at 8:21 AM, Andrew Beekhof wrote: >> 2012/2/27 Ante Karamatić : >>> On 27.02.2012 12:27, Florian Haas wrote: >>> Alas, to the best of my knowledge the only way to change a specific job's respawn policy is by mod

Re: [Pacemaker] Problems with resource scaling

2012-02-28 Thread Vladislav Bogdanov
25.02.2012 06:35, Atif Faheem wrote: > Hi. I have been experimenting with resource scalability in Pacemaker. I > started with no resources, and attempted to configure & start a few > hundred dummy resources (a dummy ocf script that does not load the CPU) > on a cluster of 4 virtual machines using c

Re: [Pacemaker] Upstart resources

2012-02-28 Thread Florian Haas
On Wed, Feb 29, 2012 at 8:21 AM, Andrew Beekhof wrote: > 2012/2/27 Ante Karamatić : >> On 27.02.2012 12:27, Florian Haas wrote: >> >>> Alas, to the best of my knowledge the only way to change a specific >>> job's respawn policy is by modifying its job definition. Likewise, >>> that's the only way

Re: [Pacemaker] Upstart resources

2012-02-28 Thread Florian Haas
2012/2/27 Ante Karamatić : > On 27.02.2012 12:27, Florian Haas wrote: > >> Alas, to the best of my knowledge the only way to change a specific >> job's respawn policy is by modifying its job definition. Likewise, >> that's the only way to enable or disable starting on system boot. So >> there is a

Re: [Pacemaker] Upstart resources

2012-02-28 Thread Andrew Beekhof
2012/2/27 Ante Karamatić : > On 27.02.2012 12:27, Florian Haas wrote: > >> Alas, to the best of my knowledge the only way to change a specific >> job's respawn policy is by modifying its job definition. Likewise, >> that's the only way to enable or disable starting on system boot. So >> there is a

Re: [Pacemaker] DRBD, Fedora, and systemd (tangent off of Re: Upstart resources)

2012-02-28 Thread Major Hayden
On Feb 24, 2012, at 8:07 AM, Florian Haas wrote: > On 02/23/12 23:48, Andrew Beekhof wrote: >> On Thu, Feb 23, 2012 at 6:31 PM, Ante Karamatic wrote: >>> On 23.02.2012 00:10, Andrew Beekhof wrote: >>> Do you still have LSB scripts on a machine thats using upstart? >>> >>> Yes, some LSB scr

Re: [Pacemaker] stonith in a virtual cluster

2012-02-28 Thread Lars Marowsky-Bree
On 2012-02-27T16:07:24, Jean-Francois Malouin wrote: > How would you go about simulating a stonith device in a virtual > cluster *without* involving the physical host, ie, just the guests? > This is only for testing purposes btw. If you have shared storage (virtual or not), external/sbd from cl

Re: [Pacemaker] Upstart resources

2012-02-28 Thread Ante Karamatić
On 27.02.2012 12:27, Florian Haas wrote: > Alas, to the best of my knowledge the only way to change a specific > job's respawn policy is by modifying its job definition. Likewise, > that's the only way to enable or disable starting on system boot. So > there is a way to overrule the package mainta

[Pacemaker] Problems with resource scaling

2012-02-28 Thread Atif Faheem
Hi. I have been experimenting with resource scalability in Pacemaker. I started with no resources, and attempted to configure & start a few hundred dummy resources (a dummy ocf script that does not load the CPU) on a cluster of 4 virtual machines using crm configure, and noted that after adding abo

[Pacemaker] pacemaker question

2012-02-28 Thread luis hueso
Hi I`m teaching some pacemaker features in my computer class Reading de manual in http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained/s-resource-operations.html I found some properties of opertions like 'requires' and 'on-fail' but I cannot make them work in my pacemaker in

Re: [Pacemaker] [Question]View order of the node of crm_mon

2012-02-28 Thread Andrew Beekhof
On Wed, Feb 29, 2012 at 2:30 PM, wrote: > Hi Andrew, > >  Thank you for your patch. > >  After I applied a patch, and testing, the problem seemed to be solved. Ok, I'll apply to 1.1 and we can backport it. >  BTW, is crm_trace a function from pacemaker-1.1 ? Correct. >  Because an error had o

Re: [Pacemaker] [Question]View order of the node of crm_mon

2012-02-28 Thread nozawat
Hi Andrew, Thank you for your patch. After I applied a patch, and testing, the problem seemed to be solved. BTW, is crm_trace a function from pacemaker-1.1 ? Because an error had occurred in build, crm_trace commented out and testing. Regards, Tomo On Wed, 29 Feb 2012 10:13:59 +1100 Andrew

Re: [Pacemaker] wiki links to epel domain need to be changed

2012-02-28 Thread Gianluca Cecchi
On Tue, Feb 28, 2012 at 11:23 PM, Andrew Beekhof wrote: > On Wed, Feb 29, 2012 at 2:19 AM, Gianluca Cecchi > wrote: >> Hello, >> for example at http://www.clusterlabs.org/wiki/Install >> http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm >> has to be changed now into >>

Re: [Pacemaker] [Question]View order of the node of crm_mon

2012-02-28 Thread Andrew Beekhof
Could you try the following patch: diff --git a/lib/pengine/unpack.c b/lib/pengine/unpack.c index 8890850..4fcd224 100644 --- a/lib/pengine/unpack.c +++ b/lib/pengine/unpack.c @@ -191,6 +191,15 @@ unpack_config(xmlNode * config, pe_working_set_t * data_set) return TRUE; } +static gint sort_

Re: [Pacemaker] [Question]View order of the node of crm_mon

2012-02-28 Thread Andrew Beekhof
On Tue, Feb 28, 2012 at 2:23 PM, wrote: > Hi Andrew, > >> > I thought whether the configuration files could describe the condition of >> > the sort. >> >> That seems like overkill. > I don't need me to there either. > Order of the output becomes unsettled now because it use g_hash_table. No, it

Re: [Pacemaker] wiki links to epel domain need to be changed

2012-02-28 Thread Andrew Beekhof
On Wed, Feb 29, 2012 at 2:19 AM, Gianluca Cecchi wrote: > Hello, > for example at http://www.clusterlabs.org/wiki/Install > http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm > has to be changed now into > http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noar

Re: [Pacemaker] Fail-over NFS Server (need cluster configuration check) [SOLVED]

2012-02-28 Thread Matteo Guglielmi
I's always fun replying to our own emails :-) Solution to point (1): "Fully Sequential MS Promotion" primitive p_drbd_home ocf:linbit:drbd \ params drbd_resource="home" \ op start interval="0" timeout="60" \ op stop interval="0" timeout="240" \ op monitor interval="20" primitive p_drbd_so

[Pacemaker] wiki links to epel domain need to be changed

2012-02-28 Thread Gianluca Cecchi
Hello, for example at http://www.clusterlabs.org/wiki/Install http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm has to be changed now into http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm (note the 5.3 -> 5.4 too) see also: http://lists.fedoraproj

Re: [Pacemaker] questions about the booth

2012-02-28 Thread Yuusuke Iida
Hi, Jiaju (2012/02/24 19:38), Jiaju Zhang wrote: > On Thu, 2012-02-23 at 11:10 +0900, Yuusuke Iida wrote: >> Hi, Jiaju >> >> I want to ask some questions about booth. >> >> I confirm movement of booth by the following constitution. >> node1, node2 - siteA(grant ticket) >> node3, node4 - siteB >> a

Re: [Pacemaker] corosync vs. pacemaker 1.1

2012-02-28 Thread Andrew Beekhof
On Tue, Feb 28, 2012 at 5:22 PM, Kiss Bence wrote: > Hi Andrew, > >  did You have the time to look at the bug report? Are there anything missing > from it? Just looking now. My queue gets pretty long sometimes. > An other question. Maybe it better helps for me to understand the problem. > > If a