|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
# z7 a7 A& l1 l6 l
Teamcenter BMIDE冷部署TEM Deploy方式原理和步骤
# F+ |: `- v0 @+ T( Z5 o2 r
+ [. Q3 Y2 J. }4 ^Let‘s understand these steps in detail. 7 ~% U, g2 o2 G3 \9 b
1) Copy the template files, install scripts to TC_ROOT/install/<template>
+ w/ r+ O% l1 u9 |: G/ h7 n" _8 o. D" Ra. In this step the TEM will unzip files in your template package to the folder 7 ]0 A8 E; a$ \: s, Y% \
TC_ROOT/install/<templatename> 8 ]4 W+ y7 L+ [8 E, D
2) Copy libraries to various folders in TC_ROOT , K7 m% { T$ j7 r( B6 s
a. TEM will copy the libraries or executables in your template package to respective folders in / r# P* ?8 V8 h$ H: D' r: Q4 F
TC_ROOT
( m% N! ~: S3 ^8 `$ P3) Download files to TC_DATA/model from datasets (Applicable from Teamcenter 8.3 onwards)
3 G4 ]1 o x8 V! O0 q/ Xa. BMIDE utilities will download the current TC_DATA/model files from dataset 0 j$ J) k/ a8 P- N3 a; Z6 i
4) Copy the latest template files from TC_ROOT/install/<template> to TC_DATA/model
( E2 D6 ~" C( g% N6 y- n E5) Generate delta.xml
, e% H0 p5 J4 x9 M/ S5 `a. In this step, the delta.xml is generated using the files in TC_DATA/model ' x9 s- Q8 u0 q* Q; j% z. ?
i. Copy model.xml to model_backup.xml 1 b( a+ {2 O' o4 X
ii. Copy model_lang.xml to model_backup_lang.xml
* N3 v& v4 \, Yiii. Consolidate template listed in master.xml to model.xml and model_lang.xml , z! Q) e4 B, U: x/ g0 J# \% I0 x
iv. Load model_backup.xml and model_backup_lang.xml as old model 5 ?3 y3 E2 z9 t @& P
v. Load model.xml and model_lang.xml as new model 2 z) u# F) e _* i- g+ l
vi. Compare and generate delta.xml * g9 K( u& Z$ [" a7 q8 z6 R
b. Teamcenter 8.3 onwards ! i: N/ V, F+ s7 t/ J
i. If any errors occur during this step, all files in TC_DATA/model are restored from datasets
- s7 |1 b2 d( o; t3 u(except for model.xml and model_backup.xml). ; s! _/ ?( n5 h' o5 B
6) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards) 6 i% h) N, s0 f- M
a. If delta.xml file generation is successful, files in TC_DATA/model folder are uploaded to the database.
2 p( V' _/ i% A/ }3 y4 ?7) Run install scripts for all selected templates " J7 o' I! E4 A& s) Z: M5 g- G
a. If template install, run the install_<template>.script for the template being installed. 7 p( v" Y- S3 z9 J/ H
b. If template update, run the install_<template>.script for all templates being updated. While running
* ]+ O9 @, J' h l- M2 z# L4 [the install script, TEM will skip the call to business_model_updater in the file
1 `4 q, b A5 q( ^install_<template>.default 9 K& Z% h0 e P) v
8) Update the database with delta.xml using business_model_updater
7 t( K% ]* e* d- p: ia. The utility business_model_updater updates the database with the contents delta.xml
9 ?! k; U/ @9 o* G7 w3 N9) Generate CLIPS rules, PLMXML schema file using the extracted file . X+ p4 W$ T3 A2 V. V9 a o
a. Invoke utility to generate the CLIPS rule file. This utility does the following..
1 ?7 @& K# F a& h% ?; z* H0 A8 ^i. Extract data model from database. 2 q/ T) z, m0 {& Y! y {/ b% i
ii. Load the extracted data model. If there are loader errors, TEM deploy will report failure. ' p# m1 f; C, |+ G P' U7 D r9 Z
iii. Generate CLIPS rules using the loaded model.
2 X/ D+ N; }; K! @- }. H4 Kb. Invoke utility to generate the PLMXML XSD file. This utility does the following.. 8 d' \# F6 s: f! f, ~+ Z* c
i. Extract data model from database. - P5 @) R4 E; \
ii. Load the extracted data model. If there are loader errors, TEM deploy will report failure. , A6 h- W9 B/ J n6 W
iii. Generate required schema file. & J( q- J- \9 P! d6 I2 A! q: Y7 e
; M' F6 c/ U4 c1 z; ?, u
% J' g- X: B( [) P+ E |
|