|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
; Y1 j8 }2 M+ _
9 I+ |/ M$ y3 G
' G, x, x. X" z7 k& j6 @" N
Teamcenter BMIDE热部署原理和步骤
5 f8 |$ w* b. h2 u" V; N% wLet‘s understand these steps in detail.
4 w5 T* j8 R: q7 y1) Package & Upload template files to FMS volume
/ P5 L8 M) A5 i5 p G9 o4 Q) T, \ aa. In this step the BMIDE client will generate the new version of the template package and upload this
, z9 X5 [9 r! ~package to FMS volume using a SOA.
0 i6 `0 k6 S! a0 J( [2) Download files to TC_DATA/model from dataset (Applicable from Teamcenter 8.3 onwards)
* l% L1 j& P. c; e$ n: }a. In this step, we download files from the dataset instead of relying on files residing in TC_DATA/model
( a$ Z0 c3 f; C( hfolder. For details see section titled ―Storage of TC_DATA/model files in dataset‖
9 i4 h2 D0 _9 T V3) Download template package from FMS volume ' X- H" K n% y8 A6 `
a. In this step, we download the latest version of the template that the BMIDE client uploaded to FMS f4 o4 v2 X' u8 S. L& S6 Q
volume.
: U6 [- E: ^; ]6 R: X* V9 L0 ^4) Generate delta.xml
& u& O/ W( T c, v8 Da. In this step, the delta.xml is generated using the files in TC_DATA/model
7 Y4 S% E! |) ]: {i. Copy model.xml to model_backup.xml 1 ~4 d& i" e* J9 ~
ii. Copy model_lang.xml to model_backup_lang.xml
9 V5 y3 D& [& z: Kiii. Consolidate template listed in master.xml to model.xml and model_lang.xml ' ^. N4 O1 R; B
iv. Load model_backup.xml and model_backup_lang.xml as old model 7 f; C5 q1 {! v- l( ~
v. Load model.xml and model_lang.xml as new model
/ ]! B% @ ~- Q k3 jvi. Compare and generate delta.xml
/ k6 B [5 b4 N) ^( I, n
6 f; D- k2 ~# `) c$ }8 i, [+ m
; U2 ~$ x# \ |9 p0 xb. Teamcenter 8.3 onwards, if any errors occur during this step, we restore all files in TC_DATA/model # W* a q3 {, `* F6 H- X
from datasets ( except for model.xml and model_backup.xml)
5 d& i0 W* h- K) d3 i7 b5) Update the database with delta.xml using business_model_updater
& y: p8 k7 P" U: r; P) Ea. This is the step where the database is updated with the new data model. The utility 5 h. F, _! U, U, j w
business_model_updater updates the database with the contents delta.xml. / W) ~( r+ \0 _! k; Q G6 c
b. If the update of the database fails, the contents of database will be extracted into model.xml and 9 T3 ?) [) n. n7 [$ |4 l+ }
model_lang.xml 4 u0 G+ L2 _7 s, a2 `+ V7 ~
6) Generate CLIPS rules, PLMXML schema file using the extracted file
7 ]/ X4 a# P" E" oa. The CLIPS rule file is re-generated if any Condition definitions were updated + N: l9 h5 M ?* N; F
b. The PLMXML XSD is also re-generated : E* @9 D- [6 o+ [
7) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards) 7 I- l, `; ]% B4 V+ ^) C' N
a. Finally the contents of TC_DATA/model folder are uploaded back to datasets to ensure it is in sync
4 p6 h' R0 o5 X; Lwith the database
; W7 }- X1 R- ^; @8) Upload log files back to FMS volume $ i; a: ^5 P7 |( U
a. All deploy log files are uploaded to the FMS volume q/ d8 r3 V( q) w: Y4 `4 j
9) Download log files from FMS volume 6 U' ^$ ~/ O( {1 U; F
a. BMIDE client downloads log files to the client after deployment completes. ! N( D- w/ q) Q6 D. E
0 ?& l* Y# R& F8 R8 i' A |
|