Symptom
The scripts startsap and stopsap are deprecated and you need alternatives.
Environment
Systems based on SAP NetWeaver 7.0 or higher
Cause
The scripts startsap and stopsap used to start and stop SAP systems, are deprecated since April 2015.
These scripts are no longer maintained, and should not be used.
Resolution
Instead of using startsap or stopsap, use the SAP Management Console (SAP MMC) or the SAP command sapcontrol.
- sapcontrol
Scripts startsap/stopsap use internally sapcontrol command to start and stop the SAP system, hence it is possible to use it manually.
Follow the syntax for sapcontrol call, corresponding to startsap/stopsap:
- In order to start the system, instead of using startsap, use:
sapcontrol -nr <instance_number> -function StartSystem
- In order to stop the system, instead of using stopsap, use:
sapcontrol -nr <instance_number> -function StopSystem
For the complete option list of methods, run sapcontrol without any parameters options to see the available list.
Note: 763593 - Starting and stopping SAP system instances - startsap/stopsap are deprecated
No comments:
Post a Comment