WebSphere brand IBM WebSphere Sensor Events, Version 6.2

Importing the XML configuration file using a command line

This topic describes how to use a command line utility to import the XML configuration file that configures the server.

About this task

The following parameters are defined for the command line utility:

premises_hostname
The host name of the target WebSphere® Sensor Events server with the port number. If a port number is not specified, 9080 is used as the default. This argument is required. For example, the value for premises_hostname could be set to: http://yourcompany.com:9080
xml_config_file_path
The fully qualified path name of the XML configuration file. This argument is required. For example, the value for xml_config_file_path could be set to: C:\\temp\\config.xml
log_file_name
The full path and file name for the file used to log messages. This argument is optional. If used, new messages will be added to the file. If the file does not exist, it will be created. If the log file is not specified, messages will be written to the console. For example, the value for log_file_name could be set to: C:\\temp\\import.log
Procedure
  1. Open a command prompt.
  2. Run the following command:
    • Windows xmlimport.bat premises_hostname xml_config_file_path log_file_name
    • Linux xmlimport.sh premises_hostname xml_config_file_path log_file_name

Library | Support | Terms of use

(c) Copyright IBM Corporation 2004, 2009. All rights reserved.
U.S. Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.