|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
发现了,执行的都是些常用的utility,拿出来看看!
/ ^! A/ P% q# A. D9 Y* h$ F: @+ J1 f+ z% z! t+ d
首先是设置环境
0 U$ N* B; G5 ], k1 W7 Y" Z, ?& e3 d& Y+ Q
7 c% y- U F; m, M
Setting up Teamcenter shell
1 o6 g, @5 I+ h" {$ M9 V% N5 I" k* o/ a3 e, x
" U/ A" U% Q6 M. g3 M6 v
Executing [set IMAN_ROOT=C:\Siemens\Teamcenter10]
& O( v% [" W4 g& L0 m$ z
' }' q& R+ H, A0 C- y8 R& L3 p
- e: k/ m* m2 _( KExecuting [set IMAN_DATA=C:\Siemens\TCdata]
0 X2 U0 y5 V9 n& G' n8 C$ N5 ]) f) `4 s& ?4 G6 ]: w) g
; ]' u2 q# P1 o+ X8 aExecuting [set TC_ROOT=C:\Siemens\Teamcenter10]
, v9 H' u4 I; Q7 I7 A
. f1 R H: n* z. U# B8 G" v: L+ w; w! B/ F
Executing [set TC_DATA=C:\Siemens\tcdata]& Q: Q* T# F+ D4 C
+ _2 q- S0 n: h
. z4 w0 j" y+ c$ i4 F+ r$ Y
Executing ["C:\Siemens\tcdata\tc_profilevars"]9 z; l& R* z# U* K7 \
Output from command: "C:\Siemens\tcdata\tc_profilevars"4 Y5 o- a2 `: D/ J0 M
command_exit=0
; x" |: E# C1 p- T2 h4 x$ ^# L) K$ tExit Status 0, elapsed time 0:00:003 z4 ^$ i, R& `
; x- P9 c/ n0 x7 H7 V
9 _1 E9 [8 r$ RExecuting [set TNS_ADMIN=C:\Siemens\tcdata], d ?, D. `) p2 N" E7 h
" a$ l8 @! A5 s% P% w
% ?. M8 w4 K1 V! G! L5 s0 GExecuting [set IMAN_BYPASS_CANNED_METHODS=ALL]+ u- `) d! w1 z' F/ ?, `% [2 v& C
; y4 j0 o9 B- S
. T8 }' X$ i" g1 f- D$ a3 k/ N. ]Executing [set BYPASS_RULES=ON]
$ x6 ~& `! f( l, K S
2 C# A! |3 U2 Z6 d$ P) v0 o8 ~, ^& j J/ Q
Executing [set NR_BYPASS=ON]
, `* o/ l' ], {0 n" g+ G4 r: e& i# ?2 {+ f& B' Z; `1 F+ U2 `
% d! i: f' S) u/ o3 }9 [Executing [set BMF_BYPASS_ALL_EXTENSION_RULES=ON]
3 x, \2 \8 N. ^9 `$ Q' U+ }0 p+ w, I. f9 I0 Z
. h3 Z5 n- @3 H3 l/ K; {! v
Executing [set TC_USE_METADATA_SHARED_MEMORY=FALSE]
; x' q. D5 h' _3 d( e# b4 H0 w
* |) U$ b' j' i8 Y
, d2 Y, H1 u3 `Executing [set TC_KEEP_SYSTEM_LOG=true]5 Y4 o- W6 d4 x
) a8 p& C! B+ i, @; w" t8 ~8 B# ^: Z) L
Executing [set IMAN_KEEP_SYSTEM_LOG=true]+ _+ `% `# m; B! `, e) `
" F/ \' N) c6 R) q: P! ]
; k! b, X1 @* i5 M& ZExecuting [set IMAN_TMP_DIR=C:\Siemens\Teamcenter10\logs\1311250352] T9 f" s2 q2 d- O
/ ]7 B* a, @' N
( A+ E7 I, W- q3 `' a$ k; {8 Y; }
Executing [set TC_TMP_DIR=C:\Siemens\Teamcenter10\logs\1311250352]
* _- u4 z* h+ [$ Y# x
" F2 B, m! k9 I( q+ `- D1 d" z/ ^5 Y" ~+ H1 U( x0 o
Executing [set LANGID=EN]# A; ]4 V" Z: Z/ z; t7 k3 \: p8 Q
6 k% W4 R* B1 r& i4 I5 G4 i3 }
' f* V+ p/ F; i. V, B' S# F2 h5 rExecuting [cd /D "C:\Siemens\Teamcenter10\logs"]" r$ d$ T1 p6 c& s' v# c( b% l
Output from command: cd /D "C:\Siemens\Teamcenter10\logs"% j) b; j' ^- v0 }! j. u" d) B
command_exit=0( }1 T2 {% H" d: E
Exit Status 0, elapsed time 0:00:00, z7 B/ D) B& W1 X# T1 S! I" r
...Done
g2 G% z# V$ Z8 V' H% W& g7 F3 d) u% C+ ~" i
`4 w5 A. ]9 y% \- `! w7 Y
Executing [set TC_INSTALL_DIR=C:\Siemens\Teamcenter10\install]: n& [; a, s3 P
4 V& d9 [1 B5 f& y% ^, B5 o* r r2 R$ O0 y
Executing [set IMAN_USER_PASSWD=*****]
4 W9 S) T7 D; o8 y8 A! Y" g4 o: ~9 I S
7 r R g3 n& O/ E) M. @3 Y4 uExecuting [set TC_USER_PASSWD=*****]
* B! k1 y' g8 o9 u8 y" f5 `7 s6 N9 \- R
9 k3 A3 T% A1 F6 g
Executing [set IMAN_VERSION_STRING="TEAMCENTER V10000.1.0.20130604"]
4 _" a' v% _8 I! S8 w1 D* @0 d- ?( Q- k) V$ w7 }( L+ r
% ^! F" V2 ?8 B; J0 t# J
Executing [set TC_VERSION_STRING="TEAMCENTER V10000.1.0.20130604"]( J# Z5 D' x# h! h$ `5 L
% ?$ U: E$ n0 X6 @) [
# D G1 b+ e9 |( w0 j- j/ |) O
Executing [set LANGID=EN]3 ^7 E& n c: t' X
5 |+ C' U9 O( Q$ F9 ?+ R3 }
+ u2 ]( `3 F: S6 y/ g0 oExecuting [set ORACLE_DBA_USER=system]
4 F, E1 v5 k' \* V
: a% v7 h3 I% T, o! [0 w, o- ^! J3 ~ R4 G& ]; Y
Executing [set ORACLE_DBA_PASSWD=]
& ~, x7 r) W% |! a8 n9 p8 W6 f4 j+ j. J* N
' C' E7 L" E; C0 k! j
Executing ["install_runner.bat" -u=infodba -p=***** -g=dba -templates=NX0tcin]
3 y& q' U! D9 L! D
$ O6 G) L* m6 z. F- |. _* s. Y4 v
' V; ^* u( H ^
看看关键的utility吧: _, |# `, P0 @) ]$ m9 l7 j& T
2 e- X( b& ^6 @! k
0 }) X) d3 Q F2 v! \; T7 EExecuting command 1 of 13...
+ Y# m0 P9 m) G1 BSection: bmide_pretemplateinstall& ?: a) m' i$ D. d, G) [: Z
File: install_runner
1 z5 q1 w k( V- p: n: S3 u3 KCommand: bmide_pretemplateinstall -u=infodba -p=***** -g=dba -templates="nx0tcin" H3 o5 M: P4 `( U+ G" v5 M2 r) ~
7 l9 X2 f6 I& l0 M7 e" y, |: @1 l' r4 W7 h2 d
1 C. x r$ {. V( x) A) e
Executing command 2 of 13... [1 _3 R) Q4 B; }$ ~
Section: database-preparation
# Q3 v8 q3 N% B' G" E9 H8 QFile: install_runner8 I" u% M- P1 m- c# a, Y
Command: install -regen_schema_file -u=infodba -p=***** -g=dba/ t* L) W. L# G- w; F# T x8 t
. I+ w- P$ \8 ]* q3 |4 }9 ~: R& C% g% d% M) q6 N
4 Z: K8 @1 \( O: W x
Executing command 3 of 13...
6 k! V, n% P+ ~. NSection: database-preparation
9 T. K* a( D2 d: x" M$ yFile: install_runner
n& Z( p3 f' {2 E7 A1 s& c* C( xCommand: install -lock_db -u=infodba -p=***** -g=dba
0 F+ y F, F% S1 @ D( s
# L! o8 V& ]& v. E: I7 H% u2 `& j: D" K# R
0 g" A1 h* _' J) |9 r
Executing command 4 of 13...( H* G# N8 t+ \, D$ U
Section: database-preparation
. l$ j( f+ e: c$ W1 o5 C: W. aFile: install_runner
- p# \8 G7 B/ S( G3 ^7 W* j1 zCommand: clearlocks -assert_all_dead -u=infodba -p=***** -g=dba
# F. J/ l. z$ X* u1 E* S g( i3 U A# z' ~
* p% o1 _! W4 P M. P6 t
. H# W; M8 c0 r8 l3 x- bExecuting command 5 of 13...
' e9 z3 ` z5 E/ y% A) xSection: schema
) E) a0 h- T3 Z) R# wFile: install_runner
7 t9 ?' I% g0 J) _: ICommand: business_model_updater -u=infodba -p=***** -g=dba -mode=upgrade -update=schema -process=all -file=C:\Siemens\tcdata\model\delta.xml6 J! V5 N! i0 d
: B# T, y/ k# ?5 h5 L% ?) c+ T/ Y9 q9 q
( ~ P2 a! t! z: g6 ^+ V2 l, HExecuting command 6 of 13...
% ], r2 x4 X% Y( |& C- s/ }! ?$ BSection: schema, N1 {( T& L8 U% d; ]2 g2 {
File: install_runner' `* B' \' P5 n- L4 P5 N6 s
Command: install -regen_schema_file -u=infodba -p=***** -g=dba
2 {8 }6 z$ Y5 j# ?' |9 M; I4 c6 ^- D/ |
0 P+ T- g; x2 y3 G* e& n1 I& c: ^0 L# R# B* Y% u/ V8 X
Executing command 7 of 13...5 q3 {/ `- v1 k
Section: non-schema
( z8 Y) v$ p+ _0 l* q8 g( D/ yFile: install_runner' \! J U" W& C% h
Command: business_model_updater -u=infodba -p=***** -g=dba -mode=upgrade -update=non_schema -process=all -file=C:\Siemens\tcdata\model\delta.xml
5 d: F X2 w/ c' i# U$ a8 x" L
( y% y% t& b: ~, |3 h) L3 E
, T% K u5 j- K, D* Q
, g; R) n& v9 H; n5 c0 N7 iExecuting command 8 of 13...
: Y0 `. S! M, c( @$ |/ \$ \. eSection: post-non-schema-add& J' j* m' R$ c+ E; Z( n. x
File: C:\Siemens\Teamcenter10\install\nx0tcin\install_nx0tcin.default" F' g* C) v5 _8 A2 w
Command: preferences_manager -u=infodba -p=%TC_USER_PASSWD% -g=dba -mode=import -action=MERGE -scope=SITE -context=Teamcenter -file=%TC_INSTALL_DIR%/nx0tcin/nx0tcin_preferences_merge.xml0 c x" { c6 h5 } U! c
. \' _/ B/ a. F. n
! b# D e' n D4 a7 [8 o
1 g4 \5 W' w1 X* D4 @' J/ W: e8 QExecuting command 9 of 13...
/ s- s; K6 k* m7 G4 e+ V+ ~( P' RSection: database-finalization
" s* [$ F0 O4 W; PFile: install_runner7 }& w* W3 G8 W
Command: bmide_manage_templates -u=infodba -p=%TC_USER_PASSWD% -g=dba -option=add -templates="nx0tcin"
& N" ~! b& A# p6 l- Y: N3 X$ i) D2 }% R. {, c# [
$ C% B+ Z' v, |; j
$ a1 [, `2 a& G% Z4 t
Executing command 10 of 13..." K& Y1 h- i1 x: G* s7 o, k, G! E' V
Section: database-finalization
' v4 o; Q2 S/ ?- P+ R8 UFile: install_runner L* ^/ b6 l% t X( k9 o' f+ {
Command: install -regen_schema_file -u=infodba -p=***** -g=dba
9 h1 x2 l$ [$ \$ c* d2 y( D" t J( ^" N0 w) j, u4 O* t
' e! g; \9 |# ^6 E8 @4 L: E" b* a0 [% s
Executing command 11 of 13...
8 [/ h& c+ \( h: xSection: database-finalization
& S# q5 [ W5 ~+ D' _8 cFile: install_runner+ z3 a9 \, F, C1 c
Command: clearlocks -assert_all_dead -u=infodba -p=***** -g=dba8 q" @4 W1 {1 Y! g2 g" v3 W
! ?, g" x( f" ^8 l8 u- ~% o4 t: k4 i9 C' z2 }& F
9 X9 @6 l6 K3 k4 a0 o
Executing command 12 of 13...2 R% y6 N9 e- e! m, Q5 q7 O
Section: database-finalization
0 O& f1 g- ^6 W2 t+ JFile: install_runner
1 d6 X) N( M+ V# _+ ]Command: install -gen_xmit_file -u=infodba -p=***** -g=dba
6 N, ^( g) t- ^+ W5 j; v$ D8 u
$ d: s& u0 w; Z- S7 n, U8 p. \, u1 M( `# I7 K+ R2 o
' L9 z/ m; x: `7 zExecuting command 13 of 13...8 F% |$ k* S' |3 v% n/ q
Section: database-finalization' _% O9 s5 G7 y# v% n; j2 R
File: install_runner
0 x. [3 k; X$ |/ j9 M* D7 sCommand: install -unlock_db -u=infodba -p=***** -g=dba9 y, t! M3 S: \% N. g. G
. D' \# `9 I" w
|
|