5.2 The Driver Shim Configuration File

The driver shim configuration file /etc/nxdrv.conf controls operation of the driver shim. You can specify the configuration options listed in Table 5-5, one per line. You can also specify these options on the driver shim command line. For details about driver shim command line options, see Section C.3, Driver Shim Command Line Options.

Table 5-5 Driver Shim Configuration File Statements

Option (Short and Long Forms)

Description

-conn <connString>

-connection <connString>

A string with connection options. Enclose the string in double quotes ("). If you specify more than one option, separate the options with spaces.

  • port=<driverShimPort>
  • ca=<Certificate Authority Key File>

-hp <httpPort>

-httpport <httpPort>

Specifies the HTTP services port number. The default HTTP services port number is 8091.

You can connect to this port to view log files. For details, see Section A.1.2, The Trace File and Section A.1.5, The Status Log.

-path <driverPath>

Specifies the path for driver files. The default path is /usr/local/nxdrv.

-sp <password>

-setpassword <password>

Sets the Remote Loader and Driver object passwords.

-t <traceLevel>

-trace <traceLevel>

Sets the level of debug tracing. 0 is no tracing, and 10 is all tracing. For details, see Section A.1.2, The Trace File.

The output file location is specified by the tracefile option.

-tf <fileName>

-tracefile <fileName>

Sets the trace file location.

The default is /usr/local/nxdrv/logs/trace.log.

Example /etc/nxdrv.conf File

-tracefile /usr/local/nxdrv/logs/trace.log
-trace 0
-connection "ca=/usr/local/nxdrv/keys/ca.pem port=8090"
-httpport 8091
-path /usr/local/nxdrv/