|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
) ~/ d# i" Z( P Teamcenter BMIDE冷部署TEM Deploy方式原理和步骤
* k7 |+ r: K# F, _7 Q3 q/ V
3 o6 V) b+ |& i, b; i$ j5 uLet‘s understand these steps in detail.
$ i" g0 E* q$ }* R1) Copy the template files, install scripts to TC_ROOT/install/<template>
* }- O& q# p. y' |* ba. In this step the TEM will unzip files in your template package to the folder , }6 B* _9 T/ f9 R* y
TC_ROOT/install/<templatename> # r) p6 Y n& Z1 h7 l
2) Copy libraries to various folders in TC_ROOT
x7 ?' A' z; va. TEM will copy the libraries or executables in your template package to respective folders in
3 B6 t" G, p% wTC_ROOT " `) ~/ b2 M; P
3) Download files to TC_DATA/model from datasets (Applicable from Teamcenter 8.3 onwards)
9 F7 Q2 t& Q7 [1 y) J: Ga. BMIDE utilities will download the current TC_DATA/model files from dataset
2 j4 V& B$ k: y" P+ k, b4) Copy the latest template files from TC_ROOT/install/<template> to TC_DATA/model
* j7 }) j3 o4 R5 w$ T/ X9 r5) Generate delta.xml
% z- o9 C* M# L) P' G6 u; u% Da. In this step, the delta.xml is generated using the files in TC_DATA/model
3 h$ G8 t8 L! l+ yi. Copy model.xml to model_backup.xml 4 {6 V! I/ o3 \/ O: D
ii. Copy model_lang.xml to model_backup_lang.xml / k7 w9 ~ L1 i& j+ Z5 Q9 g( h
iii. Consolidate template listed in master.xml to model.xml and model_lang.xml
* g2 S) q% h3 ~0 I( k( I9 M; {iv. Load model_backup.xml and model_backup_lang.xml as old model ! F: l/ U5 w% |* z- i' F# X
v. Load model.xml and model_lang.xml as new model ' F9 P' z ~, \; g; H
vi. Compare and generate delta.xml
4 Z0 ^6 [- {, W" {, B1 h' sb. Teamcenter 8.3 onwards # b" e3 _, D* d, f
i. If any errors occur during this step, all files in TC_DATA/model are restored from datasets
. e, m2 c7 A! r0 k- }(except for model.xml and model_backup.xml).
; x7 s& p2 v& G: O7 r) h& y, {8 x6) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards)
4 w! E7 h- \+ p5 M/ W8 ba. If delta.xml file generation is successful, files in TC_DATA/model folder are uploaded to the database.
3 X" \8 {; ?' g0 E+ W+ X7) Run install scripts for all selected templates
3 M' b5 f) W8 _- Pa. If template install, run the install_<template>.script for the template being installed. ; E; I$ j4 H6 l; g* Z5 c
b. If template update, run the install_<template>.script for all templates being updated. While running
3 v/ [0 A0 g- G6 @ Q* O6 Ythe install script, TEM will skip the call to business_model_updater in the file k$ L; Z7 k8 U4 F1 i
install_<template>.default / N3 L _' W2 ]- Q: n
8) Update the database with delta.xml using business_model_updater
. s% E6 O6 Y3 e2 x7 n/ x% ~a. The utility business_model_updater updates the database with the contents delta.xml 4 ~# m/ r- F5 L2 a/ D4 P( ?
9) Generate CLIPS rules, PLMXML schema file using the extracted file % M: t( C9 Y$ \$ Y5 J
a. Invoke utility to generate the CLIPS rule file. This utility does the following.. ' \' K$ n$ ^8 v2 @' o; }
i. Extract data model from database. / t) W8 n, U: d2 t7 u4 T) Z
ii. Load the extracted data model. If there are loader errors, TEM deploy will report failure.
2 T* n9 S" s7 k; j' Fiii. Generate CLIPS rules using the loaded model.
! r" S" o, w/ k+ {b. Invoke utility to generate the PLMXML XSD file. This utility does the following..
- f6 l3 c% D/ V( x [9 Ki. Extract data model from database.
4 _# N2 E8 D" \1 }2 l: U6 l1 A3 A& yii. Load the extracted data model. If there are loader errors, TEM deploy will report failure.
% z2 H; T7 V$ {9 miii. Generate required schema file.
" N/ t: ^+ ]/ G7 j3 v1 ?
9 A$ e. G8 H0 M3 m: q% m- a1 y Q* f
|
|