|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
9 ?4 q& c2 W0 m. a. Q0 c5 H
/ H. Z; V9 t7 D0 m
7 ?( p! y* Q/ C( ]
Teamcenter BMIDE热部署原理和步骤
! y9 b# q/ d4 O5 ?
Let‘s understand these steps in detail.
3 p$ L* A* ?/ C/ m! ]' @" a: k1) Package & Upload template files to FMS volume
5 K8 e4 B: v. Ka. In this step the BMIDE client will generate the new version of the template package and upload this ' P1 E5 l1 z% h9 ^ R
package to FMS volume using a SOA. # I# p; b2 z v, a! L
2) Download files to TC_DATA/model from dataset (Applicable from Teamcenter 8.3 onwards) & N& N( \6 B$ X" n- M" Q
a. In this step, we download files from the dataset instead of relying on files residing in TC_DATA/model
+ m$ i7 ]& a# T6 X' i* l* [folder. For details see section titled ―Storage of TC_DATA/model files in dataset‖
3 a7 m$ r8 J2 Z$ q$ @5 X3) Download template package from FMS volume
g" ?- R# \8 Ia. In this step, we download the latest version of the template that the BMIDE client uploaded to FMS ' F# u- A8 S9 S8 G7 K- ?; g- @
volume.
. O5 u1 n* m/ w1 C! c( T, |4) Generate delta.xml ( G4 {0 L1 g! }2 I, b/ d$ z3 w0 i3 H
a. In this step, the delta.xml is generated using the files in TC_DATA/model
A: B& D9 ~+ U8 \i. Copy model.xml to model_backup.xml
+ ~3 w% a8 M+ X! Z1 Rii. Copy model_lang.xml to model_backup_lang.xml 5 b' K6 d( C4 G! @! ]
iii. Consolidate template listed in master.xml to model.xml and model_lang.xml u' E$ }9 S" [+ m. T& ^, c
iv. Load model_backup.xml and model_backup_lang.xml as old model 9 t5 }1 y/ s! ?9 ^, d2 L% d/ ~
v. Load model.xml and model_lang.xml as new model " w, ~2 I3 M) b6 s. R3 |
vi. Compare and generate delta.xml
5 R- C9 t1 i' Z6 }' X/ B; C' L" \2 j3 A5 Q7 b1 W
- j- i) S, I( R7 L$ R. }) }b. Teamcenter 8.3 onwards, if any errors occur during this step, we restore all files in TC_DATA/model % ?: L+ D" k/ z- ?) C/ c
from datasets ( except for model.xml and model_backup.xml)
, o& o$ E" F7 @, v5) Update the database with delta.xml using business_model_updater
4 g" A/ [( D( Sa. This is the step where the database is updated with the new data model. The utility " M, q4 [3 I" Y& G }
business_model_updater updates the database with the contents delta.xml.
. p' h4 T$ {; k. Wb. If the update of the database fails, the contents of database will be extracted into model.xml and ! S" M. F1 m3 _4 `! q6 P8 k
model_lang.xml
! T$ O$ V9 L/ q6) Generate CLIPS rules, PLMXML schema file using the extracted file & {3 |6 a; p# U) i
a. The CLIPS rule file is re-generated if any Condition definitions were updated
* g+ u4 b2 c! y! i. `+ _% q) ~b. The PLMXML XSD is also re-generated : r5 Q0 M( c: p0 e
7) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards)
; ^4 Y# U+ M1 J$ A l Ia. Finally the contents of TC_DATA/model folder are uploaded back to datasets to ensure it is in sync
& l$ o g% F9 b6 f: Cwith the database 9 p4 C9 Z( C% D# U0 M
8) Upload log files back to FMS volume , E1 I2 i" r9 J: N# o
a. All deploy log files are uploaded to the FMS volume
8 X5 f3 h. ?7 w/ j6 f! ~, |/ g/ M/ N( h9) Download log files from FMS volume " v6 f/ U2 Q" q& V" o& K" P l
a. BMIDE client downloads log files to the client after deployment completes.
1 F5 z+ y, L1 m0 ]) f
: v0 Z' G1 q0 d; _% R5 w |
|