|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
, ]9 ]# [: n3 q) j. I; i
Teamcenter BMIDE冷部署TEM Deploy方式原理和步骤
: Q m1 q4 \, v! D1 N) W" {+ Q
2 O$ v' t8 A a/ bLet‘s understand these steps in detail.
# M3 p8 B1 U0 }2 Y- R) q( c1) Copy the template files, install scripts to TC_ROOT/install/<template>
1 p- G$ n1 h# y3 j& Ia. In this step the TEM will unzip files in your template package to the folder
' n" `9 S A) M5 JTC_ROOT/install/<templatename> ) G% E* l' P/ a3 |5 o6 v) N% B
2) Copy libraries to various folders in TC_ROOT ( q$ I! s1 W! f. U. j2 I1 k
a. TEM will copy the libraries or executables in your template package to respective folders in 2 U' _5 M1 X* U; h# E* O
TC_ROOT
# j' A" Q$ I8 I X: O3) Download files to TC_DATA/model from datasets (Applicable from Teamcenter 8.3 onwards) 1 C1 G* O* F' Y& Y- L9 a
a. BMIDE utilities will download the current TC_DATA/model files from dataset
" g5 ^1 k4 I. y& f4) Copy the latest template files from TC_ROOT/install/<template> to TC_DATA/model
2 V: l0 ~: p: x7 L1 U% r5) Generate delta.xml / M7 l j/ T g, t4 r4 Z
a. In this step, the delta.xml is generated using the files in TC_DATA/model
9 d5 S& E1 E4 C9 d1 Li. Copy model.xml to model_backup.xml ' [2 ^9 B/ T9 |* b _- r
ii. Copy model_lang.xml to model_backup_lang.xml
8 F3 L j% Y; @: `: f* Eiii. Consolidate template listed in master.xml to model.xml and model_lang.xml
! `+ k' p( o2 d" @: E6 Tiv. Load model_backup.xml and model_backup_lang.xml as old model $ U3 J1 J4 h6 T/ d
v. Load model.xml and model_lang.xml as new model : k5 k1 y( t% `% I3 k
vi. Compare and generate delta.xml
) `1 ^2 U7 K; R8 G5 ^8 Pb. Teamcenter 8.3 onwards , W5 Z. [# R5 s. r+ g! e5 `
i. If any errors occur during this step, all files in TC_DATA/model are restored from datasets 9 Z# ^4 V2 G" U) T6 E! T
(except for model.xml and model_backup.xml). + H3 c/ y6 t% Y6 H. b$ p/ f$ c
6) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards)
3 f9 ^* Q& [* N( H" y# R& P! Xa. If delta.xml file generation is successful, files in TC_DATA/model folder are uploaded to the database.
7 x$ V2 v) }* a+ e* X- G7 p$ p7) Run install scripts for all selected templates " P. _' }/ N$ L9 M- ~
a. If template install, run the install_<template>.script for the template being installed.
$ S- g: y5 d$ P& }5 O" s1 G- ob. If template update, run the install_<template>.script for all templates being updated. While running
* |& l1 J. Z: e. n9 M! `the install script, TEM will skip the call to business_model_updater in the file
: e: u# C& Q# o# ainstall_<template>.default
8 n' q) M; M7 S8) Update the database with delta.xml using business_model_updater : H* B$ c" B* S5 s$ P% j: J! R! j! U
a. The utility business_model_updater updates the database with the contents delta.xml [) U1 a0 _" r
9) Generate CLIPS rules, PLMXML schema file using the extracted file
! q6 B% B4 W; x( m$ ja. Invoke utility to generate the CLIPS rule file. This utility does the following..
# K, Y- ?% I4 D' R5 ~3 `2 ?7 hi. Extract data model from database.
+ l1 Y" J/ I( w/ { e6 ?ii. Load the extracted data model. If there are loader errors, TEM deploy will report failure. ; O7 d9 k3 C; {( \& p1 b4 F# \
iii. Generate CLIPS rules using the loaded model. ' N1 n5 @$ z; R% g
b. Invoke utility to generate the PLMXML XSD file. This utility does the following..
" M8 D" F. q0 D. g. T- J6 X* mi. Extract data model from database. " N9 V6 h ?* ~* t, f8 x
ii. Load the extracted data model. If there are loader errors, TEM deploy will report failure.
! P, o' ~8 T! I3 miii. Generate required schema file. 9 C; t* t7 q, S
+ a1 d! D {& j8 b# v; D- c* U% @
3 A4 y( Q, C9 K [" d/ S/ W$ J" @ |
|