REMOTE_SERVER_CFG configuration parameter

Use the REMOTE_SERVER_CFG configuration parameter to specify the file that lists trusted remote hosts.

onconfig.std value
Not set. The system hosts.equiv file is used.
values
File name. The path is assumed to be $INFORMIXDIR/etc. Consider using the following naming convention:
authfile.server_name
The file that is specified by the REMOTE_SERVER_CFG configuration parameter must be in $INFORMIXDIR/etc.
takes effect
After you edit your onconfig file and restart the database server.
When you reset the value dynamically in your onconfig file by running the onmode -wf command.
When you reset the value in memory by running the onmode -wm command.

Usage

For applications that connect to the database server as the root user, the REMOTE_SERVER_CFG configuration parameter is not applicable.

The format of the file that is specified by the REMOTE_SERVER_CFG configuration parameter is the same as the format of the system hosts.equiv file.

If the REMOTE_SERVER_CFG configuration parameter is not set, and you run the SQL administration API task() or admin() function with the cdr add trustedhost argument, the database server performs the following actions:
  1. The REMOTE_SERVER_CFG configuration parameter is set to authfile.DBSERVER.
  2. The authfile.DBSERVER file is created in $INFORMIXDIR/etc.
  3. The specified trusted-host information is added to $INFORMIXDIR/etc/authfile.DBSERVER.
  4. If the database server is part of a high-availability cluster, the trusted-host information is propagated to the trusted-host files of the other cluster servers.
Note: If the sqlhosts file of the database server uses the s=6 option, you must also set the S6_USE_REMOTE_SERVER_CFG configuration parameter to 1 to use the file specified REMOTE_SERVER_CFG configuration parameter. Otherwise, the database server uses the system hosts.equiv file instead of the file specified REMOTE_SERVER_CFG configuration parameter.

Copyright© 2019 HCL Technologies Limited