DBNet System Configuration


The dbn_config file controls the run-time parameters fo DBNet. The primary purpose for these parameters is system tuning. All parameters have default values that should provide a reasonable starting point. The table below describes each parameter in detail.

Variable Name

Meaning

Default Value

$dbn_root_dir

Define the location where DBNet was installed. Set during Installation.

 

$include_dir

Where the include files are stored.

$dbn_root_dir/include

$bin_dir

The location of the executable programs used by DBNet $dbn_root_dir/bin.

 

$log_dir

The location of DBNet log files.

$dbn_root_dir/log

$tbl_dir

The location of DBNet configuration/ operating tables.

$dbn_root_dir/table

$tmp_dir

DBNet temporary files.

$dbn_root_dir/tmp

$err_dir

DBNet data/commond files that are incorrect.

$dbn_root_dir/err

$pending_dir

The location of data being ingested into the local DBNet from a remote DBNet.

$dbn_root_dir/pending

$foreign_dir

The location DBNet will loko at for foreign ALERT messages.

$dbn_root_dir/foreign

$hostaddr

The IP address of the local host Should not be modified.

Retreived from operating system at run time

$noop

The value of the noop field in ALERT messages.

noop

$parsing_table

The name of the parsing table file.

$tbl_dir/parsing.tbl

$dbnet_que

The location of the DBNet queue.

$dbn_root_dir/dbnet_que

$data

The location of DBNet data files.

$dbn_root_dir/data

$quecmd

The quecmd delimiter in the parsing table.

"QUECMD"

$parsing_table_cache_time

No longer used.

 

@dbn_start_components

Not used.

 

$cleancmd

Internal name of clean up program Should not be changed.

"Cleanup"

$clean_prog

Name of clean up program.

"perl ${bin_dir}/dbn_clean.pl"

$clean_table

Clean up control table.

"${tbl_dir}/cleanlist"

$files_to_keep

No longer used.

 

$dupcheck

Toggle to enable/disable file size checking for ftp transfers.

1

umask

Set the default umask for DBNet.

002

$file_scan_time

Number of seconds between file scans.

600

$scan_table_completed

Internal file used to list the names of the files that have already been scanned.

"${tmp_dir}/completelist"

$scan_table_current

Internal file used to list the names of the files currently being monitored.

"${tmp_dir}/currentlist"

$scan_table

Name of the table listing the files to scan for.

"${tbl_dir}/scanlist"

$ftpget

Filename prefix and parsing table delimiter for FTPGET operations Should not be changed.

"FTPGET"

$FTPGET

Name of the program used for FTPGET processing.

"${bin_dir}/ftpget.pl"

$alert

Filename prefix and delimter parsing table for ALERT messages, Should not be changed.

"ALERT"

$bufr

Filename prefix and parsing table delimter for BUFR messages, Should not be changed.

"BUFR"

$bufr_scan_time

Number of seconds between bufr scans.

2

$bufr_tolerance

 

2

$bufr_max_idle_time

 

0

$async_device

No longer used.

 

$async_prefix_path

No longer used.

 

$async_cache_time

No longer used.

 

$async_device_settings

No longer used.

 

$async_ingest_time

No longer used.

 

$use_x224_bytecount

No longer used.

 

$X224

Filename prefix and parsing table delimiter for X224 data. Should not be changed.

"X224"

$pqing

Not used.

 

$cmdlnpq

Not used.

 

$feedtype

Not used.

 

$ldm

Not used.

 

$clnt

Filename prefix and parsing table delimiter for CLNT commands.

CLNT

$IFC

Name of IFC program.

"${bin_dir}/IFCP"

$IFS

Name of IFS program, Not used.

"${bin_dir}/IFSP"

$exec

Filename prefix and parsing table delimiter for EXEC commands.

"EXEC"

$pipe

Filename prefix and parsing table delimiter for PIPE commands.

"PIPE"

$dproc

Filename prefix and parsing table delimiter for DPROC commands.

"DPROC"

$group

Filename prefix and parsing table delimiter for GROUP commands.

"GROUP"

$qh

Internal name for queue handler Should not be changed.

"QH"

$qh_scan_time

Number of seconds between queue scans.

2

$qh_max_process

Maximum number of processes DBNet will spawn.

32

$qh_all

Should not be changed.

"ALL"

$qh_auto_restart

No longer used.

$logfilestpkeep

No Longer used.

 

$logfile

Name of log files ( append the date will be to this for the complete name ).

${log_dir}/dbnet.log"

$verbose

Toggle for log messages being displayed on the terminal.

1

$debug

Debug level used to generate messages.

2

%async_device_table

A whole lot of stuff Async device parameters, used by dbn_async, dbn_x224.

 

See Also