Import TNS Names (TNSNamesImport)

The TNSNamesImport command imports TNS names entries (used in communicating with an Oracle database through ttLoadFromOracle, OCI, Pro*C/C++, or ODP.NET) from the specified file into the tnsnames.ora file for the latest version of the model. This will replace any previously imported TNS names entries.

ttGridAdmin TNSNamesImport filepath

Options

The TNSNamesImport command has the option:

Option Description

filepath

Path and name of the file containing TNS entries to import.

Examples

% ttGridAdmin TNSNamesImport /tmp/tnsnames.ora
TNSNames configuration file /tmp/tnsnames.ora imported

Notes

  • This is the only way to bring TNS names configuration into the grid. Do not manually add or manipulate configuration files.

  • The resulting tnsnames.ora file will be made available across all instances of the grid when you run modelApply.

  • The tnsnames.ora file in the grid always contains entries for all connectables. You can add to that through TNSNamesImport, but you cannot remove entries other than any you have previously imported.