|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
* S1 R0 O( z9 Q7 E8 }5 t
Teamcenter BMIDE冷部署TEM Deploy方式原理和步骤
9 g* V" ]0 Y* o9 S) {8 `
$ d2 s: \9 B! W
Let‘s understand these steps in detail. ! u `( Q* P4 i6 ?
1) Copy the template files, install scripts to TC_ROOT/install/<template> 9 b2 Z: y, _! c$ Q. F
a. In this step the TEM will unzip files in your template package to the folder + t5 v& t* [' x1 Y* h+ k E! O" x
TC_ROOT/install/<templatename>
% R; v0 Q( r0 |% t/ P2) Copy libraries to various folders in TC_ROOT
6 `, S# H/ H$ A' y3 \a. TEM will copy the libraries or executables in your template package to respective folders in 3 Q5 b( G, a$ s# L7 M {/ i
TC_ROOT $ D# L+ ?9 l9 O+ c
3) Download files to TC_DATA/model from datasets (Applicable from Teamcenter 8.3 onwards)
! D' J$ _0 t# Qa. BMIDE utilities will download the current TC_DATA/model files from dataset
8 w" O' u$ g D) }* Z: X, H4) Copy the latest template files from TC_ROOT/install/<template> to TC_DATA/model 7 I8 ? T+ R$ [7 S/ j9 l$ j* E& }* e
5) Generate delta.xml ; T; E0 l( H' Z
a. In this step, the delta.xml is generated using the files in TC_DATA/model
2 Y( [7 ?! m# b3 ]1 W8 ci. Copy model.xml to model_backup.xml
& a2 E" P1 L* hii. Copy model_lang.xml to model_backup_lang.xml
+ F- D( z2 ]$ i! n! t9 t6 A' Ciii. Consolidate template listed in master.xml to model.xml and model_lang.xml : C) s; L4 c7 q8 y! ?: \* ^8 ]
iv. Load model_backup.xml and model_backup_lang.xml as old model 8 @& y7 Y1 ]. Z' Q* u
v. Load model.xml and model_lang.xml as new model 8 U# ?8 m+ d! K) n4 K6 I! I* z
vi. Compare and generate delta.xml ) [' Y: q( Z. \+ d/ q: R
b. Teamcenter 8.3 onwards 8 ^3 ^0 }$ t3 M* X7 L
i. If any errors occur during this step, all files in TC_DATA/model are restored from datasets & H6 @4 j$ p* a% } @0 ^
(except for model.xml and model_backup.xml).
% c7 l g% p' P- u6) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards) : }+ p& Z, T+ ]" V3 p) i
a. If delta.xml file generation is successful, files in TC_DATA/model folder are uploaded to the database. : L$ n5 _: e9 M" p; U3 Z3 X
7) Run install scripts for all selected templates
8 D7 o3 j$ p, G% q( P) M% B. ra. If template install, run the install_<template>.script for the template being installed.
4 }* y% a6 E! h5 jb. If template update, run the install_<template>.script for all templates being updated. While running ' f0 N1 e2 @1 g4 ]
the install script, TEM will skip the call to business_model_updater in the file
3 s" v. p3 j# Binstall_<template>.default ( z) p* h" L" h! t5 @1 t
8) Update the database with delta.xml using business_model_updater 6 E4 A I+ Y' B5 R. X
a. The utility business_model_updater updates the database with the contents delta.xml $ M, K7 F. T0 O6 P5 w2 t
9) Generate CLIPS rules, PLMXML schema file using the extracted file % D( u! @+ f% p; [+ `
a. Invoke utility to generate the CLIPS rule file. This utility does the following.. " j5 I% P) Q R+ R$ H& p" M
i. Extract data model from database. . Z7 I3 D9 K: _& d
ii. Load the extracted data model. If there are loader errors, TEM deploy will report failure.
- m1 `) |( {# [iii. Generate CLIPS rules using the loaded model. 9 x; w* v4 h7 W0 K. c
b. Invoke utility to generate the PLMXML XSD file. This utility does the following..
8 G& B: \' d6 D [& W; ji. Extract data model from database. . o6 M4 n7 j7 ?, Q# v
ii. Load the extracted data model. If there are loader errors, TEM deploy will report failure. y1 j; y" o8 [$ S
iii. Generate required schema file. ( g5 s9 _7 e1 U2 H
% t" C7 N) N& E/ s* L
8 p4 `, j2 g8 l7 U
|
|