|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
! O( J* A- d9 o7 a3 A
Teamcenter BMIDE冷部署TEM Deploy方式原理和步骤
. P6 ]' l) M$ u$ \2 B/ A$ o
' M, d2 |& p$ N1 ?9 u
Let‘s understand these steps in detail. 3 |: p- R" m' O' j) o7 V
1) Copy the template files, install scripts to TC_ROOT/install/<template> " H; ? v4 c! `% r4 x( Z; c W
a. In this step the TEM will unzip files in your template package to the folder
8 A9 O, V$ e4 M" h! @TC_ROOT/install/<templatename>
& o' C# A, I3 T! k2) Copy libraries to various folders in TC_ROOT 3 X0 F3 \$ q' U6 T+ ^
a. TEM will copy the libraries or executables in your template package to respective folders in
7 c) H: b! r9 PTC_ROOT
/ x5 ~2 Z2 g) y8 z3 I( d3) Download files to TC_DATA/model from datasets (Applicable from Teamcenter 8.3 onwards) . I4 g0 J# O0 v
a. BMIDE utilities will download the current TC_DATA/model files from dataset
$ U' c5 |& ?6 @- p6 M) i4) Copy the latest template files from TC_ROOT/install/<template> to TC_DATA/model
8 g" n; O2 @- F5) Generate delta.xml
) v4 E! D- r" E7 ma. In this step, the delta.xml is generated using the files in TC_DATA/model 3 d" s* B* `+ t# K( _& l
i. Copy model.xml to model_backup.xml
: W$ f. c& V0 [9 z; D1 a9 m- l5 |9 f7 ]ii. Copy model_lang.xml to model_backup_lang.xml
/ N+ H1 U5 I* piii. Consolidate template listed in master.xml to model.xml and model_lang.xml
8 \* P6 l. i" f# k A2 xiv. Load model_backup.xml and model_backup_lang.xml as old model . E1 n' U$ L* @" y) s' c1 T
v. Load model.xml and model_lang.xml as new model
: M+ ?6 }& u3 f3 `4 uvi. Compare and generate delta.xml
4 |' X6 N. [; v+ g8 A) F/ o2 ?b. Teamcenter 8.3 onwards 3 w/ X9 k* X8 g4 g
i. If any errors occur during this step, all files in TC_DATA/model are restored from datasets
; L4 r- D5 S3 u; |" w M- X(except for model.xml and model_backup.xml). @! ]; n& x$ V/ d& F
6) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards) 3 q7 e' w6 N; R
a. If delta.xml file generation is successful, files in TC_DATA/model folder are uploaded to the database. $ r% |. J8 [0 i4 A$ ?
7) Run install scripts for all selected templates
7 m) w/ R3 E9 y5 s5 \1 [' ga. If template install, run the install_<template>.script for the template being installed. 9 P* q& s# M7 K. W
b. If template update, run the install_<template>.script for all templates being updated. While running
( |4 g) |' W; @$ p) U" E9 T6 xthe install script, TEM will skip the call to business_model_updater in the file 8 ]& U0 `$ | E
install_<template>.default " m" x( a; L0 N; N1 p6 I1 `* C
8) Update the database with delta.xml using business_model_updater
9 G6 b* b+ j. q( w* _9 _a. The utility business_model_updater updates the database with the contents delta.xml
5 E( _( F$ Y6 Z3 E: R s) v# Q7 P9) Generate CLIPS rules, PLMXML schema file using the extracted file
! ^& v7 N6 n! f9 S4 ~& {' t- t' ba. Invoke utility to generate the CLIPS rule file. This utility does the following.. 8 e7 R& ?1 P3 X6 y8 g
i. Extract data model from database. 7 q" _/ [, G1 T) ?
ii. Load the extracted data model. If there are loader errors, TEM deploy will report failure. - N/ C3 w" J( w& ]5 j9 I7 j
iii. Generate CLIPS rules using the loaded model. * D, Q6 x* \4 H! w* n
b. Invoke utility to generate the PLMXML XSD file. This utility does the following..
' q3 I; s# ?4 [- f D: i6 Ki. Extract data model from database.
4 ?# P. ]3 r+ O/ n8 F& j# m( \ii. Load the extracted data model. If there are loader errors, TEM deploy will report failure. 5 w; q1 s% R3 g5 x8 N- [8 y: D9 [
iii. Generate required schema file. 0 ^ {1 r% C& [
6 h' S" z3 _3 c5 v/ `4 t% u8 g. {0 H. _( s7 ^
|
|