|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
! ~& Z! O+ y- ]/ t7 F( V: y4 k& I Teamcenter BMIDE冷部署TEM Deploy方式原理和步骤
- ~( m; P7 i' t* W' T: Q
5 C+ Y0 L/ u2 f; LLet‘s understand these steps in detail. 9 B5 M; ?! ~4 Y% [& q
1) Copy the template files, install scripts to TC_ROOT/install/<template>
. H3 ^" N' G* W7 n/ }* j- Ia. In this step the TEM will unzip files in your template package to the folder
$ T+ `% [- t. ETC_ROOT/install/<templatename>
5 F1 l3 \6 G' g5 S# F9 ~* T. D& Y$ N) o2) Copy libraries to various folders in TC_ROOT " H* o p: F2 r N/ o
a. TEM will copy the libraries or executables in your template package to respective folders in - n2 X8 m6 {# E# W
TC_ROOT $ n0 F, p! ^0 |; a0 j" T2 K
3) Download files to TC_DATA/model from datasets (Applicable from Teamcenter 8.3 onwards)
( T+ p$ ~' Y% Q- va. BMIDE utilities will download the current TC_DATA/model files from dataset : i3 y1 A" ~2 `
4) Copy the latest template files from TC_ROOT/install/<template> to TC_DATA/model
' p+ s- A% E c5 k; H0 M+ o- C5) Generate delta.xml
9 n' ?! h( k- \- i& ]a. In this step, the delta.xml is generated using the files in TC_DATA/model 7 m2 P8 v0 }* ?/ v
i. Copy model.xml to model_backup.xml
w- Z9 x9 ~: J& Y! N3 Yii. Copy model_lang.xml to model_backup_lang.xml
2 C/ N2 g) o8 X: v6 |. J+ q4 E' |iii. Consolidate template listed in master.xml to model.xml and model_lang.xml
7 S$ ?8 r. Q$ iiv. Load model_backup.xml and model_backup_lang.xml as old model 6 n4 L( |# a' O/ r. M' p o1 b
v. Load model.xml and model_lang.xml as new model + y- C( y+ b s$ l8 S, _
vi. Compare and generate delta.xml
7 f9 w2 T1 Q. Ub. Teamcenter 8.3 onwards 9 g0 U6 H, T" s7 r6 R/ N4 h; x! k
i. If any errors occur during this step, all files in TC_DATA/model are restored from datasets
" C* \8 r- K2 F. O' R(except for model.xml and model_backup.xml).
5 p8 d) g" Y6 j, u( A C& @6) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards)
- A! g W% D# L1 j: V' }a. If delta.xml file generation is successful, files in TC_DATA/model folder are uploaded to the database. 3 n6 M" f1 p( p( d& {0 [7 b
7) Run install scripts for all selected templates ) [( Y0 g" [, v* o( q5 P3 R
a. If template install, run the install_<template>.script for the template being installed.
- m8 Y ~, p9 a: g* W! ^! J' `b. If template update, run the install_<template>.script for all templates being updated. While running
; S+ p* L {0 c% D5 bthe install script, TEM will skip the call to business_model_updater in the file
5 T; I" H$ E1 Sinstall_<template>.default $ O9 w, Z1 E7 A4 M
8) Update the database with delta.xml using business_model_updater 3 e# Z( w. u6 D. y
a. The utility business_model_updater updates the database with the contents delta.xml ' _: I$ k% b# j+ T- h7 M
9) Generate CLIPS rules, PLMXML schema file using the extracted file + o5 q: P$ R" f. j+ P
a. Invoke utility to generate the CLIPS rule file. This utility does the following..
* D* Z) g" D# P/ _- g- Hi. Extract data model from database.
2 J; _$ |" l" @2 H3 r$ E Kii. Load the extracted data model. If there are loader errors, TEM deploy will report failure. : J& X9 m8 [8 M a# C$ Q$ ~
iii. Generate CLIPS rules using the loaded model.
' ?% J) N$ z4 `8 Y7 ?b. Invoke utility to generate the PLMXML XSD file. This utility does the following.. , F) r1 I+ T5 g& l& e+ b" k7 T
i. Extract data model from database.
: ]7 {1 F" Q! ?0 q0 G. Lii. Load the extracted data model. If there are loader errors, TEM deploy will report failure.
/ t+ P; V7 w. I Z3 ~iii. Generate required schema file. 5 z! h1 {( q7 D
% e3 k1 p+ W7 g' ?( K; _
& M' `/ l& D" `" m( a7 r |
|