|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
& W ?* X) _3 d) m1 @7 k
Teamcenter BMIDE冷部署TEM Deploy方式原理和步骤
+ {+ X) h1 S/ |$ ~: ^. K 0 g* U* u: g2 x p' I, ^+ P1 R. W
Let‘s understand these steps in detail. 7 c9 V: k0 a; y. h7 m* @' t$ d$ }
1) Copy the template files, install scripts to TC_ROOT/install/<template>
; @" ~! Y, A& l2 m; R7 ma. In this step the TEM will unzip files in your template package to the folder - ~3 ^. |! ]( `( t: A
TC_ROOT/install/<templatename> 6 E% O' t; ~+ P3 h
2) Copy libraries to various folders in TC_ROOT
; c+ U" }; S; ]" va. TEM will copy the libraries or executables in your template package to respective folders in
% ]1 c8 O# @" @/ LTC_ROOT 4 T! `# P2 S f) @
3) Download files to TC_DATA/model from datasets (Applicable from Teamcenter 8.3 onwards)
6 a- K1 }' h! |a. BMIDE utilities will download the current TC_DATA/model files from dataset
9 K* r# b h: b3 Y- d4) Copy the latest template files from TC_ROOT/install/<template> to TC_DATA/model
# s. u1 |4 ]. a( f" Y( h5) Generate delta.xml 6 z# K/ ^0 ? M: E, T/ c2 P6 _, [
a. In this step, the delta.xml is generated using the files in TC_DATA/model % Z1 R& X. N" m% ?
i. Copy model.xml to model_backup.xml / e7 G; f6 A& O h2 b
ii. Copy model_lang.xml to model_backup_lang.xml
' M! x* `; r. B) A1 qiii. Consolidate template listed in master.xml to model.xml and model_lang.xml & [& i9 p6 o( q; q8 Z* p
iv. Load model_backup.xml and model_backup_lang.xml as old model # E. o5 i& x. ~
v. Load model.xml and model_lang.xml as new model
& C4 i) ?8 t, A+ c# p( C0 h0 ]& `vi. Compare and generate delta.xml ; J. H; x: `# B9 p) z0 d C( Y
b. Teamcenter 8.3 onwards
/ s) w/ p" P9 q7 V7 c6 K6 Ki. If any errors occur during this step, all files in TC_DATA/model are restored from datasets 2 c5 p+ k ~1 @4 x7 G1 a ~3 @# j- l
(except for model.xml and model_backup.xml).
|8 b$ s1 Q9 r- u. [6 d6) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards)
0 l( u" ^4 O/ {& B1 Ra. If delta.xml file generation is successful, files in TC_DATA/model folder are uploaded to the database. / g8 @ i2 x; m- @
7) Run install scripts for all selected templates
0 O- E+ X7 o( {4 Wa. If template install, run the install_<template>.script for the template being installed.
5 n0 H/ s- ^( _b. If template update, run the install_<template>.script for all templates being updated. While running
4 [# _, ?* q" Qthe install script, TEM will skip the call to business_model_updater in the file 0 r( E$ `. i1 z# A; s. n, f
install_<template>.default 5 O5 Q9 Q3 v5 k+ Q7 E9 D; n
8) Update the database with delta.xml using business_model_updater
9 S8 s: b8 U* B. X( i3 Xa. The utility business_model_updater updates the database with the contents delta.xml 5 K6 B' {# \% v5 ]
9) Generate CLIPS rules, PLMXML schema file using the extracted file
0 ^ k1 n, y; {6 ?1 Z; qa. Invoke utility to generate the CLIPS rule file. This utility does the following.. 4 L: p6 \& d1 D! k0 o! M
i. Extract data model from database.
( L) i+ M {- ?6 }* w. d7 [ii. Load the extracted data model. If there are loader errors, TEM deploy will report failure.
) O, N9 n1 }4 O( u) `, tiii. Generate CLIPS rules using the loaded model. $ C! ~' ~0 T9 [0 K
b. Invoke utility to generate the PLMXML XSD file. This utility does the following.. 2 k# F) P% f' w
i. Extract data model from database. * y3 q) c0 { b0 \& Z: F
ii. Load the extracted data model. If there are loader errors, TEM deploy will report failure. / z9 |+ k3 S l& m: {1 U
iii. Generate required schema file. : V/ R: |% c% [6 A4 H W% f% [7 `
7 o# F" a& K8 a2 Q$ ?" _) {9 L4 O F: p& F8 c' S# u
|
|