start_as
This script is used to start a remote application server instance.
It
takes the host name, the instance directory, the instance type of
the application server, a job name, a number of maximum retries, and
optionally the remote execution type, as parameters:
start_as <hostname> <InstDir> <InstType> <jobname> <maxretries> [<via>]- <hostname>
- Name of the host where the SAP application server runs. In installations with virtual host names the parameter <Hostname> refers to the virtual host name of the application server system.
- <InstDir>
- Instance directory of the remote application server. Together with the host name, it identifies the instance. For example, if the application server is a secondary application server, and uses instance number 66, then the instance directory is named D66.
- <InstType>
- Specifies, which application server instance type is started. A value of 0 starts an ABAP application server (AS) and a value of 2 starts a Java™ application server.
- <jobname>
- Unique jobname for the start_as shell script. You must define a jobname which is different from the jobname listed under Application Information of the SA z/OS proxy resource. This is required to avoid a false SA z/OS reaction on the Pre-process termination exit when the script ends.
- <maxretries>
- Parameter to configure how often the script checks if a starting application server comes up or not. Time between retries is 10 sec. If the first check is unsuccessful, the script retries for 10 * <maxretries> seconds.
- <via>
- Optional parameter to identify the remote execution type (SSH) used to send commands to remote application servers (running under AIX®, Linux®, or Windows). If this parameter is not set, it defaults to SSH.