Re: [Pacemaker] error installing CentOS clvm after using clusterlabs repository

2010-08-21 Thread Michael Fung
Aug 5, 2010 at 2:42 PM, Michael Fung wrote: >> Thanks! The Cluster Hero! >> >> If I understand correctly, after install RHEL 6 beta, I can go option 3 >> (corosync + cpg + cman + mcp), and use cluster.conf and service cman >> start. Right? > > It depends

Re: [Pacemaker] rsc_order plus resource_set problem

2010-08-09 Thread Michael Fung
Hello Dejan, > > That cannot be the case, because tabs are treated as space. The > problem comes from specifying 'sequential="true"' which, because > default, is not generated hence the original XML and the > generated XML differ. In that case shell will refuse to use its > notation. For instance

Re: [Pacemaker] rsc_order plus resource_set problem

2010-08-09 Thread Michael Fung
On 2010/8/9 下午 07:53, Dejan Muhamedagic wrote: >> >> >> >> >> >> >> >> >> >> >> >> > > There

[Pacemaker] rsc_order plus resource_set problem

2010-08-08 Thread Michael Fung
Hello again, I have a long list of resources that must be started in order, so I followed the "Pacemaker 1.0 Configuration Explained" doc, to write it like that: (the constraints scope was originally blank as )

[Pacemaker] ocf:pacemaker:o2cb Unable to connect to CKPT

2010-08-06 Thread Michael Fung
Hi All, I am still testing with the Debian Squeeze machine. Unable to start the RA ocf:pacemaker:o2cb If I run "ocfs2_controld.pcmk -D": ocfs2_controld[14510]: 2010/08/06_20:40:03 info: init_ais_connection_once: Creating connection to our AIS plugin ocfs2_controld[14510]: 2010/08/06_20:40:03 i

Re: [Pacemaker] error installing CentOS clvm after using clusterlabs repository

2010-08-05 Thread Michael Fung
Thanks! The Cluster Hero! If I understand correctly, after install RHEL 6 beta, I can go option 3 (corosync + cpg + cman + mcp), and use cluster.conf and service cman start. Right? On 2010/8/5 下午 05:34, Andrew Beekhof wrote: > On Wed, Aug 4, 2010 at 4:49 PM, Michael Fung wrote: >> >

Re: [Pacemaker] error installing CentOS clvm after using clusterlabs repository

2010-08-04 Thread Michael Fung
On 2010/8/4 下午 09:06, Andrew Beekhof wrote: > You can either use cluster.conf for configuring corosync/cman or I can > send you the corosync.conf snippet. > Yes, please send me the corosync.conf snippet. Many thanks, Michael ___ Pacemaker mailing l

Re: [Pacemaker] error installing CentOS clvm after using clusterlabs repository

2010-08-04 Thread Michael Fung
of my clients use RedHat based derivatives. > > It all depends upon what you need and what you're familiar with. > > Good luck, > > Best Regards, > > Brett > > On Wed, 2010-08-04 at 09:05 +0800, Michael Fung wrote: >> Thanks to all who helped give hints. &

Re: [Pacemaker] error installing CentOS clvm after using clusterlabs repository

2010-08-03 Thread Michael Fung
Thanks to all who helped give hints. I switched to Debian Squeeze. I don't want to spend time to study RHCS of RHEL 5 if Pacemaker/Corosync is the future. Life is short. Rgds, Michael On 2010/8/3 下午 03:29, Brett Delle Grazie wrote: > Hi Mike, > > In RHEL 5.x and CentOS 5.x you must use CMAN

[Pacemaker] error installing CentOS clvm after using clusterlabs repository

2010-08-02 Thread Michael Fung
Hi all, I am using the following repository to install pacemaker and corosync: [clusterlabs] name=High Availability/Clustering server technologies (epel-5) baseurl=http://www.clusterlabs.org/rpm/epel-5 ... The cluster is working good. Later, I want to use clvm, that is the lvm2-cluster

Re: [Pacemaker] FS mount error

