|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
×
1 ^1 D: S: H0 u! l+ v6 i2 U
Teamcenter BMIDE冷部署TEM Deploy方式原理和步骤
9 W; r5 N! a: d# n. ~
# R5 Z. A A! @" F8 ~Let‘s understand these steps in detail. , _. C1 l7 S% f7 J
1) Copy the template files, install scripts to TC_ROOT/install/<template> + E" H2 A9 A- v
a. In this step the TEM will unzip files in your template package to the folder
) b. S3 E' j& N2 x: sTC_ROOT/install/<templatename> ) M7 q2 m$ ], V5 ^8 W- V+ l, k
2) Copy libraries to various folders in TC_ROOT
6 J* M! ^/ M6 A U9 a6 T( H2 fa. TEM will copy the libraries or executables in your template package to respective folders in ! y( ^. l8 J3 B5 K9 h" `" N
TC_ROOT
h# @6 w2 q+ p! f) S3) Download files to TC_DATA/model from datasets (Applicable from Teamcenter 8.3 onwards) 2 J: L. ]' e# v
a. BMIDE utilities will download the current TC_DATA/model files from dataset
0 {3 M/ l; e8 H. w* J8 x4) Copy the latest template files from TC_ROOT/install/<template> to TC_DATA/model - d2 w& k2 d+ Z4 O5 t- }
5) Generate delta.xml ' r5 o- n P* ?# p, m' B
a. In this step, the delta.xml is generated using the files in TC_DATA/model & J I7 j; k2 [/ m7 z, z9 l7 g
i. Copy model.xml to model_backup.xml " g% c" Z1 F$ R7 y& S* Y
ii. Copy model_lang.xml to model_backup_lang.xml " d8 E9 F0 @2 M* y! m
iii. Consolidate template listed in master.xml to model.xml and model_lang.xml
0 [1 n0 ~% e0 `iv. Load model_backup.xml and model_backup_lang.xml as old model
3 v6 T6 M _9 O# q) jv. Load model.xml and model_lang.xml as new model 6 k! X- P9 | E- T9 {4 B& }" k6 u
vi. Compare and generate delta.xml
8 q: @! \0 a# m6 f. {/ w5 i+ n0 Y& Pb. Teamcenter 8.3 onwards ! {0 b4 N" R( N( I6 t
i. If any errors occur during this step, all files in TC_DATA/model are restored from datasets 5 P# n/ f4 W8 Y6 G8 x" L( S
(except for model.xml and model_backup.xml). 0 e8 @/ s8 H- ]9 c0 n# s
6) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards)
' d1 \0 h: w; _a. If delta.xml file generation is successful, files in TC_DATA/model folder are uploaded to the database.
! U( |; v- E2 G5 L' E9 [7) Run install scripts for all selected templates
# O: \3 Z' _8 L0 I8 A1 N0 ]2 ]. R9 fa. If template install, run the install_<template>.script for the template being installed. 7 X c( f& Q6 N/ m9 M ]
b. If template update, run the install_<template>.script for all templates being updated. While running
5 U6 C: o1 a- }' g2 w! dthe install script, TEM will skip the call to business_model_updater in the file
0 X( u" Y3 g4 h7 W+ xinstall_<template>.default
3 Z" N8 ?6 @* Q5 r& s- K/ W# u' G6 X8) Update the database with delta.xml using business_model_updater
. y( W' N1 R/ ka. The utility business_model_updater updates the database with the contents delta.xml
$ Z( e6 S Q" g" A& _& }9) Generate CLIPS rules, PLMXML schema file using the extracted file
+ f7 ^$ G' r T8 x5 J ja. Invoke utility to generate the CLIPS rule file. This utility does the following.. * w b R) I0 Z v7 \4 k8 u5 I
i. Extract data model from database. " e+ h+ g6 H( Y; y- {$ O& D
ii. Load the extracted data model. If there are loader errors, TEM deploy will report failure.
0 ~0 |5 O$ X2 `8 j/ C* giii. Generate CLIPS rules using the loaded model. # V) k2 ?, |7 g# F
b. Invoke utility to generate the PLMXML XSD file. This utility does the following.. * d; X2 f* ?5 f/ v
i. Extract data model from database.
' |6 k5 b3 T3 U( n+ Nii. Load the extracted data model. If there are loader errors, TEM deploy will report failure.
, g/ Q( h0 A( }6 n( U" wiii. Generate required schema file. ) J( i* S# l* ]) Q
/ b! E: b( k( s/ t0 n
- T1 U7 Q7 d% {5 d/ P
|
|