|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
: q3 ~6 R: O$ a2 Y
Teamcenter BMIDE冷部署TEM Deploy方式原理和步骤
/ s8 S( ^$ ]( n+ [, l 7 h) S/ j2 f* ?3 b0 R' V0 }1 Y0 D; ~
Let‘s understand these steps in detail.
% x7 L) G& z$ H1) Copy the template files, install scripts to TC_ROOT/install/<template>
6 V- P( k( y, d7 L/ F- Q. K8 aa. In this step the TEM will unzip files in your template package to the folder + O4 x) @4 y4 M1 `7 h
TC_ROOT/install/<templatename>
: q; \, x R' M" M8 C V2) Copy libraries to various folders in TC_ROOT / W1 j7 \8 R2 \
a. TEM will copy the libraries or executables in your template package to respective folders in
' k+ H! I) F3 | r6 ?5 f# qTC_ROOT $ v: F L9 ?5 g, I X, j3 w5 ~
3) Download files to TC_DATA/model from datasets (Applicable from Teamcenter 8.3 onwards) 4 T; g4 K S5 X5 o' O
a. BMIDE utilities will download the current TC_DATA/model files from dataset
# E' T$ r" o8 J0 I( p) b6 }$ u6 {4) Copy the latest template files from TC_ROOT/install/<template> to TC_DATA/model
3 y, v8 d) L1 j! z1 X8 W# X5) Generate delta.xml
1 {* j4 P) s$ Z& Na. In this step, the delta.xml is generated using the files in TC_DATA/model
$ _6 S$ P5 m1 { v, a" Di. Copy model.xml to model_backup.xml 3 i, Z, E9 v W" Y) m/ n8 m
ii. Copy model_lang.xml to model_backup_lang.xml 2 o5 [9 R# D/ B
iii. Consolidate template listed in master.xml to model.xml and model_lang.xml % T" s% u4 }% i
iv. Load model_backup.xml and model_backup_lang.xml as old model 4 A" |/ s6 @" B) g# U
v. Load model.xml and model_lang.xml as new model
( ? B' T1 I5 h: a% p2 @vi. Compare and generate delta.xml
7 M- ?8 @$ {) n+ [3 N; L; `b. Teamcenter 8.3 onwards ' T, x/ M; |3 w- m0 g( ]
i. If any errors occur during this step, all files in TC_DATA/model are restored from datasets
$ ?! e V- J" Q(except for model.xml and model_backup.xml). + x6 ]/ F. @3 z, {* h2 p2 j2 V
6) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards)
" ~2 K/ \' d) B J5 pa. If delta.xml file generation is successful, files in TC_DATA/model folder are uploaded to the database. 7 g" Z* j4 ]$ |- t7 b2 \
7) Run install scripts for all selected templates
4 X; H9 `5 U( G( j/ j1 Ya. If template install, run the install_<template>.script for the template being installed. / |1 Z: j# M2 S5 {' M6 x
b. If template update, run the install_<template>.script for all templates being updated. While running - H* U1 @0 T! h+ u2 m5 p
the install script, TEM will skip the call to business_model_updater in the file
$ S9 U! w9 f0 _* x" Z. \; uinstall_<template>.default
- j+ b* J# g/ b$ K$ [8) Update the database with delta.xml using business_model_updater
9 N, T, k4 n" E4 F/ sa. The utility business_model_updater updates the database with the contents delta.xml
7 e9 V7 h7 i X: G/ w1 X- n9) Generate CLIPS rules, PLMXML schema file using the extracted file
: h: O8 E( K2 x3 Oa. Invoke utility to generate the CLIPS rule file. This utility does the following..
$ B" [6 t* k# Ei. Extract data model from database. - L }. g3 p, o
ii. Load the extracted data model. If there are loader errors, TEM deploy will report failure.
+ ?3 d9 o+ d3 c) {iii. Generate CLIPS rules using the loaded model. 2 I- y/ p2 N3 l" l& T8 N/ l# V( b
b. Invoke utility to generate the PLMXML XSD file. This utility does the following..
) e( x% ?9 m/ v( L* E* z( q ai. Extract data model from database.
6 k& _9 J" a7 Q, [' \9 [ii. Load the extracted data model. If there are loader errors, TEM deploy will report failure.
& Y% X0 w( b# z4 x& Hiii. Generate required schema file.
6 c) Q; h( p4 q3 f& M) H, J! [& i3 Z
+ Z$ l4 L0 Y6 C3 Z
|
|