Re: [Pacemaker] [pacemaker]Notification alerts when fail-over take place from one node to other node in cluster.

2011-04-26 Thread Rakesh K
Vadym Chepkov writes: > > > You have to create MailTo resource for each resource or group you would like to be notified, unfortunately.  You can also run crm_mon -1f¦grep -qi fail from either cron or from snmp. It's not perfect, but better then nothing. I also found check_crm script on nagios e

Re: [Pacemaker] [pacemaker]Notification alerts when fail-over take place from one node to other node in cluster.

2011-04-26 Thread Vadym Chepkov
On Apr 26, 2011, at 7:00 AM, Rakesh K wrote: > > Hi Vadym Chepkov > > Thanks for giving the reply. As mentioned i am trying to configure MailTo RA > with the Heartbeat from the command line > > i used the following configuration to configure it on the Heartbeat. > > primitive mail ocf:heartb

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

2011-04-26 Thread Dejan Muhamedagic
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 wrote: > > Had trouble setting up a resource, so it showed a failed action. > > > > I was doing 'crm resource cleanup xxx', and they would go away and come > > right back. > > Becaus

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

2011-04-26 Thread Yan Gao
Hi, On 01/13/11 17:14, Lars Marowsky-Bree wrote: Hi all, sorry for the delay in posting this. And sorry for the delay in replying this :-) I have some questions about this blow. IntroductioN: At LPC 2010, we discussed (once more) that a key feature for pacemaker in 2011 would be improved s

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

2011-04-26 Thread Dejan Muhamedagic
Hi Holger, On Sun, Apr 24, 2011 at 04:31:33PM +0200, Holger Teutsch 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

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

2011-04-26 Thread Dejan Muhamedagic
Hi, On Tue, Apr 19, 2011 at 03:56:16PM +0200, Ulf wrote: > Hi, > > I attached a patch to enhance the LVM agent with the capability to set a tag > on the VG (set_hosttag = true) in conjunction with a volume_list filter this > can prevent to activate a VG on multiple host. Unfortunately active VG

Re: [Pacemaker] subnetmask for virtual cluster ip / ipaddr2

2011-04-26 Thread Dejan Muhamedagic
Hi, On Wed, Apr 13, 2011 at 07:41:23PM +0200, Felix Reinel wrote: > Dear list, > > the default subnet mask for an virtual ip (we use the IpAddr2 resource) > seems to be /32. The subnet mask should be deducted from the network interface on which the virtual IP address is created. Otherwise, it ca

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

2011-04-26 Thread Yan Gao
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 priorities and > scores of resources. That should result in ideal placement. Stay tuned. The improvement of the placement strat

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

2011-04-26 Thread Vladislav Bogdanov
Hi Yan, 27.04.2011 07: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 priorities and >> scores of resources. That should result in ideal placement.

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

2011-04-26 Thread Yan Gao
Hi Vladislav, On 04/27/11 12:49, Vladislav Bogdanov wrote: > Hi Yan, > > 27.04.2011 07: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 priorit