Stefan, Stefan Lasiewski wrote:
I have the following haresources (It's copied to cib.xml) on each host. Shouldn't this start up and shut down services in the correct order?
The correct start order is: 1. rpc.lockd 2. rpc.statd 3. export filesystems with exportfs 4. rpc.nfsd 5. rpc.mountd 6. bond0 And for stop the other way around.
# cat /etc/ha.d/haresources fs1.example.com \ 10.0.1.147/23/bond0 \ nfslock nfs I don't completely understand the order of events. However, I assumed this order would be properly handled by heartbeat. From /var/log/ha-debug , I think the startup order is bond0, nfslock, nfs.
heartbeat does, what you tell it to do. Cheers, Peter
Here is the output from /var/log/ha-debug : Jul 10 13:50:11 fs2 crmd: [5388]: info: do_lrm_rsc_op: Performing op=IPaddr_10_0_1_147_start_0 key=8:48:6b2b6e53-764f-4f44-99b7-2882ef78d270) Jul 10 13:50:11 fs2 crmd: [5388]: info: process_lrm_event: LRM operation IPaddr_10_0_1_147_start_0 (call=115, rc=0) complete Jul 10 13:50:11 fs2 crmd: [5388]: info: do_lrm_rsc_op: Performing op=nfslock_2_start_0 key=11:48:6b3b6e53-764f-4f44-99b7-2882ef78d270) Jul 10 13:50:12 fs2 crmd: [5388]: info: process_lrm_event: LRM operation nfslock_2_start_0 (call=117, rc=0) complete Jul 10 13:50:12 fs2 crmd: [5388]: info: do_lrm_rsc_op: Performing op=nfs_3_start_0 key=14:48:6b2b6e53-764f-4f44-99b7-2882ef78d270) Jul 10 13:50:12 fs2 crmd: [5388]: info: process_lrm_event: LRM operation nfs_3_start_0 (call=119, rc=0) complete
_______________________________________________ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems