|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
9 u& O+ M0 G$ r q, k Teamcenter BMIDE冷部署TEM Deploy方式原理和步骤
3 Q3 {5 R. }: r& M; B
; M0 a; G9 n' }Let‘s understand these steps in detail. 6 D, G! L& e- Q) `/ A
1) Copy the template files, install scripts to TC_ROOT/install/<template> 5 B' [( v9 u p8 x4 _; o
a. In this step the TEM will unzip files in your template package to the folder
* b2 t4 \, K6 U& h$ j/ ~( LTC_ROOT/install/<templatename> 1 d0 \: Y7 u6 a- {
2) Copy libraries to various folders in TC_ROOT 9 Y8 |7 L, ~+ I. V8 f
a. TEM will copy the libraries or executables in your template package to respective folders in 1 s! Z9 p# n5 u0 w
TC_ROOT
" d7 p- i# U9 G5 K$ n3) Download files to TC_DATA/model from datasets (Applicable from Teamcenter 8.3 onwards) 0 m) Z7 E" h; d D
a. BMIDE utilities will download the current TC_DATA/model files from dataset
: m' r) _. _: y4 j4) Copy the latest template files from TC_ROOT/install/<template> to TC_DATA/model
* I0 F# _' [- H5) Generate delta.xml
+ O7 ?9 L3 }$ N% @# z/ G' Ta. In this step, the delta.xml is generated using the files in TC_DATA/model 8 m8 T% x/ \* B6 Q' {
i. Copy model.xml to model_backup.xml + r) n7 x1 p& g+ B4 A/ X
ii. Copy model_lang.xml to model_backup_lang.xml 0 w a8 \- {9 j' x ~( ?6 Q; z& Z
iii. Consolidate template listed in master.xml to model.xml and model_lang.xml & {! H; m9 p/ w! }% c
iv. Load model_backup.xml and model_backup_lang.xml as old model
. @5 i& U! p+ J/ F7 Nv. Load model.xml and model_lang.xml as new model
7 y& P- U! y( Y/ Ivi. Compare and generate delta.xml
# h% e. r& @5 K, A1 h& y8 d/ K( Ub. Teamcenter 8.3 onwards 9 Q+ l/ [" \- r" f4 {1 S) u! ` I, p, ^
i. If any errors occur during this step, all files in TC_DATA/model are restored from datasets
3 ^* K# ~3 Q. K3 g9 h' o(except for model.xml and model_backup.xml). ) @- h3 P! b# ~+ ?, O
6) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards)
; t6 J% i" R- F+ P3 A& d. a" N( }a. If delta.xml file generation is successful, files in TC_DATA/model folder are uploaded to the database.
% W/ Q/ D5 [2 \4 V* Q7) Run install scripts for all selected templates
& i) i0 @' G7 Ea. If template install, run the install_<template>.script for the template being installed.
% p; ^& x; P. Hb. If template update, run the install_<template>.script for all templates being updated. While running
" S. u, s0 d! h# D! A; |the install script, TEM will skip the call to business_model_updater in the file
# v) j7 l6 m# k! U/ S$ I# Winstall_<template>.default 9 g8 `' X3 a v7 g! e
8) Update the database with delta.xml using business_model_updater 5 m( x7 o& @5 `) K3 x% c0 x6 H
a. The utility business_model_updater updates the database with the contents delta.xml
! O; f% ]$ Y, ~8 a" `' h9) Generate CLIPS rules, PLMXML schema file using the extracted file - K) o9 ^. e: Q% y
a. Invoke utility to generate the CLIPS rule file. This utility does the following.. M* {; s# n; k6 E$ x9 h* C
i. Extract data model from database.
/ ?+ V5 k. k# L% H2 Jii. Load the extracted data model. If there are loader errors, TEM deploy will report failure.
* X) _, U5 _* \% Wiii. Generate CLIPS rules using the loaded model.
3 ~8 f8 B/ k" E, Eb. Invoke utility to generate the PLMXML XSD file. This utility does the following.. 5 p9 ]& d/ a: }) l6 p# c; K
i. Extract data model from database. 7 Q, m0 u4 |+ K5 G }
ii. Load the extracted data model. If there are loader errors, TEM deploy will report failure.
" m+ J* c0 X( diii. Generate required schema file.
% \; p4 N; l) |/ G2 F9 e
% ?: ? n1 O& S7 v o# h! w- A! z+ A1 y0 `9 f3 G
|
|