|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
6 v' \! e2 z1 h$ p Y6 t3 Z' x4 z- c: w' U5 f" j
1 a! U$ S2 Q4 O! L# x: g
Teamcenter BMIDE热部署原理和步骤
9 A2 z8 X# _! S
Let‘s understand these steps in detail. " L: Y: f& b( T7 ]+ Z6 i
1) Package & Upload template files to FMS volume 1 I( H; v4 K- m/ F9 Q" ~4 u& B
a. In this step the BMIDE client will generate the new version of the template package and upload this ; b: H9 y; E) j) D4 K! B4 E6 W: m
package to FMS volume using a SOA. ! r( y" X3 S6 R9 q8 P
2) Download files to TC_DATA/model from dataset (Applicable from Teamcenter 8.3 onwards) . K: N3 w$ U* M6 M) s3 Y
a. In this step, we download files from the dataset instead of relying on files residing in TC_DATA/model # B+ T9 d7 X" u3 E& G, B
folder. For details see section titled ―Storage of TC_DATA/model files in dataset‖
2 w2 R- A* i9 G7 |! g7 U/ i6 C* X3) Download template package from FMS volume 1 n, ^# }, ~0 b* m {* O) W6 @
a. In this step, we download the latest version of the template that the BMIDE client uploaded to FMS
! T! a& e! m, m) e5 nvolume.
@9 L0 }3 i. V. o: b4) Generate delta.xml & e- u" U+ W5 R' Y
a. In this step, the delta.xml is generated using the files in TC_DATA/model
* e: J( h. @) C$ R1 a1 Vi. Copy model.xml to model_backup.xml 0 E; Q. J( _" J* `* d
ii. Copy model_lang.xml to model_backup_lang.xml 4 `' E; { k: h
iii. Consolidate template listed in master.xml to model.xml and model_lang.xml
* T* E+ ^2 @- _. |: A2 ~1 tiv. Load model_backup.xml and model_backup_lang.xml as old model
- K+ `6 ~$ W2 E2 K p% i. vv. Load model.xml and model_lang.xml as new model
; ^1 f* {8 X/ L& vvi. Compare and generate delta.xml
, j0 ? `) N s0 x% j' T) I% y2 u2 B, w) m9 e0 o
! @* y. a7 {0 w! D# lb. Teamcenter 8.3 onwards, if any errors occur during this step, we restore all files in TC_DATA/model
0 Y1 V' S# e4 J$ R1 R* rfrom datasets ( except for model.xml and model_backup.xml)
& H' M, N5 v$ V: D6 y5) Update the database with delta.xml using business_model_updater
# ?- u& V" z }- Da. This is the step where the database is updated with the new data model. The utility
9 w& t! D |$ ebusiness_model_updater updates the database with the contents delta.xml. / N$ G, ^/ {+ d, v8 y6 ~
b. If the update of the database fails, the contents of database will be extracted into model.xml and
$ N5 ~- _ Q9 Q( e0 K) {0 vmodel_lang.xml , i8 X$ W- d+ q( W7 Z+ M
6) Generate CLIPS rules, PLMXML schema file using the extracted file 4 `0 X X" D# ^
a. The CLIPS rule file is re-generated if any Condition definitions were updated
4 ~3 ]6 n. u- @* \' x7 `' q6 sb. The PLMXML XSD is also re-generated
5 D1 W$ b+ H! `0 r: c7) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards)
9 g7 t0 D/ ]) N9 H& na. Finally the contents of TC_DATA/model folder are uploaded back to datasets to ensure it is in sync
# y: x# D' \. W' b. z) Hwith the database
: p' V5 M5 Y, {" o7 C& F2 @8) Upload log files back to FMS volume - T3 M; p* u. o+ h6 k9 ]) C
a. All deploy log files are uploaded to the FMS volume * Z5 h; D E! `$ e& O. A- }
9) Download log files from FMS volume - D6 N5 V% o. A" a
a. BMIDE client downloads log files to the client after deployment completes. ' x' T" [/ d! Q/ o, e$ C
* z' _/ Z/ @, o& V) @4 h" B2 O
|
|