Additional Upgrade Manager Commands
Start the Upgrade Manager within a Windchill shell as follows:
Windows
UpgradeManager
UNIX
UpgradeManager.sh
Linux
UpgradeManager.sh
When launching the Upgrade Manager startup script, the following commands can be appended to the Upgrade Manager command for the following purposes:
-compareschema|-cs
Does the Compare Database Schema step only.
-addcustomtypedcolumns|-actc
Adds Custom Typed columns (performs no other changes).
-noui
-noui -unattended -username <SiteAdminUsername> -password <SiteAdminPassword>.
Runs the Upgrade without launching the user interface i.e. unattended mode. Please execute the UpgradePropertyViewer DT on source server. Running the windu writes these properties to <WINDCHILL_HOME>/Upgrade/ReviewedSourceUpgrade.properties. This file can be copied and renamed to <WINDCHILL_HOME>/Upgrade/UpgradePhases/GatherUpgradeProperties/upgradeUser.properties on the target system to pre-populate fields in Upgrade Manager.
Include below properties in upgradeUser.properties for new inputs fields which are introduced in Windchill 12.0.1.0. release and update any other properties if required.
com.ptc.windchill.upgrade.ldapServerHostName=<Source LDAP server host name>
com.ptc.windchill.upgrade.ldapServerPort=<Source LDAP server Port Number>
com.ptc.windchill.upgrade.apacheAdministrativeUsername=<Source LDAP Bind DN>
com.ptc.windchill.upgrade.apacheAdministrativePassword=<Source LDAP Bind DN Password>
com.ptc.windchill.upgrade.sourceEnterpriseAdapter.bindDN=<Source EnterpriseLDAP Bind DN>
com.ptc.windchill.upgrade.apacheEnterprisePassword=<Source EnterpriseLDAP Bind DN Password>
-exportdbhistory <file>
Exports the contents of the database’s install and upgrade history into the specified file.
-importdbhistory <file>
Reads the install and upgrade history from the specified XML file and replaces the database’s history with the information.
這是否有幫助?