|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
" @ W: e4 Y# M# L0 C Teamcenter BMIDE冷部署TEM Deploy方式原理和步骤
2 I9 E- w* z$ N+ a: t! u' o% H
3 ^- `" ~! r! {) M, y( b4 s
Let‘s understand these steps in detail.
! M' N5 W$ D3 e- i7 E, z1) Copy the template files, install scripts to TC_ROOT/install/<template> % B/ O( N8 a1 v& n# E6 `6 M+ S
a. In this step the TEM will unzip files in your template package to the folder , t: {+ a" X8 K5 U. N2 A
TC_ROOT/install/<templatename>
7 k3 N0 ^8 x7 a# @4 }$ C2) Copy libraries to various folders in TC_ROOT 2 [8 R- T7 t; I* T/ }& E
a. TEM will copy the libraries or executables in your template package to respective folders in B4 u8 p5 J" g9 @! h2 C
TC_ROOT ) h( t$ j3 L* G. [; t& I" ^
3) Download files to TC_DATA/model from datasets (Applicable from Teamcenter 8.3 onwards)
8 K/ v( |' r3 z6 h" aa. BMIDE utilities will download the current TC_DATA/model files from dataset
% y+ Q- b& a& D$ p$ R& N4) Copy the latest template files from TC_ROOT/install/<template> to TC_DATA/model % {% C- T* Z1 E! ^% D
5) Generate delta.xml : O! W1 b0 e: {) Y9 T5 o! R7 v; s
a. In this step, the delta.xml is generated using the files in TC_DATA/model
5 b6 U3 ?% Q# O! Z+ G2 ni. Copy model.xml to model_backup.xml " b% C8 }; f$ T k$ R& R
ii. Copy model_lang.xml to model_backup_lang.xml
2 M+ a) L! f: D4 @, b. y3 aiii. Consolidate template listed in master.xml to model.xml and model_lang.xml * B7 b0 B' }' U, g5 j0 e
iv. Load model_backup.xml and model_backup_lang.xml as old model 5 }$ t& [5 X* y0 o7 W' w
v. Load model.xml and model_lang.xml as new model & ~0 D' o( w9 N9 v& ` z9 z
vi. Compare and generate delta.xml
2 {, C/ }2 ^- C; J' t* Cb. Teamcenter 8.3 onwards / x( S' Z% H2 T% c0 }3 d' r
i. If any errors occur during this step, all files in TC_DATA/model are restored from datasets ! C# w# a# w$ P
(except for model.xml and model_backup.xml).
; Z9 @0 Y# D3 m" |! `6 i7 k8 D6) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards) . g# M C) O% M& m+ i
a. If delta.xml file generation is successful, files in TC_DATA/model folder are uploaded to the database. , I2 |- i+ x9 @. Y$ a/ A& e* b1 X
7) Run install scripts for all selected templates . q" g7 t0 B( S" g2 M" p0 F& w
a. If template install, run the install_<template>.script for the template being installed. - @( N3 _8 W- L V2 f4 |" v' x( M/ {
b. If template update, run the install_<template>.script for all templates being updated. While running 6 p/ y: X$ P$ R t
the install script, TEM will skip the call to business_model_updater in the file - w3 j- w" z/ k( _$ W& R) S6 S W( M
install_<template>.default
- c/ L: b0 l: A* o% r: @( U8) Update the database with delta.xml using business_model_updater
$ J$ }# w5 d: f E; `5 Pa. The utility business_model_updater updates the database with the contents delta.xml i% K' p5 |! j b& E
9) Generate CLIPS rules, PLMXML schema file using the extracted file
8 K2 }* F8 u+ w% h- z( D: H+ {a. Invoke utility to generate the CLIPS rule file. This utility does the following.. ! ^$ c6 `% V8 Z6 H
i. Extract data model from database.
: L7 V0 {$ U4 b# G9 f" R: mii. Load the extracted data model. If there are loader errors, TEM deploy will report failure.
1 Z6 J2 Z% c. piii. Generate CLIPS rules using the loaded model.
0 B8 Y8 _, T; Ab. Invoke utility to generate the PLMXML XSD file. This utility does the following.. ( h) a8 m- n w7 y
i. Extract data model from database. 3 z* P; J6 W R
ii. Load the extracted data model. If there are loader errors, TEM deploy will report failure. - M, s; o( V# i# T( E
iii. Generate required schema file. $ Z" m$ z$ J! M! b* G# W' X
$ [) g+ t+ z+ l" Z; G( M! w' f. b* @! a' A% p7 w7 `
|
|