|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
# f o( j9 A8 D$ m
Teamcenter BMIDE冷部署TEM Deploy方式原理和步骤
. p( {" H0 i! I( f
: t, H* t7 X ?& q7 qLet‘s understand these steps in detail.
' u) a& F$ ~* C3 F% t! a) j4 J% N1) Copy the template files, install scripts to TC_ROOT/install/<template> 0 @' C0 } q8 b9 b3 g+ {+ e6 a
a. In this step the TEM will unzip files in your template package to the folder . z$ Y& ]$ U- G4 @: f% N& f
TC_ROOT/install/<templatename> # ]- q% e+ y S/ o. J+ {; b& y
2) Copy libraries to various folders in TC_ROOT " a9 m& n% a7 F) V0 d# ~/ V
a. TEM will copy the libraries or executables in your template package to respective folders in
! c1 c! ]! j2 C0 H6 bTC_ROOT
0 @2 _2 V7 ~1 a1 R& n/ g: R* X3) Download files to TC_DATA/model from datasets (Applicable from Teamcenter 8.3 onwards)
5 Y" T" B5 S( u) g8 h Y) `3 Na. BMIDE utilities will download the current TC_DATA/model files from dataset 9 t9 ^( L1 c3 [
4) Copy the latest template files from TC_ROOT/install/<template> to TC_DATA/model 4 z5 H( ~0 y2 H
5) Generate delta.xml - W9 Y- L: p5 L/ \3 P- U1 P
a. In this step, the delta.xml is generated using the files in TC_DATA/model
/ ?* I* h4 N0 l1 R Zi. Copy model.xml to model_backup.xml
, l! X5 \4 [" X9 l( p/ ^2 \/ Aii. Copy model_lang.xml to model_backup_lang.xml % T1 J5 w* d. |7 h! K
iii. Consolidate template listed in master.xml to model.xml and model_lang.xml 6 l, g" G' U- I& n8 m; K
iv. Load model_backup.xml and model_backup_lang.xml as old model
- u8 Y6 S9 L+ B: rv. Load model.xml and model_lang.xml as new model
3 g' b. n( `8 W2 S6 Mvi. Compare and generate delta.xml
0 ^& H6 y3 k$ X. l& Xb. Teamcenter 8.3 onwards
6 O/ b2 X0 D$ v9 a% P1 q' _i. If any errors occur during this step, all files in TC_DATA/model are restored from datasets
+ g% m/ ^% p, f; A H! _(except for model.xml and model_backup.xml).
- Y/ M! K1 O6 c% e: v) e6) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards)
8 n0 F' b6 x. }& o$ S% R3 Da. If delta.xml file generation is successful, files in TC_DATA/model folder are uploaded to the database. ! K$ X0 t3 Z) U% Z1 h$ ^+ W( R
7) Run install scripts for all selected templates
6 e4 s" {& B% Q7 P5 E; ua. If template install, run the install_<template>.script for the template being installed.
/ I" P: p7 Q$ O5 f. q/ lb. If template update, run the install_<template>.script for all templates being updated. While running 2 z5 J" r+ ~" Y% G
the install script, TEM will skip the call to business_model_updater in the file 8 B; I, f0 E/ i/ k% O h
install_<template>.default
) ?& A$ @9 w: }) O3 X8) Update the database with delta.xml using business_model_updater
' t1 [; Z1 f9 z, t1 ^a. The utility business_model_updater updates the database with the contents delta.xml
* d9 {# Q3 W9 l; i3 i& q, D4 o9) Generate CLIPS rules, PLMXML schema file using the extracted file 6 O! ~; i" T& f
a. Invoke utility to generate the CLIPS rule file. This utility does the following..
n. A! r& H" J& `4 l& ]( d( fi. Extract data model from database.
: x0 Y7 [# \ W- R2 [8 q' E% K4 p' nii. Load the extracted data model. If there are loader errors, TEM deploy will report failure. : e R$ g2 @: A( w* g! S
iii. Generate CLIPS rules using the loaded model.
, h0 C7 t1 ]; \" I& X, K$ nb. Invoke utility to generate the PLMXML XSD file. This utility does the following..
w6 n9 {7 U; j$ m! Y( F/ w6 ui. Extract data model from database. - A) D# R: i, w
ii. Load the extracted data model. If there are loader errors, TEM deploy will report failure.
6 G/ ]% s' ^4 i3 y; Wiii. Generate required schema file.
, I) ^" T' j8 p) B! S% G
2 |- | q* G+ E+ l" A0 v S, J/ D5 c( `$ O
|
|