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
- Open a command prompt.
- Run the following command:
xmlimport.bat premises_hostname xml_config_file_path log_file_name
xmlimport.sh premises_hostname xml_config_file_path log_file_name