I guess I have to insert two more constraints:
1. order to start apache after filesystem is mounted;
2. location to start apache only where drbd is started;
Yes, and you have your answer already in this cib. What you just
described is how the filesystem and drbd are related. Does this
help?
This cib doesn't do what I need because, in some cases, Apache starts
where drbd is slave (secondary) and so it can't access the filesystem
(because it has been mounted on the node where drbd is master).
I need Apache to start only in the node where drbd is set as primary and
only after the filesystem has been mounted.
Anyone can help?
TIA.
--
Marco
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems