/opt/sqdata
/home/<sqdata_user>/sqdata
If an Environment Variable will be used to reference the installation location, the recommended value is: <SQDATA_DIR>
/var/opt/sqdata[/<application>[/<environment>]] or
/home/<sqdata_user>[/<application>[/<environment>]] or simply
/home/sqdata[/<application>[/<environment>]]
If an Environment Variable will be used to reference the location of variable portions of the configuration, the recommended value is: <SQDATA_VAR_DIR>
While only the base variable directory is required and the location of the daemon directory is optional, we recommend the structure described below:
Directories | Description |
---|---|
<SQDATA_VAR_DIR>/daemon | The working directory used by the Daemon that also contains two sub directories. |
<SQDATA_VAR_DIR>/daemon/cfg | A configuration directory that contains two configuration files. |
<SQDATA_VAR_DIR>/daemon/logs | A logs directory, though not required, is suggested to store log files used by the controller daemon. Its suggested location below must match the file locations specified in the Global section of the sqdagents.cfg file created in the section "Setup Controller Daemon" later in this document. |
Additional directories should be created for each Capture agent running on the system. Precisely recommend the structures described below:
Directories | Description |
---|---|
<SQDATA_VAR_DIR>/<type>cdc | The working directory of each capture agent where type might be ORA (Oracle), UDB (Db2/LUW). |
<SQDATA_VAR_DIR>/<type>cdc/data |
A data directory is also required by each Capture agents. Files will be allocated in this directory as needed by the CDCStore Storage Agent when transient data exceeds allocated in-memory storage. The suggested location below must match the "data_path" specified in the Storage agent configuration (.cab file) described in the Capture References. A dedicated File System is required in production with this directory as the "mount point". |
Example:
$ mkdir -p <SQDATA_VAR_DIR>/daemon --mode=775
$ mkdir -p <SQDATA_VAR_DIR>/daemon/cfg --mode=775
$ mkdir -p <SQDATA_VAR_DIR>/daemon/log --mode=775
$ mkdir -p <SQDATA_VAR_DIR>/<type>cdc --mode=775
$ mkdir -p <SQDATA_VAR_DIR>/<type>cdc/data --mode=775