The startNode command reads the configuration file for the
node agent process and constructs a launch command.
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.
- -help
- Prints a usage statement.
- -logfile <fileName>
- 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.
- -quiet
- Suppresses the progress information that the startNode command
prints in normal mode.
- -replacelog
- Replaces the log file instead of appending to the current log.
- -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
- Generates trace information to the log file for debugging
purposes.
- -timeout <seconds>
- Specifies the waiting time before node initialization times out and returns
an error.
Usage scenario
The following examples demonstrate
correct syntax:
startNode
startNode -trace (produces additional trace statements in the startnode.log file)