|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
G5 q6 [. U; i/ ? Teamcenter BMIDE冷部署TEM Deploy方式原理和步骤
- w/ `# c* {! `! Y/ U+ G, g, @% n
0 m6 d- |% m) ~: S5 BLet‘s understand these steps in detail.
/ b$ I; H2 O. D& Q/ D& v2 s4 C4 q1) Copy the template files, install scripts to TC_ROOT/install/<template> ; R# ] W% B0 p. n1 s E+ V8 s
a. In this step the TEM will unzip files in your template package to the folder
2 @8 v' e# Y6 \$ y2 P4 n9 d( MTC_ROOT/install/<templatename>
2 g- [2 V$ }, y% a; j5 q2) Copy libraries to various folders in TC_ROOT
. }- G& J$ Y5 _' F6 Z3 |a. TEM will copy the libraries or executables in your template package to respective folders in
9 J* Y6 P4 P5 f3 e6 Z9 @TC_ROOT
$ n% }8 B* b2 O) w3) Download files to TC_DATA/model from datasets (Applicable from Teamcenter 8.3 onwards)
, V' b' O" `, E, f7 }% a2 da. BMIDE utilities will download the current TC_DATA/model files from dataset . n1 z% b5 s: k+ M- i
4) Copy the latest template files from TC_ROOT/install/<template> to TC_DATA/model , f( _( H+ o* n7 \4 e# c% D
5) Generate delta.xml
, z; B4 v* K, Ra. In this step, the delta.xml is generated using the files in TC_DATA/model 4 j. g5 k6 J3 l# V( t1 C# }
i. Copy model.xml to model_backup.xml + P' U3 Z: O$ N! s+ B
ii. Copy model_lang.xml to model_backup_lang.xml
- |/ P V% c3 b8 t( e ?iii. Consolidate template listed in master.xml to model.xml and model_lang.xml
, w5 n+ U+ I6 A# t4 h+ siv. Load model_backup.xml and model_backup_lang.xml as old model 4 ^5 j" }- Z: f1 @9 |: C
v. Load model.xml and model_lang.xml as new model
" U$ w3 T( x# k+ W# o; Qvi. Compare and generate delta.xml
$ w6 R- q. G6 k6 r% sb. Teamcenter 8.3 onwards - H. ?) U/ r, @
i. If any errors occur during this step, all files in TC_DATA/model are restored from datasets 6 [. b; }% F4 H# H
(except for model.xml and model_backup.xml). 3 e- L" \' u1 Q' `
6) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards)
: t: }0 h, D- Da. If delta.xml file generation is successful, files in TC_DATA/model folder are uploaded to the database. 0 K% n9 B" C* I5 @, e# [! R2 G" k
7) Run install scripts for all selected templates
# `) o; N5 {/ L S/ S, E: _- J$ va. If template install, run the install_<template>.script for the template being installed. # e" B+ ^; f. N$ Q$ E
b. If template update, run the install_<template>.script for all templates being updated. While running
* s8 w, I% D2 ~: t) [the install script, TEM will skip the call to business_model_updater in the file
$ t0 G: J5 V5 \install_<template>.default
- h' q6 U: q; |8) Update the database with delta.xml using business_model_updater " y* N$ b, ? H9 g' X7 K
a. The utility business_model_updater updates the database with the contents delta.xml
# ^! ^& x& }: e' H2 i9) Generate CLIPS rules, PLMXML schema file using the extracted file * p' o( j+ D/ v1 I% i# i* I {( B
a. Invoke utility to generate the CLIPS rule file. This utility does the following..
1 \" S* x+ d" v; c3 [" D i" E2 N) Ui. Extract data model from database.
+ g+ a9 q, H9 L' O1 ^0 a; C* hii. Load the extracted data model. If there are loader errors, TEM deploy will report failure.
9 x0 G! J9 V; N: q4 Siii. Generate CLIPS rules using the loaded model. . B0 t3 \; V! D* o4 n
b. Invoke utility to generate the PLMXML XSD file. This utility does the following.. 7 R0 @. e$ O( F4 M. l3 E$ H( Z
i. Extract data model from database.
6 {3 O& E) \" n' bii. Load the extracted data model. If there are loader errors, TEM deploy will report failure.
4 g" F: A9 D; i+ niii. Generate required schema file.
$ s; f f/ k/ |: k1 t$ Q$ d7 k- w' q
( w& e: G& ]7 X
|
|