|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
×
: ~( q& v" q& D/ h6 s, k( d M. z" I
Teamcenter BMIDE冷部署TEM Deploy方式原理和步骤
3 V6 P+ y) x. q3 P. q2 n d. ?
& z0 \9 N1 K" \5 t, |, `Let‘s understand these steps in detail. ' k! N4 t) R! {
1) Copy the template files, install scripts to TC_ROOT/install/<template>
6 b5 ?% L( g4 Ca. In this step the TEM will unzip files in your template package to the folder H! C# v' `( c/ V3 U
TC_ROOT/install/<templatename> " b7 ]' N# k9 c, s* r7 }0 E. I" t/ \
2) Copy libraries to various folders in TC_ROOT
5 M2 a: Y3 E9 K- M8 B( _+ {+ D4 |6 n! Ka. TEM will copy the libraries or executables in your template package to respective folders in 3 z# |+ W0 K: ?. ], g
TC_ROOT
: G% p1 _- X: `# l& X$ _3) Download files to TC_DATA/model from datasets (Applicable from Teamcenter 8.3 onwards) 2 J% S( I2 Q1 |- _. G6 D7 |
a. BMIDE utilities will download the current TC_DATA/model files from dataset $ _& e) [ I# J# \% D9 Y1 ^
4) Copy the latest template files from TC_ROOT/install/<template> to TC_DATA/model
+ Z; U2 k8 o) L4 t& E* i; E5) Generate delta.xml Q5 u0 j! ]/ |7 l
a. In this step, the delta.xml is generated using the files in TC_DATA/model
0 A4 V7 o& U% e9 [9 pi. Copy model.xml to model_backup.xml ) H, _- z6 ?' r. ?( ~
ii. Copy model_lang.xml to model_backup_lang.xml * L, U% Z: T3 x* K+ q0 W: c3 M. ^
iii. Consolidate template listed in master.xml to model.xml and model_lang.xml 8 @# b: O$ X% v( ~
iv. Load model_backup.xml and model_backup_lang.xml as old model 2 Z: I0 P& _% ~' W! H( F
v. Load model.xml and model_lang.xml as new model 9 g7 F8 e3 F7 d# f. x4 t9 H9 h" q6 G
vi. Compare and generate delta.xml
4 q) f8 G& h, |. r( L* mb. Teamcenter 8.3 onwards ' ]1 ~- P. l$ ?% k2 E- ?4 ^" y
i. If any errors occur during this step, all files in TC_DATA/model are restored from datasets
& s" c/ P- Z9 t# u5 W" c3 B/ N1 @( s(except for model.xml and model_backup.xml). ) [ ?3 F2 g# k( O6 p1 V
6) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards)
\/ S' s) T% h& \& \ ^a. If delta.xml file generation is successful, files in TC_DATA/model folder are uploaded to the database.
6 O% v. y" d* G N7) Run install scripts for all selected templates ; _' {$ f% t! }2 @& i+ [0 y
a. If template install, run the install_<template>.script for the template being installed. 9 o# g3 q, j% r6 @# t* c
b. If template update, run the install_<template>.script for all templates being updated. While running 7 B% |5 q$ y# [$ [- O
the install script, TEM will skip the call to business_model_updater in the file 5 @% ^/ p) R9 J/ ]
install_<template>.default ( ^2 U C3 P9 i
8) Update the database with delta.xml using business_model_updater ' p, b a( p1 [. x7 h7 m
a. The utility business_model_updater updates the database with the contents delta.xml
& @* W6 c; V3 T3 U' w9) Generate CLIPS rules, PLMXML schema file using the extracted file
R4 d) Z! D8 _a. Invoke utility to generate the CLIPS rule file. This utility does the following.. 1 I' f" ]/ z: B: H$ |* d* s0 }/ }( `( _
i. Extract data model from database. 0 z+ D+ R4 n! r8 ?' B N
ii. Load the extracted data model. If there are loader errors, TEM deploy will report failure. 9 I. F% W' d4 ]+ E' V
iii. Generate CLIPS rules using the loaded model. # C; F$ p0 I2 C5 l7 o, G0 o
b. Invoke utility to generate the PLMXML XSD file. This utility does the following.. . |/ s {! r( y4 O6 C
i. Extract data model from database. : M2 {7 e) O. f2 M) E- f
ii. Load the extracted data model. If there are loader errors, TEM deploy will report failure. + }9 N4 [6 H' W t: l/ M
iii. Generate required schema file.
: R3 Q2 N# ~ D
9 J) a+ X9 O: I2 T) ]* j: ]3 \0 `
5 {& } r, _. s ? x I- C; \5 q* i$ f |
|