|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
1 g' ]9 z( U; K7 q+ n5 }
Teamcenter BMIDE冷部署TEM Deploy方式原理和步骤
1 Z7 ^" x+ A) ~ U+ x
+ d8 T( w5 V3 fLet‘s understand these steps in detail.
9 Q- N8 O+ P2 _) u( N6 V* j5 b1) Copy the template files, install scripts to TC_ROOT/install/<template> ! F, Q/ q, ~3 S7 A. M" p
a. In this step the TEM will unzip files in your template package to the folder
) ]( H, ^1 Z+ Q) l& X0 CTC_ROOT/install/<templatename> : y, y' c8 k1 `/ d: K) `0 n* z
2) Copy libraries to various folders in TC_ROOT / X6 U) w1 J, a$ p0 |' S
a. TEM will copy the libraries or executables in your template package to respective folders in
`; W% K" t- q. s( `# c oTC_ROOT
/ D: T, E1 u( Z! w4 F% `& u. z/ w3) Download files to TC_DATA/model from datasets (Applicable from Teamcenter 8.3 onwards) 8 ]! y j. T6 d5 O" q! a1 B
a. BMIDE utilities will download the current TC_DATA/model files from dataset 3 _+ |$ N- R! B! ?% t+ |. d n! V8 [
4) Copy the latest template files from TC_ROOT/install/<template> to TC_DATA/model
0 d/ J1 B: Y4 Q# |7 v& U( c5) Generate delta.xml
+ v P3 S6 u/ R& qa. In this step, the delta.xml is generated using the files in TC_DATA/model
( T1 B2 l& w7 B9 y1 F) C# e1 ii. Copy model.xml to model_backup.xml 3 o1 B- @, E/ ~7 T4 ^
ii. Copy model_lang.xml to model_backup_lang.xml
3 ^/ `1 E) `" b$ W: Y- O( Xiii. Consolidate template listed in master.xml to model.xml and model_lang.xml
+ B/ s+ N: }9 d6 Uiv. Load model_backup.xml and model_backup_lang.xml as old model
6 y2 T- t( f+ Z3 ]8 sv. Load model.xml and model_lang.xml as new model . V1 C& v/ u; H6 i& Z% I& A5 V9 M; }
vi. Compare and generate delta.xml 5 }% V' q# C0 U- R9 x
b. Teamcenter 8.3 onwards ! i# S6 F# M; F; B
i. If any errors occur during this step, all files in TC_DATA/model are restored from datasets
0 M0 \9 H% O3 r" v. g' @5 x(except for model.xml and model_backup.xml). " m7 ]* T+ J8 m: u* u# r
6) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards) ) X: E! E5 F+ q/ J% Y S
a. If delta.xml file generation is successful, files in TC_DATA/model folder are uploaded to the database. . {( a+ J, X; E. B1 ]0 I/ z
7) Run install scripts for all selected templates + M4 f4 S# u) F9 \$ g _: W0 N$ N) R$ B/ \
a. If template install, run the install_<template>.script for the template being installed.
7 T- z. R" w3 f( w5 G9 S) wb. If template update, run the install_<template>.script for all templates being updated. While running
; l& D8 M' ?- t# T: n: y7 _6 m" \0 W* Ythe install script, TEM will skip the call to business_model_updater in the file
, N: |* @! ~! n+ W* Ninstall_<template>.default
7 r7 c9 S/ r# H& g8) Update the database with delta.xml using business_model_updater
1 ]3 j; j9 ?! _! O- A8 D7 a5 Ha. The utility business_model_updater updates the database with the contents delta.xml 0 e8 H# f. Y. ?% ~, T1 k
9) Generate CLIPS rules, PLMXML schema file using the extracted file # J7 t5 Z# ^3 }" m+ h# [( t& x
a. Invoke utility to generate the CLIPS rule file. This utility does the following..
( s. R) ?. u6 B+ }9 ^5 O+ \i. Extract data model from database.
' N O& U' r8 p. \1 mii. Load the extracted data model. If there are loader errors, TEM deploy will report failure.
5 [2 U: O- S1 @! x3 n o2 Riii. Generate CLIPS rules using the loaded model.
+ @; m9 B! q( d+ T7 G3 z4 \; Z, S+ Zb. Invoke utility to generate the PLMXML XSD file. This utility does the following..
( t, W9 e8 f" l. {" Q$ e- n6 pi. Extract data model from database.
! q" ~$ `/ E8 X! f/ Cii. Load the extracted data model. If there are loader errors, TEM deploy will report failure. ! O8 P1 w: G( I" I: m( |7 o
iii. Generate required schema file.
' f% U6 Y1 y7 y# n! Q, ^' n V. A3 l/ x* O! F- Y
7 q" W* ~7 b X6 b# j+ \ |
|