|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
8 y' |$ g: D1 _& H8 ~
Teamcenter BMIDE冷部署TEM Deploy方式原理和步骤
8 h& z" p5 r7 N4 i6 d$ a
5 G9 k, ^" e, ? B8 ~/ R% I2 s
Let‘s understand these steps in detail.
W; C+ g H, a4 I ?1) Copy the template files, install scripts to TC_ROOT/install/<template> ) e7 R( r W6 ^% x* i8 U
a. In this step the TEM will unzip files in your template package to the folder
) T' z" a) v5 z& eTC_ROOT/install/<templatename>
7 p) w, B* x1 k6 c- P5 e' [ }2) Copy libraries to various folders in TC_ROOT 5 J% v/ N, \4 f# R5 y7 ~; \0 D
a. TEM will copy the libraries or executables in your template package to respective folders in
" @& E# Q9 _% NTC_ROOT $ x3 ~4 Z; n" v' x& v! u& H
3) Download files to TC_DATA/model from datasets (Applicable from Teamcenter 8.3 onwards) 1 {. Y- O) o6 y' g5 ^
a. BMIDE utilities will download the current TC_DATA/model files from dataset ( y0 A" q* G# X* M9 L3 T% \
4) Copy the latest template files from TC_ROOT/install/<template> to TC_DATA/model
" j6 {: d# f! o4 b5) Generate delta.xml
5 T; ~/ U% V6 O$ Na. In this step, the delta.xml is generated using the files in TC_DATA/model - `5 T& \' r; x9 U( d6 }, G) e( k
i. Copy model.xml to model_backup.xml % |) r) V5 V2 R) f4 m1 V4 I4 y
ii. Copy model_lang.xml to model_backup_lang.xml
: H( z9 r& N2 w- Yiii. Consolidate template listed in master.xml to model.xml and model_lang.xml 8 @& T6 u( W4 v) _/ {0 F
iv. Load model_backup.xml and model_backup_lang.xml as old model
" N2 b, h2 l2 b- `6 Z2 Bv. Load model.xml and model_lang.xml as new model
- k3 e6 o) N, c# ]+ `6 U+ R. A1 Dvi. Compare and generate delta.xml
& a( d; F1 X9 j: \b. Teamcenter 8.3 onwards - w1 h; l2 k9 o, r
i. If any errors occur during this step, all files in TC_DATA/model are restored from datasets 6 T! f- w0 J( I7 @: }8 J$ T
(except for model.xml and model_backup.xml). 7 G) j/ W9 W) e% I
6) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards)
' K( Y' W# \* D$ z+ }# @( }+ t. |1 ]a. If delta.xml file generation is successful, files in TC_DATA/model folder are uploaded to the database. ) F& _( R* _" G9 h/ [& v; Q1 A; U
7) Run install scripts for all selected templates $ _9 D; R$ Z+ D* C
a. If template install, run the install_<template>.script for the template being installed. * z9 T9 o' K# E- z1 N$ ]) i! e
b. If template update, run the install_<template>.script for all templates being updated. While running
/ z2 y- N& @) g; Q$ p/ G; C$ y4 othe install script, TEM will skip the call to business_model_updater in the file
, ~3 }* \" b* V- e! \7 Linstall_<template>.default
8 r7 k! `, |, B ]& g/ x! o8) Update the database with delta.xml using business_model_updater
, R% P$ n- @0 { k! F0 C( t, ca. The utility business_model_updater updates the database with the contents delta.xml ! L+ n- ]; }' s0 Q6 }
9) Generate CLIPS rules, PLMXML schema file using the extracted file 2 X/ c( |# M3 J- J! X
a. Invoke utility to generate the CLIPS rule file. This utility does the following.. # L4 Y7 T5 c( V' S6 D- S7 @4 W. a" `
i. Extract data model from database.
. o( O8 H$ T7 Q- y' u! Iii. Load the extracted data model. If there are loader errors, TEM deploy will report failure. c- g5 A4 D0 M7 X9 C: l
iii. Generate CLIPS rules using the loaded model. $ S V8 x5 i. }/ e3 M
b. Invoke utility to generate the PLMXML XSD file. This utility does the following..
6 O4 p3 G! n3 }$ B. w0 _% k$ M! Zi. Extract data model from database.
$ P0 p2 F% `5 ~/ ?/ U" wii. Load the extracted data model. If there are loader errors, TEM deploy will report failure. ) ]! v4 b: _: d) f% w( h
iii. Generate required schema file. 2 M9 i! c6 n' }) u6 L- Q
' ]# H/ v$ X- F6 Y3 I/ b% O( y+ h1 s0 f9 g+ ?+ [
|
|