Академический Документы
Профессиональный Документы
Культура Документы
Show TOC
You can use command line options to specify these commands. Command line options are available in new style or old style.
Example
If you want to start an ABAP or dual-stack (ABAP+Java) central instance DVEBGMS00 that has the virtual host names cic11 and cic12, enter the following
commands :
startsap -t r3 -i DVEBGMS00 -v "cic11 cic12"
If you want to start a Java central instance JC00 that has the virtual host names cic11 and cic12, enter the following commands :
1 of 7 08/11/2018 10:30 PM
Starting and Stopping SAP Systems and Instances Using Command... https://help.sap.com/saphelp_nw70/helpdata/en/47/1d6feeff6e0d46...
[-v | -vhost "<virtual hostname>[ <virtual hostname>]*"] Specify virtual host names
r3 | j2ee Start or stop SAP instances only. You can use either r3 or j2ee, regardless if the
instance to be started or stopped is an ABAP or Java instance.
2 of 7 08/11/2018 10:30 PM
Starting and Stopping SAP Systems and Instances Using Command... https://help.sap.com/saphelp_nw70/helpdata/en/47/1d6feeff6e0d46...
Example
If you want to start an ABAP or dual-stack (ABAP+Java) central instance DVEBGMS00 that has the virtual host names cic11 and cic12, enter the following
commands :
startsap r3 DVEBGMS00 cic11 cic12
If you want to start a Java central instance DVEBGMS00 that has the virtual host names cic11 and cic12, enter the following commands :
3 of 7 08/11/2018 10:30 PM
Starting and Stopping SAP Systems and Instances Using Command... https://help.sap.com/saphelp_nw70/helpdata/en/47/1d6feeff6e0d46...
check [<instance>] [<virtual hostname>] Check status of database and SAP system instances
r3 | j2ee [<instance>] [<virtual hostname>] Start or stop SAP instances only. You can use either r3 or j2ee, regardless if the
instance to be started or stopped is an ABAP or Java instance.
all | <blank> Start or stop database and all SAP system instances running on the same physical
host
4 of 7 08/11/2018 10:30 PM
Starting and Stopping SAP Systems and Instances Using Command... https://help.sap.com/saphelp_nw70/helpdata/en/47/1d6feeff6e0d46...
Prerequisites
Make sure that you have logged on to the physical host of the SAP system instances as user <sapsid>adm.
Make sure that the host names defined in the DNS server match the names of the SAP system instance hosts. In particular, keep in mind that host names are
case-sensitive. For example, if the names of the SAP system instance hosts are in upper case, but the same host names are defined in the DNS server in lower
case, starting and stopping the system does not work.
If you want to use startsap or stopsap (for example, in a script) and require the fully qualified name of these SAP scripts, create a link to the startsap script in
the home directory of the corresponding user.
You cannot use startsap or stopsap commands in a switchover cluster environment. Therefore in a high-availability (HA) system you must use the failover
cluster software of your HA partner to start or stop instances running on the switchover cluster.
You cannot use startsap or stopsap commands to start or stop database-specific tools. For more information about how to start or stop database-specific tools,
see the database-specific information in this documentation and the documentation from the database manufacturer.
Make sure that no SAP instance is running before you execute stopsap on a standalone database server. No automatic check is made.
When you use stopsap in a Multiple Components in One Database (MCOD) system with two central instances, only one central instance and the database are shut
down. Therefore, you must first stop the other SAP system or make sure that it has already been stopped.
Procedure
5 of 7 08/11/2018 10:30 PM
Starting and Stopping SAP Systems and Instances Using Command... https://help.sap.com/saphelp_nw70/helpdata/en/47/1d6feeff6e0d46...
If you want to start SAP system instances separately, enter the following command:
Make sure that you adhere to the following sequence when starting the instances:
ABAP system:
1. Database instance
2. Central instance
Java system:
1. Database instance
2. SCS instance
3. Central instance
1. Database instance
2. SCS instance
3. Central instance
If you want to stop SAP system instances separately, enter the following command:
6 of 7 08/11/2018 10:30 PM
Starting and Stopping SAP Systems and Instances Using Command... https://help.sap.com/saphelp_nw70/helpdata/en/47/1d6feeff6e0d46...
Make sure that you adhere to the following sequence when stopping the instances:
ABAP system:
2. Central instance
3. Database instance
Java system:
2. Central instance
3. SCS instance
4. Database instance
2. Central instance
3. SCS instance
4. Database instance
7 of 7 08/11/2018 10:30 PM