|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
( J2 ~) B, @. X" a Teamcenter BMIDE冷部署TEM Deploy方式原理和步骤
8 {! a( Y1 q# N( H) r " t, L+ z- e# {* g! b
Let‘s understand these steps in detail.
: Y* F: N+ w) d2 m( u6 H" ~. o1) Copy the template files, install scripts to TC_ROOT/install/<template>
; K# @# L% P8 E" ^ E/ ra. In this step the TEM will unzip files in your template package to the folder
: A7 x# n. G) q; p6 eTC_ROOT/install/<templatename>
; Z" R' z. f( E2) Copy libraries to various folders in TC_ROOT $ r. Y4 x1 c' j1 q# f: z
a. TEM will copy the libraries or executables in your template package to respective folders in 7 a$ X- _0 m9 L2 N) u
TC_ROOT
% a% {) J4 R8 I+ n3) Download files to TC_DATA/model from datasets (Applicable from Teamcenter 8.3 onwards) 8 t5 n) M- T6 Q1 \
a. BMIDE utilities will download the current TC_DATA/model files from dataset + v7 w& W, Z0 Q2 m
4) Copy the latest template files from TC_ROOT/install/<template> to TC_DATA/model
# x! Q- C6 h' ^8 R i+ x4 V7 @; B5) Generate delta.xml : `( K0 V: T# E* B. D& V9 w: \7 q
a. In this step, the delta.xml is generated using the files in TC_DATA/model 5 u: A" U) b% P8 m9 T B' z- p
i. Copy model.xml to model_backup.xml
8 d1 S9 N/ {# b! u1 _) Dii. Copy model_lang.xml to model_backup_lang.xml
+ m+ @% l0 d8 ?( q! t- u/ Giii. Consolidate template listed in master.xml to model.xml and model_lang.xml * F2 g* f! M* F% P& R5 C0 E+ Z
iv. Load model_backup.xml and model_backup_lang.xml as old model 7 u& k2 }/ E3 Q& W6 i0 Y- Q
v. Load model.xml and model_lang.xml as new model
* [/ k1 o% f5 I- I2 W9 pvi. Compare and generate delta.xml
: b- ^& h' j# P. Y1 J" K9 ob. Teamcenter 8.3 onwards 7 t8 x- P- y; N8 C$ _" \
i. If any errors occur during this step, all files in TC_DATA/model are restored from datasets
$ p, C6 U, K, _: a- A! F4 R; h(except for model.xml and model_backup.xml). & T I4 O5 a& ?9 _. O6 D& f8 J8 N! E
6) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards) ) m# K( Q3 J2 {3 b7 {# M5 I! y
a. If delta.xml file generation is successful, files in TC_DATA/model folder are uploaded to the database. # V! @0 [6 p5 Z) E
7) Run install scripts for all selected templates
0 q, [$ ~! p5 a1 q! N. a& o. Na. If template install, run the install_<template>.script for the template being installed.
# r2 b% H# H! M, ~1 Mb. If template update, run the install_<template>.script for all templates being updated. While running : H- I( P+ d/ _ k
the install script, TEM will skip the call to business_model_updater in the file " L, E7 ?! i, n. x8 P% s
install_<template>.default + M0 w2 L1 `/ {* [3 P
8) Update the database with delta.xml using business_model_updater
' L5 m2 t8 {4 M2 |* O. Q% I/ x2 q5 Pa. The utility business_model_updater updates the database with the contents delta.xml
$ u7 m& a; T* U1 X$ C9) Generate CLIPS rules, PLMXML schema file using the extracted file
8 w# O6 b/ g2 {7 q2 za. Invoke utility to generate the CLIPS rule file. This utility does the following.. 1 u1 F1 `% e/ D9 I: H6 k
i. Extract data model from database. ) l2 r( @! K; I6 g. o
ii. Load the extracted data model. If there are loader errors, TEM deploy will report failure.
" B1 i) i% t8 M" f4 C8 w# e+ P/ j# V6 Xiii. Generate CLIPS rules using the loaded model. ; T7 i4 h5 w4 ]7 B+ y# @
b. Invoke utility to generate the PLMXML XSD file. This utility does the following..
& y! F/ j, C5 k! }. C, q. B3 ~% Ti. Extract data model from database. 6 K, Q( |* |$ N2 x! N4 H
ii. Load the extracted data model. If there are loader errors, TEM deploy will report failure. 4 J2 Y0 y% |. i4 Y8 [5 U
iii. Generate required schema file. - C9 ~" n2 B* |2 }4 p, R
: ` S, J* U, E
) M. d. |2 u" h; \ |
|