|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
6 G) v8 p% [) {8 W% v9 k* G" l Teamcenter BMIDE冷部署TEM Deploy方式原理和步骤
6 t: {/ f+ [3 y5 H ! b% L. ]' j# R+ N: W0 e
Let‘s understand these steps in detail.
2 q/ _- e) E- ^' F1) Copy the template files, install scripts to TC_ROOT/install/<template>
3 u3 H9 a4 ~4 wa. In this step the TEM will unzip files in your template package to the folder
0 ?" ~: M( [' J1 z% w& l( N: P4 `) sTC_ROOT/install/<templatename>
8 K7 s2 Q& |8 [& r2) Copy libraries to various folders in TC_ROOT 2 W8 B2 R% m3 z( e, u
a. TEM will copy the libraries or executables in your template package to respective folders in 7 K+ t" R$ b2 i0 q
TC_ROOT
/ }. r6 M3 s7 ?$ z6 q' c3) Download files to TC_DATA/model from datasets (Applicable from Teamcenter 8.3 onwards)
" v5 M; v8 k" O1 a# `a. BMIDE utilities will download the current TC_DATA/model files from dataset ) |' l0 V1 p2 j/ R& W9 Z
4) Copy the latest template files from TC_ROOT/install/<template> to TC_DATA/model
- U8 t7 o2 V' |" D% X9 }$ P6 J5) Generate delta.xml : t+ H1 R2 P, A( Z" s% q) @
a. In this step, the delta.xml is generated using the files in TC_DATA/model
" G2 m9 V6 l$ Ui. Copy model.xml to model_backup.xml
$ S: S) h0 g( l( I/ k! q7 hii. Copy model_lang.xml to model_backup_lang.xml 7 k9 T# I. J/ f) o+ E
iii. Consolidate template listed in master.xml to model.xml and model_lang.xml
, g/ r; g% g! h; a5 H, civ. Load model_backup.xml and model_backup_lang.xml as old model
1 O; J4 l5 K3 P" ?& q+ | B- W I; pv. Load model.xml and model_lang.xml as new model + w& P, r3 y1 [: A8 V
vi. Compare and generate delta.xml
+ @: @) b# \5 f) R- O' Bb. Teamcenter 8.3 onwards
, j& o8 Y) G ~; X) `3 X( V1 _i. If any errors occur during this step, all files in TC_DATA/model are restored from datasets ) H+ M/ k$ X7 \! P) L
(except for model.xml and model_backup.xml). * |+ Q; K; }7 U, o& m* |8 l
6) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards)
j6 U0 H# n6 i( L& C/ m3 {# ea. If delta.xml file generation is successful, files in TC_DATA/model folder are uploaded to the database.
% Q. I p! y, ~9 z# R7) Run install scripts for all selected templates
. x2 a! b4 M$ ?5 Q! h8 T( x ja. If template install, run the install_<template>.script for the template being installed. 6 n ]0 J7 b! F9 ?2 a
b. If template update, run the install_<template>.script for all templates being updated. While running 2 N' a6 F- G1 U/ A/ }
the install script, TEM will skip the call to business_model_updater in the file 0 q P" N# m$ q: L& k6 }
install_<template>.default H) N& p6 ~: e6 Q7 r5 R: z( f$ z
8) Update the database with delta.xml using business_model_updater
4 \& }$ f8 _6 f. G6 _6 \1 n+ l9 ya. The utility business_model_updater updates the database with the contents delta.xml 5 W! x1 P6 U- c5 u- a
9) Generate CLIPS rules, PLMXML schema file using the extracted file ) [7 V2 a8 x1 ^1 b' W, B+ O5 V
a. Invoke utility to generate the CLIPS rule file. This utility does the following..
6 G% q* c) D5 N Q7 j9 D5 mi. Extract data model from database.
* i" \" c( | v% E2 {9 wii. Load the extracted data model. If there are loader errors, TEM deploy will report failure. ^5 ?$ V) o, L7 D
iii. Generate CLIPS rules using the loaded model. ; S3 q% ?# J1 h5 K
b. Invoke utility to generate the PLMXML XSD file. This utility does the following..
' K9 k+ X" e; q) T0 _8 [$ ci. Extract data model from database. $ U% ]( p" _0 e' Z( }/ _$ r
ii. Load the extracted data model. If there are loader errors, TEM deploy will report failure.
& e9 B, z6 t* |! I. \% Miii. Generate required schema file.
$ f# f8 \0 N" z& ~
% M5 [' e3 Y$ h2 O Q
! |- N, K$ H9 w |
|