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 secure way to do it with pacemaker low level tools? why not just installing the crmsh from

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 in

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 think

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 d...@barchas.com wrote: On Monday, July 23, 2012 at 7:48 AM, David Barchas wrote: Date: Mon, 23 Jul 2012 14:15:27 +0300 From: Vladislav

[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,

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 ) I wasn't able to find an example how to express it crm

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 andr...@hastexo.com wrote: On 07/19/2012 11: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

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 extra attribute to allow for sets of resources whose actions

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 andr...@hastexo.com wrote: On 07/19/2012 11: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

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 use

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 monclone

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 node so the

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 they are available

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

2011-04-30 Thread Vadym Chepkov
# HG changeset patch # User Vadym Chepkov vchep...@gmail.com # 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

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

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

2011-04-25 Thread Vadym Chepkov
, 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 rakirocker4...@gmail.com wrote: Vadym Chepkov vchepkov@... writes: You can colocate your resource with a MailTo pseudo resource : # crm ra

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 frame

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 -qi

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 mi...@clusterbau.com wrote: On Tue, Mar 29, 2011 at 3:29 AM, Vadym Chepkov vchep...@gmail.com wrote: On Mar 24, 2011, at 12:46 AM, Rakesh K wrote: Hi ALL Is there any way to send

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 mi...@clusterbau.com wrote: On Tue, Mar 29, 2011 at 3:29 AM, Vadym Chepkov vchep...@gmail.com wrote: 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

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 the

