
Installation and Initial Configuration 1-11
OnLine Configuration Files
OnLine Configuration Files
You are notlimited to just one configuration file. You can createand manage
multiple OnLine configuration files, and each filecan containa uniqueset of
configuration parameter values. This section explains how multiple configu-
ration files are created and managed.
As part of OnLine 5.x installation, the product software is loaded into the
Informix product directory, specified as the environment variable INFOR-
MIXDIR
. One of the files loaded during installation is tbconfig.std, which is
locatedinthedirectory$INFORMIXDIR/etc.Thetbconfig.stdfilecontainsthe
default values for the configuration parameters and serves as the template
for all other configuration files that you create.
The OnLine environmentvariable TBCONFIG specifies the name of the UNIX
file (which must be located in the directory $INFORMIXDIR/etc) that is read
as input to either the disk-space or shared-memory initialization procedure.
The TBCONFIG environment variable enables you to create and maintain
multiple configuration files, each with different values. As user informix,
youcaninitializeOnLinesharedmemorywithadifferentsetofconfiguration
parameters by resetting the value of TBCONFIG.
The default value of TBCONFIG is defined as tbconfig. When you first load
the OnLine 5.x software, the file tbconfig does not exist. The tbconfig file is
createdfor you the first timethat you initialize OnLine.If youinitialize from
withinDB-Monitor,thetbconfigfilecontainstheparametervaluesenteredas
part of initialization. If you initialize from the command line, using the
OnLine utility tbinit, the tbconfig file contains default values obtained from
tbconfig.std.
You set the value of TBCONFIG when you define the environment variables
as one of your last tasks during installation.
You can modify the configuration file from withinDB-Monitorwhile OnLine
is online. Thechangesyou make arewritten immediately tothefile specified
asTBCONFIG.IfTBCONFIGisnotspecified,OnLinemodifiesthefiletbconfig.
Buteven though thevaluesinthe file change,mostchangesto the parameter
values do not take effect until you reinitialize OnLine shared memory. Until
you take this step, it is possible that the values in the file specified as
TBCONFIG do not match the values in your current, effective configuration.
Komentáře k této Příručce