Re: [Pacemaker] failcount,start/stop-failure in crm_mon

2013-06-06 Thread Vadym Chepkov
On Jun 6, 2013, at 10:29 AM, Wolfgang Routschka wrote: > Hi, > > one question today about deleting start/stop error in crm_mon. > > How can I delete failure/errors in crm_mon without having to restart/refresh > resources? crm resource cleanup some-resource __

Re: [Pacemaker] pcs equivalent of crm configure erase

2013-04-17 Thread Vadym Chepkov
On Apr 17, 2013, at 8:04 PM, Chris Feist wrote: > On 04/17/13 11:13, Vadym Chepkov wrote: >> >> On Apr 17, 2013, at 11:57 AM, T. wrote: >> >>> Hi, >>> >>>> b) If I can't do it woith pcs, is there a reliable >>>> and

Re: [Pacemaker] pcs equivalent of crm configure erase

2013-04-17 Thread Vadym Chepkov
On Apr 17, 2013, at 11:57 AM, T. wrote: > Hi, > >> b) If I can't do it woith pcs, is there a reliable >> and secure way to do it with pacemaker low level tools? > why not just installing the crmsh from a different repository? > > This is what I have done on CentOS 6.4. My sentiments exactly. A

Re: [Pacemaker] rhel6/cman+pacemaker - how to use clvm?

