<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Arial">Hi,<br>
<br>
I am trying to run cloned resources on part of my cluster, however I
must be mistaken on how to use the location-directive. This is the
relevant part of my config:<br>
<br>
node $id="8ce10d28-174c-4fc3-bac4-b2bf21ef6a38" apa1<br>
node $id="09c41339-21db-4250-83b9-bac11a6c25de" apa2<br>
node $id="ea3da999-829d-4042-a5d5-9ee0ad27f989" mysql1<br>
node $id="23f84b10-ad8c-43a9-ab23-344d06254948" mysql2<br>
node $id="47c29bf2-ac4a-4873-9b91-f05b8e41af2d" nfs1<br>
node $id="e588fc86-92d8-4658-a394-3e031171bcd0" nfs2<br>
primitive apachefs ocf:heartbeat:Filesystem \<br>
params device="192.168.202.47:/data/export" directory="/data"
fstype="nfs"<br>
primitive apacheserver ocf:heartbeat:Dummy<br>
group apacheservice apachefs apacheserver<br>
clone apache apacheservice \<br>
meta clone-max="2"<br>
location apaapa1 apache 100: apa1<br>
location apaapa2 apache 100: apa2<br>
property $id="cib-bootstrap-options" \<br>
dc-version="1.0.3-b133b3f19797c00f9189f4b66b513963f9d25db9" \<br>
symmetric-cluster="false" \<br>
last-lrm-refresh="1242719884"<br>
<br>
<br>
What I thought this would do was: start (cloned) resources apachefs and
apacheserver only on nodes apa1 and apa2 (since symmetric-cluster=false
and having the two location directives). What I can see happening is
that the apachefs resource is tried on other nodes as well, most
importantly also on nfs1 and nfs2, which causes these to crash :-(.
Could someone point out how I can get this working the way I want?<br>
<br>
Thanks,<br>
Mark<br>
<br>
</font>
<pre class="moz-signature" cols="72">--
_____________________________________________________________________
Mark Schenk
Project Manager
Shared Service Centre ICT - 3xO
Technische Universiteit Delft
<a class="moz-txt-link-abbreviated" href="mailto:M.M.A.Schenk@tudelft.nl">M.M.A.Schenk@tudelft.nl</a>
Room 3B-41
Postbus 354
2600 AJ Delft
Landbergstraat 15
2628 CE DELFT ___________________________________________
+31 (0)15 27 85448 | Reality is that which, when you
<a class="moz-txt-link-abbreviated" href="http://www.tudelft.nl">www.tudelft.nl</a> | stop believing in it, doesn't go away.
_____________________________________________________________________
</pre>
</body>
</html>