|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
( k8 U8 c! h9 _9 ?: u- P4 v1 w
Teamcenter BMIDE冷部署TEM Deploy方式原理和步骤
9 G x# @4 p5 S9 f
. ~- J3 j3 J# w: l0 ~Let‘s understand these steps in detail. 8 B) l$ b5 B. v1 F* T! @+ S
1) Copy the template files, install scripts to TC_ROOT/install/<template>
' N f' o8 y# R* ?3 ~a. In this step the TEM will unzip files in your template package to the folder
! I+ o7 u8 Z3 O( }TC_ROOT/install/<templatename>
8 t* d$ Y5 O+ s2 Z6 M9 q2) Copy libraries to various folders in TC_ROOT . w5 j, F4 U/ Z' H9 }5 q0 s' b
a. TEM will copy the libraries or executables in your template package to respective folders in 1 T. g! X' A& d9 n: c
TC_ROOT , F' ]5 O* d8 u, W) V
3) Download files to TC_DATA/model from datasets (Applicable from Teamcenter 8.3 onwards)
" f8 U: V# K4 {; k& va. BMIDE utilities will download the current TC_DATA/model files from dataset $ `& U2 I" Q) K" U* w
4) Copy the latest template files from TC_ROOT/install/<template> to TC_DATA/model
- X" q, Q5 Z4 h5) Generate delta.xml
% x( z- |9 f0 f& n! n a( Z2 E8 ma. In this step, the delta.xml is generated using the files in TC_DATA/model 9 x5 L- H$ x% D: O5 O
i. Copy model.xml to model_backup.xml & k) X$ X0 ~: y" P2 n- O9 h# R
ii. Copy model_lang.xml to model_backup_lang.xml 8 q( M9 k h- a, q7 e0 k
iii. Consolidate template listed in master.xml to model.xml and model_lang.xml
; g. U% }0 ?" ?, c$ i1 Xiv. Load model_backup.xml and model_backup_lang.xml as old model
) n) X3 J) Z$ I) D Q9 m! v& Kv. Load model.xml and model_lang.xml as new model
/ T! I; `9 s) x+ A0 O% U2 ~vi. Compare and generate delta.xml
9 ?' c- l! o) p# tb. Teamcenter 8.3 onwards & w+ d( V6 P( z: f" H
i. If any errors occur during this step, all files in TC_DATA/model are restored from datasets / ~7 Z* a4 {' D! X7 _. h' x
(except for model.xml and model_backup.xml).
* }, ^+ R7 N a/ ?6) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards)
/ u; B. X3 H% o. Ta. If delta.xml file generation is successful, files in TC_DATA/model folder are uploaded to the database. + a% `' m% C9 f- } g! v S
7) Run install scripts for all selected templates 6 W* D! u& r) A4 [* e
a. If template install, run the install_<template>.script for the template being installed.
5 u5 ^9 u: m; T0 K% g5 Mb. If template update, run the install_<template>.script for all templates being updated. While running 6 G3 g$ L5 b: d$ j( u9 x0 i5 [
the install script, TEM will skip the call to business_model_updater in the file % J( I, u2 G0 g \+ p F! c
install_<template>.default
% ?9 E' a# ]# ?3 {8) Update the database with delta.xml using business_model_updater
$ A) G& j* D e- a6 w! d/ C8 i/ Wa. The utility business_model_updater updates the database with the contents delta.xml
" l2 s. t: k c! C; x+ ]9) Generate CLIPS rules, PLMXML schema file using the extracted file & q' L, S) B+ n% N" O
a. Invoke utility to generate the CLIPS rule file. This utility does the following.. + r* _9 N! b5 @4 u) N' ?
i. Extract data model from database.
1 O% Y2 _1 Q; _# x( U0 s6 H+ Bii. Load the extracted data model. If there are loader errors, TEM deploy will report failure.
- }9 e+ a* X" X8 j3 N! ?iii. Generate CLIPS rules using the loaded model. ( y: S# X; ]5 p( M/ H/ b J# h
b. Invoke utility to generate the PLMXML XSD file. This utility does the following.. - c; ^/ Y. R _) ^8 s# Z
i. Extract data model from database. u' J3 @. W1 ~5 k1 Z; Q
ii. Load the extracted data model. If there are loader errors, TEM deploy will report failure.
; W/ k* p6 @0 ^1 W7 {1 Biii. Generate required schema file.
; [ u/ U7 n8 K `6 M
9 D. F; Y; C* X, @7 o3 k5 S) I: d6 M3 y% v; h& f/ _
|
|