Migrating Customized Security Labels
The existing customization information for security labels is stored in the accessModelRB.rbinfo file within the wtCustom/wt/access folder and the existing security label values arestored in the enumeration-specific RBINFO files within thewtCustomfolder. These customized security labels and security label values must be migrated from the RBINFO files to the database so that you can access and customize them using the Security Label Administration and Customize Modeled Enumerations utilities respectively.
Before proceeding with the migration, copy the wtCustom folder from source to the target system.
To migrate customized security labels, run the following command in the Windchill shell:
windchill com.ptc.core.lwc.server.SecurityLabelCustomizationMigrator -u <userName> -p <password>
To migrate customized security label values, run the following command in the Windchill shell:
windchill com.ptc.core.lwc.server.EnumeratedTypeCustomizationMigrator -u <userName> -p <password>
For help, run the tool with -h parameter.
On execution, the system backs up custom files. The location of the backup folder is displayed in the command line. If you find an issue with the migrated data, access the backed up files for troubleshooting.
After the migration, the RBINFO files stored within the wtCustom folder are removed. A log file is generated in the Windchill/logs folder with details about the data that was migrated.
You can verify the migrated security labels and security label values in the Security Label Administration and Customize Modeled Enumerations utilities respectively.
Use the BAC utility to export these security labels and security label values as a CCD package. For more information, see the “Workflow” section in Deploying Code and Configuration Package.
Was this helpful?