Re: [Pacemaker] Resource Agents 1.0.4: HA LVM Patch

2011-04-27 Thread Ulf
Hi, I'm not sure if inux-ha-...@lists.linux-ha.org will receive this message, as I'm not subscribed to. Can you please elaborate on the benefits this patch would bring. Is it supposed to prevent a VG from being mounted on more than one node? Following scenario: Shared storage with a VG and a

Re: [Pacemaker] Removing a 'Faile Action' in crm_mon display

2011-04-27 Thread Andrew Beekhof
On Tue, Apr 26, 2011 at 4:48 PM, Dejan Muhamedagic deja...@fastmail.fm wrote: Hi, On Tue, Apr 26, 2011 at 08:49:59AM +0200, Andrew Beekhof wrote: On Thu, Apr 21, 2011 at 7:46 PM, Phil Hunt phil.h...@orionhealth.com wrote: Had trouble setting up a resource, so it showed a failed action. I

Re: [Pacemaker] Heartbeat over Disk or non IP possible?

2011-04-27 Thread Lars Ellenberg
On Tue, Apr 19, 2011 at 09:31:20AM +0200, Ulf wrote: Hi, So it seems not to be possible to do a heartbeat over disk. Is it planned to introduce such a feature? Why would you want that? Just because some other clusterstack from 19xy supports it, akademic curiosity, or specific usage scenario?

Re: [Pacemaker] how to get pacemaker:ping recheck before promoting drbd resources on a node

2011-04-27 Thread Lars Ellenberg
On Mon, Apr 18, 2011 at 08:57:11PM +0200, Jelle de Jong wrote: Hello everybody, I need to be able to bring down my network interface (network failure test) and few seconds later bring it up again. Without my drbd cluster going nuts and creating split brains. I was advised to use

Re: [Pacemaker] Resource Agents 1.0.4: HA LVM Patch

2011-04-27 Thread Dejan Muhamedagic
On Wed, Apr 27, 2011 at 09:40:22AM +0200, Ulf wrote: Hi, I'm not sure if inux-ha-...@lists.linux-ha.org will receive this message, as I'm not subscribed to. It won't, you need to subscribe. Can you please elaborate on the benefits this patch would bring. Is it supposed to prevent a VG from

Re: [Pacemaker] Resource Agents 1.0.4: HA LVM Patch

2011-04-27 Thread Ulf
During the reboot of a server many distributions do a vgscan --mknodes, which will activate the VG. Pacemaker checks on startup for all resources on a node if they're running (started). Yes, that is true. But as mentioned above a vgscan during the boot will activate the VG, which many

Re: [Pacemaker] A question and demand to a resource placement strategy function

2011-04-27 Thread Yuusuke IIDA
Hi, Yan Thank you for good work! I test it. Please wait for a while. Regards, Yuusuke (2011/04/27 13:32), Yan Gao wrote: Hi Yuusuke, On 04/19/11 19:55, Yan Gao wrote: Actually I've been optimizing the placement-strategy lately. It will sort the resource processing order according to the

Re: [Pacemaker] Heartbeat over Disk or non IP possible?

2011-04-27 Thread Ulf
Hi, I won't call it akademic curiosity. Let's say you have two rooms with a distance of 5km. In theory both network connections are completly independent, but in real live there are a lot of possible reasons, why they are not independent. It might be just a human errors or a technical problem

Re: [Pacemaker] Heartbeat over Disk or non IP possible?

2011-04-27 Thread Dejan Muhamedagic
Hi, On Wed, Apr 27, 2011 at 12:15:02PM +0200, Ulf wrote: Hi, I won't call it akademic curiosity. Let's say you have two rooms with a distance of 5km. In theory both network connections are completly independent, but in real live there are a lot of possible reasons, why they are not

Re: [Pacemaker] [PATCH]Bug 2567 - crm resource migrate should support an optional role parameter

2011-04-27 Thread Andrew Beekhof
On Sun, Apr 24, 2011 at 4:31 PM, Holger Teutsch holger.teut...@web.de wrote: On Mon, 2011-04-11 at 20:50 +0200, Andrew Beekhof wrote: why?         CMD_ERR(Resource %s not moved:                 specifying --master is not supported for --move-from\n, rsc_id); it did not look sensible to me

Re: [Pacemaker] Heartbeat over Disk or non IP possible?

2011-04-27 Thread Ulf
I think that you can run IP over fibre Yes it should be possible, but I never seen anybody using it. Would a quorum disk be an acceptable solution for you? That may be easier to implement. This would be a very good enhancement. Cheers, Ulf -- NEU: FreePhone - kostenlos mobil telefonieren und

[Pacemaker] crm_mon doesn't seem to run daemonized upon interval

2011-04-27 Thread Phil Hunt
Using ocf:heartbeat:clustermon starts up a daemonized crm_mon with the follwing command: /usr/sbin/crm_mon -p /tmp/ClusterMon_ClusterMon.pid -d -i 15 -h /data/apache/www/html/crm_mon.html And it does, indeed write my crm_mon.html file. It does not seem to run on the interval at all. It

Re: [Pacemaker] crm_mon doesn't seem to run daemonized upon interval

2011-04-27 Thread mark - pacemaker list
Hi Phil, On Wed, Apr 27, 2011 at 10:18 AM, Phil Hunt phil.h...@orionhealth.com wrote: Using ocf:heartbeat:clustermon starts up a daemonized crm_mon with the follwing command: /usr/sbin/crm_mon -p /tmp/ClusterMon_ClusterMon.pid -d -i 15 -h /data/apache/www/html/crm_mon.html And it does,

[Pacemaker] LSB reload instead of stop and start

2011-04-27 Thread Viacheslav Biriukov
I have next configuration of HA cluster: primitive P_NGINX lsb:nginx primitive P_NGINX_IP1 ocf:heartbeat:IPaddr2 params ip=x.x.x.x nic=eth0 ... group G_NGINX P_NGINX_IP P_NGINX_IP1 P_NGINX_IP2 P_NGINX_IP3 P_NGINX_IP4 P_NGINX_IP5 P_NGINX_IP6 P_NGINX Often I need to add new dedicated ip address

Re: [Pacemaker] crm_mon doesn't seem to run daemonized upon interval

2011-04-27 Thread Phil Hunt
So in essence, it rewrites it only if the cluster changes, updates or whatever, so the date showing is the date/time of the last event. That makes sense actually PHIL HUNT AMS Consultant phil.h...@orionhealth.com P: +1 857 488 4749 M: +1 508 654 7371 S: philhu0724

Re: [Pacemaker] Multi-site support in pacemaker (tokens, deadman, CTR)

2011-04-27 Thread Lars Marowsky-Bree
On 2011-04-26T23:34:16, Yan Gao y...@novell.com wrote: Hi Yan, thanks for the good questions, let's get a discussion started! IntroductioN: At LPC 2010, we discussed (once more) that a key feature for pacemaker in 2011 would be improved support for multi-site clusters; by multi-site, we mean

Re: [Pacemaker] LSB reload instead of stop and start

2011-04-27 Thread Lars Marowsky-Bree
On 2011-04-27T19:00:57, Viacheslav Biriukov v.v.biriu...@gmail.com wrote: I have next configuration of HA cluster: primitive P_NGINX lsb:nginx primitive P_NGINX_IP1 ocf:heartbeat:IPaddr2 params ip=x.x.x.x nic=eth0 ... group G_NGINX P_NGINX_IP P_NGINX_IP1 P_NGINX_IP2 P_NGINX_IP3 P_NGINX_IP4