|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
( b5 K3 B. M T
" S5 S% y) I: k+ z' G Q$ L1 `* N" F3 P; F- Q
Teamcenter BMIDE热部署原理和步骤
) w- q& D; U" ^4 l' _" vLet‘s understand these steps in detail. : T$ M: q# L& ]' M+ S
1) Package & Upload template files to FMS volume
5 w5 ?3 [2 ~' s- Y) K+ t2 pa. In this step the BMIDE client will generate the new version of the template package and upload this
/ _4 @/ e% J+ l6 u. S6 lpackage to FMS volume using a SOA. , l! N$ G& N' p5 T8 m' O
2) Download files to TC_DATA/model from dataset (Applicable from Teamcenter 8.3 onwards) * b9 P; G; v% u" F
a. In this step, we download files from the dataset instead of relying on files residing in TC_DATA/model
# k+ }0 S0 S9 E' Yfolder. For details see section titled ―Storage of TC_DATA/model files in dataset‖ % q( w" T6 w0 H2 x
3) Download template package from FMS volume # f. T; y" V* j. A: C1 Z/ @2 W
a. In this step, we download the latest version of the template that the BMIDE client uploaded to FMS " p$ ?' \8 Q' Y, t9 L1 O" n
volume.
7 {: T1 f4 y* q+ K4) Generate delta.xml # W9 k! } z- F+ i) X7 E
a. In this step, the delta.xml is generated using the files in TC_DATA/model & C& h, V; C: X" R1 E6 j! f# i! J3 F
i. Copy model.xml to model_backup.xml 2 q5 Z& S1 \5 g* k! W+ y. J
ii. Copy model_lang.xml to model_backup_lang.xml
, R) w9 W: M1 F) W+ e. e7 liii. Consolidate template listed in master.xml to model.xml and model_lang.xml : J+ V0 D" M. B% j8 U4 t+ o' l
iv. Load model_backup.xml and model_backup_lang.xml as old model
. I$ ?& u- _$ F8 _/ [, @v. Load model.xml and model_lang.xml as new model 7 h+ f- |* z& J1 A& G. g: x
vi. Compare and generate delta.xml
) ^0 [" F2 j( Z7 o
3 h) }3 W" g- `7 @# [( i# {+ u) g6 K& [' J( e' H8 b2 o: r
b. Teamcenter 8.3 onwards, if any errors occur during this step, we restore all files in TC_DATA/model
& n3 e c2 v$ G( P2 `. ifrom datasets ( except for model.xml and model_backup.xml) ) B' C. F1 z# z+ F; t% }$ ?
5) Update the database with delta.xml using business_model_updater ; X& @% _8 R$ x8 G7 U! B" f& r& j
a. This is the step where the database is updated with the new data model. The utility
# J0 [9 o+ h0 }0 Hbusiness_model_updater updates the database with the contents delta.xml.
5 q2 e5 l0 c2 ]9 J2 y( bb. If the update of the database fails, the contents of database will be extracted into model.xml and , ~5 U% z' H$ P* A9 i
model_lang.xml
l5 \8 y9 C' `( ^6) Generate CLIPS rules, PLMXML schema file using the extracted file
8 t7 Q5 M" k, f2 X: \9 r3 pa. The CLIPS rule file is re-generated if any Condition definitions were updated
+ m* R, J: y4 o3 m5 qb. The PLMXML XSD is also re-generated
2 { Q- P$ Y4 q/ f7) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards)
: O; Z7 {8 D" k1 I6 U6 N3 n/ oa. Finally the contents of TC_DATA/model folder are uploaded back to datasets to ensure it is in sync 2 u4 n; s/ Y- S! R3 }; s
with the database " [! ?" `& y- `$ i% Z+ X
8) Upload log files back to FMS volume
+ C; v0 U5 C7 J/ B' c* ka. All deploy log files are uploaded to the FMS volume 5 v1 z0 T' z! C+ O$ c
9) Download log files from FMS volume ; l7 T8 m' h' x! @3 O
a. BMIDE client downloads log files to the client after deployment completes.
1 ~0 I, n% `2 ]
# i) K& P0 A2 _2 F7 D |
|