If you need to change settings, you can use a text editor to modify the interfaces and configuration files without restarting OpenSwitch. This allows you to change OpenSwitch behavior without interrupting user connections.
The interfaces file stores information about the servers in your installation. There is one entry (server name, host name, and port number) for each OpenSwitch server and Adaptive Server in your installation. Verify that all of your servers are listed in the interfaces file and add the information for any missing servers.
When you reconfigure an OpenSwitch server, the existing interfaces file is copied to a backup file and appended with an .001 extension (for example, interfaces.001) and saved in the logs directory. Similarly, the OpenSwitch configuration file is copied to <OpenSwitch ServerName>.cfg.001 and the RCM config file is copied to <OpenSwitch ServerName>_rcm.cfg.001 and saved in the config directory.
The OpenSwitch configuration file <install_directory>/OpenSwitch/ OpenSwitch-15_0/config/<OS_server_name>.cfg contains these sections:
[CONFIG] – defines
OpenSwitch command line and configuration options, which are entered
in this format: NAME=VALUE
Add the following option or modify the existing option in the [CONFIG] section:
RESPONSE_TIMEOUT=3600
Increasing RESPONSE_TIMEOUT to 3600 from the default value of 60 seconds can help query response time and avoid timeout errors.
[SERVER] – defines the settings and status of Adaptive Servers available for use within OpenSwitch. Each remote server includes the following parameters:
SERVER_NAME
identifies
the remote server in the OpenSwitch interfaces file. DEFAULT
sets
the default values for any server not explicitly listed in this
section.
OPTION=VALUE
represent
parameters specific to SERVER_NAME
.
See “Using the Configuration File” in the OpenSwitch
Administration Guide for a list of valid parameters.
[POOL] – defines a group of Adaptive Servers, including any attributes, servers, and connections that the pool serves.
[LIMIT_RESOURCE] – specifies the connections that are candidates for resource governing and which resources to limit.
[COMPANION] – identifies the name of the OpenSwitch companion, and the administrator user name and password used to make a connection.
If you manually edit the OpenSwitch configuration file to change configuration values, you may also need to edit the interfaces UNIX file. See the chapter “Configuring OpenSwitch” in the OpenSwitch 15.0 Installation Guide for more information.