|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
0 T Q- R# u* v L Teamcenter BMIDE冷部署TEM Deploy方式原理和步骤
% S6 ?) U. |/ q" B* Y
1 a8 b9 Q j# p' Z7 M1 cLet‘s understand these steps in detail. , M C" q4 n) ~3 W, X" h
1) Copy the template files, install scripts to TC_ROOT/install/<template> 1 ~# }$ t; H, \5 |2 o
a. In this step the TEM will unzip files in your template package to the folder
+ `; u$ N# t' a2 T d7 DTC_ROOT/install/<templatename> ) I {* x( `' f4 V1 S. M$ T% ?
2) Copy libraries to various folders in TC_ROOT
3 p7 ~0 Z& x8 S; }, e f! R Z8 ^a. TEM will copy the libraries or executables in your template package to respective folders in ' G) @7 _1 L5 W" j: a
TC_ROOT
' X4 H3 a7 A' d; Y+ |$ P$ c3) Download files to TC_DATA/model from datasets (Applicable from Teamcenter 8.3 onwards)
K3 C" W0 |7 Ea. BMIDE utilities will download the current TC_DATA/model files from dataset
9 u' Y5 y' p8 ^. ]" j0 ^% P4) Copy the latest template files from TC_ROOT/install/<template> to TC_DATA/model + e: S% F/ ?) A# F
5) Generate delta.xml
" p7 t5 E% I2 v- q3 v0 z( F/ X* P& ha. In this step, the delta.xml is generated using the files in TC_DATA/model 0 V x1 s. B$ l3 L" ]6 b3 R
i. Copy model.xml to model_backup.xml ; X) C' g) B* c* L8 X9 ]
ii. Copy model_lang.xml to model_backup_lang.xml 5 k. d6 N9 v2 l, Q% P
iii. Consolidate template listed in master.xml to model.xml and model_lang.xml , l( c3 n9 s' @9 `' a7 ~$ T
iv. Load model_backup.xml and model_backup_lang.xml as old model
4 Z$ o% }, R8 ]v. Load model.xml and model_lang.xml as new model
1 T2 M5 u. W! ^9 Qvi. Compare and generate delta.xml
: \: \5 p5 h5 kb. Teamcenter 8.3 onwards
, ]. S4 M7 }, ]. R0 Oi. If any errors occur during this step, all files in TC_DATA/model are restored from datasets
! g: r( t, a2 q' R8 F(except for model.xml and model_backup.xml). ( G% u: L- E# [2 i3 `( a* U/ I
6) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards)
- B M3 l3 G9 `a. If delta.xml file generation is successful, files in TC_DATA/model folder are uploaded to the database.
. O: k, Z( V. S4 {5 b0 v9 V; O7) Run install scripts for all selected templates
& U' ~& T! a! s# n: }a. If template install, run the install_<template>.script for the template being installed.
, W, U* R; d/ l; Q: P5 D5 @4 db. If template update, run the install_<template>.script for all templates being updated. While running
* h3 W' N3 q* W8 W* Dthe install script, TEM will skip the call to business_model_updater in the file M# `1 Z# d( _9 ~
install_<template>.default # Z, ^* P. e& S F% O' n+ }1 }* w
8) Update the database with delta.xml using business_model_updater
$ X3 l% q9 O2 D5 C& }) W! ~4 C4 ?a. The utility business_model_updater updates the database with the contents delta.xml
3 r0 g e/ X9 f/ I4 N. C9) Generate CLIPS rules, PLMXML schema file using the extracted file 7 u( o2 P5 Y; L/ k5 x) `7 Q
a. Invoke utility to generate the CLIPS rule file. This utility does the following.. * [7 I0 L( l; b. t( t
i. Extract data model from database. ( l8 f2 }% w+ n5 X
ii. Load the extracted data model. If there are loader errors, TEM deploy will report failure.
5 Y1 T* _$ W ^7 Y1 biii. Generate CLIPS rules using the loaded model.
! p" M. x |5 B wb. Invoke utility to generate the PLMXML XSD file. This utility does the following.. 7 k7 E( ^' s/ i% T
i. Extract data model from database. 6 S( m! P! a) K2 @! C
ii. Load the extracted data model. If there are loader errors, TEM deploy will report failure.
" X% ~1 V; ], ]# y, r/ l5 z7 oiii. Generate required schema file. + k" Q* v; z- A4 U9 t3 y
3 g: U7 l+ w6 ]0 }6 X: _) C3 E; S+ l$ N4 a" c( J
|
|