Re: SAPInstance does not start and asking for START_PROFILE

Muhammad Sharfuddin <[email protected]> Thu, 15 Jan 2015 02:53:54 +0500
Newsgroups gmane.linux.highavailability.user
Message-ID <[email protected]>
On 01/15/2015 02:35 AM, Fabian Herschel wrote:
 > Hi Muhammed,
 >
 > sorry please do NOT use startsap. Please use sapctrl.
 > sapctrl -nr 00 -function Start
 > Check the started processes using
 > sapctrl -nr 00 -function GetProcessList
 >
I dont find the sapctrl command available on the system.

 >
 > If disp+work processes are not starting than you might need to check 
the reason in the work directory of the SAP NetWaver instance.
 >
Thanks for the pointer, I'll get this check with SAP Guys

 > Regards
 > Fabian
 >
 >
-- 
Regards,
Muhammad Sharfuddin
 >
 > -------- Ursprüngliche Nachricht --------
 > Von: Muhammad Sharfuddin <[email protected]>
 > Datum:14.01.2015  21:13  (GMT+01:00)
 > An: [email protected]
 > Betreff: Re: [Linux-HA] SAPInstance does not start and asking for
 >      START_PROFILE
 >
 > On 01/15/2015 01:07 AM, Muhammad Sharfuddin wrote:
 >>
 >> On 01/15/2015 12:46 AM, Fabian Herschel wrote:
 >>> Hi Muhammad,
 >>>
 >>> could you try:
 >>> primitive SAPInst-DVEBMGS00 ocf:heartbeat:SAPInstance \
 >>> op monitor interval="120" timeout="60" \
 >>> op start interval="0" timeout="300" \
 >>> op stop interval="0" timeout="300" \
 >>> params InstanceName="TLP_DVEBMGS00_thltlp"
 >>> DIR_EXECUTABLE="/usr/sap/TLP/DVEBMGS00/exe"
 >>> START_PROFILE="/sapmnt/TLP/profile/TLP_DVEBMGS00_thltlp"
 >>>
 >>> Or even let the parameters DIR_EXECUTABLE and START_PROFILE unset,
 > so SAPInstance could use the automatical detection.
 >>>
 >>> If you set the param START_PROFILE it must be a full file path NOT
 > relative to DIR_PROFILE.
 >>>
 >>> Hope that helps
 >>> Best regards
 >>> Fabian
 >>>
 >>> On 01/14/2015 08:12 PM, Muhammad Sharfuddin wrote:
 >>>> OS: SLES 11 SP 3
 >>>> pacemaker-1.1.9-0.19.102
 >>>> corosync-1.4.5-0.18.15
 >>>> resource-agents-3.9.5-0.32.22
 >>>>
 >>>> starting the SAP Instance resource fails with following errors:
 >>>>
 >>>> Jan 14 18:22:16 thltlp1 SAPInstance(SAPInst-DVEBMGS00)[50450]: ERROR:
 >>>> Expected
 >>>> TLP_DVEBMGS00_thltlp to be the instance START profile, please set
 >>>> START_PROFILE
 >>>> parameter!
 >>>> Jan 14 18:22:16 thltlp1 crmd[47231]:   notice: process_lrm_event: LRM
 >>>> operation
 >>>> SAPInst-DVEBMGS00_start_0 (call=81, rc=6, cib-update=66,
 > confirmed=true)
 >>>> not configured
 >>>>
 >>>> following is the resource configurations:
 >>>> primitive SAPInst-DVEBMGS00 ocf:heartbeat:SAPInstance \
 >>>> op monitor interval="120" timeout="60" \
 >>>> op start interval="0" timeout="300" \
 >>>> op stop interval="0" timeout="300" \
 >>>> params InstanceName="TLP_DVEBMGS00_thltlp"
 >>>> DIR_EXECUTABLE="/usr/sap/TLP/DVEBMGS00/exe"
 >>>> START_PROFILE="TLP_DVEBMGS00_thltlp" DIR_PROFILE="/sapmnt/TLP/profile"
 >>>>
 >>>> i.e START_PROFILE is configured but cluster is not starting the SAP
 >>>> Instance.
 >>>>
 >>>> Please help
 >>>
 >>
 >> provide the full path, and now error changed. It became:
 >>
 >> Jan 15 00:54:04 thltlp2 cibadmin[24511]:   notice: crm_log_args:
 > Invoked: cibadmin -p -R -o resources
 >> Jan 15 00:54:04 thltlp2 SAPInstance(SAPInst-DVEBMGS00)[22589]: ERROR:
 > SAP Instance TLP-DVEBMGS00 start
 >> failed:  15.01.2015 00:54:04 WaitforStarted FAIL: process disp+work
 > Dispatcher not running
 >> Jan 15 00:54:04 thltlp2 crmd[2778]:  warning: do_update_resource:
 > Resource SAPInst-DVEBMGS00 no longer
 >> exists in the lrmd
 >> Jan 15 00:54:04 thltlp2 crmd[2778]:   notice: process_lrm_event: LRM
 > operation SAPInst-DVEBMGS00_start_0
 >> (call=176, rc=7, cib-update=0, confirmed=true) not running
 >> Jan 15 00:54:04 thltlp2 crmd[2778]:  warning: decode_transition_key:
 > Bad UUID (crm_resource.c) in sscanf
 >> result (4) for 24450:0:0:crm_resource.c
 >> Jan 15 00:54:04 thltlp2 crmd[2778]:    error: send_msg_via_ipc:
 > Unknown Sub-system
 >> (9f52a2cf-6c1d-453d-bc1b-90322f3147f4)... discarding message
 >>
 >>
 >> Regards,
 >>
 >> Muhammad Sharfuddin
 >
 > also note that I can very easily start the SAP without any issue via
 > running following command:
 >      startsap -i DVEBMGS00 -v thltlp
 >

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems