|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
" o4 U) R1 `5 J g
Teamcenter BMIDE冷部署TEM Deploy方式原理和步骤
$ H5 N a2 {7 J3 E7 r# a+ y C
. s3 L7 K3 h5 a! r$ g+ N2 lLet‘s understand these steps in detail. 1 S& R+ W, A) X5 Y" y
1) Copy the template files, install scripts to TC_ROOT/install/<template>
$ |0 u8 m+ g9 A0 |a. In this step the TEM will unzip files in your template package to the folder 9 x0 M2 p6 e. ^# R: e
TC_ROOT/install/<templatename>
K n/ M; K" j0 \% o( v2 ~) [& a2) Copy libraries to various folders in TC_ROOT * g* c6 N( K( x" F: D7 X
a. TEM will copy the libraries or executables in your template package to respective folders in / _* Z' L+ C' L
TC_ROOT
( t) s5 K3 l( D3) Download files to TC_DATA/model from datasets (Applicable from Teamcenter 8.3 onwards)
7 L8 ] {: ?1 l. Q; ja. BMIDE utilities will download the current TC_DATA/model files from dataset 6 m- A' A) Q' K0 U4 e
4) Copy the latest template files from TC_ROOT/install/<template> to TC_DATA/model 0 b4 L% N7 J% ^8 I5 C
5) Generate delta.xml
2 j' L' v) n* B. oa. In this step, the delta.xml is generated using the files in TC_DATA/model
: Z9 x- J" M# S3 O/ [0 Ji. Copy model.xml to model_backup.xml
* X0 J% G& O _9 @ii. Copy model_lang.xml to model_backup_lang.xml 9 G' K6 T& V6 q( q% |6 I! h
iii. Consolidate template listed in master.xml to model.xml and model_lang.xml
9 K1 M$ W. s, j+ o- T8 niv. Load model_backup.xml and model_backup_lang.xml as old model
4 e$ `& V4 P) J& N! ?% ^/ qv. Load model.xml and model_lang.xml as new model
0 [' s% b6 G6 G4 F+ h. M! Evi. Compare and generate delta.xml
6 m! l' b9 j% Fb. Teamcenter 8.3 onwards
% U; z2 G$ F3 N) [i. If any errors occur during this step, all files in TC_DATA/model are restored from datasets 3 s! V9 g7 O6 x) ] } T
(except for model.xml and model_backup.xml). " X* t( A9 }0 Q; R+ c3 H
6) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards) 0 x' _$ l: m* P! [
a. If delta.xml file generation is successful, files in TC_DATA/model folder are uploaded to the database.
# I/ \+ v+ N; H/ F1 N9 P# i7) Run install scripts for all selected templates
- X# o. G. R) q; f Aa. If template install, run the install_<template>.script for the template being installed.
) B7 ^. k( w& Xb. If template update, run the install_<template>.script for all templates being updated. While running
5 V# Q' X3 @: Q$ Fthe install script, TEM will skip the call to business_model_updater in the file
5 w T% G/ D, F5 J7 c. x7 C8 ~+ x% _install_<template>.default 7 z6 h' P# U ] \% \' r# q
8) Update the database with delta.xml using business_model_updater ! ]9 O- r- ?% P; i, k9 `' s" U& N" V0 o
a. The utility business_model_updater updates the database with the contents delta.xml
: {+ q7 j/ @& G$ K! y8 x; v# |( i9) Generate CLIPS rules, PLMXML schema file using the extracted file - P K7 a- z p, c5 H4 M
a. Invoke utility to generate the CLIPS rule file. This utility does the following..
' l d$ M0 }1 G" l" L, e$ H1 hi. Extract data model from database.
( ^2 A; R$ {- e: x; k9 `0 b+ N2 uii. Load the extracted data model. If there are loader errors, TEM deploy will report failure.
* O% f, r1 S5 h$ }; J( R. Giii. Generate CLIPS rules using the loaded model. : _6 s B& }" H$ J
b. Invoke utility to generate the PLMXML XSD file. This utility does the following..
# R( L D! Z6 g# Ni. Extract data model from database. ! G2 v n4 g9 O L4 _; a4 A- _
ii. Load the extracted data model. If there are loader errors, TEM deploy will report failure. 5 D( `* a% x: b5 _# H
iii. Generate required schema file.
& U; `0 P8 l! O/ E+ N' ?- Q( i
) e! R( x# _0 s) m+ B# \4 p
" q% q4 A/ \ H3 n1 u5 ]( [2 X9 l |
|