|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
7 W! x1 {( ~3 J; I Teamcenter BMIDE冷部署TEM Deploy方式原理和步骤
s5 J+ S' ~! d) V: H% D
5 ?3 g. a9 x( kLet‘s understand these steps in detail.
: t5 s# J: H' L8 C8 N3 ^' `1) Copy the template files, install scripts to TC_ROOT/install/<template>
0 M2 G) ~% P( \. | R( u$ ]a. In this step the TEM will unzip files in your template package to the folder
" m0 l- ^$ @# r! r5 n a5 f! j' yTC_ROOT/install/<templatename> * Q j4 N5 A- g1 n0 A
2) Copy libraries to various folders in TC_ROOT 1 u7 n/ d" h# f3 a6 _) \. Q" B
a. TEM will copy the libraries or executables in your template package to respective folders in ) E+ F8 Q' e% l0 m! E
TC_ROOT
9 g( @) G& y* k' c/ v7 l3) Download files to TC_DATA/model from datasets (Applicable from Teamcenter 8.3 onwards)
/ i+ b) m. o" K9 Ma. BMIDE utilities will download the current TC_DATA/model files from dataset ( }# {$ S* l8 v( J
4) Copy the latest template files from TC_ROOT/install/<template> to TC_DATA/model 2 C; y- z6 R t- H: F5 H& J
5) Generate delta.xml
5 g _: l$ S/ O0 s5 g" G& Oa. In this step, the delta.xml is generated using the files in TC_DATA/model 4 C( z: p4 E" Q1 x! G3 k" n
i. Copy model.xml to model_backup.xml 4 ?# y. r/ j0 c, s4 M" _
ii. Copy model_lang.xml to model_backup_lang.xml : E1 M* F( S9 g/ i# x' F# k$ m
iii. Consolidate template listed in master.xml to model.xml and model_lang.xml
+ m, ~1 o; d- I, l3 Siv. Load model_backup.xml and model_backup_lang.xml as old model . V+ a4 _4 H4 J! B) h4 W) H
v. Load model.xml and model_lang.xml as new model
' Z# q# \5 i: `5 l6 @" l: S: T% tvi. Compare and generate delta.xml
' t$ K' r9 `0 O3 H. L6 w' Y! k, _4 Jb. Teamcenter 8.3 onwards
# q5 H' g; @0 s6 U6 A6 s5 j+ ci. If any errors occur during this step, all files in TC_DATA/model are restored from datasets ; o! p: f+ R" `. F1 Q5 Y/ G, ]0 ?
(except for model.xml and model_backup.xml). ; P# y: D# X* f" {3 Y7 b
6) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards)
4 [4 Q* d# g/ ~: X" wa. If delta.xml file generation is successful, files in TC_DATA/model folder are uploaded to the database. - R" p M8 B! P) v1 E. j4 `" y
7) Run install scripts for all selected templates 0 x3 q9 i# ?4 |+ |: F
a. If template install, run the install_<template>.script for the template being installed.
/ {4 @6 ?/ @5 t( t# M( p) M' fb. If template update, run the install_<template>.script for all templates being updated. While running
$ r8 J+ X- I9 N* M' y. l* Gthe install script, TEM will skip the call to business_model_updater in the file
: U; x4 `% p2 R0 F4 A: s( u2 [. Jinstall_<template>.default * ^# r4 b1 e# |) L
8) Update the database with delta.xml using business_model_updater
7 e( v! a! o8 a$ Ba. The utility business_model_updater updates the database with the contents delta.xml ; E% I+ t6 T% K. B: o# m
9) Generate CLIPS rules, PLMXML schema file using the extracted file $ n! I5 q" i& I& X# v* U/ p1 ~4 s
a. Invoke utility to generate the CLIPS rule file. This utility does the following..
* b# G7 {7 R& k- s) Ji. Extract data model from database.
) a: V$ v9 g K( y# gii. Load the extracted data model. If there are loader errors, TEM deploy will report failure. : n) y8 G: \, I9 p2 W
iii. Generate CLIPS rules using the loaded model. ( u8 ?# @% ?0 @1 t% j
b. Invoke utility to generate the PLMXML XSD file. This utility does the following.. % m( v; {% T; ^) Y$ D& o
i. Extract data model from database. 6 u9 f4 j# d: y: ~/ d& x4 i
ii. Load the extracted data model. If there are loader errors, TEM deploy will report failure. 6 J; x$ _2 W* b
iii. Generate required schema file.
8 @% M$ o7 K4 C; m' r' H; H1 G0 ^* E* Y4 t+ b9 Z. j- ^* _
2 J1 C3 b9 V) D% N |
|