Re: [Pacemaker] CLVM Pacemaker Corosync on Ubuntu Omeiric Server

2011-12-02 Thread Vadim Bulst
Hi Ante, yes , locking_type=3. But clvm needs a place for his socket (/var/run/lvm) . This directory is not generated automatically. I made a little add to my ra - clvm: file: /usr/lib/ocf/resource.d/lvm2/clvmd added: variable RUNDIR=/var/run/lvm in funcion bringup_daemon() i added: if [ !

Re: [Pacemaker] CLVM Pacemaker Corosync on Ubuntu Omeiric Server

2011-12-02 Thread Vladislav Bogdanov
02.12.2011 11:06, Vadim Bulst wrote: [snip] Now I run into new problems: I created a cloneset for managing the volume groups: node bbzclnode04 node bbzclnode06 node bbzclnode07 primitive clvm ocf:lvm2:clvmd \ params daemon_timeout=30 \ meta target-role=Started primitive dlm

Re: [Pacemaker] CLVM Pacemaker Corosync on Ubuntu Omeiric Server

2011-12-02 Thread Ante Karamatic
On 02.12.2011 09:06, Vadim Bulst wrote: yes , locking_type=3. But clvm needs a place for his socket (/var/run/lvm) . This directory is not generated automatically. Correct. It works in Lucid, it doesn't in Oneiric and probably some other versions too. Shell I make a bug report to Ubuntu ?

Re: [Pacemaker] CLVM Pacemaker Corosync on Ubuntu Omeiric Server

2011-11-30 Thread Vladislav Bogdanov
30.11.2011 14:08, Vadim Bulst wrote: Hello, first of all I'd like to ask you a general question: Does somebody successfully set up a clvm cluster with pacemaker and run it in productive mode? I will say yes after I finally resolve remaining dlmfencing issues. Now back to the concrete

Re: [Pacemaker] CLVM Pacemaker Corosync on Ubuntu Omeiric Server

2011-11-30 Thread Vadim Bulst
Am 30.11.2011 12:22, schrieb Vladislav Bogdanov: 30.11.2011 14:08, Vadim Bulst wrote: Hello, first of all I'd like to ask you a general question: Does somebody successfully set up a clvm cluster with pacemaker and run it in productive mode? I will say yes after I finally resolve remaining

Re: [Pacemaker] CLVM Pacemaker Corosync on Ubuntu Omeiric Server

2011-11-30 Thread Vadim Bulst
@Vladislav Where and how can I set the switch for the cluster manager if it runs as a resource. Am 30.11.2011 13:10, schrieb Vadim Bulst: Am 30.11.2011 12:22, schrieb Vladislav Bogdanov: 30.11.2011 14:08, Vadim Bulst wrote: Hello, first of all I'd like to ask you a general question: Does

Re: [Pacemaker] CLVM Pacemaker Corosync on Ubuntu Omeiric Server

2011-11-30 Thread Vladislav Bogdanov
30.11.2011 15:51, Vadim Bulst wrote: @Vladislav Where and how can I set the switch for the cluster manager if it runs as a resource. Ahm, I use my own RA for clvmd, and don't remember if upstream has that possibility. Please find attached. I can't say it is perfect, it is just a quick hack

Re: [Pacemaker] CLVM Pacemaker Corosync on Ubuntu Omeiric Server

2011-11-30 Thread Ante Karamatic
On 30.11.2011 13:10, Vadim Bulst wrote: I created now the directory /var/run/lvm . It wasn't there - work for the package maintainer. Hm... That directory is used for file based locking. clvmd shouldn't be using that. Did you set up cluster locking in /etc/lvm/lvm.conf (locking_type)?

Re: [Pacemaker] CLVM Pacemaker Corosync on Ubuntu Omeiric Server

2011-11-24 Thread Andreas Kurz
Hello, On 11/23/2011 03:30 PM, Vadim Bulst wrote: Hi list, I try to bring up a 3-node cluster running Ubuntu Omeiric. The packages I used are all from the Ubuntu-repo: pacemaker 1.1.5, corosync 1.3.0, clvm 2.02.66. I'm using teamed and bridged interfaces for networking. Every node has

Re: [Pacemaker] CLVM Pacemaker Corosync on Ubuntu Omeiric Server

2011-11-24 Thread Vadim Bulst
. November 2011 15:23:30 Betreff: Re: [Pacemaker] CLVM Pacemaker Corosync on Ubuntu Omeiric Server Hello, On 11/23/2011 03:30 PM, Vadim Bulst wrote: Hi list, I try to bring up a 3-node cluster running Ubuntu Omeiric. The packages I used are all from the Ubuntu-repo: pacemaker 1.1.5, corosync 1.3.0

Re: [Pacemaker] CLVM Pacemaker Corosync on Ubuntu Omeiric Server

2011-11-24 Thread Andreas Kurz
Betreff: Re: [Pacemaker] CLVM Pacemaker Corosync on Ubuntu Omeiric Server Hello, On 11/23/2011 03:30 PM, Vadim Bulst wrote: Hi list, I try to bring up a 3-node cluster running Ubuntu Omeiric. The packages I used are all from the Ubuntu-repo: pacemaker 1.1.5, corosync 1.3.0, clvm 2.02.66

Re: [Pacemaker] CLVM Pacemaker Corosync on Ubuntu Omeiric Server

2011-11-23 Thread Ante Karamatic
On 23.11.2011 15:30, Vadim Bulst wrote: clvm resource is not coming up and when I commit some changes on resources in most cases one node is dying. Judging by the logs, it looks like clvmd is running already. Make sure clvmd is not started during the boot: update-rc.d -f clvm remove

Re: [Pacemaker] CLVM Pacemaker Corosync on Ubuntu Omeiric Server

2011-11-23 Thread Vadim Bulst
Hi Ante, these are my active services: root@bbzclnode07:~# ls /etc/rc3.d/README       S20openhpid S23ntp        S70pppd-dns     S99ondemandS19corosync S20openvswitch-switch   S50rsync      S75sudo S99rc.localS20logd      S20unattended-upgrades  S70dns-clean S99grub-common Thanks, Vadim

Re: [Pacemaker] CLVM Pacemaker Corosync on Ubuntu Omeiric Server

2011-11-23 Thread Ante Karamatic
On 23.11.2011 18:47, Vadim Bulst wrote: these are my active services: No, that's not all. Ubuntu by default uses upstart (jobs are in /etc/init) and, by default runlevel is 2 (so /etc/rc2.d), and you've forgot /etc/rcS.d :) Just run: update-rc.d -f clvm remove as suggested in previous email.

Re: [Pacemaker] CLVM Pacemaker Corosync on Ubuntu Omeiric Server

2011-11-23 Thread Vadim Bulst
I've done it - but no change. Am 23.11.2011 20:33, schrieb Ante Karamatic: On 23.11.2011 18:47, Vadim Bulst wrote: these are my active services: No, that's not all. Ubuntu by default uses upstart (jobs are in /etc/init) and, by default runlevel is 2 (so /etc/rc2.d), and you've forgot