<br clear="all">Hi all,<br> AFAIK in resource ordering order(A,B) <br>start A is invoked before start B. <br><br>BUT my situation demands that <br>NOT ONLY start A is invoked before start B <br>BUT ALSO start A complete successfully (return rc=0) then and only then lrmd should invoke start B.<br>
<br>In my logs the resources are started as they should be BUT second resource dosent WAIT FOR first resource's start operation to return .<br><br>I am using mysql on nfs mount .<br>nfs mount is invoked before mysql BUT mysql dosent wait for nfs mount to finish and mysql dosent start (rc = 6 , resource not configured, coz the data dir is nfs mount which <br>
is not mounted yet) <br><br>IS THERE A WAY to WAIT for first successful start before starting second resource ?<br><br><br><br> <br>May 31 20:31:16 localhost crmd: [14581]: info: te_pseudo_action: Pseudo action 3 fired and confirmed<br>
May 31 20:31:16 localhost crmd: [14581]: info: te_rsc_command: Initiating action 9: start failover-ip_start_0 on aadityaxcat2 (local)<br>May 31 20:31:16 localhost crmd: [14581]: info: do_lrm_rsc_op: Performing key=9:5:0:800549c5-d049-45bf-9987-68423a7a95c4 op=failover-ip_start_0 )<br>
May 31 20:31:16 localhost lrmd: [14578]: info: rsc:failover-ip:26: start<br>May 31 20:31:16 localhost crmd: [14581]: info: te_rsc_command: Initiating action 11: start xcat_ha_start_0 on aadityaxcat2 (local)<br>May 31 20:31:16 localhost crmd: [14581]: info: do_lrm_rsc_op: Performing key=11:5:0:800549c5-d049-45bf-9987-68423a7a95c4 op=xcat_ha_start_0 )<br>
May 31 20:31:16 localhost lrmd: [14578]: info: rsc:xcat_ha:27: start<br>May 31 20:31:16 localhost crmd: [14581]: info: te_rsc_command: Initiating action 13: start nfs_ha_start_0 on aadityaxcat2 (local)<br>May 31 20:31:16 localhost crmd: [14581]: info: do_lrm_rsc_op: Performing key=13:5:0:800549c5-d049-45bf-9987-68423a7a95c4 op=nfs_ha_start_0 )<br>
May 31 20:31:16 localhost lrmd: [14578]: info: rsc:nfs_ha:28: start<br>May 31 20:31:16 localhost crmd: [14581]: info: te_rsc_command: Initiating action 17: start mysql_start_0 on aadityaxcat2 (local)<br>May 31 20:31:16 localhost crmd: [14581]: info: do_lrm_rsc_op: Performing key=17:5:0:800549c5-d049-45bf-9987-68423a7a95c4 op=mysql_start_0 )<br>
May 31 20:31:16 localhost lrmd: [14578]: info: rsc:mysql:29: start<br>May 31 20:31:16 localhost crmd: [14581]: info: te_rsc_command: Initiating action 19: start apache_start_0 on aadityaxcat2 (local)<br>May 31 20:31:16 localhost mysql[16473]: ERROR: Datadir /mnt/nfs/mysql doesn't exist<br>
May 31 20:31:16 localhost crmd: [14581]: info: do_lrm_rsc_op: Performing key=19:5:0:800549c5-d049-45bf-9987-68423a7a95c4 op=apache_start_0 )<br>May 31 20:31:16 localhost pengine: [15590]: WARN: process_pe_message: Transition 5: WARNINGs found during PE processing. PEngine Input stored in: /var/lib/pengine/pe-warn-96712.bz2<br>
May 31 20:31:16 localhost pengine: [15590]: info: process_pe_message: Configuration WARNINGs found during PE processing. Please run "crm_verify -L" to identify issues.<br>May 31 20:31:16 localhost IPaddr[16468]: INFO: Using calculated netmask for <a href="http://10.0.0.5">10.0.0.5</a>: 255.0.0.0<br>
May 31 20:31:16 localhost Filesystem[16470]: INFO: Running start for unicluster:/nfs on /mnt/nfs<br>May 31 20:31:16 localhost lrmd: [14578]: info: RA output: (xcat_ha:start:stdout) Xcatd starting ...<br>May 31 20:31:16 localhost crmd: [14581]: info: process_lrm_event: LRM operation mysql_start_0 (call=29, rc=6, cib-update=93, confirmed=true) not configured<br>
May 31 20:31:16 localhost crmd: [14581]: WARN: status_from_rc: Action 17 (mysql_start_0) on aadityaxcat2 failed (target: 0 vs. rc: 6): Error<br>May 31 20:31:16 localhost IPaddr[16468]: INFO: eval ifconfig eth0:0 10.0.0.5 netmask 255.0.0.0 broadcast 10.255.255.255<br>
May 31 20:31:16 localhost crmd: [14581]: WARN: update_failcount: Updating failcount for mysql on aadityaxcat2 after failed start: rc=6 (update=value++, time=1275318076)<br>May 31 20:31:16 localhost crmd: [14581]: info: abort_transition_graph: match_graph_event:272 - Triggered transition abort (complete=0, tag=lrm_rsc_op, id=mysql_start_0, magic=0:6;17:5:0:800549c5-d049-45bf-9987-68423a7a95c4, cib=12.187.43) : Event failed<br>
May 31 20:31:16 localhost crmd: [14581]: info: update_abort_priority: Abort priority upgraded from 0 to 1<br>May 31 20:31:16 localhost crmd: [14581]: info: update_abort_priority: Abort action done superceeded by restart<br>
May 31 20:31:16 localhost crmd: [14581]: info: match_graph_event: Action mysql_start_0 (17) confirmed on aadityaxcat2 (rc=4)<br>May 31 20:31:16 localhost attrd: [14580]: info: find_hash_entry: Creating hash entry for fail-count-mysql<br>
May 31 20:31:16 localhost attrd: [14580]: info: attrd_local_callback: Expanded fail-count-mysql=value++ to 1<br><br><br>-- <br>Regards ,<br>Aaditya.<br><br>I want to change the world ,But God won't give me the source code.<br>