Re: [Linux-HA] Files in /var/lib/heartbeat/pengine

2008-04-15 Thread Tao Yu
Thanks. It works. I remember somewhere mentioned in the linux-ha.org, that the cib.xml will be checked against the crm.dtd. Isn't that statement true? On Mon, Apr 14, 2008 at 12:41 PM, Dejan Muhamedagic [EMAIL PROTECTED] wrote: Hi, On Mon, Apr 14, 2008 at 10:36:12AM -0400, Tao Yu wrote

Re: [Linux-HA] Files in /var/lib/heartbeat/pengine

2008-04-14 Thread Tao Yu
Thanks Dejan. Do you mean we can configure those values to heartbeat via cib.xml? I checked the crm.dtd and can not see those fields. On Fri, Apr 11, 2008 at 11:35 AM, Dejan Muhamedagic [EMAIL PROTECTED] wrote: Hi, On Fri, Apr 11, 2008 at 11:16:13AM -0400, Tao Yu wrote: A quick question

[Linux-HA] Files in /var/lib/heartbeat/pengine

2008-04-11 Thread Tao Yu
A quick question, what are those files in this directory used for? Thanks, Tao ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems

[Linux-HA] IPaddr does not fail when the Ethernet cable is pulled

2008-03-05 Thread Tao Yu
I have an OCF IPaddr resource managed by heartbeat. It is a pseudo interface on my physical eth0. When I shutdown the pseudo interface or the physical NIC, the IPaddr will fail and the backup machine will pickup all the HA resources. But if I just pull out the ethernet cable, the IPaddr does not

Re: [Linux-HA] Heartbeat dies

2008-02-28 Thread Tao Yu
On Thu, Feb 28, 2008 at 5:25 AM, Dejan Muhamedagic [EMAIL PROTECTED] wrote: Hi, On Wed, Feb 27, 2008 at 11:45:10AM -0500, Tao Yu wrote: Running heartbeat 2.1.2 on Centos4.5 The cluster has just two nodes, boxqaha1 and boxqaha2 Leave the HA resources running boxqaha1 for some time

[Linux-HA] Heartbeat dies

2008-02-27 Thread Tao Yu
Running heartbeat 2.1.2 on Centos4.5 The cluster has just two nodes, boxqaha1 and boxqaha2 Leave the HA resources running boxqaha1 for some time and found out the boxqaha2 took over resources for no reason. Checked the heartbeat on boxqaha1, found out only lrmd was still running on boxqaha1.

Re: [Linux-HA] crm crash on centos 4.5

2008-02-13 Thread Tao Yu
Sort of. Until 2.1.3 it was the default behavior. Since 2.1.3, you can also get this behavior by specifying crm respawn instead of crm yes My understanding of the fix for this problem is the crmd will not likely to exit in such scenario. Am I right? Since 2.1.3, crm yes results in the whole

Re: [Linux-HA] crm crash on centos 4.5

2008-02-08 Thread Tao Yu
Thanks! Several more questions: 1. My understanding is, when the crmd gets into this mess, it will be gone and the master heartheart control process will bring up a new instance of crmd and it will continue to work. There will be no affect to the cluster. Is it correct? 2. I tried to create

Re: [Linux-HA] crm crash on centos 4.5

