|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
" s* c w0 J1 X& o! l; V5 E0 ~4 T& K0 X) K% g1 S
$ T: b. I1 R, w# h* a7 n) i1 a% C5 _
Teamcenter BMIDE热部署原理和步骤
5 `- B* h3 K1 i2 {7 uLet‘s understand these steps in detail.
5 w6 q- y# |: W1) Package & Upload template files to FMS volume : ]7 E0 j" `5 S, O: E
a. In this step the BMIDE client will generate the new version of the template package and upload this : h9 r7 o. W4 ~- j4 [) n
package to FMS volume using a SOA. 6 v2 k) i7 ^9 e
2) Download files to TC_DATA/model from dataset (Applicable from Teamcenter 8.3 onwards) $ @( Q Q [2 `/ r/ s+ o
a. In this step, we download files from the dataset instead of relying on files residing in TC_DATA/model : h8 _, f7 M3 E O7 Q
folder. For details see section titled ―Storage of TC_DATA/model files in dataset‖ ! s2 W) ]! b: d# N, F
3) Download template package from FMS volume $ z6 a8 c6 l" g
a. In this step, we download the latest version of the template that the BMIDE client uploaded to FMS
) e) l# [8 {8 [. o; _volume.
9 e: n& |& I+ J# _ S; @7 S( `4) Generate delta.xml . w4 |' J3 W$ o/ ^. i4 G$ V
a. In this step, the delta.xml is generated using the files in TC_DATA/model 0 T) c! l3 G' z T& n0 H
i. Copy model.xml to model_backup.xml 6 T; e- Z& v3 s h' @
ii. Copy model_lang.xml to model_backup_lang.xml / u; `2 f0 {3 r: p
iii. Consolidate template listed in master.xml to model.xml and model_lang.xml ; [4 M* w- M. S- C0 c7 H$ x
iv. Load model_backup.xml and model_backup_lang.xml as old model # g6 c7 x0 m. L2 w' f
v. Load model.xml and model_lang.xml as new model ; U& V0 c& I- E, G% A
vi. Compare and generate delta.xml 8 d2 ? g9 a5 K+ c4 r; _ j
: F+ L+ |# H% b3 P- J) t x% }
3 b, |: g% O. [+ kb. Teamcenter 8.3 onwards, if any errors occur during this step, we restore all files in TC_DATA/model ) L4 y9 E9 x( E4 A/ H
from datasets ( except for model.xml and model_backup.xml)
3 Y/ n7 o2 Z& C! v5) Update the database with delta.xml using business_model_updater
2 v* w7 e3 a) O/ W! z6 S* \! w* Ia. This is the step where the database is updated with the new data model. The utility
' h5 n4 N a3 t# [business_model_updater updates the database with the contents delta.xml.
S/ {2 I1 U$ O( ^$ _; b) eb. If the update of the database fails, the contents of database will be extracted into model.xml and % y" ~- i1 ]1 t" ^4 x
model_lang.xml
. [/ W- T" H( S J" R1 x- Y, {6) Generate CLIPS rules, PLMXML schema file using the extracted file
: k9 k( Z N2 ?a. The CLIPS rule file is re-generated if any Condition definitions were updated
0 X9 O: Q. D( Y. I& ]b. The PLMXML XSD is also re-generated 9 D( K9 B I( |9 h3 c1 s3 B
7) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards)
3 W0 e" w9 f. P8 C: G, P, J" P6 Na. Finally the contents of TC_DATA/model folder are uploaded back to datasets to ensure it is in sync
$ Y% C; O0 D2 Bwith the database
& m$ P2 d9 x0 c8) Upload log files back to FMS volume
: [. m6 o+ r0 K, P, G* Wa. All deploy log files are uploaded to the FMS volume
% u$ E5 ]3 {2 b' e0 | I9) Download log files from FMS volume
! c- U0 c/ E( s: Xa. BMIDE client downloads log files to the client after deployment completes.
' l; ~ g0 l3 d$ @ ?+ b9 F
' q1 m. |4 d+ g- @0 x* s |
|