Re: [Linux-ha-dev] [PATCH 0 of 7] Fixed all portability issues

2010-03-22 Thread Florian Haas
On 03/19/2010 02:57 PM, Marian Marinov wrote: On Friday 19 March 2010 09:24:52 Florian Haas wrote: On 03/17/2010 03:47 PM, Marian Marinov wrote: Hello, I have fixed all portability issues with these patches. I have added the check before seting readonly in mysql_start. I have migrated

[Linux-ha-dev] Linux-HA server(s) down for an hour on 23 March 2010

2010-03-22 Thread Alan Robertson
From noon until 1 PM US Mountain Daylight time (1800-1900 UTC) on 23 March 2010, the servers supporting the Linux-HA web site and Mercurial source control will be down for server migration. This is not expected to take more than an hour. Thanks go the good folks at tummy.com for continuing to

Re: [Linux-HA] Simple 2 node cluster wont release ip

2010-03-22 Thread Marian Marinov
Hello mike, Your problem is pretty simple. You simply don't have configured IPaddr resource within pacemaker. Please look here for IPaddr: http://www.linux-ha.org/doc/re-ra-IPaddr.html And here for IPaddr2: http://www.linux-ha.org/doc/re-ra-IPaddr2.html You should remove the haresources file

Re: [Linux-HA] Usage of Cluster-Testsuite

2010-03-22 Thread Jochen Lienhard
Hi Andrew, I have the same problem with SLES 11. The pacemaker Libs are missed! http://ftp5.gwdg.de/pub/opensuse/repositories/server:/ha-clustering/SLE_11/x86_64/ Greetings Jochen Andrew Beekhof schrieb: On Thu, Mar 18, 2010 at 4:40 PM, Andreas Mockandreas.m...@web.de wrote:

Re: [Linux-HA] Changing CIB Group Properties from the Command Line

2010-03-22 Thread Dejan Muhamedagic
Hi, On Sat, Mar 20, 2010 at 05:13:29PM -0700, Robinson, Eric wrote: Hi Dejan, you suggested the following... order o1 inf: basegroup ( r1 r2 r3 ... ) collocation c1 \ inf: ( r1 r2 r3 ... ) basegroup Would you be so kind as to show me how to work that into my current config? As I

Re: [Linux-HA] Usage of Cluster-Testsuite

2010-03-22 Thread Andrew Beekhof
On Mon, Mar 22, 2010 at 11:38 AM, Jochen Lienhard lienh...@ub.uni-freiburg.de wrote: Hi Andrew, I have the same problem with SLES 11. The pacemaker Libs are missed! Its safe to ignore, I'll try and do a rebuild today.

Re: [Linux-HA] Master/Slave OCF script

2010-03-22 Thread Maciej Lotkowski
On Fri, Mar 19, 2010 at 5:16 PM, Lars Ellenberg lars.ellenb...@linbit.com wrote: On Fri, Mar 19, 2010 at 03:33:09PM +0100, Maciej Lotkowski wrote: Hi, I'm trying to write OCF script for Redis (http://code.google.com/p/redis/). I need two nodes and master-slave behavior. My cib.xml looks like

[Linux-HA] make errors when compiling Reusable-Cluster-Components-glue-1.0.3

2010-03-22 Thread Bernie Wu
Hi Listers, When trying to compile Reusable-Cluster-Components-glue-1.0.3 I get this error: gmake[2]: Entering directory `/tmp/Reusable-Cluster-Components-glue-1.0.3/doc' /usr/bin/xsltproc \ --xinclude \ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl hb_r

Re: [Linux-HA] Simple 2 node cluster wont release ip

2010-03-22 Thread mike
Thanks once again Marian. I appreciate your help and patience. I followed your links and used the instructions to create a new cib.xml. Unfortunately, the same problem exists. When I issue service heartbeat stop, the ip address does not get released from the node. Here is an output from

Re: [Linux-HA] Changing CIB Group Properties from the Command Line

2010-03-22 Thread Robinson, Eric
Try to add this instead of the existing constraints and a group: group fs p_FileSystem p_ClusterIP colocation c_drbd_fs inf: fs ms_DRBD:Master order o_drbd_fs inf: ms_DRBD:promote fs:start collocation c_fs_mysql inf: ( p_MySQL_001 p_MySQL_002 p_MySQL_003 ) fs order o_fs_mysql inf: fs (

Re: [Linux-HA] Changing CIB Group Properties from the Command Line

2010-03-22 Thread Dejan Muhamedagic
Hi, On Mon, Mar 22, 2010 at 10:17:15AM -0700, Robinson, Eric wrote: Try to add this instead of the existing constraints and a group: group fs p_FileSystem p_ClusterIP colocation c_drbd_fs inf: fs ms_DRBD:Master order o_drbd_fs inf: ms_DRBD:promote fs:start collocation c_fs_mysql

[Linux-HA] Linux-HA Error

2010-03-22 Thread Umakant Goyal
Hi All, I am having Linux-HA in active/stanby mode. After installing the Linux-HA on both the active and standby machine when i reboot the system and run the command /proc/drbb on Active System. it gives following output: version: 0.7.25 (api:79/proto:74) GIT-hash:

[Linux-HA] Linux-HA server(s) down for an hour on 23 March 2010

2010-03-22 Thread Alan Robertson
From noon until 1 PM US Mountain Daylight time (1800-1900 UTC) on 23 March 2010, the servers supporting the Linux-HA web site and Mercurial source control will be down for server migration. This is not expected to take more than an hour. Thanks go the good folks at tummy.com for continuing to

Re: [Linux-HA] Master/Slave OCF script

2010-03-22 Thread Andrew Beekhof
On Mon, Mar 22, 2010 at 12:50 PM, Maciej Lotkowski maciej.lotkow...@gmail.com wrote: On Fri, Mar 19, 2010 at 5:16 PM, Lars Ellenberg lars.ellenb...@linbit.com wrote: On Fri, Mar 19, 2010 at 03:33:09PM +0100, Maciej Lotkowski wrote: Hi, I'm trying to write OCF script for Redis

Re: [Linux-HA] Simple 2 node cluster wont release ip

2010-03-22 Thread Marian Marinov
I really can't understand why you are not using the CRM shell and continue with the haresources :) To see the IP you can use this shortcut command: ip a l or ip a l eth0 There is a huge difference between IPaddr and IPaddr2. Please look here: http://www.linux-ha.org/doc/re-ra-IPaddr.html

Re: [Linux-HA] File-system resources still running on unplugged fibre channel

2010-03-22 Thread Tony Gan
Hi Tim Thanks for your advice. Now I have modified and had something like this in my File-system in cib config: params device=/dev/sdd1 directory=/temp/tmp1 fstype=ext3 \ op monitor interval=3s timeout=10s on_fail=fence depth=20 The file system is started on node2. Then I phisically

[Linux-HA] Fail to Mount Filesystem

2010-03-22 Thread Umakant Goyal
Hi All, I have Linux-HA in Active /Standby mode. When i reboot the Active System then Standby system trys to take control of the system. But most of the time Secondary system restarts automatically . When i check the ha-logs to figure out the cause of restart then i found that problem starts from

Re: [Linux-HA] File-system resources still running on unplugged fibre channel

2010-03-22 Thread Tim Serong
On 3/23/2010 at 11:20 AM, Tony Gan tonygan1...@gmail.com wrote: Hi Tim Thanks for your advice. Now I have modified and had something like this in my File-system in cib config: params device=/dev/sdd1 directory=/temp/tmp1 fstype=ext3 \ op monitor interval=3s timeout=10s