|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
×
发现了,执行的都是些常用的utility,拿出来看看!8 r, V; `; z( @6 C) E! w
' p5 c+ H! t# b2 H首先是设置环境
" G9 j; @( \; B. ?/ S, |" d, i7 x8 f- n3 k% c3 s1 p
6 k( i G( B3 |* G$ H/ m$ c7 \Setting up Teamcenter shell2 z6 H. B9 I7 y7 U( [7 `; h& {0 D
5 q3 x# D+ _$ H! l5 W, `0 c) I
1 Q1 Z9 i1 s8 x% mExecuting [set IMAN_ROOT=C:\Siemens\Teamcenter10]0 ]9 y0 x/ G' ?4 q9 g k
2 n4 E6 b, v o0 y0 G2 M! e$ T
2 x0 \2 g' w: _. W# ~2 t/ N! w+ Y
Executing [set IMAN_DATA=C:\Siemens\TCdata]
3 x( I, L" b9 Y9 @; @
2 @+ G, w- P2 Y! @5 ] g6 t1 [+ Q I; w4 L+ f: y
Executing [set TC_ROOT=C:\Siemens\Teamcenter10]1 @2 a5 ^/ j- m3 T5 L, Q
, R, L$ x$ i" A: N+ d" F2 [
& l* d7 _8 }4 J5 Y# X- l5 F9 bExecuting [set TC_DATA=C:\Siemens\tcdata]+ ~3 x; q+ ^' T4 Z% y& e) Y
4 Z& }/ E$ C3 ]
) G2 t4 P+ T$ e' fExecuting ["C:\Siemens\tcdata\tc_profilevars"]) k8 k8 I! h; V1 n, D- f
Output from command: "C:\Siemens\tcdata\tc_profilevars"
5 M& t8 A$ U7 j" T+ N: N) Ccommand_exit=00 r* }. h% U* O! ~" y% s
Exit Status 0, elapsed time 0:00:00
: [' R' Q7 I! J% H X
# z! i/ e; j) r; c% g' o0 j c" ]; `# c. ?. n! ?' h- o# L* P
Executing [set TNS_ADMIN=C:\Siemens\tcdata]
L5 r& |7 V, M) w. Z' b
- |% Y6 A* [4 W8 s [0 U: _3 T8 N! a' `9 a6 Z
Executing [set IMAN_BYPASS_CANNED_METHODS=ALL]& {( c5 W" K# E( h- a; n8 e4 j/ k
; R% N! c. e1 U
5 |# T: u, R! w$ d, d) g* L( xExecuting [set BYPASS_RULES=ON]
, f+ t* z0 t; Q3 _
' ~5 X; Z9 J `8 W6 k2 |: Y9 G0 T' E5 L# S* C; q6 P: u
Executing [set NR_BYPASS=ON]( C. Z: [7 r/ A/ z! b$ k
4 _# G4 v/ C: O" d! u C0 h
; Z5 F Q0 [% l
Executing [set BMF_BYPASS_ALL_EXTENSION_RULES=ON]0 a! R$ z4 ?9 k; j& F8 ?
' ]# d8 H2 }+ }: z
2 O% U; G7 [: B; @' o% aExecuting [set TC_USE_METADATA_SHARED_MEMORY=FALSE]" L( M0 O% t( R% G# c2 E
9 z! P' @0 m2 K+ R) a6 h- [4 J9 F
Executing [set TC_KEEP_SYSTEM_LOG=true]
8 ]/ u: ?6 a( ]" N
5 g2 i$ T9 m6 w7 ]/ \- U# A1 w3 W1 Q7 G' A6 c- U
Executing [set IMAN_KEEP_SYSTEM_LOG=true]
' ]- V4 ~; a" T; B- b. n/ x9 N" T
8 y0 V7 X# t4 v' [7 A9 m& u* O) t/ L
Executing [set IMAN_TMP_DIR=C:\Siemens\Teamcenter10\logs\1311250352]
# u5 Q3 {+ b% k
f) Z' j6 w) c& f5 K, b: A% @- ^
Executing [set TC_TMP_DIR=C:\Siemens\Teamcenter10\logs\1311250352]! ~8 n e, M0 E; S- f% ~3 q a
4 N& Q9 B v/ r
3 m5 M4 b" X2 Y) s% N E
Executing [set LANGID=EN]
1 D, e2 u1 ?+ D+ I) `# n2 T0 s0 m0 \6 w* V' f2 Z
# S0 _8 U1 T4 x& P+ j
Executing [cd /D "C:\Siemens\Teamcenter10\logs"]
; Y% s0 k& V! F& L E- B7 BOutput from command: cd /D "C:\Siemens\Teamcenter10\logs"% v$ ]9 B: i% V, ]+ M* c
command_exit=0
' D) F7 n7 K. ^: \- A' ~7 y6 Y, YExit Status 0, elapsed time 0:00:00
! L L# H8 C/ \, K7 K/ w...Done
" \ x) W8 }1 e
* h2 H! C2 T2 X1 B; V$ B
1 I- n* B1 q, P; L1 kExecuting [set TC_INSTALL_DIR=C:\Siemens\Teamcenter10\install]1 ~# j( M- r" @% B- F- m0 p& J" y
! c. l% X K( Z% ]! A
) h8 w; }$ o+ o5 E; Q$ t5 [Executing [set IMAN_USER_PASSWD=*****]
8 J8 _2 \6 N" G% s6 V& j+ T7 z/ U P( x- N
% R7 K, ]+ i4 U1 Q5 G+ ]
Executing [set TC_USER_PASSWD=*****]+ w' Z: {4 i: s# {! `
q) }+ [- M) T7 U; {" ~& D' _
! S9 @1 v. l' \3 W# u
Executing [set IMAN_VERSION_STRING="TEAMCENTER V10000.1.0.20130604"]
5 l6 I# P9 }( N! { ~! d* D# p- e
0 g, G4 j: m2 R+ {* k5 v
Executing [set TC_VERSION_STRING="TEAMCENTER V10000.1.0.20130604"]! f% K) K" D# ]5 x$ p/ t
, p; H" @; i2 t& f. r' C% n* p
! J' c: u6 m9 a# K$ UExecuting [set LANGID=EN]2 W8 \* M% h" Y. \1 _6 h
4 ~0 A8 T L. p/ ~) g
7 d: d: R# `& L9 f; w: ^4 ]4 U. |
Executing [set ORACLE_DBA_USER=system]. `( v5 G0 ^3 K5 U# N
" p2 B5 T y# z8 S- C; \
4 W4 s* U6 l: t, h! o5 VExecuting [set ORACLE_DBA_PASSWD=]
2 T! H8 L G/ N) p; }! d' I$ X
5 c2 n5 N5 A2 v d
' r) r0 _/ o3 p1 f8 Q# \Executing ["install_runner.bat" -u=infodba -p=***** -g=dba -templates=NX0tcin]( c F# |% P# N: ~7 C' L) O
5 A0 ~ K+ D( v
& y1 i. d4 l Q% q+ r: W6 x) @9 w9 P6 G* ~4 L" ~$ l
看看关键的utility吧
0 y9 z0 Q& p% |& k6 H+ |5 v4 g" i2 Y! k
& G/ w" a9 G8 x
Executing command 1 of 13.../ Z& G. n7 U. x T
Section: bmide_pretemplateinstall
3 p0 X3 y+ u( M w, ~, WFile: install_runner) Y4 c- J9 Y7 @' {
Command: bmide_pretemplateinstall -u=infodba -p=***** -g=dba -templates="nx0tcin"
5 _1 v! q9 \$ v9 B& p* q$ G
9 f# \9 g) n$ Q+ ^& {5 ?) K
; C* p6 {* t% w! x7 q& c, _. v) E% ]# m/ \. h0 C# V
Executing command 2 of 13...; }$ Y0 O" c% ~& `: c6 j4 k' q' p. u }
Section: database-preparation
+ ]4 |% g1 R+ [: I8 LFile: install_runner
) \: n# s Q% d8 r* R; m! [Command: install -regen_schema_file -u=infodba -p=***** -g=dba
: a( C4 r' n8 d l) z' d
6 {' B2 O7 x2 ^/ Z) Z" }* x i$ E/ T7 Z+ ~0 E) H
9 q5 d! r" u c' P5 s' hExecuting command 3 of 13.... e0 q+ `; O8 v# C2 N$ @/ Z
Section: database-preparation( u; E0 d: L1 t, h$ E) _
File: install_runner
6 i7 l; Z) k4 l0 D# Z% f; X' ACommand: install -lock_db -u=infodba -p=***** -g=dba
- i' l+ X1 y) O4 d; z* T- U1 ?: X4 ~+ w8 @# J
$ H7 }- q7 v) d* X7 _9 l5 V
2 O/ \% ~( D" K4 F5 p# r/ j5 _$ j1 JExecuting command 4 of 13...
% z" ]5 F. i! X$ a% j0 [) e/ pSection: database-preparation
) c2 F9 d/ m4 W7 [2 tFile: install_runner6 E. ]+ c: y; `: S0 \
Command: clearlocks -assert_all_dead -u=infodba -p=***** -g=dba) T! {$ |/ C# Y m/ D# m
?& B+ T1 M# Z2 y' D; c% g
) C% t/ C8 m# t
! t* r/ |/ b; ]6 |Executing command 5 of 13...
1 i$ }' {5 M4 I. P; ]9 j/ SSection: schema# ~: u: ~! l9 r
File: install_runner
5 H2 E: ^) ~7 ]7 U$ q4 k9 fCommand: business_model_updater -u=infodba -p=***** -g=dba -mode=upgrade -update=schema -process=all -file=C:\Siemens\tcdata\model\delta.xml! @$ N% K W+ j2 Y; H; J% x1 U
6 i F; Z. q8 j) ]8 i2 Y" u% u4 E# |0 Q; x1 R7 E* |! p4 W: ?6 a2 n
$ ]; r- o3 l6 {4 q/ W7 Q5 WExecuting command 6 of 13...- G% |" ~* J* Q& V1 X
Section: schema: L# p. [) t& B! B( i' h7 C
File: install_runner2 H; t+ W4 q( l: i1 v @
Command: install -regen_schema_file -u=infodba -p=***** -g=dba- i \+ z9 l- p3 M: Q
3 J' Y6 w& ]+ J, n
9 P6 J. }# A9 M/ `8 L( i0 d2 s# C, \% _+ {; ], ]* z
Executing command 7 of 13.../ d; ^+ l7 g# |3 n! l
Section: non-schema
! t) H+ \) N* Y7 S* {( r: {* xFile: install_runner9 r* I8 |* D* H, x" H
Command: business_model_updater -u=infodba -p=***** -g=dba -mode=upgrade -update=non_schema -process=all -file=C:\Siemens\tcdata\model\delta.xml; W1 h; j0 s; F& i8 G
$ o9 N: ] }) T6 Y- ^. Y" h
0 L/ r+ F. k0 V" V2 D* g1 L
8 ~, W+ o( | \4 m. a8 A/ [
Executing command 8 of 13...
8 c" h: d7 Q5 sSection: post-non-schema-add; i5 l8 f& ?2 {
File: C:\Siemens\Teamcenter10\install\nx0tcin\install_nx0tcin.default3 P) F/ X. d+ H/ ~7 h1 C
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.xml( G. Z, g- ~, V& v$ K; C' l
' C0 x9 ^$ {7 ^
+ v* \$ t, g* P3 C& W e
/ I0 T; F' r" N- ?* }Executing command 9 of 13...2 m. \; H; Z$ `! G# X0 G
Section: database-finalization
5 ?7 k& X% O1 R+ ~7 b X7 b: TFile: install_runner7 d1 f( d) Y6 R) n
Command: bmide_manage_templates -u=infodba -p=%TC_USER_PASSWD% -g=dba -option=add -templates="nx0tcin"
0 C, P' H2 d) C5 ~& f9 H% L& [: @& ~. ]; f' a& F: u- J
: H+ p) B/ r( X! c4 A
- k Z" v( _$ PExecuting command 10 of 13...
0 g+ J, `0 V# B$ O: W+ L7 c' wSection: database-finalization3 R5 ~" ~9 Q& g9 q8 [8 k" r1 n
File: install_runner% w7 g+ Z+ z5 M; i
Command: install -regen_schema_file -u=infodba -p=***** -g=dba' v+ H! o* f; i7 _. ]
: B4 R0 X8 w( |" [& F: @# H, c
+ I: e" K2 W: k- O: t0 Y8 M$ O# P
# z! N- O( [ ~. w& [
Executing command 11 of 13...
, w% D$ {' [! c0 l1 ^1 i5 z- HSection: database-finalization9 A# l# W! S, ^- ?% m" W7 u2 K% q
File: install_runner: t1 b* U+ G9 f1 a2 c2 B% |4 {
Command: clearlocks -assert_all_dead -u=infodba -p=***** -g=dba# ]6 C5 [5 m! i; e
; T3 d* \6 w+ H0 D1 w
6 @ k' Z9 Z6 S0 u6 e% H9 h4 H! S% K* e- u) N4 [) D
Executing command 12 of 13...
e4 [. E6 ~- O0 i3 TSection: database-finalization
! s- b o: q3 r/ P# q. gFile: install_runner$ [+ y" J) E8 Y
Command: install -gen_xmit_file -u=infodba -p=***** -g=dba
1 s; V1 F0 ~! {( _: E2 B
- g6 }0 K# p$ B) k t( W
# W+ l `5 p( `( i
2 d. y8 P0 t, F; {- X9 zExecuting command 13 of 13...5 n/ R5 z W0 v% H" F4 {; v
Section: database-finalization1 Y. ]6 C2 u1 _! P/ J
File: install_runner& R4 G- V" M5 w( s
Command: install -unlock_db -u=infodba -p=***** -g=dba
+ {. L. z6 c P, g B
6 e1 m2 k w' y2 i/ Q" z |
|