|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
" A4 N' W: ^! ~5 R Teamcenter BMIDE冷部署TEM Deploy方式原理和步骤
4 Q4 k- ]) E; B: |- ~' k" s5 p
* g8 k; e& \2 Q0 v+ q) H
Let‘s understand these steps in detail.
% s; `0 U) L# b! U1) Copy the template files, install scripts to TC_ROOT/install/<template>
/ A' \; \/ S- d0 M( S5 i, H4 xa. In this step the TEM will unzip files in your template package to the folder
- x6 o( t: t/ G; ?( WTC_ROOT/install/<templatename> ' t9 G0 \+ A. E2 @
2) Copy libraries to various folders in TC_ROOT 6 _; ^+ H1 ?0 n: z; `
a. TEM will copy the libraries or executables in your template package to respective folders in 8 f0 e. F" u w* B
TC_ROOT
2 g! t/ |; c* j3 a# m3) Download files to TC_DATA/model from datasets (Applicable from Teamcenter 8.3 onwards)
0 t" i' G: |, J0 }' p0 ^3 ]8 |- R# x, fa. BMIDE utilities will download the current TC_DATA/model files from dataset
! T4 Y) E- k. x0 k6 F2 b4) Copy the latest template files from TC_ROOT/install/<template> to TC_DATA/model * x: U$ n- o8 @, i# i% @
5) Generate delta.xml 4 J: L/ f2 t, [+ c- f
a. In this step, the delta.xml is generated using the files in TC_DATA/model ) P6 R/ }5 q- M0 o5 j6 k/ A
i. Copy model.xml to model_backup.xml
/ @1 M& ], x( Qii. Copy model_lang.xml to model_backup_lang.xml ' B' }4 J+ ?) J& ^- k
iii. Consolidate template listed in master.xml to model.xml and model_lang.xml
9 g5 V4 |; B: g' b# z; _; Uiv. Load model_backup.xml and model_backup_lang.xml as old model . J3 e1 y% Q9 s! H% K9 g I
v. Load model.xml and model_lang.xml as new model
5 A. b# v8 k7 Y8 \vi. Compare and generate delta.xml
. J6 M8 k9 S5 z# v! i0 V, \b. Teamcenter 8.3 onwards
1 p% L( x& E: ^, r! Y" X8 Ji. If any errors occur during this step, all files in TC_DATA/model are restored from datasets 5 Y: n2 A: F1 q& G
(except for model.xml and model_backup.xml). & N% q8 Y6 G/ V# Q2 \; A+ s
6) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards)
( d, i8 ?# _0 [4 _" Y2 r$ Da. If delta.xml file generation is successful, files in TC_DATA/model folder are uploaded to the database. 7 v2 F1 J3 m& i, x/ s
7) Run install scripts for all selected templates
0 j4 e0 Z, b$ S H( f Ka. If template install, run the install_<template>.script for the template being installed.
2 H2 F2 p- ^$ P) `b. If template update, run the install_<template>.script for all templates being updated. While running
! p5 m8 A" L2 v. k4 a7 nthe install script, TEM will skip the call to business_model_updater in the file
2 S9 |8 r& ?2 a: x1 C2 winstall_<template>.default
# @! H+ f0 o$ |2 r8 y" W, R8) Update the database with delta.xml using business_model_updater
6 H& t# t" Z3 F: M% [! c3 ma. The utility business_model_updater updates the database with the contents delta.xml
/ n- g5 q* K" C7 `0 L; T9) Generate CLIPS rules, PLMXML schema file using the extracted file + @0 ~2 R% l2 y3 i9 }1 D y% u
a. Invoke utility to generate the CLIPS rule file. This utility does the following.. : Z/ v- N4 l2 ^* w% {
i. Extract data model from database.
2 \! O# x) J# |0 W* T7 rii. Load the extracted data model. If there are loader errors, TEM deploy will report failure. : r( C9 E/ l9 G3 q
iii. Generate CLIPS rules using the loaded model.
' j! r; p* n; _+ Hb. Invoke utility to generate the PLMXML XSD file. This utility does the following.. : T$ o7 F, U" Y1 r1 B' O( D
i. Extract data model from database.
* n6 y, k* t5 L5 zii. Load the extracted data model. If there are loader errors, TEM deploy will report failure.
3 k9 b; H V/ N" diii. Generate required schema file. ; j* ]; k/ p+ H9 C
+ C- R- ^6 m' E" H; _
+ P, N- c; D: A |
|