|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
×
( O7 r( e4 e' K7 `8 K
Teamcenter BMIDE冷部署TEM Deploy方式原理和步骤
) l# Q j. t. U* n$ k# A1 R9 J ^' O0 H* L+ F; M" v1 [% [7 K
Let‘s understand these steps in detail. % Z8 ]- b4 z+ j
1) Copy the template files, install scripts to TC_ROOT/install/<template>
7 {) p- q/ ^# u' T( @& ]a. In this step the TEM will unzip files in your template package to the folder
* I0 d( l* k$ r7 y) P0 rTC_ROOT/install/<templatename> / }$ T k. m- D4 P" ]
2) Copy libraries to various folders in TC_ROOT 2 C1 L6 E9 ], p4 T- N! }
a. TEM will copy the libraries or executables in your template package to respective folders in
% n7 u5 m- Q6 c( `, |: H ATC_ROOT / o% c4 X3 E" l* ~; H, A) |& s0 q* X z
3) Download files to TC_DATA/model from datasets (Applicable from Teamcenter 8.3 onwards) - q) }9 k& E& K# ?7 U* k6 O! e
a. BMIDE utilities will download the current TC_DATA/model files from dataset
4 E; `5 c2 u. w. N5 Z+ j8 \: C8 J7 F4) Copy the latest template files from TC_ROOT/install/<template> to TC_DATA/model
, J' W4 D2 s: f( A2 D) _: Z4 ?5) Generate delta.xml
1 u& f% S3 |& ^a. In this step, the delta.xml is generated using the files in TC_DATA/model 1 z" e8 T# T0 j+ ^+ O: w
i. Copy model.xml to model_backup.xml 0 j$ ?" |5 Q7 Z" k+ w
ii. Copy model_lang.xml to model_backup_lang.xml
' E) S4 Y& i, N. m" @iii. Consolidate template listed in master.xml to model.xml and model_lang.xml
1 H0 r" y. J4 w9 `3 j0 X% J6 r" e1 Qiv. Load model_backup.xml and model_backup_lang.xml as old model
* ?1 N7 f! `$ K# V% {4 O* g( Fv. Load model.xml and model_lang.xml as new model
( _5 T4 j3 R) B* R% ~- A0 tvi. Compare and generate delta.xml
+ n+ A+ L; \! ]6 fb. Teamcenter 8.3 onwards
# @' y; ~/ z1 S; R; f! }i. If any errors occur during this step, all files in TC_DATA/model are restored from datasets 9 ]: m, e9 k0 h
(except for model.xml and model_backup.xml). 0 A8 N9 J/ {( R. x9 @8 ]
6) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards) 0 Z' E6 V# z7 p
a. If delta.xml file generation is successful, files in TC_DATA/model folder are uploaded to the database.
* E3 O& d3 i- {5 {" f7) Run install scripts for all selected templates
& f* } v8 q6 x& d8 F: c" } L% Ka. If template install, run the install_<template>.script for the template being installed.
; I; E) ?: N2 K: {b. If template update, run the install_<template>.script for all templates being updated. While running 4 L- i! B4 @7 T! ]9 Q
the install script, TEM will skip the call to business_model_updater in the file 4 j7 O! P U z4 n# `7 f0 c
install_<template>.default 4 d" Q# _! J0 w# @
8) Update the database with delta.xml using business_model_updater 5 S8 H! w% B: w8 _) }
a. The utility business_model_updater updates the database with the contents delta.xml + q- V u% \ y/ N7 P! |
9) Generate CLIPS rules, PLMXML schema file using the extracted file + y/ F i# a6 F) Q3 X, D
a. Invoke utility to generate the CLIPS rule file. This utility does the following..
1 P: @# C( A9 ri. Extract data model from database.
8 I& }3 A k' b `7 kii. Load the extracted data model. If there are loader errors, TEM deploy will report failure. : b9 E( d+ Q" G3 ]' |' y
iii. Generate CLIPS rules using the loaded model. ' C* }- Y2 U! Z- `2 b
b. Invoke utility to generate the PLMXML XSD file. This utility does the following..
; _! b7 o5 L9 E! T: Yi. Extract data model from database. $ z* {3 q$ V' w0 z
ii. Load the extracted data model. If there are loader errors, TEM deploy will report failure.
: N% Z" z: T# J9 Q# Q- Y' Iiii. Generate required schema file. * y5 S7 G5 }9 g1 S, A8 C- L
: _8 q% i4 m+ u5 l8 n& t$ d- O p
/ T$ g" w& I5 d4 d, M |
|