http://help.sap.com/saphelp_nwpi71/helpdata/en/47/1d6feeff6e0d46e10000000a155369/content.htm
stopsap/startsap -t <task> -i <instance> -v <virtual host>
E.g. stopsap -t r3 -i DVEBGMS00 -v vserver1
(Quick form: startsap/stopsap <virtual host> to start all services on that particular virtual host)
Parameters
[-t | -task <task>] Specify task (see list below)
[-i | -instance <instance>] Specify SAP system instance (see list below)
[-v | -vhost "<virtual hostname="">[ <virtual hostname="">]*"] Specify virtual host names
[-c | -check] Check database and SAP instance status
[-h | -help] Display help
[-V | -VERSION] Display startsap script version
[-C | -checkVHost] Check virtual host name
Task List
check - Check status of database and SAP system instancesr3 | 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.
db - Start or stop ABAP database only
jdb - Start or stop Java database only
all | <blank> - Start or stop database and SAP instance
startupsrv - Start or stop sapstartsrv program
SAP System Instance List
DVEBMGS<nn> - ABAP primary application server Instance
D<nn> - ABAP additional application server instance
ASCS<nn> - ABAP central services instance (ASCS instance)
SCS<nn> - Java central services instance (SCS instance)
J<nn> - Java application server instance
TRX<nn> - TREX instance
ERS<nn> - Enqueue replication server instance (ERS instance)
SMDA<nn> - Diagnostics agent instance
W<nn> - Web services instance
G<nn> - Gateway instance
Stopping Order
ABAP system:
- Additional application server instances (if available)
- Primary application server instance
- ASCS instance (if available)
- ERS instance for the ASCS instance (if available)
- Database instance
- Application server instances
- SCS instance
- ERS instance for the SCS instance (if available)
- Database instance
- Additional application server instances (if available)
- Primary application server instance
- ASCS instance (if available)
- SCS instance
- ERS instance for the ASCS instance (if available)
- ERS instance for the SCS instance (if available)
- Database instance
Starting Order
ABAP system:
- Database instance
- ERS instance for the ASCS instance (if available)
- ASCS instance (if available)
- Primary application server instance
- Additional application server instances (if available)
Java system:
- Database instance
- ERS instance for the SCS instance (if available)
- SCS instance
- Application server instances
Dual-stack (ABAP+Java) system:
- Database instance
- ERS instance for the SCS instance (if available)
- ERS instance for the ASCS instance (if available)
- SCS instance
- ASCS instance (if available)
- Primary application server instance
- Additional application server instances (if available)
No comments:
Post a Comment