2010-07-22 Thread Michael Fung
Please try: # crm resource cleanup WebFS This will fix if resource's fail-count reached INFINITY. Rgds, Michael On 2010/7/22 下午 03:29, Proskurin Kirill wrote: > Hello all. > > I really new to Pacemaker and try to make some test and learn how it is > all works. I use Clusters From Scratch pdf

Re: [Pacemaker] dependent resource reach max fail count

2010-07-02 Thread Michael Fung
On 2010/7/2 下午 09:16, Michael Fung wrote: > > It seems to indicate that pacemaker do not shutdown dependent resources > in an orderly manner when the multi-state depended resource change > state. The dependent resources just "crashed". Am I right? > I was wrong. Fr

Re: [Pacemaker] dependent resource reach max fail count

2010-07-02 Thread Michael Fung
or pingd number:lte 0 Things seems to work now. It seems to indicate that pacemaker do not shutdown dependent resources in an orderly manner when the multi-state depended resource change state. The dependent resources just "crashed". Am I right? Rgds, Michael On 2010/7/2 下午 06:18, Mi

[Pacemaker] dependent resource reach max fail count

2010-07-02 Thread Michael Fung
Hi All, It is a 2-node Active/Passive configuration. First, everything is normal. Then, all network cable disconneted. On node1 and node2, ms_drbd_r0 auto go to Slave role. vs_fs stopped as expected, because: order ms_drbd_r0-b4-vz_fs inf: ms_drbd_r0:promote group_vz:start group group_vz vz

Re: [Pacemaker] Master/Slave not failing over

2010-06-25 Thread Michael Fung
Please let me know if I am wrong: This requirement can be satisfied by customizing the used RA. Thanks, Michael > On Fri, Jun 25, 2010 at 12:43 AM, Eliot Gable wrote: >> I am still having issues with the master/slave resource. When I cause one of >> the monitoring actions to fail, > > as well

Re: [Pacemaker] Understanding of autofailback and resource locations

2010-06-24 Thread Michael Fung
I am a newbie, so don't blame me if I am wrong :}. I guess the one of the following canceled your location score's effect. On 2010/6/24 下午 07:32, Marc Mertes wrote: > name="default-resource-stickiness" value="100"/> > name="resource-stickiness" value="2000"/> _

Re: [Pacemaker] pacemaker-mgmt compile error

2010-06-23 Thread Michael Fung
tus I think I will give up and wait for a .deb package instead. Thanks for all who helped. Rgds, Michael On 2010/6/23 下午 03:42, Yan Gao wrote: > > > On 06/23/10 14:21, Michael Fung wrote: >> >> On 2010/6/23 上午 11:18, Yan Gao wrote: >>> >>> Strange

Re: [Pacemaker] pacemaker-mgmt compile error

2010-06-22 Thread Michael Fung
On 2010/6/23 上午 11:18, Yan Gao wrote: > > Strange glib...How about use "--enable-fatal-warnings=no" when configuring > the source? Dear Yan, thanks for your help. After restart from scratch and doing: ./Configure configure --enable-fatal-warnings=no The make result is the same: cc1: warnings

Re: [Pacemaker] pacemaker-mgmt compile error

2010-06-22 Thread Michael Fung
> autoconf > > configure.in:56: error: possibly undefined macro: AC_PROG_INTLTOOL > Looks like you need the intltool package. Thanks Dejan. That solved the problem. Later, when I do "./Configure make" It gives: === pacemaker-mgmt configuration: Version = 2.0 (Build: 1833

[Pacemaker] pacemaker-mgmt compile error

2010-06-22 Thread Michael Fung
Hi All, I would like to try the Python GUI. According to a previous post by Yan Gao: > If you are using pacemaker 1.0 series, you could either retrieve > pacemaker-mgmt-2.0.0 from: > http://hg.clusterlabs.org/pacemaker/pygui/archive/pacemaker-mgmt-2.0.0.tar.bz2 After I do: ./ConfigureMe configu