10.4.1. Creating an INI file
When using an INI configuration, installation and updates will still be
done using the tpm command. Instead of providing
configuration information on the command line, the tpm
command will look for an INI file at
/etc/tungsten/tungsten.ini. The file must be readable
by the tungsten system user.
In Tungsten Replicator 3.0 and later, tpm will
automatically search all INI files within the
/etc/tungsten and current directories. An alternative
directory can be searched using
option to tpm.
Here is an example of a
tungsten.ini file that would
setup a simple dataservice.
The property names in the INI file are the same as what is used on the
command line. Simply remove the leading
-- characters and add it to the
proper section. Each section in the INI file replaces a single
tpm configure call. The section name inside of the
square brackets is used as the service name. In the case of the
[defaults] section, this will act
like the tpm configure defaults command.
Include any host-specific options in the appropriate section. This
configuration will only apply to the local server, so there is no need to
put host-specific settings in a different section.