|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
9 G3 ^6 l' l2 T Teamcenter BMIDE冷部署TEM Deploy方式原理和步骤
" r! O! }! y9 u F6 z, B
' @+ E4 ?; x9 |5 oLet‘s understand these steps in detail.
% A [# Q! b: V" [ T- U5 c1) Copy the template files, install scripts to TC_ROOT/install/<template>
, s- N' i7 c& d4 da. In this step the TEM will unzip files in your template package to the folder
; `' {/ ] R x4 F+ K: lTC_ROOT/install/<templatename>
+ y, Y( A- W2 l: l$ y1 x$ `1 H2) Copy libraries to various folders in TC_ROOT
/ `6 i# ^, Y( k- J; z9 qa. TEM will copy the libraries or executables in your template package to respective folders in
: |) j) ^9 D, F3 x, dTC_ROOT % V* @1 l( N- Q& x4 \
3) Download files to TC_DATA/model from datasets (Applicable from Teamcenter 8.3 onwards)
8 {: t/ g+ T7 Y* }a. BMIDE utilities will download the current TC_DATA/model files from dataset
3 v# E: l$ _9 {4) Copy the latest template files from TC_ROOT/install/<template> to TC_DATA/model
3 T0 ?& q9 Z; G3 H( F5) Generate delta.xml + t& n- L5 c% z( b3 |
a. In this step, the delta.xml is generated using the files in TC_DATA/model
/ N7 Q, s5 `- s" @8 hi. Copy model.xml to model_backup.xml % i1 t: D) s- v
ii. Copy model_lang.xml to model_backup_lang.xml
8 _) g, [: t7 V8 k' p! }* Riii. Consolidate template listed in master.xml to model.xml and model_lang.xml
! F" X, y; T7 x9 N0 y+ ?) ?0 g! X. jiv. Load model_backup.xml and model_backup_lang.xml as old model
! I* \1 f4 S% M( m9 J* b" J8 n# a4 i) dv. Load model.xml and model_lang.xml as new model
9 Z! a" K5 d& a2 |vi. Compare and generate delta.xml
; d8 S; r6 j0 e) q8 Mb. Teamcenter 8.3 onwards
; z. e( {4 b( v6 }1 r9 ai. If any errors occur during this step, all files in TC_DATA/model are restored from datasets 6 N! o4 J" g3 c7 S" I `+ N8 A+ l ?
(except for model.xml and model_backup.xml).
0 k$ ]( K8 H7 [% T! U+ X1 a2 C/ `! D6) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards)
) h2 _2 }/ M0 |" W( ^0 r4 a Ga. If delta.xml file generation is successful, files in TC_DATA/model folder are uploaded to the database.
7 V3 r/ I$ } ~" _2 [% t: x; U7) Run install scripts for all selected templates
: a& h4 z6 c ^# p/ h; R5 A, Oa. If template install, run the install_<template>.script for the template being installed.
8 e" A) T" W; Qb. If template update, run the install_<template>.script for all templates being updated. While running
: e' q9 N% I5 j; |the install script, TEM will skip the call to business_model_updater in the file
" U( k$ @0 c7 G/ f1 n, Cinstall_<template>.default K) h! b3 b3 ^! |- s/ u7 k8 m
8) Update the database with delta.xml using business_model_updater
f. C, T" X. `' }: G8 la. The utility business_model_updater updates the database with the contents delta.xml
3 T1 j+ K/ v% T; _3 |/ ~9) Generate CLIPS rules, PLMXML schema file using the extracted file / U& k& [4 y* ~; m$ \% V
a. Invoke utility to generate the CLIPS rule file. This utility does the following.. * [+ I$ M3 d& z- r/ v1 [4 a4 H
i. Extract data model from database.
/ x' S: L+ J) }% r" j0 u. Yii. Load the extracted data model. If there are loader errors, TEM deploy will report failure.
) F7 J% S/ ?4 N6 E2 e2 T& liii. Generate CLIPS rules using the loaded model.
8 K! Q) L" H1 A% j1 O6 [. _: {b. Invoke utility to generate the PLMXML XSD file. This utility does the following.. ' Z7 X% W9 s4 N
i. Extract data model from database.
8 ? ]' d- r5 {. D! _- u4 K& vii. Load the extracted data model. If there are loader errors, TEM deploy will report failure. - C/ S. D6 Z0 m5 @/ N/ e/ s
iii. Generate required schema file.
/ P* `: `: U( {. p
3 n5 B4 {% T' `' a7 @' \0 h7 f" g: \2 s: U7 U
|
|