2008-02-08 Thread Tao Yu
2. I tried to create the split-brain on a 2-node cluster and then recovered from it. I did see the crmd killed and started again. I did see the core file generated. But this time, I only saw the back trace of: Core was generated by `/usr/lib64/heartbeat/crmd'. Program terminated

Re: [Linux-HA] crm crash on centos 4.5

2008-02-07 Thread Tao Yu
: On 2008-02-06T15:11:28, Tao Yu [EMAIL PROTECTED] wrote: Running the heartbeat 2.1.2 Core: #0 0x003b9602e21d in raise () from /lib64/tls/libc.so.6 #1 0x003b9602fa1e in abort () from /lib64/tls/libc.so.6 #2 0x003efe80bc90 in crm_abort () from /usr/lib64/libcrmcommon.so.1 #3

Re: [Linux-HA] crm crash on centos 4.5

2008-02-07 Thread Tao Yu
Thanks for all the information. I do believe we have the debuginfo package installed. Will try to reproduce this and try to get the ha-debug file. Could someone point me to the code section for this problem? I want to dig a little deep into heartbeat implementation. :) Thanks again!

[Linux-HA] crm crash on centos 4.5

2008-02-06 Thread Tao Yu
Running the heartbeat 2.1.2 Core: #0 0x003b9602e21d in raise () from /lib64/tls/libc.so.6 #1 0x003b9602fa1e in abort () from /lib64/tls/libc.so.6 #2 0x003efe80bc90 in crm_abort () from /usr/lib64/libcrmcommon.so.1 #3 0x003efee01adb in ?? () from /usr/lib64/libccmclient.so.1

[Linux-HA] dumb question about cleanup resource

2008-01-23 Thread Tao Yu
In the haclient.py, there is an action to Cleanup resource. My question is, is there any built-in command to do this through command line so I can use it in some scripts? I checked crm_resource/crmadmin/cibadmin, and no luck. :( ___ Linux-HA mailing

[Linux-HA] Run heartbeat as a normal user?

2007-11-29 Thread Tao Yu
Looks like a stupid question. Is it possible to run heartbeat as a normal user without root privilege? (no sudo) ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also:

Re: [Linux-HA] Which version should I go for? 2.1.2 or 2.0.8?

2007-11-29 Thread Tao Yu
Andrew, Thanks! And I do not see heartbeat-gui rpm in this place, this is contained in some other files? i don't think its built as a separate package there The haclient.py is in heartbeat-gui-2.2.1-3 centos rpm file. So I thought it would be the same. But looks it is in

Re: [Linux-HA] Run heartbeat as a normal user?

2007-11-29 Thread Tao Yu
not really - since you'd not be able to manage things like IP addresses (which requires root privileges) Is it possible to tweak the heartbeat config to make it run as regular user? Or at least run heartbeat commands like crmadmin/cibadmin/crm_standby/etc. as regular user?

Re: [Linux-HA] Which version should I go for? 2.1.2 or 2.0.8?

2007-11-28 Thread Tao Yu
On Nov 28, 2007 2:58 AM, Andrew Beekhof [EMAIL PROTECTED] wrote: On Nov 27, 2007, at 10:55 PM, Tao Yu wrote: Hi all the experts, I want to use some stable version of heartbeat. Which version is suggested from the community? My feeling is 2.0.8 is tested more than 2.1.2

[Linux-HA] Which version should I go for? 2.1.2 or 2.0.8?

2007-11-27 Thread Tao Yu
Hi all the experts, I want to use some stable version of heartbeat. Which version is suggested from the community? My feeling is 2.0.8 is tested more than 2.1.2. Is that correct? Also, I searched the rpm packages for heartbeat, looks the 2.1.2 rpm files is not available for FC. Or I missed

[Linux-HA] HA resources do not fail back

2007-11-08 Thread Tao Yu
The cluster has two nodes. All HA resources are within one group. The cluster is running normal and all HA resources are running on one machine, let's call it machine1, and the other one machine2. 1. I failed one resource on machine1, and I can see everything fail over to machine2. 2. I

[Linux-HA] Where is haclient.py?

2007-08-30 Thread Tao Yu
Hi everyone, I am using a Centos5 machine and I just installed heartbeat package by running the command yum install heartbeat I can see heartbeat-stonith-2.1.2-3.el4.centos heartbeat-pils-2.1.2-3.el4.centos heartbeat-2.1.2-3.el4.centos are installed. I can not find haclient.py

Re: [Linux-HA] Where is haclient.py?

2007-08-30 Thread Tao Yu
Dave, Thanks for the quick response. There is no heartbeat-gui under /usr/share. I listed all the files heartbeat-2.1.2-3.el4.centos yum installed on my box, and can not find anything related with haclient.py. Guess I missed something when I run the yum install? On 8/30/07, Dave Blaschke

Re: [Linux-HA] adding drbddisk resource and Filesystem resource

2007-05-22 Thread Tao Yu
On 5/22/07, Lars Marowsky-Bree [EMAIL PROTECTED] wrote: On 2007-05-21T18:32:52, Tao Yu [EMAIL PROTECTED] wrote: Running heartbeat 2.0.8 Started with an cib.xml file with no resource defines. The do the following: 1. add drbddisk resource by sending message to mgmtd: I'd not really

[Linux-HA] adding drbddisk resource and Filesystem resource

2007-05-21 Thread Tao Yu
Running heartbeat 2.0.8 Started with an cib.xml file with no resource defines. The do the following: 1. add drbddisk resource by sending message to mgmtd: add_rsc drbddisk_1 heartbeat drbddisk heartbeat group_1 noclone 0 0 nomaster 0 0 drbddisk_param_1 1 rbsdisk Now I can see the drbddisk

[Linux-HA] How to add resources into crm through crm admin tools?

2007-05-03 Thread Tao Yu
Hi, Sorry for my beginner's question. Is it possible to add resources using crm admin tools? I read the man pages for crmadmin, crm_resources, but can't see any command to do this. Did I miss anything? Thanks, Tao ___ Linux-HA mailing list

Re: [Linux-HA] How to manually move resource from one node to another one?

2007-04-30 Thread Tao Yu
$* break;; -[uU][nN][mM][oO][vV][eE]) echo UnMove $2 crm_resource -U -r $2 break;; * ) usage;; esac On 4/30/07, Tao Yu [EMAIL PROTECTED] wrote: Hi all, I am a new user of heartbeat. I configure a cluster with two