Executing the configuration script in batch (auto-run)
mode eliminates the need for command-prompt-execution prompting.
About this task
Complete the following procedure to run the configuration
script in batch (auto-run) mode by running the
config.sh script
through a command-prompt:
Procedure
- Log in as a WebSphere® administrator
who has permission to perform the application server configuration.
- Complete one of the following procedures:
- If you are running the application server in a
Network Deployment environment, ensure that the Deployment Manager
and the node agent are running.
- If you are running the application server in a
non-Network Deployment environment, ensure that the instance of the application server that
is being monitored by ITCAM for WebSphere Application Server is
running.
- Run config.sh from a command-prompt. Complete the same procedure you use to run config.sh in
prompt mode, but indicate all the options you want to specify at the
command-prompt (or by exporting the corresponding environment variable
before running config.sh). Be sure to indicate options
that are required for running in batch mode. See Executing the configuration script in prompt mode.
Results
The configuration
script creates a log of all the configuration operations that it performs.
You can review the log for any error conditions, and you might be
requested to provide the log contents to IBM® software
support for problem diagnosis. The log file is called
config.log and
is located in the runtime directory under
config_home,
for example,
/u/itcam72/runtime/config.log.
For
successful configuration, look for messages similar to the following
message:
Successfully configured data collector for server server1
For
a sample of a batch mode script, see
Sample batch mode script