|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
- n8 e; W7 f6 C6 a1 g7 G4 w1 V
Teamcenter BMIDE冷部署TEM Deploy方式原理和步骤
5 j. P& s8 n& N - U: x d9 l5 j
Let‘s understand these steps in detail.
6 G; E( T# x1 ]6 A, V: `, c, m1) Copy the template files, install scripts to TC_ROOT/install/<template>
* d% t3 n& c0 ~+ t* @/ \# Ya. In this step the TEM will unzip files in your template package to the folder ' b4 z% D4 i. t5 @/ c* b
TC_ROOT/install/<templatename>
" E2 X' l3 Q, v2) Copy libraries to various folders in TC_ROOT
) m) s P0 T; K3 o* |4 K) sa. TEM will copy the libraries or executables in your template package to respective folders in 9 A7 h C. }* b# H1 t2 y) q! O
TC_ROOT & \9 b, x1 T7 M4 e# `# N
3) Download files to TC_DATA/model from datasets (Applicable from Teamcenter 8.3 onwards) / L, ~" q' ?. y$ p. K _ w
a. BMIDE utilities will download the current TC_DATA/model files from dataset
' }7 g/ u/ ^* ?4) Copy the latest template files from TC_ROOT/install/<template> to TC_DATA/model
6 G* |' t b+ P; _: ^5) Generate delta.xml
3 B! \7 i6 S4 k- Aa. In this step, the delta.xml is generated using the files in TC_DATA/model 1 m0 Z- u4 v3 {
i. Copy model.xml to model_backup.xml 9 Q/ M* Y: b j% T+ o/ s
ii. Copy model_lang.xml to model_backup_lang.xml
N. K7 Y$ {; B0 k* Riii. Consolidate template listed in master.xml to model.xml and model_lang.xml % M2 s9 N6 U7 Q& ^. |/ b$ U
iv. Load model_backup.xml and model_backup_lang.xml as old model ' J2 h S, Y) v
v. Load model.xml and model_lang.xml as new model & G* Q2 {0 w5 z! ?
vi. Compare and generate delta.xml ) U! u* p: q4 ?3 j. g! R
b. Teamcenter 8.3 onwards
$ Q) X" Q5 B/ F" ~i. If any errors occur during this step, all files in TC_DATA/model are restored from datasets
8 q$ V& i* C. q/ e(except for model.xml and model_backup.xml).
% c1 w3 p+ n, }! K1 B1 @3 p/ v% _6) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards) 1 @7 Q t8 n1 p' p
a. If delta.xml file generation is successful, files in TC_DATA/model folder are uploaded to the database.
) h1 m/ F/ E# B* ^3 O7) Run install scripts for all selected templates
, A6 R8 Q3 }6 Y$ Fa. If template install, run the install_<template>.script for the template being installed.
% K+ C8 }( ?8 X* {3 j2 J1 Xb. If template update, run the install_<template>.script for all templates being updated. While running
* R7 `: Q2 e" P5 E$ ithe install script, TEM will skip the call to business_model_updater in the file
_. t9 B) x( [1 R3 v3 dinstall_<template>.default $ J/ ?4 @" |) r+ a/ x
8) Update the database with delta.xml using business_model_updater * {* S3 g. C& v; Q' }* D' N8 K; W
a. The utility business_model_updater updates the database with the contents delta.xml 7 S! z+ Y5 I" u5 n' {/ Z$ r% A
9) Generate CLIPS rules, PLMXML schema file using the extracted file
9 t, \' ~# X6 J: g: d. o! r4 Ca. Invoke utility to generate the CLIPS rule file. This utility does the following..
; j; _$ g" [$ D; S3 T' s8 B, d& oi. Extract data model from database. ! L- @0 I$ F n. R7 H( u
ii. Load the extracted data model. If there are loader errors, TEM deploy will report failure. % r: L0 R% ~, ]7 F, r/ }
iii. Generate CLIPS rules using the loaded model. : T% ^: Y7 G1 g, K( C
b. Invoke utility to generate the PLMXML XSD file. This utility does the following.. - X$ t9 j) ^, d7 X8 S( M( T
i. Extract data model from database.
0 e9 X- Y/ Z3 N3 W j2 Fii. Load the extracted data model. If there are loader errors, TEM deploy will report failure. ' ~; T$ n3 d8 N1 V0 _! y
iii. Generate required schema file. : I+ b" f* r* X/ r7 M7 U
/ k) u. F. B, u6 o( v( R9 ~
' e2 W1 ]" v" Q |
|