4.2 The Driver Shim Configuration File

The driver shim configuration file controls operation of the driver shim. The location and name of the file is dependent on the operating system:

A default configuration file is created at installation time.

You can specify the configuration options listed in Table 4-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 D.2, Driver Shim Command Line Options.

Table 4-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, Driver Status and Diagnostic Files.

-path driverPath

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, Driver Status and Diagnostic Files.

-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, Driver Status and Diagnostic Files.

The output file location is specified by the tracefile option.

-tf fileName

-tracefile fileName

Sets the trace file location.

Windows default file: C:\Progra~1\Novell\WSDriver\logs\trace.log

Linux/UNIX default file: /opt/novell/usdrv/logs/trace.log.

Example Configuration File

-tracefile /opt/novell/usdrv/logs/trace.log
-trace 0
-connection "ca=/opt/novell/usdrv/keys/ca.pem port=8090"
-httpport 8091
-path /opt/novell/usdrv/