[Linux-HA] How to Monitor Services

2008-12-31 Thread Jerome Yanga
I have tried reading and interpreting the link below but could not get the Resource Monitoring to work. http://linux-ha.org/ClusterInformationBase/Actions I have installed heartbeat-2.1.3-1. The following is in my /var/lib/heartbeat/crm/cib.xml file. " I only have a single node

[Linux-HA] How to Monitor Services

2008-12-31 Thread Jerome Yanga
I have tried reading and interpreting the link below but could not get the Resource Monitoring to work. http://linux-ha.org/ClusterInformationBase/Actions I have installed heartbeat-2.1.3-1. The following is in my /var/lib/heartbeat/crm/cib.xml file. " I only have a single node

RE: [Linux-HA] Failover not working as I expected

2009-01-16 Thread Jerome Yanga
Dominik, Thank you much. Adding "resource-stickiness" and getting rid of the constraint helped a lot. The resources does not go back to Nomen anymore when it's heartbeat is started again (resources stays with Rubric). However, the resources still gets bounced once Nomen joins the cluster.

RE: [Linux-HA] Failover not working as I expected

2009-01-26 Thread Jerome Yanga
mailing list Subject: Re: [Linux-HA] Failover not working as I expected On Tue, Jan 20, 2009 at 21:48, Jerome Yanga wrote: > Dominik, > > Per your request, attached is my current configuration. > > To reiterate, the following are still concerns: > > 01) Resources gets bounced w

RE: [Linux-HA] Failover not working as I expected

2009-01-26 Thread Jerome Yanga
...@lists.linux-ha.org] On Behalf Of Andrew Beekhof Sent: Tuesday, January 20, 2009 1:33 PM To: General Linux-HA mailing list Subject: Re: [Linux-HA] Failover not working as I expected On Tue, Jan 20, 2009 at 21:48, Jerome Yanga wrote: > Dominik, > > Per your request, attached is m

[Linux-HA] Documentation on how to use crm(live)

2009-01-26 Thread Jerome Yanga
Please provide the documentation on how to use crm(live). I have found this but it is not detailed enough on how to use the rest of the options. http://clusterlabs.org/wiki/Example_configurations I have been using crm(live) because I cannot seem to get the right syntax for the xml file to use

RE: [Linux-HA] Documentation on how to use crm(live)

2009-01-27 Thread Jerome Yanga
minik Klein Sent: Monday, January 26, 2009 10:47 PM To: General Linux-HA mailing list Subject: Re: [Linux-HA] Documentation on how to use crm(live) Jerome Yanga wrote: > Please provide the documentation on how to use crm(live). > > I have found this but it is not detailed enough on how to u

RE: [Linux-HA] Failover not working as I expected

2009-01-27 Thread Jerome Yanga
Subject: Re: [Linux-HA] Failover not working as I expected Jerome Yanga wrote: > Andrew, > > I apologize for my sending my previous email abruptly. > > I have followed your recommendation and installed Pacemaker. > > Here is my config. > > Packages Installed: > he

RE: [Linux-HA] Failover not working as I expected

2009-01-28 Thread Jerome Yanga
Behalf Of Dominik Klein Sent: Tuesday, January 27, 2009 10:48 PM To: General Linux-HA mailing list Subject: Re: [Linux-HA] Failover not working as I expected Jerome Yanga wrote: > Dominik, > > Here is the status of the two concerns I needed help on. > > 01) When a node comes back up

RE: [Linux-HA] Failover not working as I expected

2009-01-29 Thread Jerome Yanga
Andrew Beekhof Sent: Thursday, January 29, 2009 3:51 AM To: General Linux-HA mailing list Subject: Re: [Linux-HA] Failover not working as I expected On Tue, Jan 27, 2009 at 22:04, Jerome Yanga wrote: > Dominik, > > Here is the status of the two concerns I needed help on. > > 01)

RE: [Linux-HA] Failover not working as I expected

2009-01-29 Thread Jerome Yanga
list Subject: Re: [Linux-HA] Failover not working as I expected Good morning Jerome we should make this a daily thing, shouldn't we? Jerome Yanga wrote: > Dominik, > > I apologize for leaving resource-stickiness out. I had it there previously > but due to the trial and error

RE: [Linux-HA] Failover not working as I expected

2009-02-06 Thread Jerome Yanga
I would just like to thank everyone who has helped me get HA (Pacemaker) working. It works really really nice. You guys were right. It was a bug in the RA. As soon as I fixed it, Pacemaker worked like a charm. Regards, jerome -Original Message- From: linux-ha-boun...@lists.linux-ha.

