|
The wt.mail.mailhost property in the wt.properties file in the codebase directory must point to a valid SMTP server.
|
Argument
|
Description
|
---|---|
-user=<adminid>
|
User ID of the administrator user.
|
-password=<<adminpassword>
|
Password of the administrator user.
|
-propertyFile=<pathname>
|
Location of the property file of the utility.
|
-vaults=<vault1,vault2,...>
|
Only folders for the specified vaults will be checked. No spaces are allowed in or between the vault names.
Specify ALL to generate report for all main vaults.
|
-folders=<folder1,folder2,...>
|
Only specified folders will be checked. No spaces are allowed in or between the folder names.
|
-replicavaults=<vault1,vault2,...>
|
Only folders for the specified replica vaults will be checked. No spaces are allowed in or between the replica vault names.
Specify ALL to generate report for all replica and cache vaults.
|
-replicafolders=<folder1,folder2,...>
|
Only specified folders will be checked. No spaces are allowed in or between the replica folder names.
|
-onlyExistence
|
Only check and report the existence of files.
|
-onlyReportLatest
|
Report only the latest iteration of iterated documents.
|
-email=[DIRECT_EMAIL,EMAIL_GROUP]
|
Enables mail to specified users. This argument overwrites equivalent properties of the property file. You can use a value of DIRECT_EMAIL, EMAIL_GROUP, or both (comma-separated).
|
-listVaultsFolders
|
Print vault and folder names and then exit.
|
-listRemoteVaultsFolders
|
Print vault and folder names on remote sites and then exit.
|
-listReplicationRules
|
Prints all replication rules that are present on the system. This report is based on the vaults that have replication rules. Results are stored in an HTML file in the Windchill log directory.
|
-listPredictiveRules
|
Prints all predictive rules that are present on the system. This report is based on the vaults that have predictive rules. Results are stored in an HTML file in the Windchill log directory.
|
-usage
|
Print list of valid arguments and then exit.
|
-checkBusinessObject=<businessobject>
|
Prints detailed information about a business object, including the locations where it is stored and has been replicated
|
-checkContentItem=<filename>
|
Prints detailed information about a specific file, including the locations where it is stored and whether it has been replicated.
|
-checkPendingTransfers
|
Prints detailed information about the files in remote sites that have not been transferred yet.
|
-checkReplicationHistory=<remotesite>
|
Prints detailed information about the files in a remote site and the period of time that has been replicated.
|
-sites=<main,site1,site2,...>
|
Folder for the specified sites will be checked in. No spaces are allowed in or between the site names.
|
-threadCount=<thread count>
|
Number of worker threads to run the tool. Default value is 3.
|
-cacheVault
|
Prints detailed information about the files in a cache vault. For that, you must provide name of the cache vault as an input. For multiple cache vaults, provide the names of the vaults separated by comma.
This argument can be used with -checkPendingTransfers argument to list the files in the cache vault, which are pending to sync.
|
-listMissingRulesForBusinessObject
|
Prints the missing vaulting rules for the content that is stored either in the database blob or in the main vault (set as the default target system). This argument generates an HTML report that consists of the following tables:
• Database Blob- Lists all the missing vaulting rules for database.
• Main (Default System Target)- Lists all the missing vaulting rules for main vault that is set as default system target.
|
|
Arguments specified on the command line override property settings in the property file.
|
Argument
|
Description
|
||
---|---|---|---|
-user=<adminid>
|
User ID of the administrator user.
|
||
-password=<adminpassword>
|
Password of the administrator user.
|
||
-fix
|
Operate in repair mode. If you use this argument, you must also specify the -inputFile parameter. If any content files are deleted, a copy of the content file is made in the <WT_HOME>/logs/ContentItems directory.
|
||
-inputFile=<input full path and filename>
|
Use the specified XML file to delete primary content items. The XML file used as an input is the same XML file which was generated by running the tool in the diagnosis mode (which is the default mode). You must update the diagnostic file to change a value of the deleteThisItem field to Y for the content items whose database entries are to be deleted.
|
||
-outputPath=<output pathname>
|
Use the directory path specified in outputPath parameter to save the XML output files.
|
||
-confirmBeforeDelete=<Y/N>
|
Ask user for confirmation before deleting each file. The default value is Y.
|
||
-usage
|
Print list of valid arguments and then exit.
|
|
Modifying the XML file in any other manner may lead to inconsistent results.
|
|
In the WMultiPrimaryDetect tool, logging can be controlled by enabling the logger wt.fv.tools in log4jMethodServer.properties file.
|