ShutDown Tool performs local or remote shutdown on a specified cluster element. The process is executed using a shutdown script file, included in the <SAPj2eeEngine_install_dir>/tools/ directory. The syntax of the parameters is as follows:
shutdown –u –p –h:port -ids
Where:
-u
is the username of the user – the default value is
Administrator
-p
is the password of the user – the default value is “”-h:port
specifies the host and the port of the cluster element – the default value is
localhost:3011
-ids
specifies the ID for every cluster element – the default value is
0
The number of parameters can vary from one to nine. Any parameters above this range are not processed.
The command identifiers (-u, -p, -h, -ids) are also included in the number of parameters. For example, the total number of parameters in the following command is five:
shutdown -ids 5001 4001 -h localhost:3011
Two different approaches must be taken into consideration to count the parameters correctly if the –ids identifier is available in the command line:
shutdown -ids 5001,4001
– the actual number of parameters in this example is two (not three).shutdown -ids 5001 4001 3333
– the actual number of parameters in this example is four.More information about the Shutdown tool can be obtained using:
shutdown.bat –info
shutdown.bat info
shutdown.bat –help
shutdown.bat help
All parameters after the filename are optional. For example, if
shutdown
is typed in the command line on its own, all cluster elements on the local machine are shut down.
Note: ShutDown Tool has been tested only on Unix RedHat 6.2 and Windows NT compatible platforms.