|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
( {/ H2 ~# p% P
5 W& T( v$ Z& l y* M5 B. Q x" S( {$ v. l& z K! m$ `
Teamcenter BMIDE热部署原理和步骤
2 X2 Y9 `$ d5 PLet‘s understand these steps in detail.
' ] W7 f- |, V1) Package & Upload template files to FMS volume
, L3 E- f8 v c$ Ka. In this step the BMIDE client will generate the new version of the template package and upload this ( e' l- p( E0 z0 ?, n" X( L2 z0 M6 I- @
package to FMS volume using a SOA.
" S; v n7 M1 n5 A8 ?; ]2) Download files to TC_DATA/model from dataset (Applicable from Teamcenter 8.3 onwards)
- ]2 N8 \' ^# g/ B7 G5 C2 e5 X6 Za. In this step, we download files from the dataset instead of relying on files residing in TC_DATA/model
) @/ m" Z" d1 N/ ?$ |folder. For details see section titled ―Storage of TC_DATA/model files in dataset‖ / L& O9 n8 W! Q( F
3) Download template package from FMS volume
1 ?8 @% h, q0 c2 aa. In this step, we download the latest version of the template that the BMIDE client uploaded to FMS : j0 V# U3 }, c' Z% q7 U+ P9 ]- [
volume. . s2 |7 v6 y" s
4) Generate delta.xml 4 D: @% d# D5 {* j: c+ b' Z
a. In this step, the delta.xml is generated using the files in TC_DATA/model
! Z6 l1 @- v& W$ ii. Copy model.xml to model_backup.xml 4 x( W; B! D0 F. A$ ?' J
ii. Copy model_lang.xml to model_backup_lang.xml
) M- }' c4 k8 ~" Qiii. Consolidate template listed in master.xml to model.xml and model_lang.xml
/ S8 [/ m6 v9 F0 } \iv. Load model_backup.xml and model_backup_lang.xml as old model 6 G7 K+ B; M5 j8 g8 x" v; v5 b3 a7 S
v. Load model.xml and model_lang.xml as new model
1 W5 R/ X8 L( w0 x; t. s' Hvi. Compare and generate delta.xml
4 x0 |; b- X1 x) a! }2 N
7 s& b- k- L; o& H/ q5 V% A7 V* B8 C; j8 ?
b. Teamcenter 8.3 onwards, if any errors occur during this step, we restore all files in TC_DATA/model 3 M) }$ N- v6 R4 N
from datasets ( except for model.xml and model_backup.xml)
8 p4 h& H0 H. F4 A0 j! P5) Update the database with delta.xml using business_model_updater
) n$ P# C# }2 j+ ]6 _4 V2 D5 P2 Ia. This is the step where the database is updated with the new data model. The utility
$ ^9 g! c" q* e# j: p. [. v1 X4 Ubusiness_model_updater updates the database with the contents delta.xml. 0 q2 |6 v8 d" L" {) z% G5 C) C: @
b. If the update of the database fails, the contents of database will be extracted into model.xml and
" T' e) k0 a: O nmodel_lang.xml 5 S- O3 L( c' h% s% D$ [
6) Generate CLIPS rules, PLMXML schema file using the extracted file
+ L, L9 C" `/ ]' Za. The CLIPS rule file is re-generated if any Condition definitions were updated 9 `) j) k) N, \6 R# l# C
b. The PLMXML XSD is also re-generated & {0 h- T( o9 H, K
7) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards) $ |9 P2 E' {. O: G) ?8 k
a. Finally the contents of TC_DATA/model folder are uploaded back to datasets to ensure it is in sync
. z* O, H* ]) L! F8 M" Mwith the database 1 i: T+ A8 `4 v. Y: Z; {
8) Upload log files back to FMS volume ; v0 f6 w# i! x8 A+ q4 U& }
a. All deploy log files are uploaded to the FMS volume % |0 h1 F7 X! B
9) Download log files from FMS volume 1 J8 _* \/ i# w% W% ]$ s/ X. d7 y' v
a. BMIDE client downloads log files to the client after deployment completes.
6 K; @# [ Z: g9 n7 z
( F3 ^( z8 [% r4 y# j! m |
|