|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
' l9 \7 S& O; U, B, P$ L5 X Teamcenter BMIDE冷部署TEM Deploy方式原理和步骤
+ Y" f5 X/ {% K3 z# d2 c; f' B
9 t7 F2 a1 Z7 o% R6 h3 ~8 |: K2 DLet‘s understand these steps in detail. 3 a4 F6 e, R8 h0 Z& }' S# C4 O# `
1) Copy the template files, install scripts to TC_ROOT/install/<template>
6 U, H1 S- Y. R7 [' K; Ca. In this step the TEM will unzip files in your template package to the folder
+ o8 U" _: w2 QTC_ROOT/install/<templatename> ) v1 J9 l t3 Z4 Z# V9 R' n
2) Copy libraries to various folders in TC_ROOT " L2 K. S3 r& q
a. TEM will copy the libraries or executables in your template package to respective folders in
. d% |8 q1 {) G5 }4 XTC_ROOT
c( h. ^% D" Q1 d3) Download files to TC_DATA/model from datasets (Applicable from Teamcenter 8.3 onwards) ) A$ v7 ~( ^8 v H
a. BMIDE utilities will download the current TC_DATA/model files from dataset
* J, @2 u/ [9 r( ]. u- M4) Copy the latest template files from TC_ROOT/install/<template> to TC_DATA/model
6 \7 \% G( v; h# |3 }5) Generate delta.xml
0 q- w1 {+ z, j* E% ^4 ca. In this step, the delta.xml is generated using the files in TC_DATA/model ' w8 x2 G1 ~: i: {: Y, \
i. Copy model.xml to model_backup.xml
7 R, H; u3 c/ f% aii. Copy model_lang.xml to model_backup_lang.xml 3 q! W: h# s) s" R
iii. Consolidate template listed in master.xml to model.xml and model_lang.xml
- T% f+ Y" a0 G& S8 n/ civ. Load model_backup.xml and model_backup_lang.xml as old model
/ _% {7 L. S+ K& q& Sv. Load model.xml and model_lang.xml as new model 8 j" J8 U- w4 j8 B5 P1 Z5 g) G
vi. Compare and generate delta.xml 2 `( z1 }2 Q" o6 B. B3 o% m' B9 v
b. Teamcenter 8.3 onwards ' M/ I+ v2 m* r5 t. |$ S" w
i. If any errors occur during this step, all files in TC_DATA/model are restored from datasets + `0 |1 b4 G2 `! H2 v% x2 l
(except for model.xml and model_backup.xml).
3 R" @+ U% P: k8 l6) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards)
( A4 D8 C; c& Sa. If delta.xml file generation is successful, files in TC_DATA/model folder are uploaded to the database.
& h+ l9 w6 b c" W' I2 b7 N2 x6 s# C7) Run install scripts for all selected templates
r+ @) L# d) `2 ?* ra. If template install, run the install_<template>.script for the template being installed.
2 b3 a! y1 l2 \# z0 q5 _b. If template update, run the install_<template>.script for all templates being updated. While running 1 ^* ? c F5 x% ~9 G: Z
the install script, TEM will skip the call to business_model_updater in the file / J$ U- W" Q% n3 g5 j t
install_<template>.default 1 a/ m. {) y" \# V% d
8) Update the database with delta.xml using business_model_updater
# _ n4 G; q8 ^a. The utility business_model_updater updates the database with the contents delta.xml
. P$ w4 s/ B% k3 h2 }# _9) Generate CLIPS rules, PLMXML schema file using the extracted file
: c' N, E8 Q8 k9 {a. Invoke utility to generate the CLIPS rule file. This utility does the following.. / _% d4 J W* J
i. Extract data model from database. ; e" s$ K1 x6 A' X" i( Y
ii. Load the extracted data model. If there are loader errors, TEM deploy will report failure. 6 E( {1 n* H) ~- Y' _! l
iii. Generate CLIPS rules using the loaded model. , V3 {/ C" k: Q1 h3 I u3 I
b. Invoke utility to generate the PLMXML XSD file. This utility does the following..
; g5 `' L8 O1 P8 B2 N" \; `i. Extract data model from database.
, S! H6 B1 m0 E* Aii. Load the extracted data model. If there are loader errors, TEM deploy will report failure.
2 j: L- c- ~& x" e1 p6 H8 jiii. Generate required schema file. % ?( J- L# Y8 {
; d: U( X9 X4 |4 M3 Q+ G. h! T, c6 B& T3 f) b& t
|
|