|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
/ v% A6 B k [; |! V. b
Teamcenter BMIDE冷部署TEM Deploy方式原理和步骤
* m1 X0 T& m& w, V; p/ B% j
# C2 n5 O- T- P* C' k0 H+ R2 MLet‘s understand these steps in detail. ; D: r* H/ ]' d2 |; P4 J
1) Copy the template files, install scripts to TC_ROOT/install/<template>
( m3 H5 N5 e }- M) x: f/ Ca. In this step the TEM will unzip files in your template package to the folder 1 n* x( o' T8 g
TC_ROOT/install/<templatename>
4 G; \2 o' H3 j. R; _2) Copy libraries to various folders in TC_ROOT
8 j0 K% @: c" t+ N5 D: j% L+ ja. TEM will copy the libraries or executables in your template package to respective folders in
* ?1 F( l3 M( e) z3 S& LTC_ROOT
/ o7 y0 h: V6 j1 g! }+ l3) Download files to TC_DATA/model from datasets (Applicable from Teamcenter 8.3 onwards) " y% O5 z0 |9 l9 f; d( c A1 P
a. BMIDE utilities will download the current TC_DATA/model files from dataset : S2 @! ?; B! ?0 ~5 T; i" t
4) Copy the latest template files from TC_ROOT/install/<template> to TC_DATA/model 5 Y" e( x" [9 s2 I- b2 ^
5) Generate delta.xml
4 W+ ~. ~) G. g [$ `7 ~7 I) Aa. In this step, the delta.xml is generated using the files in TC_DATA/model + c: [" ^; ?: s4 Y& j- A6 ~. X
i. Copy model.xml to model_backup.xml
# e0 \- b6 z, P( v' c# xii. Copy model_lang.xml to model_backup_lang.xml
1 u4 \0 I! T) Z3 m9 c8 Tiii. Consolidate template listed in master.xml to model.xml and model_lang.xml 0 b: j+ v9 x; G6 `" e7 k4 r
iv. Load model_backup.xml and model_backup_lang.xml as old model ; T% k8 F; M& R$ I, H
v. Load model.xml and model_lang.xml as new model ! ?8 @: Y- o( P& o# s F- s" {& m
vi. Compare and generate delta.xml 2 M. R2 S2 A' y7 a: f! ]
b. Teamcenter 8.3 onwards . f+ I- u; |) y! @5 e- x0 b- v; v
i. If any errors occur during this step, all files in TC_DATA/model are restored from datasets 1 A; }. v) x( U+ i6 `
(except for model.xml and model_backup.xml). + a+ s% P+ r6 j* W3 r h
6) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards)
* L! h4 s% u" Q X* V# i" Z* ka. If delta.xml file generation is successful, files in TC_DATA/model folder are uploaded to the database.
6 Z, y' `- T) W& H5 h2 |+ y7) Run install scripts for all selected templates
) V* {: q, Y: y( `) ?a. If template install, run the install_<template>.script for the template being installed.
$ Q' y0 {4 H4 O* r9 {+ bb. If template update, run the install_<template>.script for all templates being updated. While running
7 T, Y7 |. E1 k+ K6 V' `* A% ]the install script, TEM will skip the call to business_model_updater in the file ) P( e$ {& g7 Q# I1 e- n ^, _& o
install_<template>.default " o6 F- x5 `4 J! N$ a
8) Update the database with delta.xml using business_model_updater
0 o; Y2 f9 `+ U9 z0 q+ K6 C$ ua. The utility business_model_updater updates the database with the contents delta.xml
5 @3 I; K% H1 G4 Q8 E, B9) Generate CLIPS rules, PLMXML schema file using the extracted file
1 c$ W) F* u# d% F fa. Invoke utility to generate the CLIPS rule file. This utility does the following.. 9 Z; I5 g6 }5 Y5 K# m. w) H- P9 h
i. Extract data model from database.
2 x B; L6 A' m fii. Load the extracted data model. If there are loader errors, TEM deploy will report failure. ' A, b `6 t. S
iii. Generate CLIPS rules using the loaded model. ' r b( D4 l- O4 t
b. Invoke utility to generate the PLMXML XSD file. This utility does the following..
# ~; U$ h; l% E# i$ K4 P1 Ri. Extract data model from database. $ O( `# W+ G, B; l* h- _# Z+ a
ii. Load the extracted data model. If there are loader errors, TEM deploy will report failure.
7 \8 L) |. @% f0 Q" t5 A* f* `iii. Generate required schema file.
$ R/ U4 Z M9 _+ X0 q0 S; X$ q
' O* t# t6 M6 |5 G8 V0 P2 K- S9 q1 \+ I+ b
|
|