[Linux-HA] Clonesets and Resource Groups

2008-02-26 Thread Wörz , Michael
Good Morning and Hello everyboby, I' new to the list and have been testing with Linux-Ha for serveral days now. The results are more or less usable but must be improved to get productive. The biggest issue so far is to migrate constraint resources frome one node to another with a single command.

Re: [Linux-HA] how to create meta-data?

2008-02-26 Thread Dominik Klein
What does meta-data in DRBD mean http://www.drbd.org/users-guide/ch-internals.html#s-metadata and how to create meta-data. http://www.drbd.org/users-guide/s-first-time-up.html Regards Dominik ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org

Re: [Linux-HA] Secondary reboot

2008-02-26 Thread Luke Pascoe
Err, false alarm. I've discovered it's not HA rebooting the box, but ocfs2 instead. :( Now I've gotta figure out what's going on with that. On the off chance, has anyone here done HA with OCFS2? Any gotchas? Regards Luke Pascoe Linux Systems Engineer Asterisk T 09 366 8835 F 09 302 1772 M 02

[Linux-HA] heartbeat not working

2008-02-26 Thread Dan Gahlinger
I can't get heartbeat to work properly. I copied the config from another set of servers that works properly and yet this one doesn't. it won't create the virtual IP, or start any of the processes it's supposed to. and the logs don't say any problems, looks normal. Also doesn't setup DRBD properly

Re: [Linux-HA] Secondary reboot

2008-02-26 Thread Luke Pascoe
> How do you induce a failover? Right now just the simplest kind, a network failure. I'm simply disconnecting the LAN interface on one of the hosts. It doesn't matter which host I disconnect, 02 reboots. > Anything in the logs? Perhaps post them. Nothing obvious. Attached are the ha-log and

[Linux-HA] samba setup

2008-02-26 Thread Jason Erickson
I am trying to set up samba but for whatever reason it will not start. Do I need to set up anything in smb.conf? I set up samba through the GUI. This is using a LSB script. I built Samba from source so it is in a different folder but I built a custom init script to work with Samba. Are there a

Re: [Linux-HA] Apache LSB example

2008-02-26 Thread Jason Erickson
Matt, Thanks I will try that then. I definitely don't want everyone seeing the info. Jason Jason, You might want to make a slight change to the config and make it SetHandler server-status Order deny,allow Deny from all, Allow from Sometimes there can be informatio

Re: [Linux-HA] Stopping HA takes Forever or Hangs

2008-02-26 Thread Andreas Mock
> -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Im Auftrag von > Bryan Manzeck > Gesendet: Dienstag, 26. Februar 2008 19:18 > An: linux-ha@lists.linux-ha.org > Betreff: [Linux-HA] Stopping HA takes Forever or Hangs > > > Hello, > I am trying to get my cl

Re: [Linux-HA] Apache LSB example

2008-02-26 Thread Matthew Soffen
Jason, You might want to make a slight change to the config and make it SetHandler server-status Order deny,allow Deny from all, Allow from Sometimes there can be information in the server-status that isn't anyone's business but your one. Matt On Tue, 2008-02-26 at 10:17 -0

Re: [Linux-HA] Heartbeat logging

2008-02-26 Thread Kelly Corbin
Heh, I put it in logd.cf and it worked. Thanks! Dejan Muhamedagic wrote: Hi, On Mon, Feb 25, 2008 at 03:47:58PM -0600, Kelly Corbin wrote: How can I get heartbeat to stop logging to the messages file? I've got use_logd in my ha.cf and it's logging to both messages and ha-log. How do Put

Re: AW: [Linux-HA] AFD and SAProuter Resource-Agents

2008-02-26 Thread Michael Schwartzkopff
Schmidt, Florian schrieb: > OK, so I think I will try to write such a script. I think OFC is more > difficult, so what are the advantages of OCF against LSB-scripts? > > Is this possible also with LSB-Scripts: > > (because I saw this only with OCF-RAs until now) > > > Regards > Florian > Yes.

Re: [Linux-HA] Stopping HA takes Forever or Hangs

2008-02-26 Thread Adrian Chapela
Bryan Manzeck escribió: Hello, I am trying to get my cluster working properly and when I have a node STONITH or try to manually stop heartbeat it will hang on "Stopping High-Availability Services" and just sit there. I am using SuSe Linux Enterprise sp1 with the latest heartbeat from the Linux

Re: AW: [Linux-HA] AFD and SAProuter Resource-Agents

2008-02-26 Thread Adrian Chapela
Schmidt, Florian escribió: OK, so I think I will try to write such a script. I think OFC is more difficult, so what are the advantages of OCF against LSB-scripts? I don't know advantages exactly but it is a new cluster standard. In the future it could have more advantages, maybe... Is this

AW: [Linux-HA] AFD and SAProuter Resource-Agents

2008-02-26 Thread Schmidt, Florian
OK, so I think I will try to write such a script. I think OFC is more difficult, so what are the advantages of OCF against LSB-scripts? Is this possible also with LSB-Scripts: (because I saw this only with OCF-RAs until now) Regards Florian > -Ursprüngliche Nachricht- > Von: [EMAIL

[Linux-HA] Stopping HA takes Forever or Hangs

2008-02-26 Thread Bryan Manzeck
Hello, I am trying to get my cluster working properly and when I have a node STONITH or try to manually stop heartbeat it will hang on "Stopping High-Availability Services" and just sit there. I am using SuSe Linux Enterprise sp1 with the latest heartbeat from the Linux ha web site. Any sugges

Re: [Linux-HA] NFS HA cluster

2008-02-26 Thread Wayne Carty
Solved the problem by reducing the resource timeout from 20s to 5s On Tue, Feb 26, 2008 at 8:46 AM, Wayne Carty <[EMAIL PROTECTED]> wrote: > I took a look at the article and I'm running nfsboot. I made sure nfsboot > starts up before the nfsserver but I'm still having the problem. > Here is anot

Re: [Linux-HA] STONITH test and a question

2008-02-26 Thread Doug Lochart
On Tue, Feb 26, 2008 at 11:05 AM, Dejan Muhamedagic <[EMAIL PROTECTED]> wrote: > Hi, > > > > On Tue, Feb 26, 2008 at 10:59:26AM -0500, Doug Lochart wrote: > > On Mon, Feb 25, 2008 at 6:10 PM, Dejan Muhamedagic <[EMAIL PROTECTED]> > wrote: > > > Hi, > > > > > > > > > On Mon, Feb 25, 2008 at

Re: Re: [Linux-HA] Heartbeat on Solaris 10

2008-02-26 Thread David Lee
On Tue, 26 Feb 2008, Dejan Muhamedagic wrote: > On Tue, Feb 26, 2008 at 01:48:14PM +, David Lee wrote: > > On Mon, 25 Feb 2008 [EMAIL PROTECTED] wrote: > > > > > Thanks for the quick responses Dave and Dejan. Dejans suggested fix for > > > the structure worked. > > > > Dejan: In that case, cou

[Linux-HA] meta_attributes twice for some resources

2008-02-26 Thread Sebastian Reitenbach
Hi, I was wondering today why some of the resources in the cluster behaved strangely, e.g. did not reacted on "start/stop/clean up" when clicking in the GUI. Then I tried this with crm_resource, and it was whining because the target_role matched twice, and it did not know, which one to use. So

Re: [Linux-HA] NFS HA cluster

2008-02-26 Thread Wayne Carty
No I'm not using the fsid option. Should I be using this? On Tue, Feb 26, 2008 at 5:38 AM, Joerg Paysen <[EMAIL PROTECTED]> wrote: > Wayne Carty schrieb: > > Hey Guys, > > > > I know this issue has been addressed in the forums but could not find a > > solution that solve the issue with the clien

Re: [Linux-HA] AFD and SAProuter Resource-Agents

2008-02-26 Thread Adrian Chapela
Schmidt, Florian escribió: Hi list, on top of my Heartbeat/DRBD-construct, there shall run a SAProuter and an AFD (a tool, which distributes files placed in certain locations under certain rules. (read http://www.dwd.de/AFD/html-en/ for more) I do have init-scripts for both of them, but I'm sh

[Linux-HA] AFD and SAProuter Resource-Agents

2008-02-26 Thread Schmidt, Florian
Hi list, on top of my Heartbeat/DRBD-construct, there shall run a SAProuter and an AFD (a tool, which distributes files placed in certain locations under certain rules. (read http://www.dwd.de/AFD/html-en/ for more) I do have init-scripts for both of them, but I'm shure they are not LSB or OCF-c

Re: [Linux-HA] question: external/ssh stonith to poweroff badnode via xen-host

2008-02-26 Thread Serge Dubrouski
Dejan - I found a compromise :-) Attached is a version of that plugin that supports following parameters: 1. hostlist. A string that has a list of controlled nodes separated by space or commas. A required parameter. In a simple form its just a list of nodes. If one needs to use non-standard Xen c

Re: [Linux-HA] STONITH test and a question

2008-02-26 Thread Dejan Muhamedagic
Hi, On Tue, Feb 26, 2008 at 10:59:26AM -0500, Doug Lochart wrote: > On Mon, Feb 25, 2008 at 6:10 PM, Dejan Muhamedagic <[EMAIL PROTECTED]> wrote: > > Hi, > > > > > > On Mon, Feb 25, 2008 at 03:36:31PM -0500, Doug Lochart wrote: > > > heartbeat 2.1.3_3 and drbd 8.0.8 (dopd and STONITH ip,i in use

Re: Re: [Linux-HA] Heartbeat on Solaris 10

2008-02-26 Thread Dejan Muhamedagic
Hi, On Tue, Feb 26, 2008 at 01:48:14PM +, David Lee wrote: > On Mon, 25 Feb 2008 [EMAIL PROTECTED] wrote: > > > Thanks for the quick responses Dave and Dejan. Dejans suggested fix for > > the structure worked. > > Dejan: In that case, could I recommend that we make that change in the > sourc

Re: [Linux-HA] STONITH test and a question

2008-02-26 Thread Doug Lochart
On Mon, Feb 25, 2008 at 6:10 PM, Dejan Muhamedagic <[EMAIL PROTECTED]> wrote: > Hi, > > > On Mon, Feb 25, 2008 at 03:36:31PM -0500, Doug Lochart wrote: > > heartbeat 2.1.3_3 and drbd 8.0.8 (dopd and STONITH ip,i in use) > > > > I successfully was able to test my 2 node cluster simply by powerin

Re: [Linux-HA] question: external/ssh stonith to poweroff badnode via xen-host

2008-02-26 Thread Serge Dubrouski
On Mon, Feb 25, 2008 at 4:02 PM, Dejan Muhamedagic <[EMAIL PROTECTED]> wrote: > Hi, > > > On Mon, Feb 25, 2008 at 12:17:40PM -0700, Serge Dubrouski wrote: > > On Mon, Feb 25, 2008 at 12:10 PM, Dejan Muhamedagic <[EMAIL PROTECTED]> > wrote: > > > Hi, > > > > > > > > > On Mon, Feb 25, 2008 at

Re: [Linux-HA] Apache LSB example

2008-02-26 Thread Jason Erickson
I had to add SetHandler server-status Order allow,deny Allow from all to httpd.conf Serge Dubrouski wrote: On Tue, Feb 26, 2008 at 7:38 AM, Jason Erickson <[EMAIL PROTECTED]> wrote: I finally figured out what my problem was. Thank you so much for all your help. So wh

Re: [Linux-HA] Apache LSB example

2008-02-26 Thread Serge Dubrouski
On Tue, Feb 26, 2008 at 7:38 AM, Jason Erickson <[EMAIL PROTECTED]> wrote: > I finally figured out what my problem was. Thank you so much for all > your help. So what was it? > > > Jason > > > > > > Jason Erickson wrote: > > I fixed it so the wget error does not come up. I also fixed the > >

Re: [Linux-HA] NFS HA cluster

2008-02-26 Thread Wayne Carty
I took a look at the article and I'm running nfsboot. I made sure nfsboot starts up before the nfsserver but I'm still having the problem. Here is another issue that I encounter wile testing. If it fails over sometimes I don't get the stale error but what happens is that I can't stat the files that

Re: [Linux-HA] Apache LSB example

2008-02-26 Thread Jason Erickson
I finally figured out what my problem was. Thank you so much for all your help. Jason Jason Erickson wrote: I fixed it so the wget error does not come up. I also fixed the html problem as well. Also you would not be able to get onto http://ha.mtu.edu/index.html because it is on a vmware

Re: Re: [Linux-HA] Heartbeat on Solaris 10

2008-02-26 Thread David Lee
On Mon, 25 Feb 2008 [EMAIL PROTECTED] wrote: > Thanks for the quick responses Dave and Dejan. Dejans suggested fix for > the structure worked. Dejan: In that case, could I recommend that we make that change in the source code, so that we can maintain portability and clarity of coding? Any reason

Re: [Linux-HA] Apache LSB example

2008-02-26 Thread Jason Erickson
I fixed it so the wget error does not come up. I also fixed the html problem as well. Also you would not be able to get onto http://ha.mtu.edu/index.html because it is on a vmware machine locally. 208/02/25_14:53:26 INFO: apache not running INFO: waiting for apache /opt/apache/conf/httpd.con

[Linux-HA] how to create meta-data?

2008-02-26 Thread Swetha -
Hi, I have a 2 node cluster. DRBD-0.7.21 version and heartbeat-2.0.4 version. I want to create meta-data for my master and slave. What does meta-data in DRBD mean and how to create meta-data. Kindly help me. - Meet people who d

Re: [Linux-HA] brocade fencing anyone?

2008-02-26 Thread Dejan Muhamedagic
Hi, On Tue, Feb 26, 2008 at 08:04:58PM +0900, Keisuke MORI wrote: > Hi, > > Dejan Muhamedagic <[EMAIL PROTECTED]> writes: > > > Hi, > > > > On Tue, Feb 26, 2008 at 11:52:16AM +0900, Keisuke MORI wrote: > >> Hi, > >> > >> Johan Hoeke <[EMAIL PROTECTED]> writes: > >> > Dejan Muhamedagic wrote: >

Re: [Linux-HA] Master/Slave problems

2008-02-26 Thread Adrian Chapela
Raoul Bhatia [IPAX] escribió: Adrian Chapela wrote: [snip] interval="20s" timeout="19s" prereq="nothing"/> I think that this line: name="monitor" interval="20s" timeout="19s" prereq="nothing"/> is the line to

[Linux-HA] heartbeat shuts down all VM machines

2008-02-26 Thread rupert
Hello, i set up a cluster with 2 drbdb devices and 2 VM on each server. When one server goes down the other should take over the part of down one. The drbd goes like this: a -> a b <- b the other machine are not drbdb devices, just some loopback VM which caryy no data, can they be in the config f

Re: [Linux-HA] NFS HA cluster

2008-02-26 Thread Joerg Paysen
Wayne Carty schrieb: Hey Guys, I know this issue has been addressed in the forums but could not find a solution that solve the issue with the clients throwing nfs stale file handles when it fails over. I am using SUSE 10.1 with OCFS running on my shared disks. I moved /var/lib/nfs over to the sh

Re: [Linux-HA] brocade fencing anyone?

2008-02-26 Thread Keisuke MORI
Hi, Dejan Muhamedagic <[EMAIL PROTECTED]> writes: > Hi, > > On Tue, Feb 26, 2008 at 11:52:16AM +0900, Keisuke MORI wrote: >> Hi, >> >> Johan Hoeke <[EMAIL PROTECTED]> writes: >> > Dejan Muhamedagic wrote: >> >> Hi, >> >> >> >> On Fri, Feb 22, 2008 at 05:59:23PM +0100, Johan Hoeke wrote: >> >>>

Re: [Linux-HA] Looks like linux-ha is able to detect correct order?

2008-02-26 Thread Dejan Muhamedagic
Hi, On Tue, Feb 26, 2008 at 02:47:25PM +0700, Fajar Priyanto wrote: > Hi all, > First of all, little by little I venture into more feature of V2. It's > excellent :) I'm now setting up a test bed of vsftpd and nfs on 3 Centos5. > > I'm spotting an interesting behaviour. I notice that linux-ha is

Re: [Linux-HA] Secondary reboot

2008-02-26 Thread Dejan Muhamedagic
Hi, On Tue, Feb 26, 2008 at 04:35:06PM +1300, Luke Pascoe wrote: > Hello > > I'm trying to do NFS failover in a test environment with an underlying > OCFS2 filesystem. This is something that's apparently been done before and > certainly HA NFS isn't new. > > I've followed several HowTos, all of

Re: [Linux-HA] Master/Slave problems

2008-02-26 Thread Raoul Bhatia [IPAX]
Adrian Chapela wrote: [snip] timeout="19s" prereq="nothing"/> I think that this line: name="monitor" interval="20s" timeout="19s" prereq="nothing"/> is the line to config monitoring operations and the time to

Re: [Linux-HA] brocade fencing anyone?

2008-02-26 Thread Dejan Muhamedagic
Hi, On Tue, Feb 26, 2008 at 11:52:16AM +0900, Keisuke MORI wrote: > Hi, > > Johan Hoeke <[EMAIL PROTECTED]> writes: > > Dejan Muhamedagic wrote: > >> Hi, > >> > >> On Fri, Feb 22, 2008 at 05:59:23PM +0100, Johan Hoeke wrote: > >>> LS, > >>> > >>> Anybody here using some kind of brocade fencing w