|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
发现了,执行的都是些常用的utility,拿出来看看!7 k; M3 v5 S% L# X( s# i- Y* {
K3 q: T, d, U; `& t
首先是设置环境* |( y( H7 h8 Y. k- k
5 Q0 n' P I" `0 C% [9 b. M
3 u/ X' v0 \2 @) USetting up Teamcenter shell( b" F3 K* _' C5 q6 T0 `
2 M5 O ^$ Q; _) z! k2 }( a8 K. i4 _5 f9 e! r% W. {
Executing [set IMAN_ROOT=C:\Siemens\Teamcenter10]: @4 t5 @3 u* m8 w
# f( J3 U2 N r/ D& D, W( l5 _
: `9 h! i% d6 X1 w1 U3 aExecuting [set IMAN_DATA=C:\Siemens\TCdata]
5 H8 X) ^: {/ { Z1 [& P" p2 S4 T" U1 e3 h$ d1 z7 W
) y; {8 ~; P0 o' T% U$ {$ [- LExecuting [set TC_ROOT=C:\Siemens\Teamcenter10]0 ~: c' G7 u: f9 B* f4 Q
1 i. n6 {% ]' C/ b
. ]# Q" T5 g! C' Q( l, h+ lExecuting [set TC_DATA=C:\Siemens\tcdata]
7 y' f( c1 x' a. r5 q4 x, \. J7 F3 L- N2 \* e+ C4 L$ o% n! t7 S
1 z% {4 M0 g& P- \9 I" g2 R
Executing ["C:\Siemens\tcdata\tc_profilevars"]
- ]' Y% D3 ^, E5 GOutput from command: "C:\Siemens\tcdata\tc_profilevars" z4 I# [0 F' \' k4 S- C
command_exit=0
$ G! ^- K0 T/ M+ RExit Status 0, elapsed time 0:00:00
. Z9 Y* _* u# p- m! p4 l' z
( P2 J- k+ n }3 ^; }& u8 s! T: O4 c7 e( N8 t4 E2 P7 W" r# X4 R1 B/ m
Executing [set TNS_ADMIN=C:\Siemens\tcdata]
: L {/ F4 h& g i: Z
9 o( G" d3 m5 q( N) _* n3 F0 ]& H9 [2 c1 P/ s% }
Executing [set IMAN_BYPASS_CANNED_METHODS=ALL]
9 o2 Q; o' Z: I6 |8 B. d- v* x8 a4 s, W
; i$ {1 @% c: n0 J5 v9 KExecuting [set BYPASS_RULES=ON]8 J5 d7 z9 |5 B& h' U
1 |. Z" u& W& X5 G' n3 n) ]- ]: h
" k3 O- t) }- G, w- Y( p6 z
Executing [set NR_BYPASS=ON]8 q/ |" |) l" u& q9 y+ X/ ?. m
% c! _. b* u/ r8 b9 q2 T1 x
* m7 c1 D* q- R
Executing [set BMF_BYPASS_ALL_EXTENSION_RULES=ON]$ w w R/ q: P# ?. K
0 y, \- ]' [, j+ Q' W0 ^& d5 a
9 `+ H: v+ _4 d; R2 W' Z% i) vExecuting [set TC_USE_METADATA_SHARED_MEMORY=FALSE]1 P3 b) Q- Y2 t( \
0 [1 h2 w5 k5 I. f" G" y$ p! u6 U
9 x- I2 `) t. }) h5 K! ~Executing [set TC_KEEP_SYSTEM_LOG=true]
3 V; K. l+ H# a! j2 C( j: d& r$ T
9 i) |9 X A7 L. U3 i$ l* _2 T6 E
. a( [, X. D( `( D+ eExecuting [set IMAN_KEEP_SYSTEM_LOG=true]2 y3 Q: l, A1 Q2 D
7 ~; d2 P- u5 M& |, o/ M3 D
; C2 e$ {* _3 l) @
Executing [set IMAN_TMP_DIR=C:\Siemens\Teamcenter10\logs\1311250352]
# ^( F1 S$ x7 ?$ ?: `/ }
+ F9 ~0 [# t8 G5 Y7 _* Y" F( b# n; L/ _4 V
Executing [set TC_TMP_DIR=C:\Siemens\Teamcenter10\logs\1311250352]8 d' k4 [) l6 r, z* s
; r8 p F8 u" ]' R/ P L" ]) _& l8 q
Executing [set LANGID=EN]
a c8 z0 Q7 F7 ^$ n! ]5 v; `% e! V) I
* q( C, J' B/ B
& w! V p' x9 s- }9 n6 LExecuting [cd /D "C:\Siemens\Teamcenter10\logs"]
; l& Z* G( o) ], @% F% v* GOutput from command: cd /D "C:\Siemens\Teamcenter10\logs"" A4 o: g7 n$ d$ `, W
command_exit=0; C8 s8 F9 ]% U3 V" G
Exit Status 0, elapsed time 0:00:003 V" U# Q. o" Q q, p$ S2 Q
...Done" t. H% U) H+ ?: ?0 d& k5 W% P
* G. C' g+ v" C( t! E- p( J ~% \) e/ C: c/ Y0 n; ?
Executing [set TC_INSTALL_DIR=C:\Siemens\Teamcenter10\install]0 O* P. m# T7 X2 O8 L. y% D3 Y
" Z% h, c$ j. \3 Z* `9 Q
# `) M8 \2 I3 ~Executing [set IMAN_USER_PASSWD=*****]
" H% d5 |) @. Y& d% N! ~9 g" J
+ A, h! |6 t! Q
9 B( S; I- Z7 o; `4 y( }Executing [set TC_USER_PASSWD=*****]
7 f2 F4 s# k1 b4 I/ @, a; ?. B8 z* P$ W5 ?1 W8 \9 w
$ O5 s" O4 w# j2 s; |& A @3 K4 U
Executing [set IMAN_VERSION_STRING="TEAMCENTER V10000.1.0.20130604"]
3 [" i, e8 c; Q: W4 l" Y
5 w% E0 X5 H2 }7 n1 @
# R) F) `0 z# \% x- t0 ^2 SExecuting [set TC_VERSION_STRING="TEAMCENTER V10000.1.0.20130604"]2 P, A2 y0 g6 C9 m
' \& W9 x) w) u8 F: Q; a G) t- R+ ?0 b$ l+ B
Executing [set LANGID=EN]. l* J6 ?9 e K* {
7 U, G& V K3 l4 T$ o; h" v# u
& {: V! h! C S: G9 {5 fExecuting [set ORACLE_DBA_USER=system]
* e% F; M1 t# q. C
' o7 Q" [% i$ v0 m+ S: j6 D6 W6 s: u& o m$ q3 ^& ~( O
Executing [set ORACLE_DBA_PASSWD=]/ W9 K2 Y9 W4 w! F3 n$ {" c
* x5 a4 ?8 ^- h: c8 l; i) F4 d4 [) g0 O' ^, Q. O
Executing ["install_runner.bat" -u=infodba -p=***** -g=dba -templates=NX0tcin]+ B+ h! D1 q7 Y: a$ h
/ i% a9 |; O, C0 p) S% g6 W) t( R; \2 }, V
( G6 b( X$ f6 s看看关键的utility吧
. e5 M$ \/ j% w9 ~& I
) ?" k2 C! G/ ?# {# J$ t6 Q! c
! E1 E% r$ A- A9 L/ [) T! q' r4 ^- cExecuting command 1 of 13...
& e( M. l$ h$ K! A% GSection: bmide_pretemplateinstall9 l' s$ C) O% W L7 B& D8 F8 G, d
File: install_runner
8 n5 F" k l& S! R7 E8 v/ ~Command: bmide_pretemplateinstall -u=infodba -p=***** -g=dba -templates="nx0tcin"
: S ]% C& z' w+ }( `
: B' q3 J7 g+ o$ R% F
5 k# H1 J7 q- U5 U7 C/ j8 K9 W
" Q1 [+ y& ~0 p0 `/ L9 z% g5 x6 a1 uExecuting command 2 of 13...
# Z# R6 W8 x9 h: B/ V; }4 }" t$ nSection: database-preparation Q6 D( \; h) D$ z
File: install_runner2 {8 l. `! S* x) \" `
Command: install -regen_schema_file -u=infodba -p=***** -g=dba
& Y, i* A6 t" M" f( t% \, i# L
+ D. Z/ H8 R- q( T
$ G1 x N' T4 g, r6 U1 r2 y6 f8 w4 p8 W+ q
Executing command 3 of 13...
: }8 j$ S' `7 V) F, \3 s0 xSection: database-preparation
4 \/ E1 S2 d2 U% gFile: install_runner
9 ~ ^% u% z% c* Q& JCommand: install -lock_db -u=infodba -p=***** -g=dba, t9 W& R0 X& e+ h3 z a
% M; c* e5 O( b1 ? v, T( s
; M& p& K( i: q! q+ C, I
4 o6 G3 l" M. h( Y3 qExecuting command 4 of 13...
* T! a+ C/ D2 ySection: database-preparation
" Q9 S! Z" t. H, _- | nFile: install_runner
. k7 D: h3 ]0 F% m9 @Command: clearlocks -assert_all_dead -u=infodba -p=***** -g=dba
$ F- z$ x! o5 ~$ b) ^. N9 ]# v$ j7 ^) B! U7 ~+ r% L
! W3 |/ n/ \$ M+ q+ ~: t& F0 S
9 R' w/ I) U/ A/ p
Executing command 5 of 13...
& D1 e( m+ A. _Section: schema
4 i4 P1 E9 `- s* d: H; JFile: install_runner; V+ B+ _% |1 S7 z, p. v1 B
Command: business_model_updater -u=infodba -p=***** -g=dba -mode=upgrade -update=schema -process=all -file=C:\Siemens\tcdata\model\delta.xml
6 W( H: R; o4 w- u: z' T5 e
n: ~: P: A5 u% Z
$ m* i2 `, F, S# G( _/ ]% Z
. U0 ]- X) J: Q8 b. bExecuting command 6 of 13...1 K" ]- N' ^+ q) x0 t
Section: schema" u0 v/ b; ?" v& s, f
File: install_runner/ q% J1 j$ {/ N; Q- O: _
Command: install -regen_schema_file -u=infodba -p=***** -g=dba/ e* k$ h( N; N! p* J9 T6 \
8 Z% V+ S1 {0 J2 Z" S
5 s6 @" R/ p" ?; @- }( ^
3 t& X! y' q: gExecuting command 7 of 13...
- F0 C- V. K+ ?Section: non-schema
% S9 s3 w. k4 N% h- x7 U' AFile: install_runner* K3 q- ]2 X2 m Y4 `/ l N
Command: business_model_updater -u=infodba -p=***** -g=dba -mode=upgrade -update=non_schema -process=all -file=C:\Siemens\tcdata\model\delta.xml: c; F$ j5 ^9 V* L: X0 R
& {9 b- e' q0 w6 j& ?" a8 f: c' R1 N
, q! m: w' [! Z$ _) s0 W% C# B; d2 MExecuting command 8 of 13...$ m: F0 ~- ^, j2 H
Section: post-non-schema-add
' h8 m" U I8 @# E: D% a9 F* OFile: C:\Siemens\Teamcenter10\install\nx0tcin\install_nx0tcin.default
1 }+ m8 b7 J( dCommand: 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.xml7 U! G. R* b, t b$ [7 j
r/ O5 q2 d& E ?9 W4 [
- d/ n' d: k2 _+ [7 {- q7 F
6 i+ |( J; c! q3 v5 h" d( C u9 wExecuting command 9 of 13...
4 i/ {6 d# f7 \' u {. P% oSection: database-finalization% E* e3 h5 `/ R3 R7 T% x
File: install_runner
" P1 X! M* O, L; V2 X3 FCommand: bmide_manage_templates -u=infodba -p=%TC_USER_PASSWD% -g=dba -option=add -templates="nx0tcin"8 {$ w, `: R% X
2 R4 I6 q4 X. U# n2 Z+ ^3 X/ O; H5 N
8 ?- M% V0 }* P/ |/ n: uExecuting command 10 of 13...
; R( Y' s; S- G( i* fSection: database-finalization, G8 J5 N. R% ?" x% A' O* n$ n/ T, a
File: install_runner
7 M3 }8 F$ T+ E, gCommand: install -regen_schema_file -u=infodba -p=***** -g=dba: d8 e6 c" j* `$ e/ K( {; L. I
) M) C9 q# K6 G7 [- M1 U: Q. [- L1 O' N: |3 i" m+ n q7 u5 T2 |( l/ O
8 Z) i9 Z! u8 [) \: D( Q9 C
Executing command 11 of 13...
H f- E7 u! p( nSection: database-finalization
3 a( i$ F: c! F9 B4 P. I) AFile: install_runner" t/ C& s5 P7 _" n, t
Command: clearlocks -assert_all_dead -u=infodba -p=***** -g=dba, I& h: {9 l- n4 [
! L/ i6 \1 O- O
g% L: j) u7 B) Z4 {
6 x: X y P- V# b6 A: [. ~ ]Executing command 12 of 13...
1 c! W: d& d& R+ z) _9 ]8 a: k6 R+ lSection: database-finalization
- o+ F/ @0 C y3 tFile: install_runner
7 V2 m: Y |, ^& XCommand: install -gen_xmit_file -u=infodba -p=***** -g=dba4 y$ s, S; y+ z0 l
( c: B3 p5 a$ t: k H- p( p Q/ P7 S1 H! o) O% F! u8 ~0 T
; D5 s. \$ w( \) r* L
Executing command 13 of 13...
3 n8 n* K# h9 [8 _+ k- v6 G; P0 NSection: database-finalization
6 Q5 u- f7 D1 NFile: install_runner
1 ^* M8 b9 `0 q/ W5 _4 i" [Command: install -unlock_db -u=infodba -p=***** -g=dba" z! I! j1 \/ j
3 x; ~+ i3 \' c9 C2 J5 I9 f |
|