|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
# b+ v9 \: o: v: P, I
Teamcenter BMIDE冷部署TEM Deploy方式原理和步骤
+ k/ l6 v& W, ]9 U7 s0 t $ Q# c8 R! s( P8 \5 S# c6 m
Let‘s understand these steps in detail.
$ }* _, ~4 }' C3 ?5 c& i; {1) Copy the template files, install scripts to TC_ROOT/install/<template>
5 r- E x; H8 J& h) F6 e0 ^a. In this step the TEM will unzip files in your template package to the folder 8 R- a5 X X9 v4 `8 {0 A
TC_ROOT/install/<templatename>
4 L! ^7 q7 O" ~. b+ ^5 J3 [2) Copy libraries to various folders in TC_ROOT ( l2 Y: d/ C) l: Q$ a7 s
a. TEM will copy the libraries or executables in your template package to respective folders in
9 J$ O/ Q3 \8 d7 T% n1 B6 J FTC_ROOT % L/ ^8 h. V! F- u1 P0 R
3) Download files to TC_DATA/model from datasets (Applicable from Teamcenter 8.3 onwards)
: I* y( ^( a6 J) E b' B$ i Qa. BMIDE utilities will download the current TC_DATA/model files from dataset
% D, k4 K: S+ s1 G% H/ q3 ?/ ]4) Copy the latest template files from TC_ROOT/install/<template> to TC_DATA/model
% u) o* R- ^5 F o- U5) Generate delta.xml
9 J: W/ p6 ?! J9 B( va. In this step, the delta.xml is generated using the files in TC_DATA/model
* ?( q5 t& a y. X. q5 K! x7 k+ y2 si. Copy model.xml to model_backup.xml
, l4 ~ P5 o0 r* vii. Copy model_lang.xml to model_backup_lang.xml
8 A. n$ O6 E' K: c" Uiii. Consolidate template listed in master.xml to model.xml and model_lang.xml
7 `8 B6 P( Z6 ]# ?* yiv. Load model_backup.xml and model_backup_lang.xml as old model
% `! \8 {: ~' z6 O1 Uv. Load model.xml and model_lang.xml as new model # p9 z {( \. T$ k) O4 z
vi. Compare and generate delta.xml 5 y7 n* S/ x' @+ O' D5 k4 d6 r
b. Teamcenter 8.3 onwards
0 l! F( c+ N6 L% W* L! r8 ?- Di. If any errors occur during this step, all files in TC_DATA/model are restored from datasets
}; a# {, P# ]: D(except for model.xml and model_backup.xml).
; W1 ~" @* _, ]7 p6) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards)
2 C* B8 S. R3 A& k' c# F4 _+ j( G) Y% ma. If delta.xml file generation is successful, files in TC_DATA/model folder are uploaded to the database. 9 E0 E+ N- Z: h0 z
7) Run install scripts for all selected templates 0 E) E; f: j/ b
a. If template install, run the install_<template>.script for the template being installed.
2 W0 }" p7 g" {) z! O! n( F# @b. If template update, run the install_<template>.script for all templates being updated. While running
* C- g* `5 V* c, ?; V Jthe install script, TEM will skip the call to business_model_updater in the file
4 q# m6 c) M/ e3 P; Ainstall_<template>.default 3 f5 f2 f" \8 |9 Z; ~
8) Update the database with delta.xml using business_model_updater 6 d3 v8 z1 B5 w
a. The utility business_model_updater updates the database with the contents delta.xml
7 A9 b$ U) O2 d3 R9) Generate CLIPS rules, PLMXML schema file using the extracted file
! E0 Y2 G d1 U( d' Q9 ka. Invoke utility to generate the CLIPS rule file. This utility does the following.. 3 P0 r6 O; J& |" v9 m" M- F
i. Extract data model from database.
/ c& V& z r$ ?: E2 Y( q: U3 ~9 rii. Load the extracted data model. If there are loader errors, TEM deploy will report failure. 6 j8 r8 j5 K. \( E4 H8 ]
iii. Generate CLIPS rules using the loaded model. + v+ O3 u, F: O- J- r2 Y! M
b. Invoke utility to generate the PLMXML XSD file. This utility does the following..
8 ?- Q/ j1 [7 j: ei. Extract data model from database. " U- }! J2 d% A7 { \: y) O9 F
ii. Load the extracted data model. If there are loader errors, TEM deploy will report failure.
0 k2 c. G$ b0 D" s! W+ k! Y9 Tiii. Generate required schema file. ( j8 H/ F5 D7 `7 m- `2 s, z
7 h0 _0 {2 n" E- y
+ D+ k- e5 C7 I0 }7 j5 n |
|