Creating a password file for connecting to database servers on untrusted networks
If a client, Connection Manager, or any of the database servers that a Connection Manager connects to are on an untrusted network, you can create encrypted password files to verify connection requests.
About this task
In certain situations, an encrypted password file is required for trusted network environments, such as when a local system account attempts to connect to a database server in a high-availability cluster or Enterprise Replication domain, or when the user ID does not exist on a database server. The password file provides the correct system-level access, so that a local system account or a Windows™ account can connect directly to a remote server.
The password file has separate entries for the
following items:
- Each Enterprise Replication group
- Each High-availability cluster group
- Each High-availability cluster server
- Each Enterprise Replication server that is in a group that is also configured for high-availability
- Each database server's alternative server alias, if the database server is using a secure port for communication
A password file entry contains the following information:
- The name of an alternative server to connect to if a connection
cannot be made to the listed server or group. For example, alternative_server_name is
used when server_or_group_name uses a secure port,
as specified by the
s=6
option in an sqlhosts file entry. - The user ID for a database server or the database servers in a
group. User IDs must have the following privileges:
- Permission to connect to the sysadmin database
- CONNECT permission on the remote servers
- On UNIX™ operating systems, membership in the group informix DBSA group
- On Windows operating systems, membership in the Informix-Admin DBSA group
- The password for a server