|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
7 Z5 `/ V' q5 r, D7 U D4 @; l
% [+ i0 l0 _9 w# N+ A& t+ T
0 m( q, e' F2 |' q
Teamcenter BMIDE热部署原理和步骤
/ }/ \4 b, T! _
Let‘s understand these steps in detail. - s, ~+ d5 L8 `7 K5 H0 u
1) Package & Upload template files to FMS volume # l4 U$ g) D! R$ r: O* H, V
a. In this step the BMIDE client will generate the new version of the template package and upload this 4 B- l( F" Y# E; W* b; L, S0 R
package to FMS volume using a SOA.
; j8 @* {+ n' p+ z7 B r/ H2) Download files to TC_DATA/model from dataset (Applicable from Teamcenter 8.3 onwards) 4 L4 t0 e" M7 _# Y
a. In this step, we download files from the dataset instead of relying on files residing in TC_DATA/model * u9 [! A; W8 y6 {
folder. For details see section titled ―Storage of TC_DATA/model files in dataset‖
. k) G! R# U. c3 S" U4 b( A3) Download template package from FMS volume f" t& p+ w3 n E( x5 c6 n
a. In this step, we download the latest version of the template that the BMIDE client uploaded to FMS
1 v$ |$ [7 H9 ~volume. ' W+ x" T! `7 m* e
4) Generate delta.xml 9 \8 w ?. O+ T* J5 a
a. In this step, the delta.xml is generated using the files in TC_DATA/model & F9 F" d* z4 q s$ v7 C0 f
i. Copy model.xml to model_backup.xml
% I1 I) C7 J: N3 A, b3 ?ii. Copy model_lang.xml to model_backup_lang.xml
: N& k$ Z5 [" f. K3 o Viii. Consolidate template listed in master.xml to model.xml and model_lang.xml - w& j7 q9 y' \) v( I
iv. Load model_backup.xml and model_backup_lang.xml as old model + t" v+ e" B7 y% N- w
v. Load model.xml and model_lang.xml as new model $ X9 `6 ^7 ~. ]
vi. Compare and generate delta.xml 4 L/ L! i' y O5 R( K" a
) X3 V% @& d+ H- p, o0 t, Z
; \) E% S3 I, Qb. Teamcenter 8.3 onwards, if any errors occur during this step, we restore all files in TC_DATA/model + X2 P5 ^2 S6 `7 n; K" g; |" I2 g
from datasets ( except for model.xml and model_backup.xml) # @) o5 f- ^' H5 x* p" H5 q$ _
5) Update the database with delta.xml using business_model_updater
5 b# q' @. H8 }9 M ca. This is the step where the database is updated with the new data model. The utility 9 z7 a$ D) d/ N A% g
business_model_updater updates the database with the contents delta.xml.
# B& |- U) Y8 m sb. If the update of the database fails, the contents of database will be extracted into model.xml and 4 P$ W# X+ s. m& M/ h6 @! @
model_lang.xml
& O# \# O% b* z5 N; s1 x9 D: q6) Generate CLIPS rules, PLMXML schema file using the extracted file 7 Y* F: F6 t1 j
a. The CLIPS rule file is re-generated if any Condition definitions were updated
! C2 `2 u4 d5 O2 b5 Hb. The PLMXML XSD is also re-generated
( D2 d8 v: Q9 | y/ O- q7) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards)
, P) M s$ }' oa. Finally the contents of TC_DATA/model folder are uploaded back to datasets to ensure it is in sync . t, F1 T) u9 _# _9 R
with the database
6 {! [- o3 ]0 o" P' z" [) k. l8) Upload log files back to FMS volume
- E6 [" C* Q5 C7 z2 ?& i: Sa. All deploy log files are uploaded to the FMS volume 9 G' B E8 @+ g; X5 R& u
9) Download log files from FMS volume
; s$ M( g/ ~) C0 g1 Z" F% Ea. BMIDE client downloads log files to the client after deployment completes. 1 J6 Y% H% s: u, i4 U. j5 u
+ K: V% V& q2 [& ]$ ~$ Y4 d |
|