|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
×
S4 g7 M' O- [ Teamcenter BMIDE冷部署TEM Deploy方式原理和步骤
- z5 R7 P4 \1 J2 S9 u
! n( d8 C0 a( VLet‘s understand these steps in detail.
" S: ~2 ~; k5 C. B1) Copy the template files, install scripts to TC_ROOT/install/<template>
* ~, [& @! M% q+ G, k% k; Ya. In this step the TEM will unzip files in your template package to the folder 1 M3 D/ n6 P2 q0 e# t
TC_ROOT/install/<templatename>
: z, I% w* o$ X2 \, @, `2) Copy libraries to various folders in TC_ROOT ! p' R$ ?/ H% x* ?
a. TEM will copy the libraries or executables in your template package to respective folders in 1 Z. |; B1 }4 C7 J( Z' O
TC_ROOT
6 X7 `+ ?$ ]2 I( m3) Download files to TC_DATA/model from datasets (Applicable from Teamcenter 8.3 onwards) 8 F. H, x- E0 ]0 M
a. BMIDE utilities will download the current TC_DATA/model files from dataset , T; |" {0 j) [8 S
4) Copy the latest template files from TC_ROOT/install/<template> to TC_DATA/model 1 F4 G4 }4 z6 y/ N n6 l9 ]
5) Generate delta.xml 2 I; g; l* P9 f+ {2 t& H! Z
a. In this step, the delta.xml is generated using the files in TC_DATA/model $ ]/ o7 P- ~& y/ K; d' y6 \3 K
i. Copy model.xml to model_backup.xml
) |4 j; x+ ?* P0 o* p! C: P/ wii. Copy model_lang.xml to model_backup_lang.xml
! u( i: o1 n2 D5 C9 tiii. Consolidate template listed in master.xml to model.xml and model_lang.xml
( C2 F' E$ L3 n4 b' q" [1 _iv. Load model_backup.xml and model_backup_lang.xml as old model }# j: x! t0 ^& R
v. Load model.xml and model_lang.xml as new model 2 W2 S7 u8 h. [0 T9 N: ? K. `: z( I
vi. Compare and generate delta.xml
8 t) S+ i( R" N5 C. bb. Teamcenter 8.3 onwards
! H8 U+ P3 y: ~i. If any errors occur during this step, all files in TC_DATA/model are restored from datasets ! y' P" u n; g; A/ h
(except for model.xml and model_backup.xml). " e1 g. t) Z. s6 E( U X( k
6) Upload files from TC_DATA/model to datasets (Applicable from Teamcenter 8.3 onwards)
6 T9 a4 ~* \# B1 F6 k4 qa. If delta.xml file generation is successful, files in TC_DATA/model folder are uploaded to the database. ! [, \ p8 p' U8 r( P0 R# b
7) Run install scripts for all selected templates 7 M* H+ K9 J" [! s" v. n8 y8 I9 G4 f
a. If template install, run the install_<template>.script for the template being installed. 5 ~- B8 G0 }1 B& U/ O. e" r
b. If template update, run the install_<template>.script for all templates being updated. While running
* y1 v2 |2 U0 W& V9 E( ^the install script, TEM will skip the call to business_model_updater in the file
: R% X* z- o: @+ y* winstall_<template>.default
7 S: g7 m7 Y& S3 C8) Update the database with delta.xml using business_model_updater 7 @4 S( _) F6 ?0 Y1 r
a. The utility business_model_updater updates the database with the contents delta.xml
6 J; P5 b( F: i6 i4 `9) Generate CLIPS rules, PLMXML schema file using the extracted file 1 I; L# A1 O' o7 o
a. Invoke utility to generate the CLIPS rule file. This utility does the following..
( Z8 B& I! Z, c6 bi. Extract data model from database. : q, `* t: x( m+ k- H
ii. Load the extracted data model. If there are loader errors, TEM deploy will report failure.
+ Y2 Z. \/ G4 C$ S xiii. Generate CLIPS rules using the loaded model. 6 }1 F- A/ w5 x( O
b. Invoke utility to generate the PLMXML XSD file. This utility does the following.. $ U2 P5 a! z" A/ J" T+ N3 m( [1 |4 @
i. Extract data model from database.
4 |% j- \8 f/ X7 Q5 _5 eii. Load the extracted data model. If there are loader errors, TEM deploy will report failure. 7 [) n/ w' y& H3 D2 ~- x2 h
iii. Generate required schema file.
" m9 g8 h8 ~) w$ s5 o
) k5 @2 Y/ ?! m- p" i1 L1 |3 `" E' Q) }' L4 Z& `- e: S( z9 Z0 _0 p
|
|