startManager command

Use the startManager command to manipulate a deployment manager with scripting.

[AIX Solaris HP-UX Linux Windows][z/OS]The startManager command reads the configuration file for the WebSphere® Application Server Network Deployment manager process and constructs a launch command. Depending on the options you specify, the startManager command launches a new Java™ virtual machine (JVM) API to run the manager process, or writes the launch command data to a file.

You must run this command from the profile_root/bin directory of a WebSphere Application Server Network Deployment installation.

[AIX Solaris HP-UX Linux Windows]If you are using the Windows platform and you have the deployment manager running as a Windows service, the startManager command will start the associated Windows service and it will be responsible for starting the deployment manager.

[IBM i]The startManager command reads the configuration file for the deployment manager profile and starts the server.

You do not have to use a user name and password with the startManager command because this command launches a server process but does not invoke an MBean method.

For more information about where to run this command, see Using command-line tools.

Syntax

The command syntax is as follows:

[AIX Solaris HP-UX Linux Windows][z/OS]
startManager [options]
[IBM i]
startManager [server] [options]
where server is an optional parameter that specifies the name of the deployment manager server. If you do not specify this option and you use the deployment manager profile, server defaults to the deployment manager. If you do not specify this option and you specify a profile other than the deployment manager, server defaults to the name of the profile.

[IBM i]Because the deployment manager profile is not the default profile, you must specify the -profileName option when using the startManager command.

Parameters

The following options are available for the startManager command:

[IBM i]-curlib <product_library>
[IBM i]Specifies the current library to use for the underlying Submit Job (SBMJOB) CL command.
[IBM i]-cpyenvvar
[IBM i]Tells the startServer command to set the environment variables that are currently defined for the application server process. The default is to not set the currently defined environment variables.
[IBM i]-inllibl <library_list>
[IBM i]Specifies the initial library list to use for the underlying Submit Job (SBMJOB) CL command.
[IBM i]-inlaspgrp <ASP_group>
[IBM i]Specifies the initial ASP group for the underlying Submit Job (SBMJOB) CL command.
[IBM i]-jobd <product_library/job_description>
[IBM i]Specifies the job description for the underlying Submit Job (SBMJOB) CL command.
[IBM i]-jobq <product_library/job_queue>
[IBM i]Specifies the job queue for the underlying Submit Job (SBMJOB) CL command.
[AIX Solaris HP-UX Linux Windows]-nowait
[AIX Solaris HP-UX Linux Windows]Tells the startManager command not to wait for successful initialization of the deployment manager process.
[IBM i]-outq <product_library/output_queue>
[IBM i]Specifies the output queue for the underlying Submit Job (SBMJOB) CL command.
[AIX Solaris HP-UX Linux Windows][z/OS]-quiet
[AIX Solaris HP-UX Linux Windows][z/OS]Suppresses the progress information that the startManager command prints in normal mode.
[AIX Solaris HP-UX Linux Windows][z/OS]-logfile <fileName>
[AIX Solaris HP-UX Linux Windows][z/OS]Specifies the location of the log file to which trace information is written. By default, the log file is named startServer.log and is created in your logs directory.
[AIX Solaris HP-UX Linux Windows][IBM i]-profileName
[AIX Solaris HP-UX Linux Windows][IBM i]Defines the profile of the Application Server process in a multi-profile installation. The -profileName option is not required for running in a single profile environment. The default for this option is the default profile.
[AIX Solaris HP-UX Linux Windows][z/OS]-replacelog
[AIX Solaris HP-UX Linux Windows][z/OS]Replaces the log file instead of appending to the current log.
[IBM i]-sbs <product_library/subsystem_description>
[IBM i]Specifies the subsystem to use for the underlying Submit Job (SBMJOB) CL command.
-trace
[AIX Solaris HP-UX Linux Windows][z/OS]Generates trace information into a file using the startManager command for debugging purposes.
[IBM i]Enables tracing of the native process code that starts the deployment manager server. The trace output is written to the was_jobname-jobuser-jobnum.log file which is located in the profile_root/logs directory.
-timeout <seconds>
Specifies the waiting time before deployment manager initialization times out and returns an error.
[IBM i]-usejobd
[IBM i]Specifies to use the job description from the Submit Job (SBMJOB) process for the node agent when switching to the Run-As user ID.
Note: This command does not affect the USER field of the current job description.
[AIX Solaris HP-UX Linux Windows][z/OS]-statusport <portNumber>
[AIX Solaris HP-UX Linux Windows][z/OS]An optional parameter that allows an administrator to set the port number for deployment manager status callback. The tool opens this port and waits for status callback from the deployment manager indicating that the deployment manager has started. If the parameter is not set, an unused port is automatically allocated.
[AIX Solaris HP-UX Linux Windows][z/OS]-script [<script fileName>] -background
[AIX Solaris HP-UX Linux Windows][z/OS]Generates a launch script with the startManager command instead of launching the deployment manager process directly. The launch script name is an optional argument. If you do not provide the launch script name, the default script file name is <start_dmgr>. The -background parameter is an optional parameter that specifies that the generated script will run in the background when you execute it.
-help
Prints a usage statement.
-?
Prints a usage statement.

Usage scenario

[AIX Solaris HP-UX Linux Windows]The following examples demonstrate correct syntax:
startManager 

startManager -script (produces the start_dmgr.sh or .bat file)

startManager -trace (produces the startmanager.log file)
[z/OS]The following examples demonstrate correct syntax:
startManager 

startManager -script (produces the start_dmgr.sh file)

startManager -trace (produces the startmanager.log file)
[IBM i]The following examples demonstrate correct syntax:
startManager -profileName dmgr (starts the deployment manager for the dmgr profile)

startManager -trace (produces trace files in the profile_root/logs directory)