|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
: F) n: J8 Z. ?& ` W4 { W" s$ h
3 s- L6 S1 w9 K; w$ K
Teamcenter BMIDE热部署原理和步骤
# G" q3 S# L0 a& p
Let‘s understand these steps in detail.
' a% ~- F3 l- _; g1) Package & Upload template files to FMS volume
/ N: C q% W; J" q4 C% ^a. In this step the BMIDE client will generate the new version of the template package and upload this 6 G4 p/ H& j! o
package to FMS volume using a SOA.
2 e' e" p! K# O% F! H2) Download files to TC_DATA/model from dataset (Applicable from Teamcenter 8.3 onwards) * s; }" f7 P2 Y- _
a. In this step, we download files from the dataset instead of relying on files residing in TC_DATA/model & m: j$ q; p* l5 K. K
folder. For details see section titled ―Storage of TC_DATA/model files in dataset‖ p! M5 e1 u$ o) l3 \4 J: q& r
3) Download template package from FMS volume
. _3 Z1 I, L1 f7 O$ s' Z+ ha. In this step, we download the latest version of the template that the BMIDE client uploaded to FMS : h+ V' m6 p- H0 E4 O% r
volume.
- b, F, R3 d! a# x/ p3 n. ^! A5 s4) Generate delta.xml
4 {# k" F* g# y7 e) La. In this step, the delta.xml is generated using the files in TC_DATA/model 7 y: F& |! J$ C& }! Q
i. Copy model.xml to model_backup.xml + a* m6 d6 T3 z
ii. Copy model_lang.xml to model_backup_lang.xml
. l$ R. ~% z: O% m! F0 `iii. Consolidate template listed in master.xml to model.xml and model_lang.xml k+ V! ?" v& Z0 o, |
iv. Load model_backup.xml and model_backup_lang.xml as old model % X# u) |- w+ T% P: f4 d/ Z
v. Load model.xml and model_lang.xml as new model
; n* |9 T" n2 s' ]vi. Compare and generate delta.xml
- x) K' Q7 q7 o/ } |1 K, u3 s( a" ?4 j! x! S+ W
7 Q/ d+ Q7 b8 G( d( i1 Hb. Teamcenter 8.3 onwards, if any errors occur during this step, we restore all files in TC_DATA/model
5 _& e: {% p; g9 Wfrom datasets ( except for model.xml and model_backup.xml)
' Q4 t' a# n. f5) Update the database with delta.xml using business_model_updater : q" V' |( S; R. k% f4 ~2 w* l
a. This is the step where the database is updated with the new data model. The utility
" r/ h: ^, A0 J% L, t8 Q" mbusiness_model_updater updates the database with the contents delta.xml.
, E7 ~ i9 Z& M+ D6 o2 }* Cb. If the update of the database fails, the contents of database will be extracted into model.xml and 9 L2 A. P0 P h9 k
model_lang.xml
I8 t+ i* x/ N* Q, X5 w6) Generate CLIPS rules, PLMXML schema file using the extracted file + \0 Q! N6 ^* o5 [# W
a. The CLIPS rule file is re-generated if any Condition definitions were updated : T) a6 s2 B) ?2 `, N- E/ _
b. The PLMXML XSD is also re-generated
( x* P; P$ p$ u7 o7) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards) 2 F2 L7 H3 M4 ]3 w
a. Finally the contents of TC_DATA/model folder are uploaded back to datasets to ensure it is in sync # F0 Z, I7 j1 F9 y9 I1 ~
with the database 3 y9 [6 O: F% E% u3 ?
8) Upload log files back to FMS volume * T( m: @% A4 m+ J" `$ r" n
a. All deploy log files are uploaded to the FMS volume ! E4 o1 J, D4 U+ i, ^- ?5 `! c
9) Download log files from FMS volume 3 F. W3 S4 w1 Y- ?: z
a. BMIDE client downloads log files to the client after deployment completes.
- `: L9 {5 G b. h
5 S# |- Z) h. w {! P+ l; z) s+ c |
|