DBSERVERNAME configuration parameter
Use the DBSERVERNAME configuration parameter to specify a unique name that you want to associate with the database server. You specify this configuration parameter when you install the database server.
- onconfig.std value
- Not set. A database server name is not defined.
- if not present
- On UNIX™: hostname
On Windows™: ol_hostname
The hostname variable is the name of the host computer. - values
- A database server name that has a maximum length of 128 bytes.The
database server name can be optionally followed by a minus sign and
an integer from 1 - 50 that specifies the number of multiple listener
threads to use for the onimcsoc or onsoctcp protocols.
The default number of listener threads is 1. For example, the following
database server name has four listener threads:
ifxserver-4
. The listener thread number is ignored for other protocols. - takes effect
- After you edit your onconfig file and restart the database server and update the sqlhosts file or registry of each database server. In addition, the INFORMIXSERVER environment variable for all users might need to be changed.
Usage
The database server name is associated with a communication protocol that is specified in the sqlhosts file or registry. If the database server uses multiple communication protocols, define values for database server names with the DBSERVERALIASES configuration parameter.
High-availability cluster servers that use shared-memory connections must also have TCP connection aliases for server-to-server communication. If a high-availability cluster server's DBSERVERNAME is associated with a shared-memory sqlhosts file entry, you must create a TCP alias for the server by setting a DBSERVERALIASES value, setting the HA_ALIAS configuration parameter to the DBSERVERALIASES value, and then creating a TCP sqlhost file entry for the alias.