Directory Locations and Configuration
On each host within the deployment you must pick, and configure, a number of directories to be used by Tungsten, as follows:
/tmpDirectoryThe
/tmpdirectory must be accessible and executable, as it is the location where some software will be extracted and executed during installation and setup. The directory must be writable by thetungstenuser.On some systems, the
/tmpfilesystem is mounted as a separate filesystem and explicitly configured to be non-executable (using thenoexecfilesystem option). Check the output from themountcommand.Installation Directory
Tungsten needs to be installed in a specific directory. The recommended solution is to use
/opt/continuent. This information will be required when you configure the software.The directory should be created, and the owner and permissions set for the configured user:
shell> sudo mkdir /opt/continuentshell> sudo chown -R tungsten: /opt/continuentshell> sudo chmod 700 /opt/continuentIf you are installing a separate Tungsten Replicator installation alongside Tungsten Clustering, then the recommended directory for this additional installation is
/opt/replicatorSoftware Staging Directory
The staging directory is where you download and store the installation packages and from where you first install the software, or issue updates/upgrades. The recommended solution is to use
[INSTALL_DIR]/software, for example:shell> sudo mkdir /opt/continuent/softwareshell> sudo chown -R tungsten: /opt/continuentThe directory should be created, and the owner and permissions set for the configured user.
Configuration File Directory
It is recommended to create a directory for the configuration file (
tungsten.ini) The recommended solution is to use/etc/tungsten.The directory should be created, and the owner and permissions set for the configured user:
shell> sudo mkdir /etc/tungstenshell> sudo chown -R tungsten: /etc/tungstenHome Directory
The home directory of the
tungstenuser must be writable by that user.THL Directory
By default, THL files will be stored within the
[INSTALL_DIR]/thldirectory and this is usually suitable for most installations, however for high workload systems, it would be advisable to create a dedicated filesystem mount point and path for THL. Ensure this directory is created with the same ownership permissions as the Installation Directory.WarningIt is strongly advised to NOT store THL files on the same disk partition as the MySQL Binary Logs to avoid unnecessary I/O contention