|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
7 }3 O8 M/ @- C% L% V
Teamcenter BMIDE冷部署TEM Deploy方式原理和步骤
9 b! }+ N3 R$ t- y2 f- s
0 m3 U T8 H' S& b @
Let‘s understand these steps in detail.
4 e6 {! m' E' u1) Copy the template files, install scripts to TC_ROOT/install/<template> 3 i# A, X+ i$ b6 `$ B
a. In this step the TEM will unzip files in your template package to the folder 3 D% D) B: y; m8 I
TC_ROOT/install/<templatename> 2 d$ m1 n) g& O( S" Z% W
2) Copy libraries to various folders in TC_ROOT 9 ^: h5 i$ M% \& W* ` n" t
a. TEM will copy the libraries or executables in your template package to respective folders in
: J+ V. m& Z7 R3 v0 k; K$ R3 L, mTC_ROOT
( o9 ?1 d, R- d$ l1 d/ B: X2 C3) Download files to TC_DATA/model from datasets (Applicable from Teamcenter 8.3 onwards) ~0 n/ l" @7 C' U9 _# g. [
a. BMIDE utilities will download the current TC_DATA/model files from dataset ( ?+ E- D) v7 ^' t1 C- V" x" b/ }. g3 c
4) Copy the latest template files from TC_ROOT/install/<template> to TC_DATA/model 1 b( m' k- v5 R' \# B0 q. J$ c& X$ }
5) Generate delta.xml
0 }& [& ^" T7 Z: _5 `4 r5 ?+ {a. In this step, the delta.xml is generated using the files in TC_DATA/model : Q7 o" b+ G5 _2 a/ v" r
i. Copy model.xml to model_backup.xml 8 ~& C! m% U2 d
ii. Copy model_lang.xml to model_backup_lang.xml 1 O8 j+ Y( @& t- C4 R
iii. Consolidate template listed in master.xml to model.xml and model_lang.xml
; d' z9 @4 L& F* i" ?, @9 `iv. Load model_backup.xml and model_backup_lang.xml as old model ; r# I% M5 G, N" i( e3 z. U7 r; r
v. Load model.xml and model_lang.xml as new model
. y1 K3 q8 Z2 B6 e8 J& yvi. Compare and generate delta.xml * c) t+ f3 u- f# U- v0 W q
b. Teamcenter 8.3 onwards + ], v5 u! {; ^% G
i. If any errors occur during this step, all files in TC_DATA/model are restored from datasets
4 G1 m1 O5 k* ~" Y2 b3 Y4 G: r' \(except for model.xml and model_backup.xml). & |7 W x+ X; s3 j$ D; |. o8 m' j1 s% E
6) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards) ; Q) [+ Q- S/ p- f: B: m: ~
a. If delta.xml file generation is successful, files in TC_DATA/model folder are uploaded to the database. ( y8 I# k7 x3 ?/ j4 t9 I
7) Run install scripts for all selected templates 3 L. S% \" o- M! K8 N
a. If template install, run the install_<template>.script for the template being installed. 5 `9 U5 c K0 [! U
b. If template update, run the install_<template>.script for all templates being updated. While running
. J9 Z$ }* ?& H1 M$ |the install script, TEM will skip the call to business_model_updater in the file
7 I/ b$ j& {% Y4 L8 F# P+ c+ Dinstall_<template>.default
6 B% G7 k0 q X8) Update the database with delta.xml using business_model_updater
+ k: C3 W! B8 |3 t- A$ Ta. The utility business_model_updater updates the database with the contents delta.xml
5 j3 a- M- f }2 j9) Generate CLIPS rules, PLMXML schema file using the extracted file : }- A7 j0 s1 l9 Z9 ^+ v
a. Invoke utility to generate the CLIPS rule file. This utility does the following.. & R8 o, D& f2 u- V0 D
i. Extract data model from database. # V* E5 Z1 z7 @' q$ w( g
ii. Load the extracted data model. If there are loader errors, TEM deploy will report failure.
7 i2 i. n* D+ `1 b( J4 o# Hiii. Generate CLIPS rules using the loaded model.
) D! R9 F- a& a, C# V& D6 x: Fb. Invoke utility to generate the PLMXML XSD file. This utility does the following.. + n3 N" b: Y$ ` {. S1 ~
i. Extract data model from database.
- y! v7 F+ E* A$ a2 x, Rii. Load the extracted data model. If there are loader errors, TEM deploy will report failure. : d0 f2 C" \& u. B
iii. Generate required schema file.
% f7 O8 r4 G7 A- o4 }% r6 G
+ [5 g, w. X; Y" S! Y3 Q+ L4 {+ ~7 _
8 g0 \/ x: R3 W c" C# S |
|