[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

[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

[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

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 jo...@trustcentric.com 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

[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

Re: [Pacemaker] rpm for 1.1.4

2011-02-01 Thread Vadym Chepkov
On Feb 1, 2011 7:12 PM, Larry Brigman larry.brig...@gmail.com wrote: On Tue, Feb 1, 2011 at 12:16 PM, Patrick H. pacema...@feystorm.net 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

Re: [Pacemaker] crm shell and collocating sets

2011-01-24 Thread Vadym Chepkov
On Mon, Jan 24, 2011 at 10:41 AM, Dejan Muhamedagic deja...@fastmail.fm 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, I assume, it's a default. If you load

[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. constraints rsc_colocation

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] 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 so far, no go. Xen DomU is shutdown and restarted when I

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 and...@beekhof.net wrote: On Wed, Dec 8, 2010 at 11:31 PM, Vadym Chepkov vchep...@gmail.com wrote: On Dec 8, 2010, at 9:43 AM, Michael Schwartzkopff wrote: Hi, I have two groups each located on one node. So

Re: [Pacemaker] Colocation / Order question

2010-12-09 Thread Vadym Chepkov
On Thu, Dec 9, 2010 at 10:28 AM, Andrew Beekhof and...@beekhof.net wrote: On Thu, Dec 9, 2010 at 2:45 PM, Vadym Chepkov vchep...@gmail.com wrote: symmetrical-cluster=false ? nope Why not, I thought in absence of a positive score IP-Address wouldn't start in asymmetric cluster? Thanks

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 nodeB.

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

2010-12-03 Thread Vadym Chepkov
%if %{with 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 vchep...@gmail.com wrote: # HG changeset patch # User Vadym Chepkov vchep...@gmail.com

[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

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 deja...@fastmail.fm 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 you try

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 custom built OCF

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 deja...@fastmail.fm 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.

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 deja...@fastmail.fm wrote: RA doesn't support restart action? Most luckily you get OCF_ERR_UNIMPLEMENTED in the log

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 vchep...@gmail.com 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 colocation command was defaulting

Re: [Pacemaker] drbd-xen and fencing

2010-11-16 Thread Vadym Chepkov
, 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 vchep...@gmail.com wrote: Hi, I posted

Re: [Pacemaker] drbd-xen and fencing

2010-11-16 Thread Vadym Chepkov
, 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 11, 2010 at 2:19 PM, Vadym Chepkov vchep...@gmail.com wrote

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. big

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 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 ^replica

[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

Re: [Pacemaker] crm_mon and pingd

2010-11-09 Thread Vadym Chepkov
On Tue, Nov 9, 2010 at 3:30 AM, Andrew Beekhof and...@beekhof.net wrote: On Fri, Nov 5, 2010 at 6:39 PM, Vadym Chepkov vchep...@gmail.com wrote: On Nov 5, 2010, at 1:29 PM, Keisuke MORI wrote: Hi Vadym, Could you provide the output of 'cibadmin -Q' to see what's happening over

Re: [Pacemaker] crm_mon and pingd

2010-11-05 Thread Vadym Chepkov
screen with master-drbd scores and not just pingd. Vadym 2010/11/4 Vadym Chepkov vchep...@gmail.com: Hi, It seems this patch in pacemaker doesn't work as expected changeset: 15672:4d50adc3ccd9 branch: stable-1.0 user:Andrew Beekhof and...@beekhof.net date:Mon May

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-drbd scores and not just pingd

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 use

[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 and...@beekhof.net date:Mon May 10 10:26:50 2010 +0200 summary: Medium: tools: crm_mon - Enable 'connectivity' mode for 'ping' resources

Re: [Pacemaker] colocation that doesn't

2010-11-04 Thread Vadym Chepkov
On Thu, Nov 4, 2010 at 5:37 AM, Dejan Muhamedagic deja...@fastmail.fm 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

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 automatically. I was

Re: [Pacemaker] colocation that doesn't

2010-11-04 Thread Vadym Chepkov
04, 2010 at 06:51:59AM -0400, Vadym Chepkov wrote: On Thu, Nov 4, 2010 at 5:37 AM, Dejan Muhamedagic deja...@fastmail.fm wrote: This should be: colocation mystateful-ms-loc inf: mystateful-ms:Master myprim:Started Interesting, so in this case it is not necessary? colocation

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 and Corosync

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 clone

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 vchep...@gmail.com 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 stonith agents? I use APC AP7901, works

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 vchep...@gmail.com wrote: On Oct 27, 2010, at 7:27 AM, Pavlos Parissis wrote: On 27 October 2010 13:12, Vadym Chepkov vchep...@gmail.com wrote: On Oct 27, 2010, at 3:47 AM, Pavlos Parissis

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 vchep...@gmail.com wrote: On Oct 27, 2010, at 7:27 AM, Pavlos Parissis wrote: On 27 October 2010 13:12, Vadym Chepkov

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 resource is migrated by creating a constraint

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 vchep...@gmail.com 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.clusterlabs.org/msg06300

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 vchep...@gmail.com wrote: Hi, What is the crm shell command to move drbd master to a different node? take

[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

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 shravan.mis...@gmail.com 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

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 shravan.mis...@gmail.com 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:

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 attribute

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

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

2010-09-21 Thread Vadym Chepkov
On Tue, Sep 21, 2010 at 9:14 AM, Dan Frincu dfri...@streamwide.ro 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

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 vchep...@gmail.com wrote: Hi, It seems pacemaker is broken in rhel6-beta2 # rpm -q pacemaker

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 m...@3open.org 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

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 second is

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: On Jun 15, 2010, at 9:26 AM, Vadym Chepkov wrote

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

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 from running on different nodes for sure? You can't have

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 deja...@fastmail.fm 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

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 andreas.k...@linbit.com wrote: On Tuesday 15 June 2010 08:40:58 Andrew Beekhof wrote: On Mon, Jun 14, 2010 at 4:22 PM, Vadym Chepkov vchep...@gmail.com wrote: On Jun 7, 2010, at 8:04 AM, Vadym

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

2010-06-15 Thread Vadym Chepkov
, Vadym Chepkov vchep...@gmail.com 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 (http://developerbugs.linux-foundation.org/show_bug.cgi?id=2435) as resolved, but I respectfully disagree. I will try to explain

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 and...@beekhof.net wrote: [snip] Score = -inf, plus the patch, plus sequential = true (or unset). Not sure how that looks in shell syntax though. Which patch?

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 and...@beekhof.net wrote: On Tue, Jun 15, 2010 at 2:57 PM, Vadym Chepkov vchep...@gmail.com wrote: On Jun 15, 2010, at 7:50 AM, Andrew Beekhof wrote: On Tue, Jun 15, 2010 at 1:38 PM, Vadym Chepkov vchep...@gmail.com wrote: On Jun 15, 2010

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 or they can remain active when one or more die. Although you

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:47AM +0200, Andrew Beekhof wrote: On Tue, Jun 15, 2010 at 10:23 AM

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: On Jun 15, 2010, at 3:36 PM, Dejan Muhamedagic wrote

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

2010-06-14 Thread Vadym Chepkov
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 (http://developerbugs.linux-foundation.org/show_bug.cgi?id=2435) as resolved, but I respectfully disagree. I will try to explain a problem again in this list. lets assume

Re: [Pacemaker] VirtualDomain/DRBD live migration with pacemaker...

2010-06-14 Thread Vadym Chepkov
On Mon, Jun 14, 2010 at 4:37 PM, Erich Weiler wei...@soe.ucsc.edu wrote: Hi All, We have this interesting problem I was hoping someone could shed some light on.  Basically, we have 2 servers acting as a pacemaker cluster for DRBD and VirtualDomain (KVM) resources under CentOS 5.5. As it is

Re: [Pacemaker] How to replace an agent

2010-06-11 Thread Vadym Chepkov
On Jun 10, 2010, at 9:03 AM, Dejan Muhamedagic wrote: Hi, On Thu, Jun 10, 2010 at 08:46:22AM -0400, Vadym Chepkov wrote: Hi, I stumbled upon interesting feature or a bug, not sure how to classify it. I needed to add a resource to a cluster and since it didn't have native RA, I used

Re: [Pacemaker] crm node delete

2010-06-11 Thread Vadym Chepkov
On Jun 11, 2010, at 10:45 AM, Maros Timko wrote: Hi all, using heartbeat stack. I have a system with one node offline: Last updated: Fri Jun 11 13:52:40 2010 Stack: Heartbeat Current DC: vsp7.example.com (ba6d6332-71dd-465b-a030-227bcd31a25f) - partition with quorum

Re: [Pacemaker] How to replace an agent

2010-06-11 Thread Vadym Chepkov
On Jun 11, 2010, at 10:09 AM, Dejan Muhamedagic wrote: I found what I did wrong. When I loaded new resource definition I also removed meta target-role=Stopped. pacemaker decided it needs to restart the resource because the has changed. But it also using params definitions of the new agent,

[Pacemaker] How to replace an agent

2010-06-10 Thread Vadym Chepkov
? Thank you, Vadym Chepkov ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf

Re: [Pacemaker] i stop mysql service but the crm status is still runing

2010-06-06 Thread Vadym Chepkov
On Jun 6, 2010, at 9:15 PM, ch huang wrote: mysql is running ,and crm status output is Last updated: Sat Jun 5 09:48:58 2010 Stack: openais Current DC: PRIM - partition with quorum Version: 1.0.8-9881a7350d6182bae9e8e557cf20a3cc5dac3ee7 2 Nodes configured, 2 expected votes

Re: [Pacemaker] i stop mysql service but the crm status is still runing

2010-06-06 Thread Vadym Chepkov
On Jun 6, 2010, at 9:23 PM, ch huang wrote: i notice my drbd status is abnormal,it seems they can not find each other,and i try to restart drbd ,but still can not find each other Well, this has nothing to do with Pacemaker, you would need to issue crm resource stop drbd_mysql and then fix

Re: [Pacemaker] i stop mysql service but the crm status is still runing

2010-06-06 Thread Vadym Chepkov
it on this host,but i want mysql start on another backup host No, you are not, this is your config, right? primitive mysqld lsb:mysqld no monitor operation is defined On Mon, Jun 7, 2010 at 9:30 AM, Vadym Chepkov vchep...@gmail.com wrote: On Jun 6, 2010, at 9:15 PM, ch huang wrote: mysql

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

2010-06-05 Thread Vadym Chepkov
On Jun 3, 2010, at 9:16 AM, Vadym Chepkov wrote: Hi, Not sure what I am doing wrong primitive dummy1 ocf:pacemaker:Dummy primitive dummy2 ocf:pacemaker:Dummy primitive dummy3 ocf:pacemaker:Dummy only two nodes alive in 3 node cluster, so I can see two dummy resources started on one

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

2010-06-03 Thread Vadym Chepkov
at this point. But it is not. Maybe pacemaker can't decide which one, I thought, so I set a priority: # crm resource dummy1 meta priority=10 Still no dice. pacemaker-1.0.8-6.1.el5 What am I missing? Thank you, Vadym Chepkov ___ Pacemaker mailing list

[Pacemaker] Stateful RA

2010-06-02 Thread Vadym Chepkov
Hi, I was looking into Stateful resource agent (branch: stable-1.0) stateful_start() { stateful_check_state master if [ $? = 0 ]; then # CRM Error - Should never happen return $OCF_RUNNING_MASTER fi ... Why does it return $OCF_RUNNING_MASTER when master is not

Re: [Pacemaker] Stateful RA

2010-06-02 Thread Vadym Chepkov
On Jun 2, 2010, at 3:08 AM, Andrew Beekhof wrote: On Wed, Jun 2, 2010 at 8:55 AM, Vadym Chepkov vchep...@gmail.com wrote: Hi, I was looking into Stateful resource agent (branch: stable-1.0) stateful_start() { stateful_check_state master if [ $? = 0 ]; then # CRM

Re: [Pacemaker] master/slave or unique clones

2010-05-28 Thread Vadym Chepkov
On May 28, 2010, at 8:12 AM, Florian Haas wrote: On 2010-05-28 14:01, Vadym Chepkov wrote: Hi, I want to convert our home-made application to be managed by pacemaker cluster. The way it works now: application starts, discovers all IPs configured on the system and if it sees

Re: [Pacemaker] master/slave or unique clones

2010-05-28 Thread Vadym Chepkov
On May 28, 2010, at 8:27 AM, Florian Haas wrote: Imperative word was started. You think I still should go multi-state RA for this application? If the application which that RA applies to distinguishes between roles equivalent to a Master and a Slave, and you want the RA to manage those,

Re: [Pacemaker] master/slave or unique clones

2010-05-28 Thread Vadym Chepkov
On May 28, 2010, at 11:17 AM, Florian Haas wrote: On 05/28/2010 02:37 PM, Vadym Chepkov wrote: On May 28, 2010, at 8:27 AM, Florian Haas wrote: Imperative word was started. You think I still should go multi-state RA for this application? If the application which that RA applies

  1   2   >