Re: [Pacemaker] Release Date for Pacemaker 1.2
Well, It should be Ok. Eagerly waiting for the Pacemaker 2.0 Release. (expecting atleast by March) Regards, Kashif Jawed Siddiqui *** This e-mail and attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient's) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it! From: Andrew Beekhof [and...@beekhof.net] Sent: Thursday, January 31, 2013 4:24 PM To: The Pacemaker cluster resource manager Subject: Re: [Pacemaker] Release Date for Pacemaker 1.2 On Wed, Jan 30, 2013 at 10:46 PM, Kashif Jawed Siddiqui wrote: > Hi, > > > > I would like to know the planned releases for Pacemaker 1.2 / 2.0. > > > > Can you help me know approximate date or any link to find exact > information ? It was going to be earlier this month, but then people got motivated to do management of services inside guests (which are also cluster resources). My current thinking is that we'll wait for that to be finished and call it 2.0 Does that help? > > > > > > Regards, > Kashif Jawed Siddiqui > > > *** > This e-mail and attachments contain confidential information from HUAWEI, > which is intended only for the person or entity whose address is listed > above. Any use of the information contained herein in any way (including, > but not limited to, total or partial disclosure, reproduction, or > dissemination) by persons other than the intended recipient's) is > prohibited. If you receive this e-mail in error, please notify the sender by > phone or email immediately and delete it! > > > ___ > 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 > ___ 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 ___ 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
Re: [Pacemaker] Release Date for Pacemaker 1.2
Hi, I would like to know the planned releases for Pacemaker 1.2 / 2.0. Can you help me know approximate date or any link to find exact information ? Regards, Kashif Jawed Siddiqui *** This e-mail and attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient's) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it! ___ 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
Re: [Pacemaker] [PACEMAKER] Why cant't migrate group resource with collation in drbd resource
Ohh.. I think it is wrongly interpreted by me. Apologies Regards, Kashif Jawed Siddiqui *** This e-mail and attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient's) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it! From: emmanuel segura [emi2f...@gmail.com] Sent: Wednesday, January 23, 2013 7:16 PM To: The Pacemaker cluster resource manager Subject: Re: [Pacemaker] [PACEMAKER] Why cant't migrate group resource with collation in drbd resource Ummm Fist the IP-AND-FS? but what happen if the FS is on drbd? Thanks 2013/1/23 Kashif Jawed Siddiqui mailto:kashi...@huawei.com>> You must change the order #order DRBD_BEF_FS inf: ms_drbd:promote IP-AND-FS:start order DRBD_BEF_FS inf: IP-AND-FS:start ms_drbd:promote //First start IP-AND-FS, only then promote ms_drbd Regards, Kashif Jawed Siddiqui *** This e-mail and attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient's) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it! From: and k [not4...@gmail.com<mailto:not4...@gmail.com>] Sent: Wednesday, January 23, 2013 4:34 PM To: pacemaker@oss.clusterlabs.org<mailto:pacemaker@oss.clusterlabs.org> Subject: [Pacemaker] [PACEMAKER] Why cant't migrate group resource with collation in drbd resource Hello Everybody, I've got a problem (but I am not quite sure if it is not a feature in pacemaker ) that's why I decided to write on that mailing list. It comes about migrate resource with collation in drbd resource. I've got group including virtual IP and filesystem which is collated with ms resource drbd in mster-slave configuration. Last updated: Wed Jan 23 03:40:55 2013 Stack: openais Current DC: drbd01 - partition with quorum Version: 1.0.9-74392a28b7f31d7ddc86689598bd23114f58978b Online: [ drbd01 drbd02 ] Master/Slave Set: ms_drbd Masters: [ drbd01 ] Slaves: [ drbd02 ] Resource Group: IP-AND-FS fs_r1 (ocf::heartbeat:Filesystem):Started drbd01 VIRTUAL-IP (ocf::heartbeat:IPaddr):Started drbd01 I would like to migrate that group manually to another node which is slave. So i type in: crm resource migrate IP-AND-FS drbd02 after that configuration include additional line: location cli-prefer-IP-AND-FS IP-AND-FS \ rule $id="cli-prefer-rule-IP-AND-FS" inf: #uname eq drbd02 and in logs i see: Jan 23 11:30:12 drbd02 cibadmin: [1126]: info: Invoked: cibadmin -Ql -o resources Jan 23 11:30:12 drbd02 cibadmin: [1129]: info: Invoked: cibadmin -Ql -o nodes Jan 23 11:30:12 drbd02 cibadmin: [1131]: info: Invoked: cibadmin -Ql -o resources Jan 23 11:30:12 drbd02 cibadmin: [1133]: info: Invoked: cibadmin -Ql -o nodes Jan 23 11:30:12 drbd02 cibadmin: [1135]: info: Invoked: cibadmin -Ql -o resources Jan 23 11:30:12 drbd02 cibadmin: [1137]: info: Invoked: cibadmin -Ql -o nodes Jan 23 11:30:14 drbd02 cibadmin: [1166]: info: Invoked: cibadmin -Ql -o resources Jan 23 11:30:14 drbd02 cibadmin: [1168]: info: Invoked: cibadmin -Ql -o nodes Jan 23 11:30:14 drbd02 cibadmin: [1170]: info: Invoked: cibadmin -Ql -o resources Jan 23 11:30:14 drbd02 cibadmin: [1172]: info: Invoked: cibadmin -Ql -o nodes Jan 23 11:30:16 drbd02 cibadmin: [1174]: info: Invoked: cibadmin -Ql -o resources Jan 23 11:30:16 drbd02 cibadmin: [1176]: info: Invoked: cibadmin -Ql -o nodes Jan 23 11:30:16 drbd02 cibadmin: [1178]: info: Invoked: cibadmin -Ql -o resources Jan 23 11:30:16 drbd02 cibadmin: [1180]: info: Invoked: cibadmin -Ql -o nodes Jan 23 11:30:40 drbd02 cibadmin: [1211]: info: Invoked: cibadmin -Ql -o nodes Jan 23 11:30:40 drbd02 crm_resource: [1213]: info: Invoked: crm_resource -M -r IP-AND-FS --node=drbd02 Jan 23 11:30:40 drbd02 cib: [1214]: info: write_cib_contents: Archived previous version as /var/lib/heartbeat/crm/cib-73.raw Jan 23 11:30:40 drbd02 cib: [1214]: info: write_cib_contents: Wrote version 0.225.0 of the CIB to disk (digest: 166251193cbe1e0b9314ab07358accca) Jan 23 11:30:40 drbd02 cib: [1214]: info: retrieveCib: Reading cluster configuration from: /var/lib/heart
Re: [Pacemaker] [PACEMAKER] Why cant't migrate group resource with collation in drbd resource
There is a Pacemaker bug which cannot be replaced due to legacy tracking and backward compatibility colocation FS_WITH_DRBD inf: IP-AND-FS ms_drbd:Master order DRBD_BEF_FS inf: IP-AND-FS:start ms_drbd:promote if colocation and order is specified between 2 Resources then it means the 2nd one is the first and 1st one is the next For example, colocation FS_WITH_DRBD inf: IP-AND-FS ms_drbd:Master //Actually means first start IP-AND-FS then make ms_drbd as Master // But in behavior, it is first make ms_drbd as Master and then start IP-AND-FS Also for order, it is the same behavior... order DRBD_BEF_FS inf: IP-AND-FS:start ms_drbd:promote //Actually means first start IP-AND-FS then promote ms_drbd // But in behavior, it is first promote ms_drbd and then start IP-AND-FS But when you define order and colocation between 3 or more resources, then the interpretation is fine... Therefore in your scenario, you must configure (as I said) colocation FS_WITH_DRBD inf: IP-AND-FS ms_drbd:Master order DRBD_BEF_FS inf: IP-AND-FS:start ms_drbd:promote Though it means opposite, but the behavior is as you expect.(owing to Pacemaker backward compatibility) Regards, Kashif Jawed Siddiqui *** This e-mail and attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient's) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it! From: and k [not4...@gmail.com] Sent: Wednesday, January 23, 2013 7:31 PM To: The Pacemaker cluster resource manager Subject: Re: [Pacemaker] [PACEMAKER] Why cant't migrate group resource with collation in drbd resource 2013/1/23 emmanuel segura mailto:emi2f...@gmail.com>> Ummm Fist the IP-AND-FS? but what happen if the FS is on drbd? Emmanuel, you are right, filesystem is on top of drbd device, so i cant run that group before drbd promote. I also noticed that, I can migrate it by force with use: crm_resource -M -f -r fs_r1 -H drbd02 master is promoted correctly, and group is succesfully migrated. But i wonder why it doesn't work without force (-f) parameter ?? Any idea ? Thanks 2013/1/23 Kashif Jawed Siddiqui mailto:kashi...@huawei.com>> You must change the order #order DRBD_BEF_FS inf: ms_drbd:promote IP-AND-FS:start order DRBD_BEF_FS inf: IP-AND-FS:start ms_drbd:promote //First start IP-AND-FS, only then promote ms_drbd Regards, Kashif Jawed Siddiqui *** This e-mail and attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient's) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it! From: and k [not4...@gmail.com<mailto:not4...@gmail.com>] Sent: Wednesday, January 23, 2013 4:34 PM To: pacemaker@oss.clusterlabs.org<mailto:pacemaker@oss.clusterlabs.org> Subject: [Pacemaker] [PACEMAKER] Why cant't migrate group resource with collation in drbd resource Hello Everybody, I've got a problem (but I am not quite sure if it is not a feature in pacemaker ) that's why I decided to write on that mailing list. It comes about migrate resource with collation in drbd resource. I've got group including virtual IP and filesystem which is collated with ms resource drbd in mster-slave configuration. Last updated: Wed Jan 23 03:40:55 2013 Stack: openais Current DC: drbd01 - partition with quorum Version: 1.0.9-74392a28b7f31d7ddc86689598bd23114f58978b Online: [ drbd01 drbd02 ] Master/Slave Set: ms_drbd Masters: [ drbd01 ] Slaves: [ drbd02 ] Resource Group: IP-AND-FS fs_r1 (ocf::heartbeat:Filesystem):Started drbd01 VIRTUAL-IP (ocf::heartbeat:IPaddr):Started drbd01 I would like to migrate that group manually to another node which is slave. So i type in: crm resource migrate IP-AND-FS drbd02 after that configuration include additional line: location cli-prefer-IP-AND-FS IP-AND-FS \ rule $id="cli-prefer-rule-IP-AND-FS" inf: #uname eq drbd02 and in logs i see: Jan 23 11:30:12 drbd02 cibadmin: [1126]: info: Invoked: cibadmin -Ql -o resources Jan 23 11:30:12 drbd02 cibadmin: [1129]: info: Invoked: cibadmin -Ql -o nod
Re: [Pacemaker] [PACEMAKER] Why cant't migrate group resource with collation in drbd resource
You must change the order #order DRBD_BEF_FS inf: ms_drbd:promote IP-AND-FS:start order DRBD_BEF_FS inf: IP-AND-FS:start ms_drbd:promote //First start IP-AND-FS, only then promote ms_drbd Regards, Kashif Jawed Siddiqui *** This e-mail and attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient's) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it! From: and k [not4...@gmail.com] Sent: Wednesday, January 23, 2013 4:34 PM To: pacemaker@oss.clusterlabs.org Subject: [Pacemaker] [PACEMAKER] Why cant't migrate group resource with collation in drbd resource Hello Everybody, I've got a problem (but I am not quite sure if it is not a feature in pacemaker ) that's why I decided to write on that mailing list. It comes about migrate resource with collation in drbd resource. I've got group including virtual IP and filesystem which is collated with ms resource drbd in mster-slave configuration. Last updated: Wed Jan 23 03:40:55 2013 Stack: openais Current DC: drbd01 - partition with quorum Version: 1.0.9-74392a28b7f31d7ddc86689598bd23114f58978b Online: [ drbd01 drbd02 ] Master/Slave Set: ms_drbd Masters: [ drbd01 ] Slaves: [ drbd02 ] Resource Group: IP-AND-FS fs_r1 (ocf::heartbeat:Filesystem):Started drbd01 VIRTUAL-IP (ocf::heartbeat:IPaddr):Started drbd01 I would like to migrate that group manually to another node which is slave. So i type in: crm resource migrate IP-AND-FS drbd02 after that configuration include additional line: location cli-prefer-IP-AND-FS IP-AND-FS \ rule $id="cli-prefer-rule-IP-AND-FS" inf: #uname eq drbd02 and in logs i see: Jan 23 11:30:12 drbd02 cibadmin: [1126]: info: Invoked: cibadmin -Ql -o resources Jan 23 11:30:12 drbd02 cibadmin: [1129]: info: Invoked: cibadmin -Ql -o nodes Jan 23 11:30:12 drbd02 cibadmin: [1131]: info: Invoked: cibadmin -Ql -o resources Jan 23 11:30:12 drbd02 cibadmin: [1133]: info: Invoked: cibadmin -Ql -o nodes Jan 23 11:30:12 drbd02 cibadmin: [1135]: info: Invoked: cibadmin -Ql -o resources Jan 23 11:30:12 drbd02 cibadmin: [1137]: info: Invoked: cibadmin -Ql -o nodes Jan 23 11:30:14 drbd02 cibadmin: [1166]: info: Invoked: cibadmin -Ql -o resources Jan 23 11:30:14 drbd02 cibadmin: [1168]: info: Invoked: cibadmin -Ql -o nodes Jan 23 11:30:14 drbd02 cibadmin: [1170]: info: Invoked: cibadmin -Ql -o resources Jan 23 11:30:14 drbd02 cibadmin: [1172]: info: Invoked: cibadmin -Ql -o nodes Jan 23 11:30:16 drbd02 cibadmin: [1174]: info: Invoked: cibadmin -Ql -o resources Jan 23 11:30:16 drbd02 cibadmin: [1176]: info: Invoked: cibadmin -Ql -o nodes Jan 23 11:30:16 drbd02 cibadmin: [1178]: info: Invoked: cibadmin -Ql -o resources Jan 23 11:30:16 drbd02 cibadmin: [1180]: info: Invoked: cibadmin -Ql -o nodes Jan 23 11:30:40 drbd02 cibadmin: [1211]: info: Invoked: cibadmin -Ql -o nodes Jan 23 11:30:40 drbd02 crm_resource: [1213]: info: Invoked: crm_resource -M -r IP-AND-FS --node=drbd02 Jan 23 11:30:40 drbd02 cib: [1214]: info: write_cib_contents: Archived previous version as /var/lib/heartbeat/crm/cib-73.raw Jan 23 11:30:40 drbd02 cib: [1214]: info: write_cib_contents: Wrote version 0.225.0 of the CIB to disk (digest: 166251193cbe1e0b9314ab07358accca) Jan 23 11:30:40 drbd02 cib: [1214]: info: retrieveCib: Reading cluster configuration from: /var/lib/heartbeat/crm/cib.tk72Ft (digest: /var/lib/heartbeat/crm/cib.hF2UsS) Jan 23 11:30:44 drbd02 cib: [30098]: info: cib_stats: Processed 153 operations (1437.00us average, 0% utilization) in the last 10min but nothing happened resource group is still active on drbd01 node, as well as there was no new master promotion. Shouldn't pacemaker automatically promote second node to master and move my resource group ? Below is my test configuration, i will be appreciate for help: crm(live)# configure show node drbd01 \ attributes standby="off" node drbd02 \ attributes standby="off" primitive VIRTUAL-IP ocf:heartbeat:IPaddr \ params ip="10.11.11.111" primitive drbd ocf:linbit:drbd \ params drbd_resource="r1" \ op start interval="0" timeout="240" \ op stop interval="0" timeout="100" \ op monitor interval="59s" role="Master" timeout="30s" \ op monitor interval="60s" role="Slave" timeout="30s" primitive fs_r1 ocf:heartbeat:Filesyste
Re: [Pacemaker] Howto recover from unclan (online)
Hi Dejan/Andrew Can you list down the possible scenarios in which the Node state changes to online (UNCLEAN). I have encountered this few times, but I would like to know the possible scenarios for reproducing the same. Regards, Kashif Jawed Siddiqui *** This e-mail and attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient's) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it! From: Michael Schwartzkopff [mi...@clusterbau.com] Sent: Wednesday, January 16, 2013 6:44 PM To: The Pacemaker cluster resource manager Subject: Re: [Pacemaker] Howto recover from unclan (online) Am Mittwoch, 16. Januar 2013, 14:07:15 schrieb Dejan Muhamedagic: > Hi, > > On Tue, Jan 15, 2013 at 08:28:29PM +0100, Michael Schwartzkopff wrote: > > Hi, > > > > any good advice from the following state of a cluster: > > > > unclean (online) state and lots of errors of the resources on one node > > > > and a shutdown second node? > > > > On the first node all resources running happily and the cluster provides > > the serives it was designed for. Due to really bad network cards the > > cluster ran into that state. > > > > Now: How to recover from that state > > crm node clearstate ? But first make sure that the cluster stack > is stopped on that node. thanks. That was what I was looking for. > > And yes. We have a enterprise distribution and a good hardware > > manufacturer. > How did the bad network cards creep in? ;-) They were shipped in the blade. :-( -- 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: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org
Re: [Pacemaker] how to delete a virtualdomain when it is running?
Hi, I try to delete a resource XYZ of type ocf:heartbeat:dummy by using the below crm resource unmanage XYZ crm configure property stop-orphan-resources=false Then, crm configure delete XYZ But the delete fails. WHy ? ?? ?? ? Regards, Kashif Jawed Siddiqui *** This e-mail and attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient's) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it! From: Dejan Muhamedagic [deja...@fastmail.fm] Sent: Monday, August 13, 2012 8:21 PM To: The Pacemaker cluster resource manager Subject: Re: [Pacemaker] how to delete a virtualdomain when it is running? Hi, On Thu, Aug 09, 2012 at 06:50:45PM +0800, cherish wrote: > I have a virtual machine ,VM_TEST,running in node h10_150.I want to delete it > from the cluster, and let it run in the node h10_150(Now ,the virtual machine > is not belong to the cluster ,it is a Stand-alone virtual machine ), but I > dont want to interrupt the interaction of the virtual machine .How can I do > for this? Put the resource in the unmanaged mode: # crm resource meta VM_TEST is-managed false Tell pacemaker not to remove deleted resources: # crm configure property stop-orphan-resources=false Remove the resource: # crm configure delete VM_TEST Remove operation records: # crm resource cleanup VM_TEST Set removing deleted resources (optional): # crm configure property stop-orphan-resources=false Thanks, Dejan > ___ > 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 ___ 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 ___ 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
Re: [Pacemaker] [COLOCATION] constraints
Hi, colocation myset-1 inf: app2 app1 The above indicates app1 is the Dominant resource. If app1 is stopped, app2 also stops The chain is app1 -> app2 Next, colocation myset inf: app1 app2 app3 the above indiactes app1 is the Dominant resource. If app1 is stopped, app2 & app3 also stops, if app2 stops, then only app3 stops The chain is app1 -> app2 -> app3 The above is equivalent of: colocation myset-1 inf: app2 app1 colocation myset-2 inf: app3 app2 The question: Why the ordering of allocating resource cannot follow one format? Why difference of configuration? Why not implement like below? colocation myset-1 inf: app1 app2 The chain can be app1 -> app2 colocation myset-1 inf: app1 app2 app3 The chain is app1 -> app2 -> app3 And its equivalent (for easy understanding can be) colocation myset-1 inf: app1 app2 colocation myset-2 inf: app2 app3 And so on.. Why is the diffrence in configuration for 2 resources only? More than 2 resources follow the same pattern. Please help explain? Regards, Kashif Jawed Siddiqui *** This e-mail and attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient's) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it! ___ 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
Re: [Pacemaker] behaviour of failure-timeout
Hi, >>I could not find any detailed explanation in the doc, how >>"failure-timeout" behaves, can someone clarify that? failure-timout will clear the failcount if it has increased.(i.e the resources have failed) The cluster is primarily event driven but can have effect based on time. This timout can be specified as cluster property known as cluster-recheck-interval. The default is 15 mins >>My rough understanding so far is, that after a failcount is increased, >>pacemaker "waits for the failure-timeout" to expire and then checks if >>the failure condition is still on. If not, it will reset the failcount >>on that node. Now Yes >>- How does pacemaker check that, is it using a monitor operation? As mentioned above, depends on any events or cluster-recheck-interval. >>- are there re-checks at later times Same as above >>- Are checks only run on the node where the failcount was increased or >>on all No. It is run on all nodes Regards, Kashif Jawed Siddiqui >>Cheers! >>Mario ___ 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 ___ 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
Re: [Pacemaker] How to add primitive resource to an already existing Group using crm
Hi, The below works perfectly fine :) crm configure show Grp1 | sed 's/$/ newrsc/' | crm configure load update - Please do take up to provide a command for the same in the future versions of Pacemaker CRM. Regards, Kashif Jawed Siddiqui *** This e-mail and attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient's) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it! From: Dejan Muhamedagic [deja...@fastmail.fm] Sent: Wednesday, September 12, 2012 3:41 PM To: The Pacemaker cluster resource manager Subject: Re: [Pacemaker] How to add primitive resource to analready existing Group using crm Hi, On Wed, Sep 12, 2012 at 12:15:34PM +0300, Dan Frincu wrote: > Hi, > > On Wed, Sep 12, 2012 at 11:56 AM, Kashif Jawed Siddiqui > wrote: > > Hi, > > > > > > > > I would like to know is there a way to add new primitive resource to an > > already existing group. > > > > > > > > I know crm configure edit requires manual editing. > > > > > > > > But is there a direct command? > > > > > > > > Like, > > > > crm configure group Grp1 Res1 Res2 Res3 ## This is used to create group > > > > > > > > How to add new resource to existing group using command ? > > Assuming the primitive is already added you could create a new file > (say it's called group-update) and put in it the following: > > group Grp1 Res1 Res2 Res3 this-is-the-new-res-name > > Then you could do: > > crm configure load update /path/to/group-update Right. In a script: crm configure show Grp1 | sed 's/$/ newrsc/' | crm configure load update - Replace the sed script with whatever you need. There's still no direct command to do this, but we're considering that. Thanks, Dejan > Do test it before, I have only tried this on a shadow cib. > > HTH, > Dan > > > > > > > > > Regards, > > Kashif Jawed Siddiqui > > > > > > *** > > This e-mail and attachments contain confidential information from HUAWEI, > > which is intended only for the person or entity whose address is listed > > above. Any use of the information contained herein in any way (including, > > but not limited to, total or partial disclosure, reproduction, or > > dissemination) by persons other than the intended recipient's) is > > prohibited. If you receive this e-mail in error, please notify the sender by > > phone or email immediately and delete it! > > > > > > ___ > > 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 > > > > > > -- > Dan Frincu > CCNA, RHCE > > ___ > 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 ___ 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 ___ 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
Re: [Pacemaker] How to add primitive resource to an already existing Group using crm
Hi, I would like to know is there a way to add new primitive resource to an already existing group. I know crm configure edit requires manual editing. But is there a direct command? Like, crm configure group Grp1 Res1 Res2 Res3 ## This is used to create group How to add new resource to existing group using command ? Regards, Kashif Jawed Siddiqui *** This e-mail and attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient's) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it! ___ 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
Re: [Pacemaker] migrate resource for specified time: problem
This problem is observed when the system time is not set to GMT or UTC. Example, if system time is in IST format, then it is GMT+5:30. During time normalization in iso8601_fields.c, it is causing the error conversion of time. I will mail the detailed probable fix soon. Regards KASHIF From: Andrew Beekhof [and...@beekhof.net] Sent: Friday, February 03, 2012 5:33 AM To: The Pacemaker cluster resource manager Subject: Re: [Pacemaker] migrate resource for specified time: problem On Tue, Jan 31, 2012 at 8:42 PM, wrote: > Hi All, > I am facing some issue with Resource migration with a specified time > If current system date is end-of-month then migration for 1440 Minute > (one day) is having some problem. > > I am doing theseoperation > 1. date +%MMdd -s "20100131" > 2. /usr/sbin/crm_resource -M -r group1 -u PT1440M -H nodeName > > Output: > migration will take effect untill: 2011-13-29 18:33:47Z WTF. What version is this? Can you create a bug for this please? > > Here command output is invalid date and migration constraint with > invalid date is added in cib.xml > > resource also not migrated to the specified node. > > Regards > Manish > > > > ___ > 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 ___ 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 ___ 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
Re: [Pacemaker] How to start resources in a Resource Group in parallel
Hi, Yes it has to be provided in init scripts of corosync or heartbeat. But for corosync 1.4.2 for SLES, it is not provided. Can you help me update corosync init script to include to same? Sample script will definitly help. Thanks in advance. From: Dejan Muhamedagic [deja...@fastmail.fm] Sent: Tuesday, January 31, 2012 4:22 PM To: The Pacemaker cluster resource manager Subject: Re: [Pacemaker] How to start resources in a Resource Group in parallel Hi, On Tue, Jan 31, 2012 at 10:29:14AM +, Kashif Jawed Siddiqui wrote: > Hi Andrew, > > It is the LRMD_MAX_CHILDREN limit which by default is 4. > > I see in forums that this parameter is tunable by adding > /etc/sysconfig/pacemaker > with the following line as content >LRMD_MAX_CHILDREN=8 > > But the above works only for Hearbeat. How do we do it for Corosync? > > can you suggest? It is not heartbeat or corosync specific, but depends on support in the init script (/etc/init.d/corosync). The init script should read the sysconfig file and then invoke lrmadmin to set the max children parameter. Thanks, Dejan > Regards > KASHIF > > > From: Andrew Beekhof [and...@beekhof.net] > Sent: Tuesday, January 31, 2012 2:34 PM > To: The Pacemaker cluster resource manager > Subject: Re: [Pacemaker] How to start resources in a Resource Group in > parallel > > On Tue, Jan 31, 2012 at 6:46 PM, wrote: > > Hi All, > > I am using pacemaker 1.0.11 + corosync 1.4.2 for a 2 node cluster > > I have configured one Group, which is having 12 resources, > > Ordered parameter is set to false but all 12 resource are not started > > parallel. > > At a time only four resource started parallel. > > This is probably the lrmd limit. > > > Resource 1,2,3,4 starts then 5,6,7,8 starts, then 9,10,11,12 > > If 5 second sleep is their in Resource-Agent's start method. > > Then All the resources will start in 15 second. > > > > Please can you suggest how can I solve the same, > > > > It seems, only four thread starts at a time for a group's resource, > > > > Regards > > Manish > > > > On Fri, December 2, 2011 4:23 pm, Andreas Kurz wrote: > >> Hello Kashif, > >> > >> > >> On 12/02/2011 06:04 AM, Kashif Jawed Siddiqui wrote: > >> > >>> Hi All, > >>> > >>> > >>> > >>> > >>> I am using pacemaker 1.0.11 + corosync 1.4.2 for a 2 node cluster. > >>> > >>> > >>> > >>> > >>> The old cib.xml for Heartbeat based cluster had an option > >>> "ordered=true | false" for "group" tag which supported starting of > >>> resources in series or parallel. > >> > >> this meta attribute is still available ... when in crm shell add: > >> > >> meta ordered=false > >> > >> to your group resource ... or you could also use a colocation set. > >> > >> Regards, > >> Andreas > >> > >> > >> -- > >> Need help with Pacemaker? > >> http://www.hastexo.com/now > >> > >> > >>> > >>> > >>> > >>> By default, resources in Resource Group start in serial order for > >>> Pacemaker based clusters. > >>> > >>> > >>> > >>> > >>> Is there a way to start multiple resources in parallel? > >>> > >>> > >>> > >>> > >>> Regards > >>> > >>> > >>> KASHIF > >>> > >>> > >>> > >>> > >>> ___ > >>> 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 > >>> > >> > >> > >> ___ > >> 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
Re: [Pacemaker] How to start resources in a Resource Group in parallel
Hi Andrew, It is the LRMD_MAX_CHILDREN limit which by default is 4. I see in forums that this parameter is tunable by adding /etc/sysconfig/pacemaker with the following line as content LRMD_MAX_CHILDREN=8 But the above works only for Hearbeat. How do we do it for Corosync? can you suggest? Regards KASHIF From: Andrew Beekhof [and...@beekhof.net] Sent: Tuesday, January 31, 2012 2:34 PM To: The Pacemaker cluster resource manager Subject: Re: [Pacemaker] How to start resources in a Resource Group in parallel On Tue, Jan 31, 2012 at 6:46 PM, wrote: > Hi All, > I am using pacemaker 1.0.11 + corosync 1.4.2 for a 2 node cluster > I have configured one Group, which is having 12 resources, > Ordered parameter is set to false but all 12 resource are not started > parallel. > At a time only four resource started parallel. This is probably the lrmd limit. > Resource 1,2,3,4 starts then 5,6,7,8 starts, then 9,10,11,12 > If 5 second sleep is their in Resource-Agent's start method. > Then All the resources will start in 15 second. > > Please can you suggest how can I solve the same, > > It seems, only four thread starts at a time for a group's resource, > > Regards > Manish > > On Fri, December 2, 2011 4:23 pm, Andreas Kurz wrote: >> Hello Kashif, >> >> >> On 12/02/2011 06:04 AM, Kashif Jawed Siddiqui wrote: >> >>> Hi All, >>> >>> >>> >>> >>> I am using pacemaker 1.0.11 + corosync 1.4.2 for a 2 node cluster. >>> >>> >>> >>> >>> The old cib.xml for Heartbeat based cluster had an option >>> "ordered=true | false" for "group" tag which supported starting of >>> resources in series or parallel. >> >> this meta attribute is still available ... when in crm shell add: >> >> meta ordered=false >> >> to your group resource ... or you could also use a colocation set. >> >> Regards, >> Andreas >> >> >> -- >> Need help with Pacemaker? >> http://www.hastexo.com/now >> >> >>> >>> >>> >>> By default, resources in Resource Group start in serial order for >>> Pacemaker based clusters. >>> >>> >>> >>> >>> Is there a way to start multiple resources in parallel? >>> >>> >>> >>> >>> Regards >>> >>> >>> KASHIF >>> >>> >>> >>> >>> ___ >>> 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 >>> >> >> >> ___ >> 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 >> >> > > > > ___ > 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 ___ 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 ___ 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
Re: [Pacemaker] How to start resources in a Resource Group in parallel
Hi All, I am using pacemaker 1.0.11 + corosync 1.4.2 for a 2 node cluster. The old cib.xml for Heartbeat based cluster had an option "ordered=true | false" for "group" tag which supported starting of resources in series or parallel. By default, resources in Resource Group start in serial order for Pacemaker based clusters. Is there a way to start multiple resources in parallel? Regards KASHIF ___ 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