|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
×
发现了,执行的都是些常用的utility,拿出来看看!
( a9 S( c. c0 N1 b/ h. T( z/ {7 V& |$ M7 z$ n
首先是设置环境8 B+ [6 |3 a4 ^- e, x0 P, [
4 t2 Y. v8 X7 p: [ B' O
, O" b2 Z4 R1 \7 W4 f% r: ?; FSetting up Teamcenter shell
8 C6 w! M5 }' O0 l$ s0 I& c* q
. T+ M. I4 G) t0 p
Executing [set IMAN_ROOT=C:\Siemens\Teamcenter10] E! I( N; y* I% V/ I: t. ]
: ?* W. ]1 f7 M% L* u" V
Y- X" W- E5 N7 _
Executing [set IMAN_DATA=C:\Siemens\TCdata]
, Q( T9 E& z7 f
7 I6 K$ Y1 {) b% K! l0 ^( J1 b# z
Executing [set TC_ROOT=C:\Siemens\Teamcenter10]
- D- f3 S2 a! L2 N. B% [: M& k, A* e
8 e1 E/ w* O. \+ m6 v3 ^
/ Y* o9 P5 ~+ Z4 S, r) bExecuting [set TC_DATA=C:\Siemens\tcdata]: I" h1 q* B& [ `7 } v- t
0 C' n4 }* Z8 d3 K% w& j) i/ a- C* D6 R' D) U
Executing ["C:\Siemens\tcdata\tc_profilevars"]
) C# \1 h; N) i5 DOutput from command: "C:\Siemens\tcdata\tc_profilevars"4 f, Z9 U1 ?$ v# B
command_exit=0! ]8 X3 h: R* \( J; L8 y: r
Exit Status 0, elapsed time 0:00:00
0 }' n2 b% q8 A+ W+ u: u( L: n* ?: M
! ?* {5 O6 C" _& B4 a8 Q" u8 lExecuting [set TNS_ADMIN=C:\Siemens\tcdata]! D0 t; t/ j7 ?+ D9 a
+ U# v0 f! [; k7 d* ~. t
0 a* Q) @ n3 B
Executing [set IMAN_BYPASS_CANNED_METHODS=ALL]
& ~- n- g/ i" k5 M W* @$ |5 d
3 O* Z2 `3 C4 v& b& ~5 F0 R+ b- n' R: i7 U5 g3 }% ]% d
Executing [set BYPASS_RULES=ON]
6 b! F& n& T: D5 u2 ^, h
% x C- l5 z% P( y4 k8 B8 t$ {7 p/ S
Executing [set NR_BYPASS=ON]. Z0 q2 A" b" z. Q' H @
r; E' y: D7 Z( u' D% R" l+ d
2 K7 z: F& c$ s) o) h E
Executing [set BMF_BYPASS_ALL_EXTENSION_RULES=ON]
2 I; j. D! ?1 L, _$ |$ `' f6 q, p" u2 w- U9 b% G
# C: e g- ^) Z7 k7 ~! }7 bExecuting [set TC_USE_METADATA_SHARED_MEMORY=FALSE]
6 \/ B% w4 J3 l# q: Y. g( z% c$ L$ |! ~3 d4 q2 |- a
* p% y6 f9 ~+ [# W2 hExecuting [set TC_KEEP_SYSTEM_LOG=true]
; W' g' i; K- w0 _1 `$ N: C& V# A' n ^
6 i* T% p- Q# ^2 _+ v! U
Executing [set IMAN_KEEP_SYSTEM_LOG=true]: E+ ?- Q) Q: m2 ]$ V% I1 @
" n- x& Z5 f$ p& q1 K" ]( y
; u, d# O! y2 I5 FExecuting [set IMAN_TMP_DIR=C:\Siemens\Teamcenter10\logs\1311250352]
0 E; J5 j* j% A1 B
1 g! R5 q/ O( Z1 `5 U: y9 A2 M' n
Executing [set TC_TMP_DIR=C:\Siemens\Teamcenter10\logs\1311250352]
2 ~0 S2 \$ e) ]+ K( w3 W+ d& v- A# F- L2 d
+ |0 f9 ~( D- j$ YExecuting [set LANGID=EN]
$ G( \) l$ m6 K! Z3 \1 Z( f. l+ M
p& ]3 s/ K5 e) H/ f {+ @; A! e4 L
Executing [cd /D "C:\Siemens\Teamcenter10\logs"]$ D( b& [$ i7 n. a! X
Output from command: cd /D "C:\Siemens\Teamcenter10\logs"2 V7 J3 n! C2 [( K
command_exit=0
: M8 H1 l* w0 J5 uExit Status 0, elapsed time 0:00:00+ r; V t( o3 \ B! B
...Done4 M% G) c5 e6 q: q
6 ]- M) m8 q2 y' E% x# ~, Y& a. {- `3 E. `7 C2 Z& x1 Q
Executing [set TC_INSTALL_DIR=C:\Siemens\Teamcenter10\install]# z4 b; `' `: a' ~ _9 o/ ^3 d+ a
+ g v0 K, b/ Q9 E8 x3 }( M
* Q! O% g! u8 T8 ^" U, g3 T
Executing [set IMAN_USER_PASSWD=*****]6 C6 p; h. e' p9 j$ d6 E. J( Z
0 g: F( j0 k; E! _# H. D7 D% L. w& y. A" O. V7 G5 |
Executing [set TC_USER_PASSWD=*****]
& g" V9 ~4 c4 X8 L
7 b& {. S8 o# M3 @4 i1 G2 I1 M! i, {2 R: Z+ Y) Z
Executing [set IMAN_VERSION_STRING="TEAMCENTER V10000.1.0.20130604"]
* v( d! X! `; \. s. r9 M0 A
! ^- o7 |) k9 A* Y% P+ t1 G8 n
) A9 Z7 }7 ?, A, sExecuting [set TC_VERSION_STRING="TEAMCENTER V10000.1.0.20130604"]+ z% ^1 ]7 p& P2 B8 ]% Z N
) I- Q, |% \+ Y$ {+ a* j; c
" N- u+ l! F0 e4 v7 y# LExecuting [set LANGID=EN]3 F/ r5 z4 V, b( G7 E
: J) U a1 ^& S7 D p4 Y: n# g
4 H6 V' Y: c) k: u* |6 V# wExecuting [set ORACLE_DBA_USER=system]
% \" @) i5 X$ k
& D8 a' c% f8 Q1 d- g; D6 `+ v' O- |
Executing [set ORACLE_DBA_PASSWD=]$ C6 U* Z$ a5 u. J: ^
& w! G f8 f1 D' U$ \+ h7 P0 [4 Z3 d5 i m
Executing ["install_runner.bat" -u=infodba -p=***** -g=dba -templates=NX0tcin]
0 h; _! W; l: H* Z
; Z R4 w3 ?6 \* [$ o& r
8 v4 p) o4 Q" Z) B# S m9 n/ p! a
看看关键的utility吧
$ x4 a7 Q! q8 T; P' I' L% k
. D/ f( B! B5 D5 X+ B+ t. U# {5 |, Y9 E6 ~
Executing command 1 of 13...
4 T* ^ A( d3 l1 \, ASection: bmide_pretemplateinstall7 X* O+ I2 v g" A5 ]5 N
File: install_runner- g+ F' e7 D9 j3 z) e
Command: bmide_pretemplateinstall -u=infodba -p=***** -g=dba -templates="nx0tcin"- t# c# t, @9 {+ Z* j8 Q9 b
- J' ^, G. u( H# l, ~8 X3 `! u7 k
8 I2 L: J5 B( [% [" [9 u" `. r, y/ o0 f0 u1 }# R. s
Executing command 2 of 13...
- U5 w+ Y' f9 s+ v8 A- ySection: database-preparation2 R$ L. ~" @9 c, D) }
File: install_runner% p8 w$ T& P' Z+ x4 Z
Command: install -regen_schema_file -u=infodba -p=***** -g=dba& M+ f% ]1 b1 U$ u( |0 Y V2 P( p6 P
; p, M/ q1 j5 }$ L' r6 |) k; R" t# ^/ ?6 P4 o
. L. F3 q9 b* ~8 t$ gExecuting command 3 of 13...
7 s1 u2 t+ U5 l1 a$ \Section: database-preparation$ x* Y/ k {* P: d% C% ^6 a1 d8 t: }. }
File: install_runner. U' m* b6 u7 u2 [" u/ C
Command: install -lock_db -u=infodba -p=***** -g=dba0 ]* S0 D& s2 v9 A6 G
- Z' z0 Q- h0 N/ D
, T# X- N& j' s( C# {
: z$ l6 V6 k5 U- l7 @ YExecuting command 4 of 13...& N1 i$ A6 ~: H4 s* r) [9 ~
Section: database-preparation
' p& y* T8 A1 N' B$ v( t+ VFile: install_runner) p% I) ]( r- d7 `
Command: clearlocks -assert_all_dead -u=infodba -p=***** -g=dba9 `+ s8 c M+ Z
/ I* G3 A' K% P3 i0 \! t' w
& d' n& V1 z- F& U4 z W
8 Q4 t( I4 y gExecuting command 5 of 13...
# k' n. D5 d, GSection: schema
( Y6 r1 r4 }+ r! pFile: install_runner
7 E' P& P/ ]7 t" T, `: |3 {7 cCommand: business_model_updater -u=infodba -p=***** -g=dba -mode=upgrade -update=schema -process=all -file=C:\Siemens\tcdata\model\delta.xml
( G- d& w' }2 M$ ]! A( ?
8 e4 u U* U& T' A5 R8 b
* {2 ]: t4 @% V9 T7 U' v& x7 R3 p+ n/ Y& Z
Executing command 6 of 13...
0 w; O) B- r. R5 RSection: schema
3 y$ q$ i0 G$ w" i5 ^5 R5 @1 cFile: install_runner
3 s% |, D. b+ S# a& A/ lCommand: install -regen_schema_file -u=infodba -p=***** -g=dba
$ H) i, j8 I! y0 T4 Z! `3 o$ w0 h% {9 y9 s$ z9 q& D) d
' O" }( J7 B, e9 b/ B
0 z" c* L3 ]- V5 JExecuting command 7 of 13...7 k) y1 b' y/ @2 E0 x& b9 e+ G
Section: non-schema
" L5 X$ K; a, P6 j1 QFile: install_runner' b3 _, D6 d4 ^* g5 D* ]+ G/ l
Command: business_model_updater -u=infodba -p=***** -g=dba -mode=upgrade -update=non_schema -process=all -file=C:\Siemens\tcdata\model\delta.xml
. E* B+ }9 x& e% h
) ^6 G/ j6 X1 S' G
. ]/ c" |( ?# o7 \+ d/ \9 R: ]
Executing command 8 of 13...8 ]0 q8 y$ J7 U7 f' c& d1 J
Section: post-non-schema-add/ ^9 @5 }0 _6 d' ?
File: C:\Siemens\Teamcenter10\install\nx0tcin\install_nx0tcin.default
3 s9 q; a/ i# CCommand: 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" M" G& L# V7 g: ?
4 t6 ~, [& N0 A* P, O! i
4 L" V; i3 f1 A2 d1 q
- z5 l+ ]' C& a9 L! o1 bExecuting command 9 of 13...
E; s; }1 F9 l" VSection: database-finalization
0 o" W8 S! F ]: O( l& q0 f+ xFile: install_runner
% p, M: v% y5 c9 }Command: bmide_manage_templates -u=infodba -p=%TC_USER_PASSWD% -g=dba -option=add -templates="nx0tcin"
! [6 @6 d/ a; L/ x2 i+ f6 Q, ]; \9 ]$ ^$ z& Z
1 u* r0 k |6 v; V& {4 O
, N) t1 }6 c$ W" N3 oExecuting command 10 of 13...
, ] a! y0 f F7 g" o6 lSection: database-finalization
, v3 L- U n5 }" v( o9 K( lFile: install_runner
) F4 O# w4 X% T6 C" ~Command: install -regen_schema_file -u=infodba -p=***** -g=dba- [" C' i& \$ O2 H% I; I
0 W2 O$ A1 M5 n3 Y+ m4 u
) t& b9 N1 E! X+ a9 a$ U* e: D7 b* r" ?2 m& z a5 E% `$ x
Executing command 11 of 13...
/ p5 c% [$ { @: SSection: database-finalization
/ y1 ?7 w7 T+ K' tFile: install_runner" c! e( I" z0 v; J/ P2 M
Command: clearlocks -assert_all_dead -u=infodba -p=***** -g=dba
. t. i: X1 _% `' ], ~; \5 N w1 t
3 ~. k. k( q6 z3 `# \6 t( L% t& K" y" `+ ?2 r; b% }8 I$ Z7 [3 U
Executing command 12 of 13...
" `' }* k* p+ p$ Q0 l6 aSection: database-finalization4 @5 q. D9 z G4 A; g" g% p5 e
File: install_runner
. u9 c8 M- W' J3 @5 x R2 BCommand: install -gen_xmit_file -u=infodba -p=***** -g=dba
7 D3 d# R, H9 L' b' H( n& U( @4 {+ p9 Z0 a8 c( S* ]
. @0 m( T3 x3 _. x8 a) m! G, b: s0 I, i4 I0 D- d" I$ t
Executing command 13 of 13...5 N2 k- ?8 E2 O/ j, A6 O# E9 y
Section: database-finalization$ L+ o0 Z A7 Q, v" s
File: install_runner# _ Y' h. u4 m
Command: install -unlock_db -u=infodba -p=***** -g=dba
2 g/ ?9 N' T& ^8 @4 ^( s1 o2 P# Y/ v& X6 E! J7 h, r& q, H) U# R
|
|