|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
/ A# d8 \4 V& ~( s Teamcenter BMIDE冷部署TEM Deploy方式原理和步骤
( Z7 j+ M# T4 F3 S
" ^) c L( b+ x( _5 k5 H) aLet‘s understand these steps in detail.
' J9 e5 _# ~1 A1 B* E* G5 x1) Copy the template files, install scripts to TC_ROOT/install/<template> 2 k% ?. z' a" X& [* j* b
a. In this step the TEM will unzip files in your template package to the folder ! t& k" a! B1 ^, X
TC_ROOT/install/<templatename>
( R! ^. c& t# f% |8 c2) Copy libraries to various folders in TC_ROOT
% o; |- e# E$ t \" e, N2 O$ ?1 c' U% `1 za. TEM will copy the libraries or executables in your template package to respective folders in $ k+ j* R( G$ z6 X$ y
TC_ROOT 1 ]- n+ I. h( a) o: U
3) Download files to TC_DATA/model from datasets (Applicable from Teamcenter 8.3 onwards)
0 n( u3 m1 {5 v7 J1 N5 [# oa. BMIDE utilities will download the current TC_DATA/model files from dataset . N+ v1 A' M8 E
4) Copy the latest template files from TC_ROOT/install/<template> to TC_DATA/model 8 V$ S$ q' v$ ]: q& u
5) Generate delta.xml
2 _; o' {8 B- d1 t: F4 ga. In this step, the delta.xml is generated using the files in TC_DATA/model
, _1 O; D! o& O* S. p$ vi. Copy model.xml to model_backup.xml 7 D6 ?8 ~% ? t3 K
ii. Copy model_lang.xml to model_backup_lang.xml 4 N( p$ u, ]# S4 ]% C1 g3 z3 i
iii. Consolidate template listed in master.xml to model.xml and model_lang.xml
/ O# u! ?5 g) h0 }iv. Load model_backup.xml and model_backup_lang.xml as old model 1 v1 c1 ]" g5 I8 z: [7 t
v. Load model.xml and model_lang.xml as new model
4 x, K3 N9 n4 s3 `$ ivi. Compare and generate delta.xml , R K8 a% P3 C; l6 C
b. Teamcenter 8.3 onwards
7 s% H" W: ]( N. W mi. If any errors occur during this step, all files in TC_DATA/model are restored from datasets
) s. F% X6 t$ e" b4 E$ `8 X(except for model.xml and model_backup.xml).
6 _; e% M/ i! L# K6 ^$ K6) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards)
5 L2 R8 ~5 e7 E, `1 L( la. If delta.xml file generation is successful, files in TC_DATA/model folder are uploaded to the database. 7 ?/ L, R/ z& ` |
7) Run install scripts for all selected templates ; s* f2 H3 N5 A+ u. |- A" t
a. If template install, run the install_<template>.script for the template being installed. , a/ O' I. `0 @/ r# s+ |
b. If template update, run the install_<template>.script for all templates being updated. While running
/ W* `* U k5 d0 ]! \. Athe install script, TEM will skip the call to business_model_updater in the file
9 I# p3 Z/ P0 o9 Z, q- d. X6 xinstall_<template>.default
% {+ |0 ?3 Z& n/ v4 R( e5 x v8) Update the database with delta.xml using business_model_updater + D$ Z- N; f9 J& a, X7 [. l; C
a. The utility business_model_updater updates the database with the contents delta.xml
4 u8 T( i- x+ X8 Z9 D9) Generate CLIPS rules, PLMXML schema file using the extracted file
# Y) ~$ A" A, X- t# e2 ?a. Invoke utility to generate the CLIPS rule file. This utility does the following..
% M+ A) l& h& h" u# w1 Y3 k4 Y$ Ti. Extract data model from database.
( J+ x i. K+ tii. Load the extracted data model. If there are loader errors, TEM deploy will report failure. & L G+ ^ X! R+ o% d
iii. Generate CLIPS rules using the loaded model.
% U% r P& t+ e X+ jb. Invoke utility to generate the PLMXML XSD file. This utility does the following.. 0 z' B( }" t, g' B7 ~% l
i. Extract data model from database. 9 H2 v* U4 I; e' W1 L/ |
ii. Load the extracted data model. If there are loader errors, TEM deploy will report failure. % p: c1 t* w$ a+ j
iii. Generate required schema file.
+ V( @; E& b) \( P8 e) ^& R3 q
/ R+ ? x2 t2 i+ W, V8 Y" \7 E( f' R* t1 f: N% C
|
|