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.25. 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 |
vi , v | Launch vi /etc/tungsten/tungsten.ini |
Where [args] is one off:
Table 10.26. 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.28. 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 |
Examples:
Check validity of existing ini file:
shell> tpm ini check
Show example ini for a Standard 3-node cluster:
shell> tpm ini example --qty 3 --topology std
Show example ini for a Composite Active/Passive cluster with SSL and API disabled:
shell> tpm ini example --qty 3 --cap --nossl --noapi