|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
Y% F) d$ T! `$ x Teamcenter BMIDE冷部署TEM Deploy方式原理和步骤
: p4 A( \# ]2 N9 r N0 x2 L
- y8 ^& b% b& u8 j+ X3 ~0 aLet‘s understand these steps in detail. - e0 [/ J$ A6 | t6 `) b) ?# l
1) Copy the template files, install scripts to TC_ROOT/install/<template> ( R# e$ [* `; s+ h, V4 k
a. In this step the TEM will unzip files in your template package to the folder
3 T0 ^4 ?: ]5 h. F) Z! pTC_ROOT/install/<templatename> " c: k; {* P& H$ |
2) Copy libraries to various folders in TC_ROOT
5 b0 m d7 N. l! B- ga. TEM will copy the libraries or executables in your template package to respective folders in 7 z# [& H* L* a' f3 n p d$ G! A2 R
TC_ROOT
4 r3 [- m1 _4 [6 q% `8 q8 D# l3) Download files to TC_DATA/model from datasets (Applicable from Teamcenter 8.3 onwards) ; t3 T5 P4 p" E5 c! D# h9 X
a. BMIDE utilities will download the current TC_DATA/model files from dataset
, z2 Z# g6 r4 y @6 v _4) Copy the latest template files from TC_ROOT/install/<template> to TC_DATA/model 5 P; G2 T9 n( K. N/ v5 h, {& x
5) Generate delta.xml
* d$ [3 U0 T9 X9 o$ }a. In this step, the delta.xml is generated using the files in TC_DATA/model 7 ~5 x# W( k# `- a" D1 {
i. Copy model.xml to model_backup.xml 0 o9 O8 H1 L t# c
ii. Copy model_lang.xml to model_backup_lang.xml , `8 G8 X W7 j% y/ S) O
iii. Consolidate template listed in master.xml to model.xml and model_lang.xml 1 G, X6 V5 l( [/ W1 M
iv. Load model_backup.xml and model_backup_lang.xml as old model 9 l1 h! Z# m$ D! Z
v. Load model.xml and model_lang.xml as new model
! T) a0 j I" R0 i( T. n( }vi. Compare and generate delta.xml
A6 r7 z7 H% G9 E# Z3 yb. Teamcenter 8.3 onwards
; p/ R' u! v" K5 `2 I/ Hi. If any errors occur during this step, all files in TC_DATA/model are restored from datasets 7 z2 W4 R" {. c8 }) A. O+ g; ~+ i- W
(except for model.xml and model_backup.xml).
- O4 d p5 Z% k/ o8 x: ~& C2 V6) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards)
" k5 u5 }! l$ M: C7 x2 ua. If delta.xml file generation is successful, files in TC_DATA/model folder are uploaded to the database. + Q' v; t0 o! m9 P4 R
7) Run install scripts for all selected templates 3 C( {( X) o' [/ W
a. If template install, run the install_<template>.script for the template being installed.
9 X N- h6 q! \" r! g/ i* v, Ob. If template update, run the install_<template>.script for all templates being updated. While running 4 y3 y, q! |3 ^6 _. f' G
the install script, TEM will skip the call to business_model_updater in the file - y9 ?3 q& }# Q: y; P8 E3 B
install_<template>.default
1 }' q+ U& K, X4 r i" C8) Update the database with delta.xml using business_model_updater " d: X$ o! u! S
a. The utility business_model_updater updates the database with the contents delta.xml . X8 O4 ~+ z. c' g$ S1 }
9) Generate CLIPS rules, PLMXML schema file using the extracted file 1 f! [" s4 U- u/ x4 d% m: r( t1 F
a. Invoke utility to generate the CLIPS rule file. This utility does the following.. 8 h1 R+ s* X& h: O
i. Extract data model from database.
5 S/ @) h8 q* S( tii. Load the extracted data model. If there are loader errors, TEM deploy will report failure. $ i6 N- k D( J4 U- k5 e% ^: J, M
iii. Generate CLIPS rules using the loaded model.
. g5 r( T1 Y2 `2 E' e4 {4 Z( ~b. Invoke utility to generate the PLMXML XSD file. This utility does the following.. q8 M- U3 `3 S/ o. a6 X
i. Extract data model from database.
9 |& J0 j# L" i" uii. Load the extracted data model. If there are loader errors, TEM deploy will report failure. # S) m) ?& O6 Z+ q9 `' d
iii. Generate required schema file. ; [( ]9 G& x4 I% w& X+ G7 k
; @$ H {7 z7 d7 g4 U: J
# l6 S1 T5 ]" k |
|