|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
& u0 h, \; G5 t1 C Teamcenter BMIDE冷部署TEM Deploy方式原理和步骤
. T6 n" B0 r! q
% t( }+ @" X g, MLet‘s understand these steps in detail. . V- h* q6 _8 z/ v9 G! d8 K
1) Copy the template files, install scripts to TC_ROOT/install/<template>
# b* Z% K: n T4 {! L Fa. In this step the TEM will unzip files in your template package to the folder
* M: I, q7 B% c9 G5 N QTC_ROOT/install/<templatename>
0 Y5 f. S" y) D% `) A2) Copy libraries to various folders in TC_ROOT ; M5 D8 x( W* b* a* c
a. TEM will copy the libraries or executables in your template package to respective folders in
7 }3 X4 E& [/ k7 Q9 ~TC_ROOT
2 d& ^8 c8 F6 o/ y7 W# Z( l3) Download files to TC_DATA/model from datasets (Applicable from Teamcenter 8.3 onwards) \0 U) C1 t y; b7 J+ j
a. BMIDE utilities will download the current TC_DATA/model files from dataset
( @/ B7 D* F, j) e# m: I% T4) Copy the latest template files from TC_ROOT/install/<template> to TC_DATA/model ; E: j3 ^/ p. w
5) Generate delta.xml 8 H" A' f5 z, H5 P+ ] V. t! Q3 s
a. In this step, the delta.xml is generated using the files in TC_DATA/model
5 L$ N" B/ G4 j4 }+ f* E; R: d0 Pi. Copy model.xml to model_backup.xml " _: A3 K5 d( U8 i
ii. Copy model_lang.xml to model_backup_lang.xml 8 i8 a" H( J( h9 s0 ^; M, S* I
iii. Consolidate template listed in master.xml to model.xml and model_lang.xml $ V+ D, `8 S$ g1 m: |! C
iv. Load model_backup.xml and model_backup_lang.xml as old model & H/ g: |) z2 ~: N c
v. Load model.xml and model_lang.xml as new model
% D7 \ ]/ m6 t+ K; @. b" fvi. Compare and generate delta.xml & Y: G6 z$ D0 X4 X% @
b. Teamcenter 8.3 onwards + p/ s$ W* J8 y+ q2 d! B
i. If any errors occur during this step, all files in TC_DATA/model are restored from datasets " f7 o: }. x5 ?: {0 S# [
(except for model.xml and model_backup.xml). 1 m8 g1 D2 v/ M" I
6) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards) 1 {; [! \* A, M% S+ x( a
a. If delta.xml file generation is successful, files in TC_DATA/model folder are uploaded to the database.
' o7 [( j# F) o" D; s, K7) Run install scripts for all selected templates
@6 C' t5 j7 \" v7 H1 ra. If template install, run the install_<template>.script for the template being installed. ' b4 Z) c7 L o8 t" x) P
b. If template update, run the install_<template>.script for all templates being updated. While running
6 b: |+ [6 t- p; C7 w' Z* |the install script, TEM will skip the call to business_model_updater in the file
; F+ p" l( S; C- |1 winstall_<template>.default $ y: A+ K0 F/ ?: @+ q. A* Y: [
8) Update the database with delta.xml using business_model_updater
% d4 U5 x0 o: @7 [" e* Na. The utility business_model_updater updates the database with the contents delta.xml 0 c$ s: F. G8 N X$ E- d3 A
9) Generate CLIPS rules, PLMXML schema file using the extracted file
) I8 ]; t! I8 o0 K+ {1 r* }0 I' m0 ka. Invoke utility to generate the CLIPS rule file. This utility does the following.. 4 d1 L: }5 n, z2 s
i. Extract data model from database.
, ^% h6 H' ^' Sii. Load the extracted data model. If there are loader errors, TEM deploy will report failure.
* ~9 I. X% C0 Y: ~iii. Generate CLIPS rules using the loaded model. 5 v! r( @8 u( _
b. Invoke utility to generate the PLMXML XSD file. This utility does the following..
5 B! d; D3 m, Z( `( ~% ki. Extract data model from database. : C7 h- l0 w$ K6 t' P! S/ N
ii. Load the extracted data model. If there are loader errors, TEM deploy will report failure.
8 u* D# s! B3 [) a ~iii. Generate required schema file. " @; J- W, ^' s* K& a5 n7 e1 b- W
: I2 Q$ @' j2 j0 V1 w0 G' z% W$ T
. A; T8 p2 T3 a6 F5 S5 N
|
|