|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
/ r( y$ P' F, _, e2 z# G+ w
Teamcenter BMIDE冷部署TEM Deploy方式原理和步骤
. ?1 ?- ?; O; P: `1 F0 G
! N" v- x3 ^- a- o3 W! ~
Let‘s understand these steps in detail.
Y; e6 ]* o G6 Q1) Copy the template files, install scripts to TC_ROOT/install/<template>
: h. I' T. d) t, l- la. In this step the TEM will unzip files in your template package to the folder ) f; y- }( D* W
TC_ROOT/install/<templatename> ; { }6 n& s9 Z* N7 ~
2) Copy libraries to various folders in TC_ROOT 4 u, ?. G6 O2 l
a. TEM will copy the libraries or executables in your template package to respective folders in # a8 Z- y) L" z1 D1 @6 T' `
TC_ROOT
4 E( F) E ]5 c4 D9 c3) Download files to TC_DATA/model from datasets (Applicable from Teamcenter 8.3 onwards)
8 I3 \& [9 _" xa. BMIDE utilities will download the current TC_DATA/model files from dataset G8 ?+ {, E$ }1 D
4) Copy the latest template files from TC_ROOT/install/<template> to TC_DATA/model ! f. ]2 [& G$ T5 @3 y3 c
5) Generate delta.xml ' S% U8 E! O7 p( u4 ^
a. In this step, the delta.xml is generated using the files in TC_DATA/model / F7 U5 E/ p1 B2 L& E
i. Copy model.xml to model_backup.xml 7 C [( V0 p& b# [8 k6 X, R
ii. Copy model_lang.xml to model_backup_lang.xml ) Y. i' E; {0 \. ]& H/ V- m
iii. Consolidate template listed in master.xml to model.xml and model_lang.xml
, ^, p* B9 V; {7 P6 }5 W( Kiv. Load model_backup.xml and model_backup_lang.xml as old model + @5 m& i% v" C- w! ?: U
v. Load model.xml and model_lang.xml as new model
4 u' v* Z) x( `3 x0 [1 d: ] A/ x! Jvi. Compare and generate delta.xml
7 r+ T* n8 E. s! _0 }4 C0 e' `b. Teamcenter 8.3 onwards ; X* `/ x. O* r6 n! u9 y5 V
i. If any errors occur during this step, all files in TC_DATA/model are restored from datasets 4 p1 E" n6 U# d8 c# o3 l! {0 y
(except for model.xml and model_backup.xml). " n2 q* S. q9 d
6) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards) 2 G7 @% K P+ M6 U# {: f' j% u
a. If delta.xml file generation is successful, files in TC_DATA/model folder are uploaded to the database.
m& L7 c8 s5 L$ q7) Run install scripts for all selected templates
' A4 l5 i5 j8 W0 l& V3 u9 ha. If template install, run the install_<template>.script for the template being installed.
; o: m1 h2 c: I) Ib. If template update, run the install_<template>.script for all templates being updated. While running 4 y1 t! o2 |7 v& b
the install script, TEM will skip the call to business_model_updater in the file , {. ?( Y' U: W. p5 l o+ ?5 e; V
install_<template>.default
/ t+ \ `# a, y, o2 Q# ?: l8) Update the database with delta.xml using business_model_updater c+ ^( O& V" x) ~' w; G i
a. The utility business_model_updater updates the database with the contents delta.xml ; n9 r. i3 t/ s! Z- m* K$ [
9) Generate CLIPS rules, PLMXML schema file using the extracted file
# q+ V; t# B j2 Ma. Invoke utility to generate the CLIPS rule file. This utility does the following.. / R, d# W+ d0 J& U \- ~
i. Extract data model from database. ! J7 S( U, u! q6 K* z. @) S" F
ii. Load the extracted data model. If there are loader errors, TEM deploy will report failure. + t" f/ E! B- {& r) ?
iii. Generate CLIPS rules using the loaded model.
0 T. v( H; _; S4 Nb. Invoke utility to generate the PLMXML XSD file. This utility does the following..
% h6 S- d( }7 A& Li. Extract data model from database.
1 G- g. q3 A: W: Tii. Load the extracted data model. If there are loader errors, TEM deploy will report failure. 4 N) Y2 W J7 u* u( r
iii. Generate required schema file. 2 |7 N1 k& O' O; \, K4 P- @. Y
; v) n, l! l G4 x* u* T/ y4 C( d3 ?: U+ H6 q
|
|