Administrator Guide : Configuring solidDB® : Setting environment variables specific to solidDB®
  
Setting environment variables specific to solidDB®
The environment variables specific to solidDB® enable you to define default settings, for example, for the location of solid.ini file, license files, and trace files.
About this task
The solidDB®-specific environment variables are listed in the following table:
Environment variable
Purpose
Example
SOLAPPINFO
Identifies applications running in the same computer and under the same username for the purposes of tracing and management.
SOLAPPINFO is set on the client node. The ADMIN COMMAND 'userlist' returns the value of SOLAPPINFO on the server side.The value of SOLAPPINFO must not contain blanks. Tip: In JDBC environments, the SOLAPPINFO can be set with the connection property solid_appinfo.
Alternatively, you can use this Java command line to pass the value of the environmental variable to the driver:
java -Dsolid_appinfo=%SOLAPPINFO% java_program_name
export SOLAPPINFOtestapp
SOLIDDIR
Defines the default directory for solid.ini and license files.
export SOLIDDIR=/home/ soliddb/settings/
SOLSMASTART
Forces the start address space for the SMA server to the solidDB® default.
The value depends on the operating system; see “SOLSMASTART default address spaces” in the solidDB® Shared Memory Access and Linked Library Access User Guide for more details.
export SOLSMASTART=0x2c0000000000
SOLTRACE
Turns on the Network trace facility, overriding the Com.Trace setting in the solid.ini file
export SOLTRACE=yes
SOLTRACEFILE
Defines the name and location of the file where trace information is output, overriding the Com.TraceFile setting in the solid.ini file.
Defining the SOLTRACEFILE environment variable automatically turns on the Network trace facility.
export SOLTRACEFILE=/home/ soliddb/settings/trace.out
Procedure
In Linux and UNIX environments, use following command:
export environment_variable=value
In Windows environments, use following command:
set environment_variable=value
See also
Configuring solidDB®