|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
. D- _9 Y2 E V/ z. N/ ]& f1 c( t
Teamcenter BMIDE冷部署TEM Deploy方式原理和步骤
/ l, s9 t- K! @8 v2 `% G9 [
- b6 K, F/ {1 J" ~! L) wLet‘s understand these steps in detail. " l1 ?# K1 m& f5 T- d
1) Copy the template files, install scripts to TC_ROOT/install/<template>
( A% e$ ]6 p9 V0 R! Z, ]. W6 Ia. In this step the TEM will unzip files in your template package to the folder ( t# F3 n! Q S- k2 w
TC_ROOT/install/<templatename>
7 k2 _0 d5 w9 z) ~6 s- Q5 M2) Copy libraries to various folders in TC_ROOT # l/ o F6 e' d& \0 G
a. TEM will copy the libraries or executables in your template package to respective folders in
! s9 P. L& U0 k* ]4 ]9 oTC_ROOT
. V9 G0 _3 J# b! d3) Download files to TC_DATA/model from datasets (Applicable from Teamcenter 8.3 onwards)
# x/ s+ h( Y. C' u4 \a. BMIDE utilities will download the current TC_DATA/model files from dataset ; G. [2 V) A! g( C* w
4) Copy the latest template files from TC_ROOT/install/<template> to TC_DATA/model " y" u3 m1 G2 V
5) Generate delta.xml ; P6 R$ @* ?" t! I; X
a. In this step, the delta.xml is generated using the files in TC_DATA/model 6 ^6 W0 Q2 i* }
i. Copy model.xml to model_backup.xml 0 w4 i; Z8 a# e0 L" H6 Y
ii. Copy model_lang.xml to model_backup_lang.xml 4 P. q$ ?4 c% }. i! f T v* W7 D( c
iii. Consolidate template listed in master.xml to model.xml and model_lang.xml 6 L& t3 S0 i3 L
iv. Load model_backup.xml and model_backup_lang.xml as old model + E) N. \8 N0 Z7 ~7 @7 |
v. Load model.xml and model_lang.xml as new model
/ z. N5 a* ^/ R# j; {! i6 }vi. Compare and generate delta.xml
2 m B, b9 A% }+ c* ~b. Teamcenter 8.3 onwards
$ ], g+ [" V+ }) U4 W% @- N$ Li. If any errors occur during this step, all files in TC_DATA/model are restored from datasets 4 s4 A7 S$ Q! D" a3 e* {9 n( A
(except for model.xml and model_backup.xml). & Q4 ]+ a$ {) Y& I5 W' C& Z
6) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards) $ Z# W1 [- S6 t a
a. If delta.xml file generation is successful, files in TC_DATA/model folder are uploaded to the database. ]/ A& N Z f/ j; a9 a( g8 i. h7 T
7) Run install scripts for all selected templates
5 ]% j; C' k; a( @) Ea. If template install, run the install_<template>.script for the template being installed. ! L2 L& K7 a7 s. m3 V
b. If template update, run the install_<template>.script for all templates being updated. While running
8 V, ]+ y& W6 z6 Dthe install script, TEM will skip the call to business_model_updater in the file ' K3 e+ `. A5 M/ W/ g9 ~
install_<template>.default
) t5 q1 K) `+ e" r" ?8) Update the database with delta.xml using business_model_updater # k: Z: g/ f" @% j
a. The utility business_model_updater updates the database with the contents delta.xml - j8 z7 e# k0 F6 j
9) Generate CLIPS rules, PLMXML schema file using the extracted file / X3 x# ~3 _$ b4 p
a. Invoke utility to generate the CLIPS rule file. This utility does the following..
5 Y3 v2 C3 D8 O9 Li. Extract data model from database. : d* w. m* L7 n9 Z& D$ c9 e! L
ii. Load the extracted data model. If there are loader errors, TEM deploy will report failure. " [ P: k0 Q* X
iii. Generate CLIPS rules using the loaded model. * _6 n9 W& O; I4 f. A& p( }& f
b. Invoke utility to generate the PLMXML XSD file. This utility does the following..
6 ?9 U4 w5 b1 k. L1 ei. Extract data model from database. + i# i% [0 b) N4 ]1 `: p3 D# H( X
ii. Load the extracted data model. If there are loader errors, TEM deploy will report failure.
4 Y c) P7 }% g! } l+ niii. Generate required schema file.
& ~" j* { C/ z& u. Q$ V7 M! E- C! K i
2 O" N( U6 A0 s# z/ S) I' x' b) q7 W9 U* |" Q: h8 s
|
|