2013-04-08 Thread Vadym Chepkov
On Apr 8, 2013, at 6:52 AM, David Coulson wrote: > > On 4/8/13 6:42 AM, Yuriy Demchenko wrote: >> >> The purpose of my cluster is to provide HA VM and routing/gateway (thus RHCS >> isn't an option for me - no IPaddr2 and Route resources). >> But I cannot find any documentation how to use cLVM

Re: [Pacemaker] about iTCO_wdt watchdog

2012-09-09 Thread Vadym Chepkov
On Aug 2, 2012, at 4:06 AM, Mia Lueng wrote: > you misunderstand me. I just simulate a system crash to test if the > watchdog can reboot the system . > All kernel wdt modules still rely on a functioning kernel. But you crashed kernel at this point, so no one will reboot your system. What I thin

Re: [Pacemaker] None of the standard agents in ocf:heartbeat are working in centos 6

2012-07-24 Thread Vadym Chepkov
On Jul 24, 2012, at 12:25 AM, Vladislav Bogdanov wrote: > 24.07.2012 04:50, Andrew Beekhof wrote: >> On Tue, Jul 24, 2012 at 5:38 AM, David Barchas wrote: >>> >>> On Monday, July 23, 2012 at 7:48 AM, David Barchas wrote: >>> >>> >>> Date: Mon, 23 Jul 2012 14:15:27 +0300 >>> From: Vladislav Bo

Re: [Pacemaker] Pacemaker 1.1.7 order constraint syntax

2012-07-19 Thread Vadym Chepkov
On Jul 19, 2012, at 8:57 AM, Rasto Levrinc wrote: > On Thu, Jul 19, 2012 at 2:38 PM, Andreas Kurz wrote: >> On 07/19/2012 11:47 AM, Vadym Chepkov wrote: >>> Hi, >>> >>> When Pacemaker 1.1.7 was announced, a new feature was mentioned: >>> >>&g

Re: [Pacemaker] Pacemaker 1.1.7 order constraint syntax

2012-07-19 Thread Vadym Chepkov
On Jul 19, 2012, at 8:16 AM, Phillip Frost wrote: > On Jul 19, 2012, at 7:44 AM, Vadym Chepkov wrote: > >> Not there either. > > Maybe I'm not understanding your question. Isn't this what you are seeking? > >> Ordered resource sets have an >> ext

Re: [Pacemaker] Pacemaker 1.1.7 order constraint syntax

2012-07-19 Thread Vadym Chepkov
On Jul 19, 2012, at 8:57 AM, Rasto Levrinc wrote: > On Thu, Jul 19, 2012 at 2:38 PM, Andreas Kurz wrote: >> On 07/19/2012 11:47 AM, Vadym Chepkov wrote: >>> Hi, >>> >>> When Pacemaker 1.1.7 was announced, a new feature was mentioned: >>> >>&g

Re: [Pacemaker] Pacemaker 1.1.7 order constraint syntax

2012-07-19 Thread Vadym Chepkov
On Jul 19, 2012, at 6:55 AM, Phillip Frost wrote: > On Jul 19, 2012, at 5:47 AM, Vadym Chepkov wrote: > >> Hi, >> >> When Pacemaker 1.1.7 was announced, a new feature was mentioned: >> >> The ability to specify that A starts after ( B or C or D ) >>

[Pacemaker] Pacemaker 1.1.7 order constraint syntax

2012-07-19 Thread Vadym Chepkov
Hi, When Pacemaker 1.1.7 was announced, a new feature was mentioned: The ability to specify that A starts after ( B or C or D ) I wasn't able to find an example how to express it crm shell in neither man crm nor in Pacemaker Explained. In fact, http://www.clusterlabs.org/doc/en-US/Pacemaker/1.

Re: [Pacemaker] Service automatically restart after IP moving

2012-07-12 Thread Vadym Chepkov
On Jul 12, 2012, at 3:18 AM, CHAMLEY Stephane wrote: > Ah, Thanx you ! :) > > But it is not working ... : ( I think it's a bug. I saw the same behavior in 1.0.12 as well. I ended up defining independent resources, not clone. What's interesting though, if you stop ipv_test resource, the monclo

Re: [Pacemaker] stonith and pacemaker with Centos 6

2012-07-12 Thread Vadym Chepkov
On Sep 20, 2011, at 1:59 PM, Charles Richard wrote: > Hi, on my quest to trying to understand STONITH more and to get it working > with CentOS 6, i installed the fencing_agents on the os and also installed > OpenIPMI. If i understood a little, the fence_ipmilan fencing agent is the > one I'd

Re: [Pacemaker] Pacemaker and DRBD - Will Not Promote

2011-10-28 Thread Vadym Chepkov
>From DRBD point of view, it's running, just not being used. You need a promote constraint and a resource depending on Master, IMHO. Cheers, Vadym ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pace

Re: [Pacemaker] resource moving unnecessarily due to ping race condition

2011-09-10 Thread Vadym Chepkov
On Sep 8, 2011, at 3:40 PM, Florian Haas wrote: >>> On 09/08/11 20:59, Brad Johnson wrote: We have a 2 node cluster with a single resource. The resource must run on only a single node at one time. Using the pacemaker:ocf:ping RA we are pinging a WAN gateway and a LAN host on each n

Re: [Pacemaker] group depending on clones restarting unnescessary

2011-08-26 Thread Vadym Chepkov
On Aug 26, 2011, at 2:24 PM, Michael Schwartzkopff wrote: > Hi, > > I set up HA NFS Server according to the HOWTO from linbit. Basically it is a > clone of the NFS server and a clone of the root filesystem. A group of the > Filesystem, the exportfs and the ip address depends on a DRBD and the

Re: [Pacemaker] Pacemaker in RHEL6.

2011-08-10 Thread Vadym Chepkov
On Aug 10, 2011, at 11:43 AM, Marco van Putten wrote: > On 08/10/2011 04:31 PM, Andreas Kurz wrote: >> On 2011-08-10 14:13, Marco van Putten wrote: >>> Hi, >>> >>> Is it possible to get the pacemaker rpm's available for RHEL6 on the >>> Clusterlabs repository (like for RHEL5)? >>> >>> I know th

[Pacemaker] [PATCH] Low: minor corrections in the spec file

2011-04-30 Thread Vadym Chepkov
# HG changeset patch # User Vadym Chepkov # Date 1304167609 14400 # Branch stable-1.0 # Node ID a051be4bc03ea0daaf9a9beaf51298c52cc3f3b7 # Parent 1554a83db0d3c3e546cfd3aaff6af1184f79ee87 Low: minor corrections in the spec file diff --git a/pacemaker.spec.in b/pacemaker.spec.in --- a

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

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

2011-04-25 Thread Vadym Chepkov
ideal, but again, since this functionality doesn't come with pacemaker yet, you would have to invent your own wheel ;) Cheers, Vadym On Apr 25, 2011 1:15 AM, "Rakesh K" wrote: > Vadym Chepkov writes: > > >> You can colocate your resource with a MailTo pseudo resource

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

2011-04-21 Thread Vadym Chepkov
On Apr 21, 2011, at 9:00 AM, rakesh k wrote: > Hello Every body > > We had configured HA/pacemaker,even we can migrate the resources between the > nodes in a cluster frame work, when there is a failure occurs for certain > process, > > My concerns here at any given point of time in cluster f

Re: [Pacemaker] ERROR: te_connect_stonith: Sign-in failed: triggered a retry

2011-04-17 Thread Vadym Chepkov
On Apr 16, 2011, at 5:33 PM, Aleksey Mykhailov wrote: > Hello! > > I've installed pacemaker with heartbeat following instruction on this page > http://www.clusterlabs.org/rpm-next/ (Installation - EPEL) > I have CentOS 5.6 32 bit > > rpm -qi pacemaker|grep Version > Version : 1.1.5 > > rpm

Re: [Pacemaker] pacemaker and snmptt

2011-04-01 Thread Vadym Chepkov
On Apr 1, 2011, at 4:04 AM, Andrew Beekhof wrote: > On Tue, Mar 29, 2011 at 5:10 AM, Vadym Chepkov wrote: >> Hi, >> >> I have been trying to have snmptt (http://www.snmptt.org/) catch pacemaker's >> traps, but haven't been successful so far. >>

Re: [Pacemaker] How to send email-notification on failure of resource in cluster frame work

2011-03-30 Thread Vadym Chepkov
On Mar 29, 2011, at 11:34 PM, Michael Schwartzkopff wrote: >> On Mar 29, 2011 6:12 AM, "Michael Schwartzkopff" >> >> wrote: >>>> On Tue, Mar 29, 2011 at 3:29 AM, Vadym Chepkov >> >> wrote: >>>>> On Mar 24, 2011, at 12:46 AM,

Re: [Pacemaker] How to send email-notification on failure of resource in cluster frame work

2011-03-29 Thread Vadym Chepkov
On Mar 29, 2011 6:12 AM, "Michael Schwartzkopff" wrote: > > > On Tue, Mar 29, 2011 at 3:29 AM, Vadym Chepkov wrote: > > > On Mar 24, 2011, at 12:46 AM, Rakesh K wrote: > > >> Hi ALL > > >> Is there any way to send Email notifications when a

[Pacemaker] pacemaker and snmptt

2011-03-28 Thread Vadym Chepkov
Hi, I have been trying to have snmptt (http://www.snmptt.org/) catch pacemaker's traps, but haven't been successful so far. snmpttconvertmib utility doesn't process PCMK-MIB.txt, complains it doesn't have any TRAP-TYPE / NOTIFICATION-TYPE lines I am catching "unknown" traps: Mon Mar 28 21:06:

Re: [Pacemaker] How to send email-notification on failure of resource in cluster frame work

2011-03-28 Thread Vadym Chepkov
On Mar 24, 2011, at 12:46 AM, Rakesh K wrote: > Hi ALL > Is there any way to send Email notifications when a resource is failure in the > cluster frame work. > > while i was going through the Pacemaker-explained document provided in the > website www.clusterlabs.org > > There was no content in

[Pacemaker] agents and git

2011-03-26 Thread Vadym Chepkov
Hi, Since resource-agents repository was migrated to git, instructions at http://www.clusterlabs.org/wiki/Install#Resource_Agents are outdated. I was not able to find any references at http://linux-ha.org/wiki/Resource_Agents either. Could somebody with the knowledge of the process publish the i

Re: [Pacemaker] disable failover

2011-02-28 Thread Vadym Chepkov
On Feb 28, 2011, at 7:38 PM, Bob Schatz wrote: > Alan, > > Have you tried this command? > > # crm configure property maintenance-mode=true > > I have used this when I don't want Pacemaker to react to a monitor failing > such > as when I run gdb on a process. > I usually use crm configure

Re: [Pacemaker] Multiple attribute match

2011-02-28 Thread Vadym Chepkov
On Feb 28, 2011, at 3:52 AM, Dejan Muhamedagic wrote: > Hi, > > On Sun, Feb 27, 2011 at 05:18:22PM -0500, Vadym Chepkov wrote: >> Hi >> >> In pacemaker-1.0.10 I discovered a following issue: >> >> since "start" operation is not exactly rev

[Pacemaker] Multiple attribute match

2011-02-27 Thread Vadym Chepkov
Hi In pacemaker-1.0.10 I discovered a following issue: since "start" operation is not exactly reversal of "stop", I created an alias to remove target-role attribute. I have a naming pattern when a virtual machine is a group of iscsi and xen resources: group tp2 iscsi-tp2 xen-tp2 I guess someb

[Pacemaker] pacemaker in RHEL6

2011-02-20 Thread Vadym Chepkov
Hi, Could somebody tell, please, what "channel" pacemaker is part of in RHEL6? It is included on the installation DVD, but when you do "yum search pacemaker" only pacemaker-cts and pacemaker-doc are found. Same search results on rhn.redhat.com Thanks, Vadym smime.p7s Description: S/MIME cryp

Re: [Pacemaker] Adding a timeout to an existing primitive

2011-02-18 Thread Vadym Chepkov
On Fri, Feb 18, 2011 at 11:17 AM, Jody McIntyre wrote: > I added a primitive to my cluster without setting a timeout: > > root@trustcentric2:~# crm configure primitive PostgreSQL > ocf:trustcentric:postgresql > WARNING: PostgreSQL: default timeout 20s for start is smaller than the > advised 120 >

Re: [Pacemaker] rpm for 1.1.4

2011-02-01 Thread Vadym Chepkov
On Feb 1, 2011 7:12 PM, "Larry Brigman" wrote: > > On Tue, Feb 1, 2011 at 12:16 PM, Patrick H. wrote: > > I'm coming from bug 2542 where it was recommended that I try release 1.1.4. > > Well I'm having problems simply getting it installed. > > > > This is on a RHEL5 box > > Firstly the rpm source

[Pacemaker] Restart command fix in 1.0

2011-02-01 Thread Vadym Chepkov
Dejan, Could you, please, backport this fix http://hg.clusterlabs.org/pacemaker/1.1/rev/b9f80e144020 into stable-1.0 branch? restart command doesn't work there properly. Thank you, Vadym___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://o

Re: [Pacemaker] crm shell and collocating sets

2011-01-24 Thread Vadym Chepkov
On Mon, Jan 24, 2011 at 10:41 AM, Dejan Muhamedagic wrote: > Hi, > > On Sat, Jan 22, 2011 at 01:38:12PM -0500, Vadym Chepkov wrote: >> Hi, >> >> It seems crm shell can't express sequential="true" in  collocating sets, >> which is strange, since

[Pacemaker] crm shell and collocating sets

2011-01-22 Thread Vadym Chepkov
Hi, It seems crm shell can't express sequential="true" in collocating sets, which is strange, since, I assume, it's a default. If you load an example using cibadmin from "Configuration explained" Example 6.16. Using colocation sets to specify a common peer.

Re: [Pacemaker] Problem with Xen live migration

2011-01-18 Thread Vadym Chepkov
On Jan 18, 2011, at 8:16 AM, Vladislav Bogdanov wrote: > 18.01.2011 14:45, Vadym Chepkov wrote: >> >> On Jan 17, 2011, at 6:44 PM, Jean-Francois Malouin wrote: >> >>> Back again to setup an active/passive cluster for Xen with live migration >>> but

Re: [Pacemaker] Problem with Xen live migration

2011-01-18 Thread Vadym Chepkov
On Jan 17, 2011, at 6:44 PM, Jean-Francois Malouin wrote: > Back again to setup an active/passive cluster for Xen with live migration > but so far, no go. Xen DomU is shutdown and restarted when I move the > Xen resource. > > I'm using Debian Squeeze, pacemaker 1.0.9.1, corosync 1.2.1-4 with Xen

Re: [Pacemaker] Colocation / Order question

2010-12-09 Thread Vadym Chepkov
>> On Thu, Dec 9, 2010 at 10:28 AM, Andrew Beekhof wrote: >>> On Thu, Dec 9, 2010 at 2:45 PM, Vadym Chepkov wrote: >>>> >>>> symmetrical-cluster=false >>>> ? >>> >>> nope Why not, I thought in absence of a positive s

Re: [Pacemaker] Colocation / Order question

2010-12-09 Thread Vadym Chepkov
symmetrical-cluster=false ? Cheers, Vadym On Dec 9, 2010 5:09 AM, "Andrew Beekhof" wrote: > On Wed, Dec 8, 2010 at 11:31 PM, Vadym Chepkov wrote: >> On Dec 8, 2010, at 9:43 AM, Michael Schwartzkopff wrote: >> >>> Hi, >>> >>> I have two gro

Re: [Pacemaker] Colocation / Order question

2010-12-08 Thread Vadym Chepkov
On Dec 8, 2010, at 9:43 AM, Michael Schwartzkopff wrote: > Hi, > > I have two groups each located on one node. So GroupA on nodeA and GroupB on > nodeB. > > I want to have a third resource (i.e. IP-Address) make run on any node where > one of the above groups are running, i.e. on nodeA or node

Re: [Pacemaker] [PATCH] Build: fix fedora package interdependencies

2010-12-03 Thread Vadym Chepkov
ais} @@ -88,7 +86,7 @@ %endif %if %{with heartbeat} -BuildRequires: heartbeat-devel heartbeat-libs +BuildRequires: heartbeat-devel %endif %description > On Thu, Dec 2, 2010 at 4:09 PM, Vadym Chepkov wrote: >> # HG changeset patch >> # User Vadym Chepkov >> # Date

[Pacemaker] [PATCH] Build: fix fedora package interdependencies

2010-12-02 Thread Vadym Chepkov
# HG changeset patch # User Vadym Chepkov # Date 1291302502 18000 # Branch stable-1.0 # Node ID b517ca7d84e972e10e1013faff00fa6fd430a165 # Parent b2e39d318fda501e2fcf223c2d039b721f3679a9 Build: fix fedora package interdependencies diff --git a/pacemaker.spec b/pacemaker.spec --- a

Re: [Pacemaker] crm resource restart doesn't restart the correct resource

2010-11-25 Thread Vadym Chepkov
On Nov 25, 2010, at 7:01 AM, Pavlos Parissis wrote: > On 25 November 2010 12:44, Vadym Chepkov wrote: >> >> On Nov 25, 2010, at 6:31 AM, Pavlos Parissis wrote: >> >>> Hi, >>> When issue crm resource restart pbx_01 PE restarts the wrong resource. >>

Re: [Pacemaker] crm resource restart doesn't restart the correct resource

2010-11-25 Thread Vadym Chepkov
On Nov 25, 2010, at 6:31 AM, Pavlos Parissis wrote: > Hi, > When issue crm resource restart pbx_01 PE restarts the wrong resource. > The pbx_01 belongs to a resource group and the last resource of that > group is restarted. This is why cluster has groups. groups define collocation/ordering, so i

[Pacemaker] anti-placement syntax

2010-11-20 Thread Vadym Chepkov
Hi, crm has a nice placement constraint syntax location loc1 res1 inf: node1 which is a shortcut for location loc1 res1 inf: rule #uname eq node1 Sometimes, in otherwise symmetric cluster, there are some resources that have to be running on a certain node, so one has to create an anti-placem

Re: [Pacemaker] crm resource restart fails to restart the service

2010-11-18 Thread Vadym Chepkov
On Wed, Nov 17, 2010 at 1:03 PM, Dejan Muhamedagic wrote: >> > >> > Funny, it worked here for me every time for apache, Dummy, >> > Delay, stonith resources. With both pacemaker 1.0 and 1.1. >> > >> >> To test it right now I issued a command >> >> # crm resource restart xen_vbuild >> > >> > Can yo

Re: [Pacemaker] crm resource restart fails to restart the service

2010-11-17 Thread Vadym Chepkov
On Nov 17, 2010, at 9:46 AM, Dejan Muhamedagic wrote: > On Wed, Nov 17, 2010 at 08:30:36AM -0500, Vadym Chepkov wrote: >> On Wed, Nov 17, 2010 at 8:01 AM, Dejan Muhamedagic >> wrote: >> >>>> RA doesn't support restart action? Most luckily you get

Re: [Pacemaker] crm resource restart fails to restart the service

2010-11-17 Thread Vadym Chepkov
On Wed, Nov 17, 2010 at 8:01 AM, Dejan Muhamedagic wrote: >> RA doesn't support restart action? Most luckily you get >> OCF_ERR_UNIMPLEMENTED in the log > > It's actually a resource stop followed by start. It says so in > the help too. Perhaps the start precludes the stop action. The > logs shou

Re: [Pacemaker] crm resource restart fails to restart the service

2010-11-17 Thread Vadym Chepkov
On Nov 17, 2010, at 7:26 AM, Dan Frincu wrote: > Hi, > > r...@cluster1:/# pgrep mysql > 961 > 1127 > r...@cluster1:/# crm resource restart mysqld > r...@cluster1:/# pgrep -fl mysql > 961 > 1127 > > The restart command doesn't actually restart the process, I have tried this > with another custo

Re: [Pacemaker] drbd-xen and fencing

2010-11-16 Thread Vadym Chepkov
> migrate dependent resources, and because xen apparently still thinks it > needs both nodes Primary for a short amount of time. And something needs to bring underlying storage into "Connected" state. It seems current drbd RA can't help with this problem > >> On Thu, Nov

Re: [Pacemaker] drbd-xen and fencing

2010-11-16 Thread Vadym Chepkov
el module for you, nor will # it attach, detach, connect, or disconnect your resource. The init # script distributed with DRBD will do that for you. Make sure it is # started before attempting to start a DRBD-backed domU. > > On Thu, Nov 11, 2010 at 2:19 PM, Vadym Chepkov wrote: >> H

Re: [Pacemaker] colocation that doesn't

2010-11-16 Thread Vadym Chepkov
On Nov 15, 2010, at 2:18 AM, Andrew Beekhof wrote: > On Fri, Nov 5, 2010 at 4:07 AM, Vadym Chepkov wrote: >> >> On Nov 4, 2010, at 12:53 PM, Alan Jones wrote: >> >>> If I understand you correctly, the role of the second resource in the >>> colocatio

Re: [Pacemaker] 2 node failover cluster + MySQL Master-Master replica setup

2010-11-12 Thread Vadym Chepkov
On Nov 12, 2010, at 1:22 PM, Ruzsinszky Attila wrote: >> http://lmgtfy.com/?q=linbit+mysql+replication > OK. > I found that webinar. There isn't any "printed" (readable) doc. :-( > That's what I said - I didn't see it either. but if you you check the current RA: # crm ra meta mysql|grep ^repl

Re: [Pacemaker] 2 node failover cluster + MySQL Master-Master replica setup

2010-11-12 Thread Vadym Chepkov
On Nov 12, 2010, at 1:11 PM, Ruzsinszky Attila wrote: >> I am pretty sure Linbit announced mysql RA with replication capabilities. >> Haven't seen documentation though. > Any URL, or anything? > http://lmgtfy.com/?q=linbit+mysql+replication > Thanks, > Ruzsi > > ___

Re: [Pacemaker] 2 node failover cluster + MySQL Master-Master replica setup

2010-11-12 Thread Vadym Chepkov
On Nov 12, 2010, at 11:14 AM, Ruzsinszky Attila wrote: > Hi, > >> And now (officially) RHCS can also use Pacemaker >> http://theclusterguy.clusterlabs.org/post/1551292286 > Nice. > >> Yeah, like I said, Master-Master and Pacemaker without a proper resource >> agent will cause issues. > Yes. >

Re: [Pacemaker] Project updates

2010-11-12 Thread Vadym Chepkov
On Fri, Nov 12, 2010 at 9:32 AM, Andrew Beekhof wrote: > For those that aren't using RSS readers, I wanted to draw people's > attention to a couple of updates that went out today. > > Nothing dramatic, just a new 1.0 release (and back-annoucement for > some from 1.1): Perhaps something was forgot

[Pacemaker] drbd-xen and fencing

2010-11-11 Thread Vadym Chepkov
Hi, I posted a less elaborate version of this question to drbd mail-list, but, unfortunately, didn't get a reply, maybe audience of this list has more experience. I am trying to make xen live migration to work reliably, but wasn't successful so far. Here is the problem. In a cluster configura

Re: [Pacemaker] crm_mon and pingd

2010-11-09 Thread Vadym Chepkov
On Tue, Nov 9, 2010 at 3:30 AM, Andrew Beekhof wrote: > On Fri, Nov 5, 2010 at 6:39 PM, Vadym Chepkov wrote: >> >> On Nov 5, 2010, at 1:29 PM, Keisuke MORI wrote: >> >>> Hi Vadym, >>> >>> Could you provide the output of 'cibadmin -Q&#x

Re: [Pacemaker] crm_mon and pingd

2010-11-05 Thread Vadym Chepkov
On Nov 5, 2010, at 2:36 PM, Vladislav Bogdanov wrote: > 05.11.2010 19:39, Vadym Chepkov wrote: > ... >> As Yuusuke IIDA pointed out this is a new and expected behavior of crm_mon. >> To be honest I don't excited about it, since -A flag fills screen with >> master-d

Re: [Pacemaker] crm_mon and pingd

2010-11-05 Thread Vadym Chepkov
#x27;t excited about it, since -A flag fills screen with master-drbd scores and not just pingd. Vadym > > 2010/11/4 Vadym Chepkov : >> Hi, >> >> It seems this patch in pacemaker doesn't work as expected >> >> changeset: 15672:4d50adc3ccd9 >> branch

Re: [Pacemaker] colocation that doesn't

2010-11-04 Thread Vadym Chepkov
hers are running the same version. ;) > Thank you! > Alan > > On Thu, Nov 4, 2010 at 8:22 AM, Dejan Muhamedagic wrote: >> Hi, >> >> On Thu, Nov 04, 2010 at 06:51:59AM -0400, Vadym Chepkov wrote: >>> On Thu, Nov 4, 2010 at 5:37 AM, Dejan Muhamedagic >>&

Re: [Pacemaker] Manually controlled cluster

2010-11-04 Thread Vadym Chepkov
On Nov 4, 2010, at 6:30 AM, Michael Schwartzkopff wrote: > On Thursday 04 November 2010 11:23:18 Michael Schwartzkopff wrote: >> Hi, >> I want to create a cluster with DRBD, Filesystem, a service and an IP >> address. Failover should only be triggered by a sys admin and not happen >> automaticall

Re: [Pacemaker] colocation that doesn't

2010-11-04 Thread Vadym Chepkov
On Thu, Nov 4, 2010 at 5:37 AM, Dejan Muhamedagic wrote: > This should be: > > colocation mystateful-ms-loc inf: mystateful-ms:Master myprim:Started > Interesting, so in this case it is not necessary? colocation fs_on_drbd inf: WebFS WebDataClone:Master (taken from Cluster_from_Scratch) but ot

[Pacemaker] crm_mon and pingd

2010-11-04 Thread Vadym Chepkov
Hi, It seems this patch in pacemaker doesn't work as expected changeset: 15672:4d50adc3ccd9 branch: stable-1.0 user:Andrew Beekhof date:Mon May 10 10:26:50 2010 +0200 summary: Medium: tools: crm_mon - Enable 'connectivity' mode for 'ping' resources too crm_mon doesn'

Re: [Pacemaker] colocation that doesn't

2010-11-04 Thread Vadym Chepkov
On Nov 3, 2010, at 7:24 PM, Alan Jones wrote: > I running with Pacemaker 1.0.9.1 and Corosync 1.2.7. > I have a simple config below where colocation seems to have the opposite > effect. > Note that if you force myprim's location then mystateful's Master will > colocate correctly. > The command I

Re: [Pacemaker] Multiple independent two-node clusters side-by-side?

2010-10-28 Thread Vadym Chepkov
On Oct 28, 2010, at 2:53 AM, Dan Frincu wrote: > Hi, > > Andreas Ntaflos wrote: >> >> Hi, >> >> first time poster, short time Pacemaker user. I don't think this is a >> very difficult question to answer but I seem to be feeding Google the >> wrong search terms. I am using Pacemaker 1.0.8 an

Re: [Pacemaker] AP9606 fencing device

2010-10-27 Thread Vadym Chepkov
On Oct 27, 2010, at 8:11 AM, Dejan Muhamedagic wrote: > Hi, > > On Wed, Oct 27, 2010 at 01:58:20PM +0200, Pavlos Parissis wrote: >> On 27 October 2010 13:43, Vadym Chepkov wrote: >> >>> >>> On Oct 27, 2010, at 7:27 AM, Pavlos Parissis wrote: >>&g

Re: [Pacemaker] AP9606 fencing device

2010-10-27 Thread Vadym Chepkov
On Oct 27, 2010, at 7:58 AM, Pavlos Parissis wrote: > > On 27 October 2010 13:43, Vadym Chepkov wrote: > > On Oct 27, 2010, at 7:27 AM, Pavlos Parissis wrote: > > > On 27 October 2010 13:12, Vadym Chepkov wrote: > >> > >> On Oct 27, 2010, at 3:47 AM,

Re: [Pacemaker] AP9606 fencing device

2010-10-27 Thread Vadym Chepkov
On Oct 27, 2010, at 7:27 AM, Pavlos Parissis wrote: > On 27 October 2010 13:12, Vadym Chepkov wrote: >> >> On Oct 27, 2010, at 3:47 AM, Pavlos Parissis wrote: >>> >>> Does anyone know any other PDU which works out of box with the >>> supplied st

Re: [Pacemaker] AP9606 fencing device

2010-10-27 Thread Vadym Chepkov
On Oct 27, 2010, at 3:47 AM, Pavlos Parissis wrote: > > Does anyone know any other PDU which works out of box with the > supplied stonith agents? > I use APC AP7901, works like a charm: primitive pdu stonith:external/rackpdu \ params pduip="10.6.6.6" community="pdu-6" hostlist="AUTO" c

Re: [Pacemaker] Move DRBD master

2010-10-19 Thread Vadym Chepkov
On Oct 19, 2010, at 9:18 AM, Dan Frincu wrote: > > > Vadym Chepkov wrote: >> >> >> On Oct 19, 2010, at 3:42 AM, Pavlos Parissis wrote: >> >>> >>> >>> On 19 October 2010 01:18, Vadym Chepkov wrote: >>> Hi, >>&

Re: [Pacemaker] Move DRBD master

2010-10-19 Thread Vadym Chepkov
On Oct 19, 2010, at 3:42 AM, Pavlos Parissis wrote: > > > On 19 October 2010 01:18, Vadym Chepkov wrote: > Hi, > > What is the crm shell command to move drbd master to a different node? > > > take a look at this > http://www.mail-archive.com/pacemaker@oss

Re: [Pacemaker] Move DRBD master

2010-10-19 Thread Vadym Chepkov
On Oct 19, 2010, at 3:13 AM, Dan Frincu wrote: > Vadym Chepkov wrote: >> Hi, >> >> What is the crm shell command to move drbd master to a different node? >> > # crm resource help migrate > > Migrate a resource to a different node. If node is left out, the

[Pacemaker] Move DRBD master

2010-10-18 Thread Vadym Chepkov
Hi, What is the crm shell command to move drbd master to a different node? Thank you, Vadym ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Gettin

Re: [Pacemaker] stonith pacemaker problem

2010-10-11 Thread Vadym Chepkov
On Oct 11, 2010, at 2:14 AM, Andrew Beekhof wrote: > On Sun, Oct 10, 2010 at 11:20 PM, Shravan Mishra > wrote: >> Andrew, >> >> We were able to solve our problem. Obviously if no one else is having >> it then it has to be our environment. It's just that time pressure and >> mgmt pressure was ca

Re: [Pacemaker] how to test network access and fail over accordingly?

2010-10-06 Thread Vadym Chepkov
On Oct 6, 2010, at 4:21 PM, Craig Hurley wrote: > I tried using ping instead of pingd and I added "number" to the > evaluation, I get the same results :/ > > primitive p_ping ocf:pacemaker:ping params host_list=172.20.0.254 > clone c_ping p_ping meta globally-unique=false > location loc_ping g_c

Re: [Pacemaker] how to test network access and fail over accordingly?

2010-10-06 Thread Vadym Chepkov
On Oct 6, 2010, at 3:43 AM, Jayakrishnan wrote: > > Hello, > > Guess the change:-- > location loc_pingd g_cluster_services rule -inf: not_defined pingd or pingd > number:lte 0 > > should work > > > ocf:pacemaker:ping is recommended as a replacement for pingd RA Both RA define node a

Re: [Pacemaker] pacemaker version

2010-10-06 Thread Vadym Chepkov
On Oct 6, 2010, at 2:48 AM, Andrew Beekhof wrote: > On Tue, Oct 5, 2010 at 7:53 PM, Shravan Mishra > wrote: >> Hi, >> >> I was interested in knowing that if I have to choose between pacemaker >> 1.0 vs 1.1 which one should I use. > > Have a read of: > > http://theclusterguy.clusterlabs.org

Re: [Pacemaker] starting a xen-domU depending on available hardware-resources using SysInfo-RA

2010-09-30 Thread Vadym Chepkov
On Sep 30, 2010, at 2:35 AM, Sascha Reimann wrote: > Hi Dejan, > > it's working fine with the amount of free ram as the score and a bigger > default-resource-stickiness: > > primitive v01 ocf:heartbeat:Xen \ > params xmfile="/etc/xen/conf.d/v01.cfg" \ > op monitor interval="30s" ti

Re: [Pacemaker] migration-threshold and failure-timeout

2010-09-21 Thread Vadym Chepkov
On Tue, Sep 21, 2010 at 9:14 AM, Dan Frincu wrote: > Hi, > > This => > http://www.clusterlabs.org/doc/en-US/Pacemaker/1.0/html/Pacemaker_Explained/s-failure-migration.html > explains it pretty well. Notice the INFINITY score and what sets it. > > However I don't know of any automatic method to cle

Re: [Pacemaker] pacemaker in rhel6

2010-08-09 Thread Vadym Chepkov
On Aug 9, 2010, at 3:59 AM, Andrew Beekhof wrote: > yes, its fixed in -6 > I wasn't able to find "updates" repository for rhel6. Is it available? > On Sat, Aug 7, 2010 at 8:03 PM, Vadym Chepkov wrote: >> Hi, >> >> It seems pacemaker is broke

[Pacemaker] pacemaker in rhel6

2010-08-07 Thread Vadym Chepkov
Hi, It seems pacemaker is broken in rhel6-beta2 # rpm -q pacemaker pacemaker-1.1.2-5.el6.x86_64 # crm configure load replace crm.cfg crm_standby not available, check your installation And it's true, crm_standby is not part of the RPM Thanks, Vadym ___

Re: [Pacemaker] error installing CentOS clvm after using clusterlabs repository

2010-08-04 Thread Vadym Chepkov
On Wed, Aug 4, 2010 at 10:49 AM, Michael Fung wrote: > > On 2010/8/4 下午 09:06, Andrew Beekhof wrote: > >> You can either use cluster.conf for configuring corosync/cman or I can >> send you the corosync.conf snippet. >> > > Yes, please send me the corosync.conf snippet. > If it's not much trouble,

[Pacemaker] crm configure update and properties

2010-07-09 Thread Vadym Chepkov
and loaded it (or so I thought) with # crm configure load update pdu.crm To my surprise this has removed any other properties my cluster has had :( Is it expected behavior? pacemaker-1.0.9.1 Thank you, Vadym Chepkov ___ Pacemaker mailing list: Pacemak

Re: [Pacemaker] Drbd/Nfs MS don't failover on slave node

2010-07-07 Thread Vadym Chepkov
On Jul 7, 2010, at 11:41 AM, Guillaume Chanaud wrote: > I already tried the > > no_quorum-policy="ignore" > which has no effect > > I just retried when reading your mail and resources doesn't migrate. > In fact even if i boot only one server, this one won't promote the resources > until the se

Re: [Pacemaker] Shouldn't colocation -inf: be mandatory?

2010-06-17 Thread Vadym Chepkov
Andrew, I took the latest sources from the repository an got myself pacemaker Version: 1.0.9-6bf91e9195fe7649e174af0ba2c67dbd902d4a2b Just to remind what all this story began from, I want to be able to define resources that should never run on the same node. Here is the config primitive d1 o

Re: [Pacemaker] Shouldn't colocation -inf: be mandatory?

2010-06-17 Thread Vadym Chepkov
On Jun 17, 2010, at 7:15 AM, Dejan Muhamedagic wrote: > On Wed, Jun 16, 2010 at 08:54:37AM -0400, Vadym Chepkov wrote: >> >> On Jun 15, 2010, at 3:52 PM, Dejan Muhamedagic wrote: >> >>> On Tue, Jun 15, 2010 at 12:53:07PM -0400, Vadym Chepkov wrote: >>>>

Re: [Pacemaker] Shouldn't colocation -inf: be mandatory?

2010-06-16 Thread Vadym Chepkov
On Jun 16, 2010, at 2:55 AM, Andrew Beekhof wrote: > On Tue, Jun 15, 2010 at 9:41 PM, Dejan Muhamedagic > wrote: > >> colocation not-together -inf: d1 d2 d3 > > I think there is a problem with this syntax, particularly for +inf. > > Consider: > colocation together1 inf: d1 d2 > > This mean

Re: [Pacemaker] Shouldn't colocation -inf: be mandatory?

2010-06-16 Thread Vadym Chepkov
On Jun 15, 2010, at 3:52 PM, Dejan Muhamedagic wrote: > On Tue, Jun 15, 2010 at 12:53:07PM -0400, Vadym Chepkov wrote: >> >> On Jun 15, 2010, at 9:26 AM, Vadym Chepkov wrote: >>>>> >>>>> what about this part? what do I need to do to prevent them fr

Re: [Pacemaker] Shouldn't colocation -inf: be mandatory?

2010-06-15 Thread Vadym Chepkov
On Jun 15, 2010, at 5:26 PM, Dejan Muhamedagic wrote: > On Tue, Jun 15, 2010 at 04:44:31PM -0400, Vadym Chepkov wrote: >> >> On Jun 15, 2010, at 3:55 PM, Dejan Muhamedagic wrote: >> >>> On Tue, Jun 15, 2010 at 03:41:17PM -0400, Vadym Chepkov wrote: >>>>

Re: [Pacemaker] Shouldn't colocation -inf: be mandatory?

2010-06-15 Thread Vadym Chepkov
On Jun 15, 2010, at 3:55 PM, Dejan Muhamedagic wrote: > On Tue, Jun 15, 2010 at 03:41:17PM -0400, Vadym Chepkov wrote: >> >> On Jun 15, 2010, at 3:36 PM, Dejan Muhamedagic wrote: >> >>> Hi, >>> >>> On Tue, Jun 15, 2010 at 08:45:37AM -0400, Vadym

Re: [Pacemaker] Shouldn't colocation -inf: be mandatory?

2010-06-15 Thread Vadym Chepkov
On Jun 15, 2010, at 3:36 PM, Dejan Muhamedagic wrote: > Hi, > > On Tue, Jun 15, 2010 at 08:45:37AM -0400, Vadym Chepkov wrote: >> >> On Jun 15, 2010, at 6:14 AM, Dejan Muhamedagic wrote: >> >>> Hi, >>> >>> On Tue, Jun 15, 2010 at 10:57

Re: [Pacemaker] Shouldn't colocation -inf: be mandatory?

2010-06-15 Thread Vadym Chepkov
On Jun 15, 2010, at 9:26 AM, Vadym Chepkov wrote: >>> >>> what about this part? what do I need to do to prevent them from running on >>> different nodes for sure? >> >> You can't have it both ways. >> Either they have to run on the same node

Re: [Pacemaker] Shouldn't colocation -inf: be mandatory?

2010-06-15 Thread Vadym Chepkov
On Tue, Jun 15, 2010 at 9:14 AM, Andrew Beekhof wrote: > On Tue, Jun 15, 2010 at 2:57 PM, Vadym Chepkov wrote: >> >> On Jun 15, 2010, at 7:50 AM, Andrew Beekhof wrote: >> >>> On Tue, Jun 15, 2010 at 1:38 PM, Vadym Chepkov wrote: >>>> >>>

Re: [Pacemaker] Shouldn't colocation -inf: be mandatory?

2010-06-15 Thread Vadym Chepkov
On Jun 15, 2010, at 7:50 AM, Andrew Beekhof wrote: > On Tue, Jun 15, 2010 at 1:38 PM, Vadym Chepkov wrote: >> >> On Jun 15, 2010, at 4:57 AM, Andrew Beekhof wrote: >> >>> On Tue, Jun 15, 2010 at 10:23 AM, Andreas Kurz >>> wrote: >>>> On

Re: [Pacemaker] Shouldn't colocation -inf: be mandatory?

2010-06-15 Thread Vadym Chepkov
On Jun 15, 2010, at 8:11 AM, Gianluca Cecchi wrote: > On Tue, Jun 15, 2010 at 1:50 PM, Andrew Beekhof wrote: > [snip] > > Score = -inf, plus the patch, plus sequential = true (or unset). > Not sure how that looks in shell syntax though. > > > Which patch? http://hg.clusterlabs.org/pacemaker/

Re: [Pacemaker] Shouldn't colocation -inf: be mandatory?

2010-06-15 Thread Vadym Chepkov
gt; On Mon, Jun 14, 2010 at 4:22 PM, Vadym Chepkov wrote: >>>>> On Jun 7, 2010, at 8:04 AM, Vadym Chepkov wrote: >>>>>> I filed bug 2435, glad to hear "it's not me" >>>>> >>>>> Andrew closed this bug >>>>> (

Re: [Pacemaker] Shouldn't colocation -inf: be mandatory?

2010-06-15 Thread Vadym Chepkov
On Jun 15, 2010, at 4:57 AM, Andrew Beekhof wrote: > On Tue, Jun 15, 2010 at 10:23 AM, Andreas Kurz > wrote: >> On Tuesday 15 June 2010 08:40:58 Andrew Beekhof wrote: >>> On Mon, Jun 14, 2010 at 4:22 PM, Vadym Chepkov wrote: >>>> On Jun 7, 2010, at 8:04 AM, V

  1   2   >