The settings to be specified in the SDP server definition files include the JavaVM start options for executing the SDP server and adaptors, SDP server port number, and details of API trace information and tuple logs to be collected. The properties of query groups and streams are also specified.
The required files depend on the mode of connection between adaptors and SDP server and the units of property settings. The table below shows whether or not each SDP server definition file needs to be created.
Table 3-3 Whether or not the SDP server definition files need to be created
No. | SDP server definition file | Whether or not necessary to create | |
---|---|---|---|
1 | JavaVM options file for SDP servers (jvm_options.cfg) | Y | You must create this file for each working directory. Specify in this file the JavaVM options for running the SDP server. Note that in-process-connection adaptors operate according to the options specified in this file. |
2 | JavaVM options file for RMI connections (jvm_client_options.cfg) | O | If you use the RMI connection mode, you must create this file for each working directory or each adaptor. Specify in this file the JavaVM options for running the RMI-connection adaptors. |
3 | System configuration property file (system_config.properties) | Y | You must create this file for each working directory. Specify in this file such settings as the port number used by the SDP server and the details of API trace information and tuple logs to be collected. |
4 | Query group property file | Y | You must create this file for each query group. Specify in this file the paths of the query definition files and the tuning parameters used for executing the query group. |
5 | Stream property file | O | If you wish to specify tuning parameters for a stream in a query group, you must create this file for that stream. If you do not create this file, the settings in the query group property file are used. |
6 | In-process connection property file (user_app.adaptor-group-name-or-adaptor-name.properties) | O | When you use in-process connection, you must create this file for each adaptor group if you use the standard adaptors, and for each adaptor if you use custom adaptors. Specify in this file the class names of the in-process connection adaptors and the paths of the jar files. |
7 | Log file output property file (logger.properties) | O | You must create this file for each working directory. If you do not create this file, the default values are used. Specify in this file the numbers and sizes of message logs and trace logs. |
For details about the SDP server definition files, see 8. SDP Server Definition Files.