Import a Sqlnet File (SQLNetImport)

The SQLNetImport command imports sqlnet.ora configuration (used in communicating with an Oracle database through ttLoadFromOracle, OCI, Pro*C/C++, or ODP.NET) from the specified file into the sqlnet.ora file for the latest version of the model. This will be in place of any previously existing sqlnet.ora configuration.

ttGridAdmin SQLNetImport filepath

Note:

Any previous import is overwritten.

Option

The SQLNetImport command has the option:

Option Description

filepath

Path and name of the file containing sqlnet.ora configuration to import.

Examples

% ttGridAdmin SQLNetImport /tmp/sqlnet.ora
SQLNet configuration file /tmp/sqlnet.ora imported

Notes

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

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