Hi, On Wed, Oct 06, 2010 at 11:55:53AM +0200, Cédric Castanet wrote: > , *Michael Schwartzkopff* a écrit : > >Try to configure the resource-stickiness within the resource and not within > >the > >clone. > > > Sorry not answering directly to the thread, but i've done a mistake > in the mailing list configuration. hope this is ok now. > > I tried but it doesn't change anything: > > > r...@node2:~# crm resource stop SecIP > r...@node2:~# crm configure delete SecIP > > r...@node2:~# crm configure primitive SecIP ocf:heartbeat:IPaddr2 > params ip="192.168.2.20" cidr_netmask="24" clusterip_hash="sourceip" > resource-stickiness="0" op monitor interval="30s" > ERROR: SecIP: parameter resource-stickiness does not exist > Do you still want to commit? n > > r...@node2:~# crm configure primitive SecIP ocf:heartbeat:IPaddr2 > params ip="192.168.2.20" cidr_netmask="24" clusterip_hash="sourceip" > op monitor interval="30s" meta resource-stickiness="0" > > r...@node2:~# crm configure clone CloneSecIP SecIP meta > globally-unique=”true” clone-max=”2” clone-node-max="2" Traceback > (most recent call last): > File "/usr/sbin/crm", line 41, in <module> > crm.main.run() > ... > UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position > 22: ordinal not in range(128)
Oops. Well, turns out that crm doesn't really like non-ascii chars. Two of your quotes above are funny. At globally-unique and clone-max. Replace them with ascii " and you should be OK. Thanks, Dejan > _______________________________________________ > 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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker _______________________________________________ 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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker