mildcat 发表于 2013-11-25 18:19:57

Teamcenter BMIDE热部署原理和步骤





Let‘s understand these steps in detail.
1)   Package & Upload template files to FMS volume
a.   In this step the BMIDE client will generate the new version of the template package and upload this
package to FMS volume using a SOA.
2)   Download files to TC_DATA/model from dataset (Applicable from Teamcenter 8.3 onwards)
a.   In this step, we download files from the dataset instead of relying on files residing in TC_DATA/model
folder. For details see section titled ―Storage of TC_DATA/model files in dataset‖
3)   Download template package from FMS volume
a.   In this step, we download the latest version of the template that the BMIDE client uploaded to FMS
volume.
4)   Generate delta.xml
a.   In this step, the delta.xml is generated using the files in TC_DATA/model
i.   Copy model.xml to model_backup.xml
ii.   Copy model_lang.xml to model_backup_lang.xml
iii.   Consolidate template listed in master.xml to model.xml and model_lang.xml
iv.   Load model_backup.xml and model_backup_lang.xml as old model
v.   Load model.xml and model_lang.xml as new model
vi.   Compare and generate delta.xml


b.   Teamcenter 8.3 onwards, if any errors occur during this step, we restore all files in TC_DATA/model
from datasets ( except for model.xml and model_backup.xml)
5)   Update the database with delta.xml using business_model_updater
a.   This is the step where the database is updated with the new data model. The utility
business_model_updater updates the database with the contents delta.xml.
b.   If the update of the database fails, the contents of database will be extracted into model.xml and
model_lang.xml
6)   Generate CLIPS rules, PLMXML schema file using the extracted file
a.   The CLIPS rule file is re-generated if any Condition definitions were updated
b.   The PLMXML XSD is also re-generated
7)   Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards)
a.   Finally the contents of TC_DATA/model folder are uploaded back to datasets to ensure it is in sync
with the database
8)   Upload log files back to FMS volume
a.   All deploy log files are uploaded to the FMS volume
9)   Download log files from FMS volume      
a.   BMIDE client downloads log files to the client after deployment completes.

页: [1]
查看完整版本: Teamcenter BMIDE热部署原理和步骤