[Pacemaker] help:native_color","group_color","clone_color"

2012-03-22 Thread sinchb
What's the meanings of "native_color","group_color","clone_color" and so on,when I use crm_simulate -L -s to calculate the scores of the cluster resource? And difference ? I am looking forward to your reply.___ Pacemaker mailing list: Pacemaker@oss.clus

Re: [Pacemaker] Migration atomicity

2012-03-22 Thread Andrew Beekhof
On Tue, Mar 20, 2012 at 9:26 PM, Lars Marowsky-Bree wrote: > On 2012-03-20T11:42:08, Andrew Beekhof wrote: > >> > I'm observing a little bit unintuitive behavior of migration logic when >> > transition is aborted (due to CIB change) in the middle of the resource >> > migration. >> > >> > That is:

Re: [Pacemaker] 2 Node Cluster: some principal questions

2012-03-22 Thread Andreas Kurz
On 03/22/2012 07:24 PM, Lentes, Bernd wrote: > > Andreas wrote: >> >> On 03/22/2012 04:47 PM, Lentes, Bernd wrote: >>> Hi, >>> >>> thanks for the quick response. So the data is not destroyed if two >>> identicals VM's access the LV simultaneouslay ? I thought >>> it would be. I >>> will have stoni

Re: [Pacemaker] 2 Node Cluster: some principal questions

2012-03-22 Thread Andreas Kurz
On 03/22/2012 07:04 PM, Lentes, Bernd wrote: > > Hi, > > Andreas schrieb: >> >> On 03/22/2012 04:47 PM, Lentes, Bernd wrote: >>> Hi, >>> >>> thanks for the quick response. So the data is not destroyed if two >>> identicals VM's access the LV simultaneouslay ? I thought >>> it would be. I >>> will

Re: [Pacemaker] 2 Node Cluster: some principal questions

2012-03-22 Thread Lentes, Bernd
Andreas wrote: > > On 03/22/2012 04:47 PM, Lentes, Bernd wrote: > > Hi, > > > > thanks for the quick response. So the data is not destroyed if two > > identicals VM's access the LV simultaneouslay ? I thought > > it would be. I > > will have stonith too. > > What is about live migration ? Is it po

Re: [Pacemaker] 2 Node Cluster: some principal questions

2012-03-22 Thread Lentes, Bernd
Hi, Andreas schrieb: > > On 03/22/2012 04:47 PM, Lentes, Bernd wrote: > > Hi, > > > > thanks for the quick response. So the data is not destroyed if two > > identicals VM's access the LV simultaneouslay ? I thought > > it would be. I > > will have stonith too. > > What is about live migration ? I

Re: [Pacemaker] 2 Node Cluster: some principal questions

2012-03-22 Thread emmanuel segura
One lvm vg in exclusive mode means just one node at time can access to the data Il giorno 22 marzo 2012 16:47, Lentes, Bernd < bernd.len...@helmholtz-muenchen.de> ha scritto: > ** > Hi, > > thanks for the quick response. So the data is not destroyed if two > identicals VM's access the LV simult

Re: [Pacemaker] 2 Node Cluster: some principal questions

2012-03-22 Thread Andreas Kurz
On 03/22/2012 04:47 PM, Lentes, Bernd wrote: > Hi, > > thanks for the quick response. So the data is not destroyed if two > identicals VM's access the LV simultaneouslay ? I thought it would be. I > will have stonith too. > What is about live migration ? Is it possible with my setup ? Well, if y

Re: [Pacemaker] 2 Node Cluster: some principal questions

2012-03-22 Thread Lentes, Bernd
Hi, thanks for the quick response. So the data is not destroyed if two identicals VM's access the LV simultaneouslay ? I thought it would be. I will have stonith too. What is about live migration ? Is it possible with my setup ? Bernd -- Bernd Lentes Systemadministration Institut für Entwic

Re: [Pacemaker] 2 Node Cluster: some principal questions

2012-03-22 Thread emmanuel segura
if you have in you cluster vg exclusive="yes" and remember it's good idea have stonith configured Il giorno 22 marzo 2012 15:52, Lentes, Bernd < bernd.len...@helmholtz-muenchen.de> ha scritto: > Hi, > > i'd like to establish a 2 Node-Cluster. My OS will be SLES 11 and HAE. My > services will run

[Pacemaker] 2 Node Cluster: some principal questions - addition

2012-03-22 Thread Lentes, Bernd
Hi, sorry, i forgot something. Is live-migration possible with the explained setup ? Bernd === Hi, i'd like to establish a 2 Node-Cluster. My OS will be SLES 11 and HAE. My services will run in VM's using KVM. I will

[Pacemaker] 2 Node Cluster: some principal questions

2012-03-22 Thread Lentes, Bernd
Hi, i'd like to establish a 2 Node-Cluster. My OS will be SLES 11 and HAE. My services will run in VM's using KVM. I will install the VM's in LV's, one LV for one VM. The LV's will be plain partitions, having no filesystem. I have read this is quicker with KVM than installing a VM in a LV with

Re: [Pacemaker] MySQL HA with pacemaker and DRBD - How to monitor mysql service

