| ODBC4x |
|
| There is no configuration interface for the ProvideX IO Server installed on a UNIX/Linux system. Instead, the server behaviour is controlled via command line arguments and a plain text configuration file (pvxiosvr.conf). For a description of ProvideX UNIX/Linux ODBC Server components and file locations, see ODBC Server Installation (UNIX/Linux). | ||||||||||||||||||||||||||||||||||
| Running the Server | Run
the server from the command line using the following
syntax:
Where:
|
|||||||||||||||||||||||||||||||||
| Other Server Arguments | The
following arguments can also be used with the ProvideX IO
Server executable (pvxiosvr)
at the command line:
|
|||||||||||||||||||||||||||||||||
| Shutting Down the Server | The
ProvideX IO Server records the process ID (pid)
of the server in the pvxiosvr.pid file to assist in
shutting down the server; For Example:
Provided the server can locate the pvxiosvr.pidfile, the running server will be shut down properly; otherwise, an error message will be displayed on standard out. Alternately, the server can be shutdown using a SIGHUP signal; i.e.,
Where pid is the process ID of the ProvideX IO Server, pvxiosvr. |
|||||||||||||||||||||||||||||||||
| Configuration File | The
UNIX/Linux version of the IO Server must have access to
the pvxiosvr.conf file to be configured for use. If this
file cannot be located, the IO Server will attempt to
automatically create one based on the
pvxiosvr.conf.sample file provided with the installation
taz file. If neither of these files can be accessed, then
an error is reported. If the activation key is invalid,
the server will operate in Demo mode. If the port number
is invalid, it will default to 20222. The server checks for three entries in the pvxiosvr.conf file:
|
|||||||||||||||||||||||||||||||||
| Permissions | The
server configuration file allows customizable security
for users and files. Security entries are
case-insensitive except where noted. All the non-alpha
characters, /=[], are part of the security
syntax. The format of a security policy appears as
follows:
Where:
|
|||||||||||||||||||||||||||||||||
The ProvideX IO Server checks access permissions by searching the permission rules from the maximum restriction to the lowest one. It is a method to grant access to specific directories on the server based on a client's User ID and Company Code. If the check for a specific User ID and Company Code fails, then the User ID is substituted with * (any) and the combination for User ID = any with Company Code = specific is checked against the corresponding rule if it is present on the system. The next check is performed for User ID = specific, Company Code = any, and the last check is for User ID = any, Company Code = any. Refer to the following table:
|
||||||||||||||||||||||||||||||||||
| By default, access to all ODBC resources is denied, unless access is granted via a security policy configuration line. | ||||||||||||||||||||||||||||||||||
| *Note* | Access policies are currently kept only by User ID/Company Code, which means that each User ID/Company Code may only have one policy entry. It is not currently possible to specify that a specific User ID/Company Code has read access to one set of entries, and read-write access to a different set of entries. | |||||||||||||||||||||||||||||||||
Sample
Configuration Entries
|
||||||||||||||||||||||||||||||||||
| Automatic Start | In
order to have the ODBC UNIX/Linux server start
automatically it must be set up in the inittab file. Each
inittab entry is position dependent and has the following
format:
Where:
|
|||||||||||||||||||||||||||||||||
The following is an example of an inittab entry for the ProvideX IO Server:
The above example would start the ProvideX IO Server the first time the server booted to run level 2. The configuration file named myOdbc.conf located in /usr/pvxiosvr/would be used to configure the server. Any messages sent to standard out or standard error by the server would be suppressed. If the server stopped for any reason the system will not restart it. |
||||||||||||||||||||||||||||||||||
| *Warning* | Modifications to the inittab/startup scripts on a UNIX/Linux system may cause serious problems. All changes should be performed by qualified personnel. | |||||||||||||||||||||||||||||||||