RE: [Linux-HA] Call cib_create failed (-47): Update does not conform to the configured schema/DTD

2009-02-25 Thread Jerome Yanga
I found the site as soon as I sent it out. http://clusterlabs.org/wiki/DRBD_HowTo_1.0 'Hope this helps others. :) Regards, Jerome From: Jerome Yanga Sent: Wednesday, February 25, 2009 2:40 PM To: General Linux-HA mailing list Subject: [Linux-HA] Call cib_create failed (-47): Update doe

[Linux-HA] Call cib_create failed (-47): Update does not conform to the configured schema/DTD

2009-02-25 Thread Jerome Yanga
I have been trying to add DRBD on my Pacemaker config using crm(live) but I keep getting this message below: Call cib_create failed (-47): Update does not conform to the configured schema/DTD Can someone show me the syntax for crm(live) to add my DRBD resource below?

[Linux-HA] Having issues with getting DRBD to work with Pacemaker

2009-03-04 Thread Jerome Yanga
Hi! I am having issues with getting DRBD to work with Pacemaker. I can get Pacemaker and DRBD run individually but not DRBD managed by Pacemaker. I tried following the instruction in the site below but the resources will not go online. http://clusterlabs.org/wiki/DRBD_HowTo_1.0 Below is my

RE: [Linux-HA] Having issues with getting DRBD to work with Pacemaker

2009-03-04 Thread Jerome Yanga
es, with both nodes as "secondary". If it doesn't they you have to fix drbd first before trying to add pacemaker to the mix. Neil Jerome Yanga wrote: > Hi! I am having issues with getting DRBD to work with Pacemaker. I can get > Pacemaker and DRBD run individually b

RE: [Linux-HA] Having issues with getting DRBD to work with Pacemaker

2009-03-06 Thread Jerome Yanga
the service you are unloading the DRBD module, hence it can not start. Jerome Yanga wrote: > Hi Neil! > > Yes. DRBD works outside of Pacemaker. When I do a "service drbd start" on > each node, drbd runs properly and are both "Secondary". > > jerome > >

RE: [Linux-HA] Having issues with getting DRBD to work with Pacemaker

2009-03-06 Thread Jerome Yanga
I apologize, Brian. The gratitude should have been sent to you. Thanks, Brian. :) Regards, jerome -Original Message- From: Jerome Yanga Sent: Friday, March 06, 2009 9:35 AM To: General Linux-HA mailing list Subject: RE: [Linux-HA] Having issues with getting DRBD to work with

RE: [Linux-HA] Having issues with getting DRBD to work with Pacemaker

2009-03-06 Thread Jerome Yanga
did was run the OCF scripts "by hand" (you have to set a bunch of env variables). I can't find the script I used to test drbd, but I've attached one I used for mysql; you should be able to adapt it to your use. As always, remember "bash -x" is your friend. Neil J

RE: [Linux-HA] Having issues with getting DRBD to work with Pacemaker

2009-03-06 Thread Jerome Yanga
unction for read child took too long to execute: 70 ms (> 50 ms) (GSource: 0x94add68) Mar 6 12:56:17 nomen lrmd: [14509]: info: Resource Agent output: [] Regards, jerome -Original Message- From: linux-ha-boun...@lists.linux-ha.org [mailto:linux-ha-boun...@lists.linux-ha.org] On Behalf Of Domi

RE: [Linux-HA] Having issues with getting DRBD to work with Pacemaker

2009-03-11 Thread Jerome Yanga
Behalf Of Dominik Klein Sent: Monday, March 09, 2009 12:05 AM To: General Linux-HA mailing list Subject: Re: [Linux-HA] Having issues with getting DRBD to work with Pacemaker Hi Jerome Yanga wrote: > Dominik, > > As usual, you are right on the money. I should have caught that myself. > T

[Linux-HA] Manual Resource Migration creates a Constraint

2009-03-13 Thread Jerome Yanga
When I manually migrate a group resource, a constraint is automatically created. Is there a way to avoid this? Here is the automatically created constraint. Here is the command I use to manually migrate the group resource. crm resource migrate DRBD_Group

RE: [Linux-HA] MailTo

