PDA

View Full Version : SAPInstance primitive doesn't start



cosentino
08-Dec-2012, 10:18
Hi Gurus,

I'm installing a new SLES for SAP 11 SP2 cluster, but after configure the "SAPInstance" primitive this doesn't start. After migrate the group to other node I get the following error:


Dec 8 09:50:50 ewmp01 mgmtd: [3883]: ERROR: unpack_rsc_op: Preventing ASCS00 from re-starting anywhere in the cluster : operation start failed 'not configured' (rc=6)

But if I try to start manually (with startsap script) from the command line as usually it works perfectly in both nodes (obviously only will start in the node where the group is placed).

This is the configuration of the primitive:


primitive ASCS00 ocf:heartbeat:SAPInstance \
operations $id="ASCS00-operations" \
op monitor interval="120s" timeout="60s" start_delay="120s" \
op start interval="0" enabled="true" timeout="180" \
op stop interval="0" enabled="true" timeout="240" \
params InstanceName="EWP_ASCS00_ewp" START_PROFILE="/usr/sap/EWP/SYS/profile/EWP_ASCS00_ewp" AUTOMATIC_RECOVER="true" SHUTDOWN_METHOD="normal" START_WAITTIME="360" MONITOR_SERVICES="msg_server" \
meta target-role="Started" is-managed="true"

I have configured also an order constraint.


order o_ascs inf: p_exportfs_sapmnt:promote ASCS00:start

cosentino
08-Dec-2012, 12:32
Hi again, the problem is solved, after clean the resource (group) everything becomes to work correctly.