tw_tax_export
The tw_tax_export
utility enables you to export taxonomy files so that they can be stored in another location. This utility can be used as an effective troubleshooting tool to check if all your taxonomy overlays worked as you expected, especially if you left old files in place or ordered them incorrectly.
Taxonomy definitions are configured using .xml files that are stored in the following directories:
/usr/tideway/data/installed/taxonomy/
/usr/tideway/data/custom/taxonomy/
The directories are parsed in the order shown (installed files take precedence over custom files), and the files contained in these directories are parsed in alphabetical order (numbers before letters). This order is important, because any taxonomy definitions that are subsquently added override any previously loaded definitions. The standard base taxonomy file is contained in /usr/tideway/data/installed/taxonomy/00taxonomy.xml
.
To use the utility, type the following command at the $TIDEWAY/bin/
directory:
tw_tax_export [options]
where options are any of the options described in the following table and the common command line options described in Using command line utilities.
Command Line Option |
Description |
---|---|
|
(Do Not Use) Specifies the name of the datastore service |
|
Specifies the name of the datastore partition |
|
Specifies the RelationshipKinds to export |
|
Specifies the RoleKinds to export |
|
Specifies to sort names |
|
(Do Not Use) Specifies the name of the taxonomy service |
|
Specifies the name of the BMC Discovery user. If no user is specified, BMC Discovery uses the default, system. |
User example
In the following example, type the commands on a single line. Line breaks are provided to make the example easier to read.
Exporting a taxonomy file
$TIDEWAY/bin/tw_tax_export /usr/tideway/data/installed/taxonomy/00taxonomy.xml
Comments
Log in or register to comment.