|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
6 W# G( O& \7 c8 M9 s% k9 y6 S Teamcenter BMIDE冷部署TEM Deploy方式原理和步骤
0 \5 ^! U! z5 U( s0 k
& V/ G' ^3 J7 P. \* x; GLet‘s understand these steps in detail. ( G- x7 ^0 x' i( |
1) Copy the template files, install scripts to TC_ROOT/install/<template>
5 r" m- o ?1 M4 h! Va. In this step the TEM will unzip files in your template package to the folder ' c8 b) n) Z$ J3 i
TC_ROOT/install/<templatename>
. s, t; h) i; b7 D7 Q/ x2) Copy libraries to various folders in TC_ROOT
. L7 @1 D5 z7 Y% Q1 r# ba. TEM will copy the libraries or executables in your template package to respective folders in $ A9 m R* ]- }% m p
TC_ROOT
$ ~* Y& J0 @9 O3) Download files to TC_DATA/model from datasets (Applicable from Teamcenter 8.3 onwards) " i# ^7 S2 ~# \; ~& ^
a. BMIDE utilities will download the current TC_DATA/model files from dataset
) h7 D' I# O7 [# Z! M+ e4) Copy the latest template files from TC_ROOT/install/<template> to TC_DATA/model
/ Y+ `3 q4 P! [; s" Z5) Generate delta.xml " |; m( b( B/ X& `1 D
a. In this step, the delta.xml is generated using the files in TC_DATA/model
7 h7 K: e) ]/ y5 Yi. Copy model.xml to model_backup.xml 5 R( ^ X* D; {. k6 O0 v
ii. Copy model_lang.xml to model_backup_lang.xml " E+ ^ x0 p; [, v" J
iii. Consolidate template listed in master.xml to model.xml and model_lang.xml
) v; m( i2 v* b' eiv. Load model_backup.xml and model_backup_lang.xml as old model ' O0 v1 ^ `1 Y/ m+ m' v
v. Load model.xml and model_lang.xml as new model
9 a$ D. k+ I' r1 {# z: Ivi. Compare and generate delta.xml
" s; v7 j5 s+ J1 c T2 @8 h- ab. Teamcenter 8.3 onwards 9 x! n& C9 J3 V% f; x3 H( [
i. If any errors occur during this step, all files in TC_DATA/model are restored from datasets & a/ `# l5 }+ w2 T, C; G
(except for model.xml and model_backup.xml).
) w4 N" Q5 V- ?0 o& ^ `5 N4 g6) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards)
% x" X$ y- w; G0 _( [1 e/ Ea. If delta.xml file generation is successful, files in TC_DATA/model folder are uploaded to the database. 8 E1 U, V" v- @" _+ X# c
7) Run install scripts for all selected templates
* X7 d( b% B" _7 Ma. If template install, run the install_<template>.script for the template being installed.
: v' Z1 Q ]5 J5 Ib. If template update, run the install_<template>.script for all templates being updated. While running ; j! ?" y d, b# @! O. p2 l* P9 ?
the install script, TEM will skip the call to business_model_updater in the file ; }+ z7 s4 c4 [1 K
install_<template>.default 5 ]. \# W7 m' T9 k) u1 X% c& Y
8) Update the database with delta.xml using business_model_updater
9 d. \2 \+ ?3 Pa. The utility business_model_updater updates the database with the contents delta.xml
! H" N4 P' C/ I9) Generate CLIPS rules, PLMXML schema file using the extracted file b B4 R d/ ], E' B
a. Invoke utility to generate the CLIPS rule file. This utility does the following..
b3 k$ p3 K; H. F# wi. Extract data model from database. . |6 g2 `) I" {9 }6 }
ii. Load the extracted data model. If there are loader errors, TEM deploy will report failure. * @# c. p" X f# l! T
iii. Generate CLIPS rules using the loaded model. 8 j1 q/ i) H( M0 ?/ t
b. Invoke utility to generate the PLMXML XSD file. This utility does the following.. . M' }5 S* K8 {4 M, v1 Z
i. Extract data model from database.
6 R' q7 h. u5 i4 Yii. Load the extracted data model. If there are loader errors, TEM deploy will report failure.
& @- @/ `) E* `: uiii. Generate required schema file.
" h5 {- E y# O- }8 ?
9 ^* v! y& I, U) G$ H% p$ \# q4 Z$ m+ x% N
|
|