Re: [Pacemaker] Stonith setup hostname params

2011-03-28 Thread Pavel Levshin
trying to configure the cluster directly from bash instead of doing it in crm configure. CRM shell offers this opportunity, that's why many users try to use it. But, unfortunately, the feature is not uniform with interactive shell. -- Pavel Levshin

Re: [Pacemaker] CMAN integration questions

2011-03-23 Thread Pavel Levshin
? Pacemaker hardly can work without DC. And STONITH of unexpectedly down node should be much faster, too. It's not clear from your log excerpts why fencing the node take so long. -- Pavel Levshin ___ Pacemaker mailing list: Pacemaker

[Pacemaker] Fencing order

2011-03-21 Thread Pavel Levshin
automatically. Is this ordering intended behaviour or a bug? It's pacemaker 1.0.10, corosync 1.2.7. Three-node cluster. -- Pavel Levshin ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Re: [Pacemaker] Very strange behavior on asymmetric cluster

2011-03-21 Thread Pavel Levshin
it, when admin knows that resource cannot exist there. -- Pavel Levshin ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http

Re: [Pacemaker] Fwd: All resources bounce on failback

2011-03-21 Thread Pavel Levshin
to 0: score. -- Pavel Levshin ___ 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

Re: [Pacemaker] Fwd: All resources bounce on failback

2011-03-21 Thread Pavel Levshin
in ordering constraint is somewhat misleading. The actual value does not matter; basically, there is only two possible values: above zero for mandatory constraing and zero or less for advisory one. -- Pavel Levshin ___ Pacemaker mailing list

Re: [Pacemaker] Very strange behavior on asymmetric cluster

2011-03-19 Thread Pavel Levshin
interval=0 timeout=10 on_fail=nothing. Obvoiusly, it has own deficiencies. -- Pavel Levshin ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting

Re: [Pacemaker] Very strange behavior on asymmetric cluster

2011-03-18 Thread Pavel Levshin
from test environment from time to time. My cluster has survived 4 and failed on 5th real network failure. How many times should I test? -- Pavel Levshin ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman

Re: [Pacemaker] Switching a Resource based on connectivity (ping)

2011-03-18 Thread Pavel Levshin
18.03.2011 2:52, tariq fillah: I meen this: crm configure primitive ping ocf:pacemaker:ping \ op monitor depth=0 timeout=20s interval=10 ** clone pingdClone ping \ meta globally-unique=false target-role=Started *** crm configure location pingjb ClusterIP \ rule

Re: [Pacemaker] Very strange behavior on asymmetric cluster

2011-03-18 Thread Pavel Levshin
18.03.2011 17:07, Pavel Levshin: Imagine a network where connectivity restores for a couple of seconds then breaks again. A node becomes online, monitoring actions are directed, then connectivity fails. This node will be unclean offline, then. And fencing may fail in this scenario, too

Re: [Pacemaker] Are master/slave resources started in parallel on two nodes?

2011-03-17 Thread Pavel Levshin
. -- Pavel Levshin ___ 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 Bugs: http

Re: [Pacemaker] Very strange behavior on asymmetric cluster

2011-03-16 Thread Pavel Levshin
. -- Pavel Levshin ___ 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 Bugs: http

Re: [Pacemaker] network interface as a cluster resource (solved with patch)

2011-03-14 Thread Pavel Levshin
by simply assigning floating address to the network interface (with arp_ignore/arp_announce sysctls set properly). Something alike may be achieved by setting ip_nonlocal_bind, but our way is more strict. -- Pavel Levshin ___ Pacemaker mailing

Re: [Pacemaker] network interface as a cluster resource (solved with patch)

2011-03-14 Thread Pavel Levshin
not use current IPaddr2 for this service, so things may be different. -- Pavel Levshin ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org

Re: [Pacemaker] network interface as a cluster resource (solved with patch)

2011-03-12 Thread Pavel Levshin
, notably loopback. It should not be dropped in this case. Resource Agent is supposed to start a service, it should not break things around here. If the service is already started, you don't need to stop and start it again in RA. -- Pavel Levshin

Re: [Pacemaker] Help with batch import and resource distribution

2011-03-12 Thread Pavel Levshin
a disconnected node without STONITH. You will need to configure this behaviour explicitly. -- Pavel Levshin ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http

Re: [Pacemaker] Failure after intermittent network outage

2011-03-11 Thread Pavel Levshin
be executed on node C. Currently, it is done through status section of the CIB. I wish there was a way to do the same via configuration. Then the cluster could get rid of quirks with unneeded RAs. Maybe anyone will support my proposal? -- Pavel Levshin //flicker

[Pacemaker] Failure after intermittent network outage

2011-03-06 Thread Pavel Levshin
not exists on the node? So the cluster don't try to run nonexistent resources when this is impossible. What is the right way to avoid cluster split when bonding switches? I have adjusted 'token' directive in corosync.conf to 5000, is this OK? Thank you for you time. -- Pavel Levshin //flicker