|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
3 Z/ a2 O" u5 R. p" _$ ?
Teamcenter BMIDE冷部署TEM Deploy方式原理和步骤
$ a) @/ n1 B5 q+ K
2 g3 Q3 x0 V" L) @4 pLet‘s understand these steps in detail.
& ?; ?7 L7 r4 Z3 F$ e1) Copy the template files, install scripts to TC_ROOT/install/<template> ) h0 n9 ?8 ?8 r; ]; V# p
a. In this step the TEM will unzip files in your template package to the folder
6 C1 v* `0 j# b) k! s" V4 \TC_ROOT/install/<templatename>
" ~; B0 r7 ?9 e: E2) Copy libraries to various folders in TC_ROOT * T, p, r" `5 O' a8 x9 J& n
a. TEM will copy the libraries or executables in your template package to respective folders in
% t7 s H0 P8 z' d; qTC_ROOT
2 ~0 M& i' ^) p' S% j- F) ^3) Download files to TC_DATA/model from datasets (Applicable from Teamcenter 8.3 onwards) , m0 z$ [6 E% \/ ~) }4 F
a. BMIDE utilities will download the current TC_DATA/model files from dataset
) V2 c- m+ `" W2 a& }# u& M' ?; d4) Copy the latest template files from TC_ROOT/install/<template> to TC_DATA/model
$ s; x8 N5 L1 ~, C( a) o# O* w: v5) Generate delta.xml - t, P, U8 F9 Q
a. In this step, the delta.xml is generated using the files in TC_DATA/model
' A6 h. o* v9 }6 k( v% J ^/ Pi. Copy model.xml to model_backup.xml
4 H j' N5 b/ Kii. Copy model_lang.xml to model_backup_lang.xml
) _4 C& i' @0 H7 }( {iii. Consolidate template listed in master.xml to model.xml and model_lang.xml * Q4 `0 _# f' k
iv. Load model_backup.xml and model_backup_lang.xml as old model # N" A, N, {- m' ~5 S
v. Load model.xml and model_lang.xml as new model 6 B+ P7 B: H) X/ w* J' y& A" [$ y
vi. Compare and generate delta.xml
0 m+ w6 B, E2 L% Z2 ub. Teamcenter 8.3 onwards , t7 I- a s7 o" E2 q& ?! X
i. If any errors occur during this step, all files in TC_DATA/model are restored from datasets
5 c& l+ r" q$ n# r2 _: Y+ a(except for model.xml and model_backup.xml). / R6 H, o1 o) z2 i# P5 W
6) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards) 8 R$ t4 J# G. w
a. If delta.xml file generation is successful, files in TC_DATA/model folder are uploaded to the database. 5 w% _; t8 V) p9 I( K" K
7) Run install scripts for all selected templates
2 l9 `4 K" B9 L& b7 Ja. If template install, run the install_<template>.script for the template being installed.
V I* J6 ]. x% qb. If template update, run the install_<template>.script for all templates being updated. While running 3 X6 ~5 K* W7 b9 D7 o
the install script, TEM will skip the call to business_model_updater in the file 1 I) } g" q: B+ |$ w5 G
install_<template>.default 5 ?8 H" v5 [ n7 f$ S7 w/ R
8) Update the database with delta.xml using business_model_updater : H, |, [7 p( E% [7 M
a. The utility business_model_updater updates the database with the contents delta.xml
$ z' X5 g0 `; D4 n- b( e7 y o3 s9) Generate CLIPS rules, PLMXML schema file using the extracted file
$ e6 g3 A6 c1 ~! X' n( I% Ha. Invoke utility to generate the CLIPS rule file. This utility does the following..
. [0 c4 U; l- pi. Extract data model from database. 3 e' ~- @7 |* x) v3 T4 @& _4 o* _
ii. Load the extracted data model. If there are loader errors, TEM deploy will report failure.
6 z# ~$ i8 C7 a# n& p ~iii. Generate CLIPS rules using the loaded model. ! W( C9 g1 F4 M: t" y9 W7 I
b. Invoke utility to generate the PLMXML XSD file. This utility does the following..
/ e, o0 r" |' E6 f. L" |i. Extract data model from database. 3 e) W7 l* I, o" R
ii. Load the extracted data model. If there are loader errors, TEM deploy will report failure.
4 \& c1 I% O; _" Uiii. Generate required schema file. / H) K/ p l. ?& b, K, K! E$ `- R( h4 o
2 G3 T; h) L, c! N6 _! h/ S& C5 C5 ?3 i" V0 y. L# o& p6 F
|
|