2009-03-26 Thread Jerome Yanga
I think I had this issue in the past as well. I just made sure that MAILCMD is assigned a mail app in .ocf-binaries. Try the command below. sed -i '/MAILCMD/s/=/=\/bin\/mail/g' /usr/lib/ocf/resource.d/heartbeat/.ocf-binaries jerome -Original Message- From: linux-ha-boun...@lists.linu

[Linux-HA] Stopping the Heartbeat daemon does not stop the DRBD Daemon

2009-04-02 Thread Jerome Yanga
Stopping the Heartbeat daemon (service heartbeat stop) does not stop the DRBD daemon even if it is one of the resources. # service heartbeat stop Stopping High-Availability services: [ OK ] # service drbd status drbd driver loaded OK; d

RE: [Linux-HA] Stopping the Heartbeat daemon does not stop the DRBD Daemon

2009-04-03 Thread Jerome Yanga
stop the DRBD Daemon Jerome Yanga wrote: > Stopping the Heartbeat daemon (service heartbeat stop) does not stop the DRBD > daemon even if it is one of the resources. > > # service heartbeat stop > Stopping High-Availa

RE: [Linux-HA] Re: Stopping the Heartbeat daemon does not stop the DRBD Daemon

2009-04-03 Thread Jerome Yanga
Thanks. In my situation, DRBD is a resource in my cluster. Hence, it is managed by heartbeat. jerome -Original Message- From: linux-ha-boun...@lists.linux-ha.org [mailto:linux-ha-boun...@lists.linux-ha.org] On Behalf Of Dominik Klein Sent: Friday, April 03, 2009 1:50 AM To: General Li

[Linux-HA] NFS syntax for crm(live)

2009-04-10 Thread Jerome Yanga
I hope you guys have not gotten tired of me. The crm(live) interface just keeps on telling me that I do not know XML. :( Can someone share with me the proper crm(live) syntax on adding an NFS as a resource in Pacemaker? Thank you in advance. Regards, Jerome __

RE: [Linux-HA] NFS syntax for crm(live)

2009-04-10 Thread Jerome Yanga
...@lists.linux-ha.org] On Behalf Of Jerome Yanga Sent: Friday, April 10, 2009 11:07 AM To: General Linux-HA mailing list Subject: [Linux-HA] NFS syntax for crm(live) I hope you guys have not gotten tired of me. The crm(live) interface just keeps on telling me that I do not know XML. :( Can someone

[Linux-HA] Cannot get Heartbeat, DRBD and NFS to work together

2009-04-28 Thread Jerome Yanga
Hi peeps! I cannot get my High Availability NFS server work right. Here is my configuration. primitive share_name ocf:heartbeat:nfsserver \ params nfs_init_script="/etc/init.d/nfs" \ params nfs_notify_cmd="/sbin/rpc.statd" \ params nfs_shared_infodir="/data" \ pa

Re: [Linux-HA] Cannot get Heartbeat, DRBD and NFS to work together

2009-04-30 Thread Jerome Yanga
ata/varlibnfs" \ params nfs_ip="10.50.26.250" \ op monitor interval="30s" ... group DRBD_Group fs0 nfs_share VIP Emergency_Contact \ ... I think there is something wrong with the OCF agent nfsserver in that it cannot stop the NFS service. As a result, the DR

[Linux-HA] A Node cannot rejoin the cluster after a rebuild

2009-05-08 Thread Jerome Yanga
Here is the scenario. 01) There are two nodes in the Active-Passive cluster--Nomen and Rubric. 02) Nomen had a hardware and software failure. 03) Rubric took over the resources as expected. 04) Due to the failures, Nomen's operating system needed to be rebuilt. 05) DRBD was reinstalled

Re: [Linux-HA] A Node cannot rejoin the cluster after a rebuild

2009-05-11 Thread Jerome Yanga
] On Behalf Of Andrew Beekhof Sent: Monday, May 11, 2009 12:45 AM To: General Linux-HA mailing list Subject: Re: [Linux-HA] A Node cannot rejoin the cluster after a rebuild On Sat, May 9, 2009 at 12:56 AM, Jerome Yanga wrote: > Here is the scenario. > > 01)  There are two nodes in the Activ

Re: [Linux-HA] A Node cannot rejoin the cluster after a rebuild

2009-05-13 Thread Jerome Yanga
Subject: Re: [Linux-HA] A Node cannot rejoin the cluster after a rebuild try using crm_uuid to write back the value Rubric thinks Normen should have, i forget the name of the file on rubric that contains it. hostcache or something like that On Mon, May 11, 2009 at 6:18 PM, Jerome Yanga wrote: > And