WebSphere Application Server Network Deployment, Version 6.1
             Operating Systems: AIX, HP-UX, i5/OS, Linux, Solaris, Windows, z/OS

             Personalize the table of contents and search results

startNode command

The startNode command reads the configuration file for the node agent process and constructs a launch command.

[AIX HP-UX Linux Solaris Windows] Depending on the options that you specify, the startNode command creates a new Java virtual machine (JVM) API to run the agent process, or writes the launch command data to a file.

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

[i5/OS] startNode command reads the configuration file for the node agent process for a profile that has been added to the Network Deployment cell and starts the server.

You do not have to use a user name and password with the startNode 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 the Using command line tools article.

Syntax

The command syntax is as follows:
startNode [options]

Parameters

The following options are available for the startNode command:

-?
Prints a usage statement.
-curlib <product_library> [i5/OS]
Specifies the current library to use for the underlying Submit Job (SBMJOB) CL command.
-cpyenvvar [i5/OS]
Tells the startNode command to set the environment variables that are currently defined for the node agent process. The default is to not set the currently defined environment variables.
-help
Prints a usage statement.
-inllibl <library_list> [i5/OS]
Specifies the initial library list to use for the underlying Submit Job (SBMJOB) CL command.
-inlaspgrp <ASP_group> [i5/OS]
Specifies the initial ASP group for the underlying Submit Job (SBMJOB) CL command.
-jobd <product_library/job_description> [i5/OS]
Specifies the job description for the underlying Submit Job (SBMJOB) CL command.
-jobq <product_library/job_queue> [i5/OS]
Specifies the job queue for the underlying Submit Job (SBMJOB) CL command.
-logfile <fileName> [AIX HP-UX Linux Solaris 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 profile_root/logs directory.
-nowait [AIX HP-UX Linux Solaris Windows] [i5/OS]
Tells the startNode command not to wait for successful initialization of the launched node agent process.
-outq <product_library/output_queue> [i5/OS]
Specifies the output queue for the underlying Submit Job (SBMJOB) CL command.
-profileName [AIX HP-UX Linux Solaris Windows] [i5/OS]
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.
-quiet [AIX HP-UX Linux Solaris Windows] [z/OS]
Suppresses the progress information that the startNode command prints in normal mode.
-replacelog [AIX HP-UX Linux Solaris Windows] [z/OS]
Replaces the log file instead of appending to the current log.
-sbs <product_library/subsystem_description> [i5/OS]
Specifies the subsystem to use for the underlying Submit Job (SBMJOB) CL command.
-script [<script fileName>] -background [AIX HP-UX Linux Solaris Windows]
Generates a launch script with the startServer command instead of launching the node agent process directly. The launch script name is an optional argument. If you do not supply the launch script name, the default script file name is
  • [Linux] [HP-UX] [Solaris] [AIX] start_node_agent.sh
  • [Windows] start_node_agent.bat
node_agent is the name of the node agent.The -background parameter is an optional parameter that specifies that the script will run in the background when you run it.
-statusport <portNumber>
An optional parameter that allows an administrator to set the port number for node agent status callback. The tool opens this port and waits for status callback from the node agent indicating that the node agent has started. If the parameter is not set, an unused port is automatically allocated.
-trace
[AIX HP-UX Linux Solaris Windows] [z/OS] Generates trace information to the log file for debugging purposes.
[i5/OS] Enables tracing of the native process code that starts the node agent. 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 node initialization times out and returns an error.
-usejobd [i5/OS]
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.

Usage scenario

The following examples demonstrate correct syntax:

[AIX HP-UX Linux Solaris Windows]
startNode 

startNode -script (produces the start_node.bat or .sh file)

startNode -trace (produces additional trace statements in the startnode.log file)
[z/OS]
startNode 

startNode -trace (produces additional trace statements in the startnode.log file)
[i5/OS]
startNode (Starts the node agent process for the default profile.
The default profile must belong to a Network Deployment cell.)

startNode -profileName mynode (Starts the node agent for the mynode profile
which belongs to a Network Deployment cell.)

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




Related tasks
Using command line tools
Reference topic    

Terms of Use | Feedback

Last updated: Feb 25, 2009 9:32:38 AM CST
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.nd.multiplatform.doc/info/ae/ae/rxml_startnode.html