The tpm ini command automates the creation of ini files from templates and also checks validity of existing ini files
USAGE: tpm ini {subcommand} [args]
Where {subcommand} is one off:
Table 10.26. tpm ini Sub-Commands
| Option | Description |
|---|---|
cat | Launch cat /etc/tungsten/tungsten.ini |
check, c | Check the INI configuration file for validity |
x, e, example | Display example template for a topology |
list, l | Display all possible tpm options and aliases |
find, f | Locate any INI files that tpm would see |
upgrade | Allow you to see what ini changes will be need for an upgrade |
vi, v | Launch vi /etc/tungsten/tungsten.ini |
Where [args] is one off:
Table 10.27. tpm ini Args
| Option | Description |
|---|---|
--bridge, -b | Same as --mode bridge |
--caa | same as --topology caa |
--cap | same as --topology cap |
--daa | same as --topology daa |
--ddg | same as --topology ddg |
--mode, -m | Specify the Connector mode, one of: bridge (default), proxy or smartscale |
--noapi | Disable the REST API (enabled by default) |
--nossl | Disable security (enabled by default) |
--proxy, -p | Same as --mode proxy |
--ro | Set the Connector to Read-Only |
--sites, --qty | Specify the number of clusters/sites |
-s, --smartscale | Same as --mode smartscale |
--std | same as --topology std |
--toplogy, --top | Specify the topology, one of: std, cap, caa, daa, ddg |
Additional [args] when list is specified:
Additional [args] when check is specified:
Table 10.29. tpm ini check Args
| Option | Description |
|---|---|
--dryrun, -n | Do not execute the commands, display only |
--extra, -x | Display additional information |
--long | Display other additional information when available |
--short | Display only broken options with no extra text. If --valid is also specified, then add tags at start of line to identify the option type (VALID/BROKEN) |
--valid | Also display valid INI options at the end |
Additional [args] when upgrade is specified:
Examples:
Check validity of existing ini file:
shell> tpm ini checkShow example ini for a Standard 3-node cluster:
shell> tpm ini example --qty 3 --topology stdShow example ini for a Composite Active/Passive cluster with SSL and API disabled:
shell> tpm ini example --qty 3 --cap --nossl --noapiCheck ini changes required when upgrading:
shell> tpm ini upgrade --ini /etc/tungsten/tungsten.ini --from 6.1.19 --to 8.0.1tpm ini upgrade was introduced in v7.2.1 and v8.0.1.