|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
& }$ D- s6 R& J8 l) R" l" F9 m Teamcenter BMIDE冷部署TEM Deploy方式原理和步骤
( X3 `% s5 Z% M( M: w' F $ U; g; S' n+ c' t; x8 H' d0 b0 W
Let‘s understand these steps in detail.
3 I% r) N3 i2 E1) Copy the template files, install scripts to TC_ROOT/install/<template>
+ J% W. p, k% h$ j. j# {* A% sa. In this step the TEM will unzip files in your template package to the folder ) [% }! E k& ~- Z9 [
TC_ROOT/install/<templatename> 8 }+ t, Z/ R# x9 i4 u; [4 C
2) Copy libraries to various folders in TC_ROOT 1 o9 m# z k; Q/ D R Z/ a
a. TEM will copy the libraries or executables in your template package to respective folders in 8 M" G- X- g3 R) t
TC_ROOT
3 h4 U" w- g8 k) ?8 l6 W3) Download files to TC_DATA/model from datasets (Applicable from Teamcenter 8.3 onwards) $ M7 _; C1 }7 b- z5 m7 s# @( {
a. BMIDE utilities will download the current TC_DATA/model files from dataset
# S) h/ G$ T |8 r0 b3 d) [8 I4) Copy the latest template files from TC_ROOT/install/<template> to TC_DATA/model 7 J! X$ @. J2 d8 a
5) Generate delta.xml & r1 X e3 ^$ p- }. Q
a. In this step, the delta.xml is generated using the files in TC_DATA/model
2 ]4 d+ d: l4 Y+ b* M# si. Copy model.xml to model_backup.xml v( X/ @; e$ x- {
ii. Copy model_lang.xml to model_backup_lang.xml
; s: G4 Q/ ]( T7 O0 s8 I6 e- i% A Z1 _iii. Consolidate template listed in master.xml to model.xml and model_lang.xml ' V! t" t) ~) w$ J* m8 a, m
iv. Load model_backup.xml and model_backup_lang.xml as old model
8 A! A9 f* K( k2 k9 }) kv. Load model.xml and model_lang.xml as new model : C- A. J# P0 N! R a
vi. Compare and generate delta.xml 0 C6 P$ B/ p) N% g0 n
b. Teamcenter 8.3 onwards
+ N v) V/ e! M6 G/ ii. If any errors occur during this step, all files in TC_DATA/model are restored from datasets
$ A) |* s9 w- o) r$ [" k3 H(except for model.xml and model_backup.xml).
3 s+ R1 `( Z) R( H' Z T) A6) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards) 7 o+ h$ v- l( ?' K: Q& M
a. If delta.xml file generation is successful, files in TC_DATA/model folder are uploaded to the database.
( i6 u- R1 \' F. J' m7) Run install scripts for all selected templates 8 I' w h' H2 l" W
a. If template install, run the install_<template>.script for the template being installed. 9 s3 w, @; c K, P- w3 Q
b. If template update, run the install_<template>.script for all templates being updated. While running I8 a% o- r2 S3 n, F/ z* H8 E; p
the install script, TEM will skip the call to business_model_updater in the file
4 m% e N8 `3 H: a3 \3 Z' |install_<template>.default % R1 ~4 Y' y( E3 G+ i }
8) Update the database with delta.xml using business_model_updater
! Y8 w! r+ _# N) O& n% p% ]a. The utility business_model_updater updates the database with the contents delta.xml
! U+ V7 J- w( S& A9) Generate CLIPS rules, PLMXML schema file using the extracted file
( B/ N6 H# v9 m! ca. Invoke utility to generate the CLIPS rule file. This utility does the following..
* ]* }/ W" f- Y% `+ Fi. Extract data model from database.
% c; i. e% s$ o- g6 B; yii. Load the extracted data model. If there are loader errors, TEM deploy will report failure. % s6 e% d& S- w! P0 c& {) {& M
iii. Generate CLIPS rules using the loaded model.
; Y/ k7 M- O6 t+ ]b. Invoke utility to generate the PLMXML XSD file. This utility does the following.. * @- N% ?) r$ |' ]8 Y
i. Extract data model from database.
, V I% X' A3 T# s6 s' L. D: K0 @ ~ii. Load the extracted data model. If there are loader errors, TEM deploy will report failure. % B$ k: e; O; ? [" m, E, w; X
iii. Generate required schema file. 9 k2 O) O* f4 ]$ M, ?
" u: @9 G# H" B7 H- q6 ^
9 ]$ F* ]: o K! N/ _; _ |
|