Thanks, I figured it out by now. But the real problem I'm facing is explained in http://oss.clusterlabs.org/pipermail/pacemaker/2012-February/013124.html . Please also take a look there. This advisory thing was me trying to solve the problem described in that message.
-- Fita Adrian On Mon, Feb 20, 2012 at 13:11, Andrew Beekhof <and...@beekhof.net> wrote: > On Wed, Feb 15, 2012 at 12:40 AM, Adrian Fita <adrian.f...@gmail.com> wrote: >> Hi. I'm trying something like this: "crm configure order order_id 0: >> nfs_server nfs_mount", but nfs_mount doesn't start after nfs_server, >> instead it starts at pacemaker startup, when nfs_server isn't even >> started. > > Right. Did you read what advisory ordering is supposed to do? > > > http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained/ch06s03s02.html > > >> The reason I'm doing this is because nfs_mount is a clone of NFS >> filesystem mounts that are mounted on each node in the cluster. The >> NFS mounts are then used by some processes that read/write stuff in >> those NFS mounts. If I do "crm configure order order_id inf: >> nfs_server nfs_mount", on a node failure, all the nfs_mounts instances >> get restarted causing the processes that use them to fail or get >> restarted themselves. With advisory ordering I saw that the nfs_mount >> instances are not all restarted, the ones that are not on the failed >> node are left alone, leaving the surviving processes alone also. >> >> So... Am I missing something? Is my approach wrong? >> -- >> Fita Adrian >> >> _______________________________________________ >> 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://bugs.clusterlabs.org > > _______________________________________________ > 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://bugs.clusterlabs.org _______________________________________________ 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://bugs.clusterlabs.org