|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
& L6 `$ p3 w* N0 O
Teamcenter BMIDE冷部署TEM Deploy方式原理和步骤
5 _5 f c6 `9 o; z' m6 e3 | @
2 e' V5 [( U- q! b5 @) o1 FLet‘s understand these steps in detail.
+ b/ }( L1 V0 d5 a1 a1) Copy the template files, install scripts to TC_ROOT/install/<template>
: _; ]# F* j6 h* L% V& G/ C. ~ ~- ?a. In this step the TEM will unzip files in your template package to the folder 2 a6 Z# z" J; H6 P
TC_ROOT/install/<templatename> & S# W# K+ @: U$ O* r( _
2) Copy libraries to various folders in TC_ROOT 0 N+ u. I' K' i0 ^5 f3 R
a. TEM will copy the libraries or executables in your template package to respective folders in 7 H, i- ]! L; s- E- I' ~9 a& X, L
TC_ROOT ( g" C' O9 o5 G& y7 V- s
3) Download files to TC_DATA/model from datasets (Applicable from Teamcenter 8.3 onwards)
3 X. o0 K0 h* H/ l6 A* j5 r# a6 La. BMIDE utilities will download the current TC_DATA/model files from dataset ' v6 E" V+ J6 P# {$ z
4) Copy the latest template files from TC_ROOT/install/<template> to TC_DATA/model " j* _% d/ ^" c. v0 P
5) Generate delta.xml
1 B. e5 d/ J0 Wa. In this step, the delta.xml is generated using the files in TC_DATA/model
+ x$ P8 k. U% \% u1 L) P8 U, ]i. Copy model.xml to model_backup.xml
3 z7 T5 a. I: L* D% yii. Copy model_lang.xml to model_backup_lang.xml & ]2 J" S. x) f% z b% C
iii. Consolidate template listed in master.xml to model.xml and model_lang.xml 6 Z5 ~, a% C& R0 }. v5 V# v! j
iv. Load model_backup.xml and model_backup_lang.xml as old model V9 S1 a$ Y4 L
v. Load model.xml and model_lang.xml as new model ' j2 f9 I5 P( \& | E# K
vi. Compare and generate delta.xml
$ I. g0 _( e j* q+ Cb. Teamcenter 8.3 onwards
0 P( D O& ]& e5 V2 m1 `4 ~i. If any errors occur during this step, all files in TC_DATA/model are restored from datasets 5 [& _8 a7 u6 i
(except for model.xml and model_backup.xml). ( t- T- |2 b$ P3 M1 n6 T# _
6) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards) ' l; M, e* C. x( K. z# x1 a
a. If delta.xml file generation is successful, files in TC_DATA/model folder are uploaded to the database. $ @+ m8 g) i& {4 z: t
7) Run install scripts for all selected templates
0 _, ~. q0 B, u4 j7 n* k2 v8 J4 |a. If template install, run the install_<template>.script for the template being installed. + D) ~' y+ t: V5 K
b. If template update, run the install_<template>.script for all templates being updated. While running & C, `7 O5 g5 F4 K/ a- \
the install script, TEM will skip the call to business_model_updater in the file
D" l& T8 X) b* z/ y- Oinstall_<template>.default
4 w' b- a. v4 X) U/ B8) Update the database with delta.xml using business_model_updater $ ^) ]: l0 N3 h a$ V7 v( O s7 @
a. The utility business_model_updater updates the database with the contents delta.xml
* `3 G. \' }$ t0 J ^9) Generate CLIPS rules, PLMXML schema file using the extracted file
@0 y; `) u; X) R0 xa. Invoke utility to generate the CLIPS rule file. This utility does the following..
7 ]0 ]& S7 `8 d) ~* X! _i. Extract data model from database. $ e$ S; Q5 S' K$ u" k( [
ii. Load the extracted data model. If there are loader errors, TEM deploy will report failure.
+ S# {" P! G4 I. Oiii. Generate CLIPS rules using the loaded model.
2 U2 |2 U& C/ z; l; Eb. Invoke utility to generate the PLMXML XSD file. This utility does the following.. 9 ?; w) i( T9 Y9 j4 h
i. Extract data model from database. 0 c9 U- d# W, e) l+ s9 {
ii. Load the extracted data model. If there are loader errors, TEM deploy will report failure. ! t. P& ?9 e9 Z
iii. Generate required schema file. " {; L" u( P n& J
. `; V; w- W, m" p
+ r# l/ C* A7 F; c |
|