|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
×
9 j9 h- n r& `9 E' l9 h! Y; U( e Teamcenter BMIDE冷部署TEM Deploy方式原理和步骤
4 z& k' U" f: K; ?! B; F' D' Q
! o1 x7 A6 i7 F1 M, BLet‘s understand these steps in detail. ( Z0 x; c$ n9 Q% o9 h6 V W
1) Copy the template files, install scripts to TC_ROOT/install/<template> ; `% }$ N* _2 M f
a. In this step the TEM will unzip files in your template package to the folder $ s4 w2 c" M* z5 u3 |9 w
TC_ROOT/install/<templatename> - L: T0 O: Y& i* O9 {, M
2) Copy libraries to various folders in TC_ROOT
7 T$ a+ z! b+ [ fa. TEM will copy the libraries or executables in your template package to respective folders in . A- }: w' E$ R6 d4 {% L
TC_ROOT 2 @# U; s! q. t
3) Download files to TC_DATA/model from datasets (Applicable from Teamcenter 8.3 onwards) 8 X1 z8 S) ^! @. ^5 `' z% C
a. BMIDE utilities will download the current TC_DATA/model files from dataset ! p6 G: `( v: S( q! R! ]4 e
4) Copy the latest template files from TC_ROOT/install/<template> to TC_DATA/model
- p' \3 m; F/ h2 o, [5) Generate delta.xml
) k: V. X: }; U) K: wa. In this step, the delta.xml is generated using the files in TC_DATA/model 5 P9 J& M3 K' F4 \
i. Copy model.xml to model_backup.xml
1 e4 S3 H0 t ~1 z8 tii. Copy model_lang.xml to model_backup_lang.xml
% L2 C' o* z0 \7 l3 K0 ~7 O3 Siii. Consolidate template listed in master.xml to model.xml and model_lang.xml
* C' N0 s9 `, T: S; Eiv. Load model_backup.xml and model_backup_lang.xml as old model
9 `3 ^4 h7 z2 L9 s. G, }1 G( Iv. Load model.xml and model_lang.xml as new model & g, J4 L( T' H' @4 }9 R$ q. X
vi. Compare and generate delta.xml
2 T( [9 `; Y% \ l9 j0 r0 J& wb. Teamcenter 8.3 onwards
$ Q4 Q% \3 O* b5 Y n1 h* \0 ?i. If any errors occur during this step, all files in TC_DATA/model are restored from datasets ; M2 _4 o, c2 a/ |7 j6 n3 h1 [
(except for model.xml and model_backup.xml). - ~; r. G2 L; t3 j* {9 v% O1 Y
6) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards) * z, _9 \) }2 y! M* p1 J2 [1 p. F
a. If delta.xml file generation is successful, files in TC_DATA/model folder are uploaded to the database.
: u' S O7 Z- _7) Run install scripts for all selected templates
; ^' b( d7 K1 p& R' Ma. If template install, run the install_<template>.script for the template being installed. & s/ E0 z- f* A4 {
b. If template update, run the install_<template>.script for all templates being updated. While running
0 x0 m3 G1 A0 h0 gthe install script, TEM will skip the call to business_model_updater in the file : @& F+ j0 x! A# ~
install_<template>.default
! c" |2 G* k, ]$ {8) Update the database with delta.xml using business_model_updater
/ N: M+ Z( }6 V- Va. The utility business_model_updater updates the database with the contents delta.xml
% m/ m4 @0 k. {" E4 ~9) Generate CLIPS rules, PLMXML schema file using the extracted file 3 ]8 I) ? @" W, S& v
a. Invoke utility to generate the CLIPS rule file. This utility does the following.. 8 Q0 d: N1 B) ?* b! o! Y& O% E! B
i. Extract data model from database. ( N& f; x0 L1 H, y: V& K
ii. Load the extracted data model. If there are loader errors, TEM deploy will report failure. + b! S. }. d. Y* D- l _# f
iii. Generate CLIPS rules using the loaded model.
. W' }. z/ y& y, f* lb. Invoke utility to generate the PLMXML XSD file. This utility does the following..
: Y* }1 p9 E+ p3 Fi. Extract data model from database.
& l# M" }1 ^" J& n! \9 kii. Load the extracted data model. If there are loader errors, TEM deploy will report failure. ( _- S& n2 n$ L$ D# K4 K
iii. Generate required schema file. ( g1 x5 Q4 F( d$ Z# L9 L
" E0 F0 a6 ~. M+ L
. @) |; \6 A; w |
|