|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
) w2 ~" U5 `6 _# z9 t$ C. x
9 O, d; m7 F6 t2 p0 F# U
/ V- i T3 H, }5 E- W d' h' h
Teamcenter BMIDE热部署原理和步骤
: q2 p+ x* b* t0 J4 ^5 w3 JLet‘s understand these steps in detail.
P: _' T2 }) o5 t3 z) d1) Package & Upload template files to FMS volume 2 z- O8 j" b" ~: \
a. In this step the BMIDE client will generate the new version of the template package and upload this
K- h; |2 b- M& P1 o1 @7 Lpackage to FMS volume using a SOA. ( F4 l* ^5 V7 d1 Q* w
2) Download files to TC_DATA/model from dataset (Applicable from Teamcenter 8.3 onwards) ; {' v2 S! h$ n8 q- b
a. In this step, we download files from the dataset instead of relying on files residing in TC_DATA/model ) H- _1 @+ X; {" s( U4 n4 m6 T
folder. For details see section titled ―Storage of TC_DATA/model files in dataset‖ 8 X1 z& v; i: m7 p; T% d/ }
3) Download template package from FMS volume * W6 z: ?3 [. S0 T
a. In this step, we download the latest version of the template that the BMIDE client uploaded to FMS
+ `2 k. S* ?3 [' L( Ivolume. 8 ]1 {$ J0 D: b( j% X% j
4) Generate delta.xml 3 O9 R8 m, K9 S) o, g2 E
a. In this step, the delta.xml is generated using the files in TC_DATA/model
9 Z; {, X" }) Ni. Copy model.xml to model_backup.xml . [3 T' Q/ r9 s* j
ii. Copy model_lang.xml to model_backup_lang.xml
/ ~* e- \4 {. ~# U$ Biii. Consolidate template listed in master.xml to model.xml and model_lang.xml $ E0 u: [5 t6 z; \: C0 ]! E, D
iv. Load model_backup.xml and model_backup_lang.xml as old model
6 j4 i$ k4 K9 H9 m: @v. Load model.xml and model_lang.xml as new model
8 e5 C0 S4 l2 v9 H) Y& D2 p% Xvi. Compare and generate delta.xml
?! n* O2 G: ?& {8 }% g+ L* O
& ~6 j7 r& ^9 I" h; ?6 I# U- j' B3 R' q" i
b. Teamcenter 8.3 onwards, if any errors occur during this step, we restore all files in TC_DATA/model 5 ^2 y& t$ }" k1 M
from datasets ( except for model.xml and model_backup.xml) , m5 t- Q3 k* P4 g% w
5) Update the database with delta.xml using business_model_updater . g1 P& s* T% {$ p# D
a. This is the step where the database is updated with the new data model. The utility ' @' b- b/ Y% ?; p t: n
business_model_updater updates the database with the contents delta.xml. ( U' ?8 M( K* U5 l. p- M
b. If the update of the database fails, the contents of database will be extracted into model.xml and 1 e- \+ d- f5 z5 j3 n& q( `
model_lang.xml
, n( o v8 S0 l0 F6) Generate CLIPS rules, PLMXML schema file using the extracted file
1 v; u- [) O6 H! xa. The CLIPS rule file is re-generated if any Condition definitions were updated / H- o, Q- l5 X3 X3 f1 _: p
b. The PLMXML XSD is also re-generated ! `2 p; K- k0 G
7) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards)
9 I* w2 R0 F* R7 ta. Finally the contents of TC_DATA/model folder are uploaded back to datasets to ensure it is in sync $ G3 Q: m5 _: [% T
with the database
. F: u3 q |0 q0 Q/ K8) Upload log files back to FMS volume & K8 U6 z4 y* N, j5 ^0 b4 X
a. All deploy log files are uploaded to the FMS volume
+ D3 C' T6 [* K8 e4 ^) f9) Download log files from FMS volume
( t: @8 r: N- d& _$ m2 {1 Ua. BMIDE client downloads log files to the client after deployment completes. ) @# M* T* }5 T
# T0 U0 X+ J9 P+ B! l/ J G |
|