|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
( C, @+ O# t9 ~! \9 m; A6 D6 ?
Teamcenter BMIDE冷部署TEM Deploy方式原理和步骤
% _) a' ^* n0 ^5 B8 {" W1 L; r
+ E, L; |/ _" _& b3 ]. v) Y! F6 e* k
Let‘s understand these steps in detail. ) J$ f" |$ a$ \1 `. z& @
1) Copy the template files, install scripts to TC_ROOT/install/<template> ! y9 D+ `) E: Z1 [
a. In this step the TEM will unzip files in your template package to the folder
& ]' w1 c' ], R" X( vTC_ROOT/install/<templatename>
7 ?4 e6 {% T0 G" b2 b( }! Y2) Copy libraries to various folders in TC_ROOT # p; o# t2 o8 J! c
a. TEM will copy the libraries or executables in your template package to respective folders in 2 H6 y3 |* m6 G! T* b
TC_ROOT
, ^1 f% U: }3 i* H! C" p3) Download files to TC_DATA/model from datasets (Applicable from Teamcenter 8.3 onwards)
& ?" z% M; r- U% C- l0 W& P9 h+ Ca. BMIDE utilities will download the current TC_DATA/model files from dataset
- [# `1 Q( j8 I% u4) Copy the latest template files from TC_ROOT/install/<template> to TC_DATA/model , l/ q# T+ j" X$ k/ h% D0 l3 C" T, c; {
5) Generate delta.xml ! r/ f3 \% V$ L/ z9 Z4 t
a. In this step, the delta.xml is generated using the files in TC_DATA/model 2 H8 A+ t% n$ O
i. Copy model.xml to model_backup.xml
9 ~! p, X0 G. C7 T+ }; Wii. Copy model_lang.xml to model_backup_lang.xml " a' V) h! k! @3 |7 y/ X
iii. Consolidate template listed in master.xml to model.xml and model_lang.xml
* l: j8 }6 T" A" S4 C, riv. Load model_backup.xml and model_backup_lang.xml as old model ! S7 X2 | e( V2 G" |! J/ N
v. Load model.xml and model_lang.xml as new model
) A' ]& [ |% I& E, f$ @6 _vi. Compare and generate delta.xml 0 s) ^7 Z7 ]9 o9 e& ~% E
b. Teamcenter 8.3 onwards 1 ]2 {% ]9 \( a' _/ e" d
i. If any errors occur during this step, all files in TC_DATA/model are restored from datasets 7 i1 X W% Q7 N
(except for model.xml and model_backup.xml).
( V% C- Q" ]# E# f6 y$ A2 Q( l6) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards) & C7 H) _, l$ k! u+ P
a. If delta.xml file generation is successful, files in TC_DATA/model folder are uploaded to the database.
+ L6 n5 u' W8 {& M7) Run install scripts for all selected templates , t# ^/ |3 f/ E6 I- J8 ^3 Q7 n! E. U
a. If template install, run the install_<template>.script for the template being installed.
- k9 n; s1 x+ o& f6 n$ zb. If template update, run the install_<template>.script for all templates being updated. While running
& s6 Q* ?* Z. r( Mthe install script, TEM will skip the call to business_model_updater in the file
; ~ Y. U7 j( I8 D6 ~: u* W1 Uinstall_<template>.default
; ]; Z4 q; |' Y. D/ m( f' f0 h8) Update the database with delta.xml using business_model_updater : L, w/ t/ T- U% Z/ @* U5 G
a. The utility business_model_updater updates the database with the contents delta.xml
1 B6 l7 c+ n/ C% ?6 z9) Generate CLIPS rules, PLMXML schema file using the extracted file & `" C6 Y) Z! A
a. Invoke utility to generate the CLIPS rule file. This utility does the following..
& w6 z9 w$ w" r- Ci. Extract data model from database.
, l- |7 d' `( F0 ~' u% h {+ eii. Load the extracted data model. If there are loader errors, TEM deploy will report failure. 6 I$ ?; t" n6 U1 O
iii. Generate CLIPS rules using the loaded model.
% l. k+ C' t+ B5 E& eb. Invoke utility to generate the PLMXML XSD file. This utility does the following.. ( E7 U" n! P, y3 x
i. Extract data model from database. 3 C4 Z! W0 ?8 M- D/ b' |; S0 K$ g
ii. Load the extracted data model. If there are loader errors, TEM deploy will report failure. # B. B( U' ]8 o
iii. Generate required schema file.
7 g" |1 ]. _% Q) }/ p
3 @2 L+ F$ G: K0 v3 y& N
' I+ b' P# y! l* _% l c2 E8 u |
|