<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
, <b>Michael Schwartzkopff</b> a écrit :
<blockquote cite="mid:4CAC3F09.3080303@free.fr" type="cite">
<pre>Try to configure the resource-stickiness within the resource and not within the
clone.
</pre>
</blockquote>
Sorry not answering directly to the thread, but i've done a mistake in
the mailing list configuration. hope this is ok now.<br>
<br>
I tried but it doesn't change anything:<br>
<br>
<br>
root@node2:~# crm resource stop SecIP <br>
root@node2:~# crm configure delete SecIP <br>
<br>
root@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"<br>
ERROR: SecIP: parameter resource-stickiness does not exist<br>
Do you still want to commit? n<br>
<br>
root@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"<br>
<br>
root@node2:~# crm configure clone CloneSecIP SecIP meta
globally-unique=”true” clone-max=”2” clone-node-max="2" Traceback (most
recent call last):<br>
File "/usr/sbin/crm", line 41, in <module><br>
crm.main.run()<br>
File "/usr/lib/python2.6/dist-packages/crm/main.py", line 246, in run<br>
if parse_line(levels,shlex.split(' '.join(args))):<br>
File "/usr/lib/python2.6/dist-packages/crm/main.py", line 144, in
parse_line<br>
rv = d() # execute the command<br>
File "/usr/lib/python2.6/dist-packages/crm/main.py", line 143, in
<lambda><br>
d = lambda: cmd[0](*args)<br>
File "/usr/lib/python2.6/dist-packages/crm/ui.py", line 1436, in
conf_clone<br>
return self.__conf_object(cmd,*args)<br>
File "/usr/lib/python2.6/dist-packages/crm/ui.py", line 1415, in
__conf_object<br>
return f()<br>
File "/usr/lib/python2.6/dist-packages/crm/ui.py", line 1414, in
<lambda><br>
f = lambda: cib_factory.create_object(cmd,*args)<br>
File "/usr/lib/python2.6/dist-packages/crm/cibconfig.py", line 1954,
in create_object<br>
return self.create_from_cli(CliParser().parse(list(args))) != None<br>
File "/usr/lib/python2.6/dist-packages/crm/cibconfig.py", line 2019,
in create_from_cli<br>
return self.add_element(obj, node)<br>
File "/usr/lib/python2.6/dist-packages/crm/cibconfig.py", line 2153,
in add_element<br>
if not obj.cli_use_validate():<br>
File "/usr/lib/python2.6/dist-packages/crm/cibconfig.py", line 802,
in cli_use_validate<br>
cli_text = self.repr_cli(format = -1)<br>
File "/usr/lib/python2.6/dist-packages/crm/cibconfig.py", line 694,
in repr_cli<br>
return self.cli_format(l,format)<br>
File "/usr/lib/python2.6/dist-packages/crm/cibconfig.py", line 718,
in cli_format<br>
s = cli_format(l,format)<br>
File "/usr/lib/python2.6/dist-packages/crm/cliformat.py", line 31, in
cli_format<br>
return ' '.join(pl)<br>
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position
22: ordinal not in range(128)<br>
<br>
</body>
</html>