2012-03-22 Thread Andreas Kurz
On 03/22/2012 03:23 PM, coma wrote: > Thank you for your responses, > > I have added the migration-treshold on my mysqld ressource, when i kill > or manually stop mysql on one node, there is not failover on the second > node. > Also, when i look crm_mon --failcounts, i can see "mysqld: > migration

Re: [Pacemaker] MySQL HA with pacemaker and DRBD - How to monitor mysql service

2012-03-22 Thread emmanuel segura
put migration-thresold global in your cluster property Il giorno 22 marzo 2012 15:23, coma ha scritto: > Thank you for your responses, > > I have added the migration-treshold on my mysqld ressource, when i kill or > manually stop mysql on one node, there is not failover on the second node. > Als

Re: [Pacemaker] MySQL HA with pacemaker and DRBD - How to monitor mysql service

2012-03-22 Thread coma
Thank you for your responses, I have added the migration-treshold on my mysqld ressource, when i kill or manually stop mysql on one node, there is not failover on the second node. Also, when i look crm_mon --failcounts, i can see "mysqld: migration-threshold=100 fail-count=100", so i don"t

Re: [Pacemaker] MySQL HA with pacemaker and DRBD - How to monitor mysql service

2012-03-22 Thread Andreas Kurz
On 03/22/2012 01:51 PM, coma wrote: > Ah yes thank you, the service status mysql is now monitored, but the > failover is not performed? As long as local restarts are successful there is no need for a failover ... there is migration-treshold to limit local restart tries. Regards, Andreas -- Need

Re: [Pacemaker] MySQL HA with pacemaker and DRBD - How to monitor mysql service

2012-03-22 Thread emmanuel segura
if you set migration-thresold=2 after two operation fail-count it's reached your resource trys to switch to an other node http://www.clusterlabs.org/doc/en-US/Pacemaker/1.0/html/Pacemaker_Explained/s-failure-migration.html Il giorno 22 marzo 2012 13:51, coma ha scritto: > Ah yes thank you, th

Re: [Pacemaker] MySQL HA with pacemaker and DRBD - How to monitor mysql service

2012-03-22 Thread coma
Ah yes thank you, the service status mysql is now monitored, but the failover is not performed? 2012/3/22 emmanuel segura > sorry > I think you missed the op monitor operetion in your primitive definition > > > > Il giorno 22 marzo 2012 11:52, emmanuel segura ha > scritto: > > I think you mis

[Pacemaker] configuring ocf:heartbeat:conntrackd

2012-03-22 Thread Kevin COUSIN
Hello, I try to use the ocf:heartbeat:conntrackd resource on a CentOS 6 two nodes cluster. I don't understant how works the conntrackd resource, I configured it as explained in documentation, and start a conntrackd daemon whith an lsb script. When I try a takeover, the resource kill the daemon

Re: [Pacemaker] Deleting the resource while it's running

2012-03-22 Thread David Coulson
On 3/22/12 5:09 AM, Ante Karamatic wrote: Hi I've came across an odd behavior, which might be considered as inconsistent. As we know, pacemaker doesn't allow deleting a resource that's running, but this doesn't produce same behavior every time. Let's take a VM with a default stop timeout (90

Re: [Pacemaker] MySQL HA with pacemaker and DRBD - How to monitor mysql service

2012-03-22 Thread emmanuel segura
sorry I think you missed the op monitor operetion in your primitive definition Il giorno 22 marzo 2012 11:52, emmanuel segura ha scritto: > I think you missed the op monitor operetion you primitive definition > > Il giorno 22 marzo 2012 11:33, coma ha scritto: > >> Hello, >> >> I have a quest

Re: [Pacemaker] MySQL HA with pacemaker and DRBD - How to monitor mysql service

2012-03-22 Thread emmanuel segura
I think you missed the op monitor operetion you primitive definition Il giorno 22 marzo 2012 11:33, coma ha scritto: > Hello, > > I have a question about mysql service monitoring into a MySQL HA cluster > with pacemaker and DRBD, > I have set up a configuration to allow a failover between two no

[Pacemaker] MySQL HA with pacemaker and DRBD - How to monitor mysql service

2012-03-22 Thread coma
Hello, I have a question about mysql service monitoring into a MySQL HA cluster with pacemaker and DRBD, I have set up a configuration to allow a failover between two nodes, it work fine when a node is offline (or standby), but i want to know if it is possible to monitor the mysql service to perfo

Re: [Pacemaker] [Patch]Patch for crmd-transition-delay processing.

2012-03-22 Thread renayama19661014
Hi All, Sorry My patch was wrong. I send a right patch. Best Regards, Hideo Yamauchi. --- On Thu, 2012/3/22, renayama19661...@ybb.ne.jp wrote: > Hi All, > > The crmd-transition-delay waits for the update of the attribute to be late. > > However, crmd cannot realize the wait of the att

[Pacemaker] Deleting the resource while it's running

2012-03-22 Thread Ante Karamatic
Hi I've came across an odd behavior, which might be considered as inconsistent. As we know, pacemaker doesn't allow deleting a resource that's running, but this doesn't produce same behavior every time. Let's take a VM with a default stop timeout (90 seconds). First behavior -- # cr