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