|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
( i$ {/ A9 l1 Y$ Y1 x
Teamcenter BMIDE冷部署TEM Deploy方式原理和步骤
: I6 V7 `) i3 ~1 }- f! Z, o/ L
, g6 a0 z9 ~" a/ ]Let‘s understand these steps in detail.
& [# m# z* l2 M+ t1 y/ p2 Y4 l" U: T1) Copy the template files, install scripts to TC_ROOT/install/<template>
1 K+ a% Q z5 f" e E5 ea. In this step the TEM will unzip files in your template package to the folder
& ?, |1 X& s+ v9 w$ w3 tTC_ROOT/install/<templatename> % E8 L: w' ]1 f/ w' E
2) Copy libraries to various folders in TC_ROOT
% v3 m9 L% q" L$ Ga. TEM will copy the libraries or executables in your template package to respective folders in
4 p* R. g5 Y3 T* LTC_ROOT ) G' z5 b2 o( m0 e- {5 H. W
3) Download files to TC_DATA/model from datasets (Applicable from Teamcenter 8.3 onwards)
* }( p$ n6 j) E/ R0 x( ya. BMIDE utilities will download the current TC_DATA/model files from dataset * {6 Q7 p% K7 ]( } L) h1 W
4) Copy the latest template files from TC_ROOT/install/<template> to TC_DATA/model
/ J: \% t( l$ H5) Generate delta.xml
# x7 z" G5 U% L, x8 m, m; g4 Qa. In this step, the delta.xml is generated using the files in TC_DATA/model 0 o$ k# o* ` Y
i. Copy model.xml to model_backup.xml - N/ D% i) _! E
ii. Copy model_lang.xml to model_backup_lang.xml
# \; }7 O* E6 r4 S/ K& [iii. Consolidate template listed in master.xml to model.xml and model_lang.xml & {! N# Z9 |/ k4 S! a7 T
iv. Load model_backup.xml and model_backup_lang.xml as old model
" p7 n' J0 y! l8 Bv. Load model.xml and model_lang.xml as new model
. J/ u" l7 F% s0 S8 t r& Xvi. Compare and generate delta.xml ! _+ l( [" _* @5 K6 J/ u( y, c
b. Teamcenter 8.3 onwards " q0 O# p. B$ Z* B2 w- J; i
i. If any errors occur during this step, all files in TC_DATA/model are restored from datasets 7 p8 [9 r+ u; x, \; D6 J
(except for model.xml and model_backup.xml). , x1 k" ], ]+ b, U
6) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards)
: p) \5 f$ x; S" n% U! g! Sa. If delta.xml file generation is successful, files in TC_DATA/model folder are uploaded to the database. 8 j2 \2 I4 U# T6 f9 i6 U
7) Run install scripts for all selected templates
- c, ]. \ ~; x9 Ka. If template install, run the install_<template>.script for the template being installed. 9 j7 B% C, ]/ k% \+ F; P
b. If template update, run the install_<template>.script for all templates being updated. While running 7 \" ~7 _, @& B$ J/ z
the install script, TEM will skip the call to business_model_updater in the file / }3 m" Y V! W% Q9 J
install_<template>.default
# Y6 D! x1 \4 Y! E8) Update the database with delta.xml using business_model_updater
5 R" x; V6 O) F- g+ j+ ka. The utility business_model_updater updates the database with the contents delta.xml $ ^1 n% }. m( A$ J9 \; Z
9) Generate CLIPS rules, PLMXML schema file using the extracted file + L# l1 |1 h$ A8 P& G) A/ `
a. Invoke utility to generate the CLIPS rule file. This utility does the following.. 2 e. G4 S6 l7 T/ l* I+ V
i. Extract data model from database. ) o' E' w4 Y6 Y& W) b4 w2 k
ii. Load the extracted data model. If there are loader errors, TEM deploy will report failure. 7 ^# i7 I1 K* S( c8 [4 y- ]
iii. Generate CLIPS rules using the loaded model. * X, @9 Q/ w6 ] i- L5 N+ I- q
b. Invoke utility to generate the PLMXML XSD file. This utility does the following.. 2 m* x- N, A( R3 b4 Q$ Z
i. Extract data model from database.
' W& _5 i% B5 v! A; tii. Load the extracted data model. If there are loader errors, TEM deploy will report failure. " k4 A; `6 D, i- Y, g S
iii. Generate required schema file.
# z$ a( _* Y0 a' F
g; V" E+ w' I2 y- E7 n5 R. T2 Q. g" h. X9 ]" U K# a1 D; K
|
|