|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
. s! t6 s* S2 Z7 j! F, { Teamcenter BMIDE冷部署TEM Deploy方式原理和步骤
$ {1 y- o `" {& F1 n
+ q+ ]- x" r) n4 P% M& H }( ALet‘s understand these steps in detail.
9 u f5 X4 s0 ]1) Copy the template files, install scripts to TC_ROOT/install/<template>
3 X0 ^9 b8 q* P' Za. In this step the TEM will unzip files in your template package to the folder 0 R a- k, {9 O$ C& z; b: u
TC_ROOT/install/<templatename>
& N4 V$ v! P5 J& M) e2) Copy libraries to various folders in TC_ROOT
; k3 P5 y% N" N6 m& d$ j3 A; Q" }) b* ]a. TEM will copy the libraries or executables in your template package to respective folders in ; H V) T& Z9 a* W
TC_ROOT - T6 r0 t! _* c; K: O) \! k" e6 h
3) Download files to TC_DATA/model from datasets (Applicable from Teamcenter 8.3 onwards)
3 E# [2 z0 G3 ] S/ {a. BMIDE utilities will download the current TC_DATA/model files from dataset
* ?# Z( h, g* n; z5 M4 S# |0 b4) Copy the latest template files from TC_ROOT/install/<template> to TC_DATA/model ]7 t# p4 N7 n& E3 a$ o0 g
5) Generate delta.xml
8 O% k8 a5 T3 m1 n0 Qa. In this step, the delta.xml is generated using the files in TC_DATA/model " T+ B9 K' w4 ^: r
i. Copy model.xml to model_backup.xml ( X* q$ v+ T, ~6 i
ii. Copy model_lang.xml to model_backup_lang.xml . e* A" }) t& U& U: @# m: Y
iii. Consolidate template listed in master.xml to model.xml and model_lang.xml ! A9 T3 b" j( O0 J7 L
iv. Load model_backup.xml and model_backup_lang.xml as old model
- ` ~6 \6 V& o1 h& }! dv. Load model.xml and model_lang.xml as new model ! _! U, g3 {0 W1 D/ ]- O1 J/ y
vi. Compare and generate delta.xml 3 a! c7 ]. K/ _' `
b. Teamcenter 8.3 onwards
" H+ f' `* s4 N! z x9 y9 R9 }i. If any errors occur during this step, all files in TC_DATA/model are restored from datasets . N# T- \3 w3 ?! n8 r0 b @
(except for model.xml and model_backup.xml). 3 t& B4 \& K- R1 G, n+ Z' R
6) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards) ' \6 P B$ C6 |* A* d/ p
a. If delta.xml file generation is successful, files in TC_DATA/model folder are uploaded to the database.
! E, M, z& z+ c: r5 [, X7 s; V7) Run install scripts for all selected templates - E" r7 l3 @$ C$ c- J7 V8 f+ T
a. If template install, run the install_<template>.script for the template being installed. ' f/ w& s1 ]: A+ Y) ~: r1 k
b. If template update, run the install_<template>.script for all templates being updated. While running
1 F. W1 C" f- {$ n8 ], I8 q8 T/ Sthe install script, TEM will skip the call to business_model_updater in the file q' D6 `# s6 \& O( T% m6 T) c
install_<template>.default
# I: U6 O' W+ r! R8) Update the database with delta.xml using business_model_updater
3 X- t' o/ P4 x, ]1 J8 ]a. The utility business_model_updater updates the database with the contents delta.xml
6 l" U- w/ m" ?7 H( l8 l7 \- x' j9) Generate CLIPS rules, PLMXML schema file using the extracted file 3 c% h6 ?6 J7 B( H. p0 M
a. Invoke utility to generate the CLIPS rule file. This utility does the following..
: R# l4 z4 o- q. h7 D+ _# ~: Yi. Extract data model from database. , J: E8 N: ?6 A) p; h
ii. Load the extracted data model. If there are loader errors, TEM deploy will report failure.
7 { w; D: { F& f0 F wiii. Generate CLIPS rules using the loaded model.
4 l# C/ G" N4 h" x) u, W1 T3 fb. Invoke utility to generate the PLMXML XSD file. This utility does the following..
/ a" r7 C; x2 y1 ^8 P/ Bi. Extract data model from database. 3 ^3 o6 q+ P" M7 `
ii. Load the extracted data model. If there are loader errors, TEM deploy will report failure. 6 [8 X- b$ W9 G# K
iii. Generate required schema file. 6 s% V7 Y( Z7 u: |. `6 g- T4 J1 J
- f1 [; z2 ~9 y) q* `
( E+ L' G6 `( Y4 \ ]1 g
|
|