|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
. F. e" O7 Y/ [7 |# C- u# _& J Teamcenter BMIDE冷部署TEM Deploy方式原理和步骤
9 U0 a" [4 Y9 K: U" X. {
7 g7 V5 X5 V5 [0 K5 U
Let‘s understand these steps in detail.
0 Z1 `+ p! A, V" g% s6 ^0 r h8 T7 Q1) Copy the template files, install scripts to TC_ROOT/install/<template>
3 @- I. J, a, q7 ~a. In this step the TEM will unzip files in your template package to the folder ! G& ^2 O; l7 B6 M1 B
TC_ROOT/install/<templatename>
9 L6 |/ k% k7 H) Q3 Q2) Copy libraries to various folders in TC_ROOT 1 a' ?% o! y* K" K5 Q
a. TEM will copy the libraries or executables in your template package to respective folders in / o) g& u0 m, P0 m0 a8 F
TC_ROOT
4 {# l! k o3 ^' Q; k3) Download files to TC_DATA/model from datasets (Applicable from Teamcenter 8.3 onwards) 7 J; l! ~, o/ o2 ~
a. BMIDE utilities will download the current TC_DATA/model files from dataset
+ Z( L H9 s$ C1 u+ N$ e* V4) Copy the latest template files from TC_ROOT/install/<template> to TC_DATA/model
* e) ^7 b5 ^3 h! x5 e& T: @5) Generate delta.xml
4 J: f3 z; a; Q& L2 Y& m7 Va. In this step, the delta.xml is generated using the files in TC_DATA/model ; j7 A/ i, H" ?8 h% M% ]: }
i. Copy model.xml to model_backup.xml + W- N# [: J# K
ii. Copy model_lang.xml to model_backup_lang.xml ' \# I6 x2 J! q& F; \# ]# r1 u
iii. Consolidate template listed in master.xml to model.xml and model_lang.xml 7 C* V& D j5 u( }( p. L8 U* V
iv. Load model_backup.xml and model_backup_lang.xml as old model
, _& B0 n* F, ?. h3 Z, y) q& Nv. Load model.xml and model_lang.xml as new model
& H; z6 t6 k7 lvi. Compare and generate delta.xml
/ i2 U) d1 n. X8 O( lb. Teamcenter 8.3 onwards j% y$ V6 E. m: v. T
i. If any errors occur during this step, all files in TC_DATA/model are restored from datasets ; y. L! E" C- ?9 O/ r
(except for model.xml and model_backup.xml). ' L# N3 J! k; U; ~1 ?
6) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards) $ f5 z0 K9 [ X
a. If delta.xml file generation is successful, files in TC_DATA/model folder are uploaded to the database.
/ z4 A" c; l, U! ^& M7) Run install scripts for all selected templates
' {+ I8 _' E! r6 ?a. If template install, run the install_<template>.script for the template being installed. 3 E2 |" D6 P8 n& B E* f2 o
b. If template update, run the install_<template>.script for all templates being updated. While running - v) l9 y3 d( P' z+ g% ^/ y0 d( e
the install script, TEM will skip the call to business_model_updater in the file
6 h* Z5 X$ r0 _& minstall_<template>.default
: [$ l8 {: Y1 O8) Update the database with delta.xml using business_model_updater : L- Y9 B1 z- e0 ]# E
a. The utility business_model_updater updates the database with the contents delta.xml * |, i& B% q) z+ T
9) Generate CLIPS rules, PLMXML schema file using the extracted file
! l% N8 h1 \/ g5 E: Y Ma. Invoke utility to generate the CLIPS rule file. This utility does the following..
* h5 m3 Y& r7 Y6 h7 w `i. Extract data model from database.
( X) D9 [8 z1 \/ [& K: |! t9 i) x! Eii. Load the extracted data model. If there are loader errors, TEM deploy will report failure. " _2 n% R% \0 |* F, [2 X
iii. Generate CLIPS rules using the loaded model. c& M( J: L0 S, R9 Y2 A6 C
b. Invoke utility to generate the PLMXML XSD file. This utility does the following..
# g. E7 C9 }- b8 k. A' pi. Extract data model from database.
4 B0 c2 h8 c) d5 X) T6 qii. Load the extracted data model. If there are loader errors, TEM deploy will report failure. * L1 L# J- y( T
iii. Generate required schema file.
1 \& y# W* J9 m% }$ Z' Z5 f. T2 a2 e6 _
8 v# {) z' K& Q5 q/ W. P |
|