Skip to end of metadata
Go to start of metadata

Deploy Controller Telnet commands

Applies to:
SAP NetWeaver 7.1 and higher

To use these commands, enable the DEPLOY commands group with ADD DEPLOY.
To show the help information about each commands in the DEPLOY group, you can type one of the following in the command line:

  • 'command name' -h
  • 'command name' -?
  • MAN 'command name'

deploy
Command for deploying SDAs and SCAs.
In order to get an overview of the available options in the deploy command, execute: deploy -h or man deploy.
This will give you a description of the available options.

Examples:

deploy C:\my\app\App1.sda on_deploy_error=stop
 deploy list=C:\my\list\DeployItems.txt on_deploy_error=skip_depending on_prerequisite_error=stop

 where DeployItemst.txt contains the list of SCAs inlcuding path, for example:

C:\my\app\ENGINEAPI.SCA
C:\my\app\SERVERCORE.SCA
C:\my\app\J2EE-APPS.SCA
C:\my\app\J2EE-FRMW.SCA

undeploy
Command for undeploying SDAs.
In order to get an overview of the available options in the undeploy command, execute: undeploy -h or man undeploy.
This will give you a description of the available options.

Examples:

undeploy name=MyApp vendor=myvendor.com on_undeploy_error=stop
 undeploy list=C:\my\list\UndeployItems.xml on_undeploy_error=skip_depending on_prerequisite_error=skip_depending

explore [JSTSG:name=<...> vendor=<...>]

This command lists all deployed components. Only components which are currently deployed on the system will be returned.

The arguments 'name' and 'vendor' are optional. If they are not specified, all the deployed components (SCs & DCs) will be returned.
Parameters:

  • name - specifies the name attribute of a development or software component.
  • vendor - specifies the vendor attribute of a development or software component.

remove_app [<applicationName> | JSTSG:<-all>]
The command can be used for removing an application from the server.
Parameters:

  • <applicationName> - the name of the application to be removed.
  • <-all> - removes all applications from the cluster.

get_result {sessionId}
This command can be used for printing offline deployment or undeployment result by session ID, if the result for the specified session ID has not been garbage collected.
Parameters:

  • {sessionId} - specifies the session ID for a particular deployment or undeployment except active one if deploy controller is in process in order to prevent failures on operation. If no session ID is specified, then the active one is used.

app_refs_graph [<applicationName_1> <applicationName_2> ... <applicationName_N> | JSTSG::-all] [JSTSG::-nodup] [JSTSG::-level=<depth>]
This command can be used for printing the reference graph for all applications.
The graph contains application references to other applications, services, libraries and resource references.

list_app
Gives a list and status of all applications

get_status <-a applicationName>
list_app | grep <applicationName>
Use this commands to get the status of a certain application.

deploy_info <application name>
Gives you information about a certain component deployed on the current server process. The most useful info is the current STATUS - if it is started or not, and if it is NOT STARTED - the reason is displayed.

Increasing the severities of deploy logs
  • Deploy service - com.sap.engine.services.deploy
  • Deploy controller - com.sap.engine.services.dc