Re: [ClusterLabs] Pacemaker failover failure

2015-07-14 Thread Digimer
As said before, fencing.

On 01/07/15 06:54 AM, alex austin wrote:
 so did another test:
 
 two nodes: node1 and node2
 
 Case: node1 is the active node
 node2: is pasive
 
 if I killall -9 pacemakerd corosync on node 1 the services do not fail
 over to node2, but if I start corosync and pacemaker on node1 then it
 fails over to node 2.
 
 Where am I mistaking?
 
 Alex
 
 On Wed, Jul 1, 2015 at 12:42 PM, alex austin alexixa...@gmail.com
 mailto:alexixa...@gmail.com wrote:
 
 Hi all,
 
 I have configured a virtual ip and redis in master-slave with
 corosync pacemaker. If redis fails, then the failover is successful,
 and redis gets promoted on the other node. However if pacemaker
 itself fails on the active node, the failover is not performed. Is
 there anything I missed in the configuration?
 
 Here's my configuration (i have hashed the ip address out):
 
 node host1.com http://host1.com
 
 nodehost2.com http://host2.com
 
 primitiveClusterIP IPaddr2 \
 
 paramsip=xxx.xxx.xxx.xxx cidr_netmask=23\
 
 opmonitor interval=1stimeout=20s\
 
 opstart interval=0timeout=20s\
 
 opstop interval=0timeout=20s\
 
 metais-managed=truetarget-role=Startedresource-stickiness=500
 
 primitiveredis redis \
 
 metatarget-role=Masteris-managed=true\
 
 opmonitor interval=1srole=Mastertimeout=5son-fail=restart
 
 msredis_clone redis\
 
 
 metanotify=trueis-managed=trueordered=falseinterleave=falseglobally-unique=falsetarget-role=Mastermigration-threshold=1
 
 colocationClusterIP-on-redis inf: ClusterIPredis_clone:Master
 
 colocationip-on-redis inf: ClusterIPredis_clone:Master
 
 propertycib-bootstrap-options: \
 
 dc-version=1.1.11-97629de\
 
 cluster-infrastructure=classic openais (with plugin)\
 
 expected-quorum-votes=2\
 
 stonith-enabled=false
 
 propertyredis_replication: \
 
 redis_REPL_INFO=host.com http://host.com
 
 
 thank you in advance
 
 
 Kind regards,
 
 
 Alex 
 
 
 
 
 ___
 Users mailing list: Users@clusterlabs.org
 http://clusterlabs.org/mailman/listinfo/users
 
 Project Home: http://www.clusterlabs.org
 Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
 Bugs: http://bugs.clusterlabs.org
 


-- 
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without
access to education?

___
Users mailing list: Users@clusterlabs.org
http://clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


[ClusterLabs] [Announce] clufter-0.50.1 released

2015-07-14 Thread Jan Pokorný
I am happy to announce that clufter-0.50.1, a tool/library for
transforming/analyzing cluster configuration formats, has been
released and published (incl. signature using my 60BCBB4F5CD7F9EF key):
https://people.redhat.com/jpokorny/pkgs/clufter/clufter-0.50.1.tar.gz
https://people.redhat.com/jpokorny/pkgs/clufter/clufter-0.50.1.tar.gz.asc

Changelog highlights:
- this is a bugfix release as previously pcs2pcscmd-needle subcommand
  was failing with a traceback
- mostly for convenience, such as when pcs2pcscmd-needle subcommand is
  invoked and one is only interested in the part of the output
  corresponding to corosync.conf provided as the input, a concept of
  minimal format instances is introduced with CIB sample included,
  so in that scenario, one could simply pass that file instead of
  a custom one (remember, it should be a valid one)

 * * *

The public repository (notably master and next branches) is currently at
https://github.com/jnpkrn/clufter.

Official, signed releases can be found at
https://people.redhat.com/jpokorny/pkgs/clufter/
(also beware, automatic archives by GitHub preserve a dev structure).

Natively packaged in Fedora (python-clufter, clufter-cli).

Issues  suggestions can be reported at either of (regardless if Fedora)
https://bugzilla.redhat.com/enter_bug.cgi?product=Fedoracomponent=clufterversion=rawhide,
https://github.com/jnpkrn/clufter/issues.


Happy clustering/high-availing :)

-- 
Jan


pgpiifNBU5N6I.pgp
Description: PGP signature
___
Users mailing list: Users@clusterlabs.org
http://clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org