|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
×
) U) a, I6 X; i8 K9 F- Y2 [: h Teamcenter BMIDE冷部署TEM Deploy方式原理和步骤
/ V. N, o7 q. J( M: v2 @ $ ~4 h5 v* x, E/ u4 q8 g6 d
Let‘s understand these steps in detail. ; S' l, F1 A. L ?1 `8 q2 X5 F. w3 f
1) Copy the template files, install scripts to TC_ROOT/install/<template> ! k( ]% e5 ]0 ~
a. In this step the TEM will unzip files in your template package to the folder
; [) u: t2 _, p5 |- N- lTC_ROOT/install/<templatename>
: t$ S( X, H3 X, c4 v1 @( F: w2) Copy libraries to various folders in TC_ROOT 6 y" q0 S2 E* h/ o; k
a. TEM will copy the libraries or executables in your template package to respective folders in
& Z9 T: h" H/ ~2 ~TC_ROOT . {3 ^$ m2 j/ W% T( H& H& G' ?
3) Download files to TC_DATA/model from datasets (Applicable from Teamcenter 8.3 onwards) ; {5 a$ q& t4 m! C
a. BMIDE utilities will download the current TC_DATA/model files from dataset . C9 y, S, x: v
4) Copy the latest template files from TC_ROOT/install/<template> to TC_DATA/model 8 E" w& q6 U# N. v- u/ f
5) Generate delta.xml
4 z! f4 T, Z$ `3 la. In this step, the delta.xml is generated using the files in TC_DATA/model
r/ k, s! t4 |i. Copy model.xml to model_backup.xml
5 ~7 `8 d% V) h+ V5 o- p" T sii. Copy model_lang.xml to model_backup_lang.xml
3 j8 P# j M& _" O; e/ w% u: |iii. Consolidate template listed in master.xml to model.xml and model_lang.xml
; V0 l- m {" U. W1 hiv. Load model_backup.xml and model_backup_lang.xml as old model
. `* S- y* b( T6 Av. Load model.xml and model_lang.xml as new model 9 J& T* U9 L' o1 }
vi. Compare and generate delta.xml : W& x* ?, W# D8 K- J( T
b. Teamcenter 8.3 onwards 1 V9 A& x4 R: e$ b4 i% q
i. If any errors occur during this step, all files in TC_DATA/model are restored from datasets
0 Y3 |' M ]. d( |(except for model.xml and model_backup.xml). * I% r0 V# I$ m- Z
6) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards)
5 G$ e" f0 q: ]. D, f# sa. If delta.xml file generation is successful, files in TC_DATA/model folder are uploaded to the database.
`8 G, Q# ]' f7) Run install scripts for all selected templates 4 {: V6 _. O1 w- ]' V3 E, I
a. If template install, run the install_<template>.script for the template being installed. / R5 e9 q4 V7 |' B S
b. If template update, run the install_<template>.script for all templates being updated. While running
& z3 G. Q) K; P3 c: f$ |the install script, TEM will skip the call to business_model_updater in the file
2 P' S1 L8 I8 `! Z9 v4 Yinstall_<template>.default
: ] G/ g' n0 i% h+ v) D8) Update the database with delta.xml using business_model_updater
8 D) I3 x1 n0 d! oa. The utility business_model_updater updates the database with the contents delta.xml : M9 l3 b& S$ Z* A: ~
9) Generate CLIPS rules, PLMXML schema file using the extracted file
. M; \5 w0 d2 |$ ?# Ya. Invoke utility to generate the CLIPS rule file. This utility does the following.. # Z3 X2 n7 N2 j. o9 M9 y
i. Extract data model from database.
, @+ i- m' h' l/ ~, |! T' X9 dii. Load the extracted data model. If there are loader errors, TEM deploy will report failure.
- I8 E0 h2 C2 R) |9 Qiii. Generate CLIPS rules using the loaded model.
/ i! l5 z3 }! K7 k5 wb. Invoke utility to generate the PLMXML XSD file. This utility does the following..
' l) \- t7 m. t6 Yi. Extract data model from database.
7 g" h& ~4 N& h( e( H1 w Y ^! aii. Load the extracted data model. If there are loader errors, TEM deploy will report failure.
7 R( y2 L L; }+ ~iii. Generate required schema file.
- x# T& U z# d Z. x% v/ p6 i( n4 {( I6 M
4 G1 h& y5 j2 { |
|