|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
发现了,执行的都是些常用的utility,拿出来看看!* z3 Q( G& a5 d2 J7 M
( \( W2 R8 u ^3 X0 k% [首先是设置环境
. L- p1 G: Q& v' V, z
! ?1 ^7 ]8 _1 A7 B: z, F3 O$ X
! S9 _% H4 F* P/ ]- ySetting up Teamcenter shell
5 R5 A! M5 E) i# ^! y2 K( F" Q2 m) Z( z2 H, D( u% a
5 U! Q/ g j Q: d4 H" I
Executing [set IMAN_ROOT=C:\Siemens\Teamcenter10]
3 V: c+ G' j. l) i' ^4 \- v/ ?
* h; w! M* G; A( \Executing [set IMAN_DATA=C:\Siemens\TCdata]0 z( h! w. G m2 D( M" n4 g
; F; w p G: O$ M% D7 Y
, v5 r- `+ T4 SExecuting [set TC_ROOT=C:\Siemens\Teamcenter10]
; l9 p- p, k, |8 M) `1 g+ A8 _% c7 k3 D, w
& y! b, n- L) f( K: CExecuting [set TC_DATA=C:\Siemens\tcdata]
' h% |( t0 R( }0 d8 q: [. R
- Z' @( b! Q4 s! a: q X' s
! v9 z- i, Y1 C$ Y% qExecuting ["C:\Siemens\tcdata\tc_profilevars"]. F$ c7 r0 \8 F7 ~: a. T
Output from command: "C:\Siemens\tcdata\tc_profilevars"% b. W' P: G# R I: J
command_exit=0
$ V. }/ g# R7 k0 q9 XExit Status 0, elapsed time 0:00:00/ R' ?( w6 y: l) G) v# q
/ Z- y* u2 v4 L/ k7 W3 Z
6 o! n0 y4 q) g1 [4 g1 {# X- q4 XExecuting [set TNS_ADMIN=C:\Siemens\tcdata]
% e& r9 D' p% C5 a3 [) K
; R+ m/ r, O" r3 `+ `6 ]3 M+ l& K+ v: ~8 K
Executing [set IMAN_BYPASS_CANNED_METHODS=ALL]1 {( K- O7 T" @* Y' m: \
: }8 S( z; J3 r4 L* J2 B
1 [2 u9 s8 \: O% X# GExecuting [set BYPASS_RULES=ON]
6 B* b% A/ c* z( V/ m6 b# g2 k! t$ f( Y( H% G$ v4 z( f" c
, u" F8 B! ^) ^9 K5 I5 M8 e& a* RExecuting [set NR_BYPASS=ON]% m' r* G0 |/ _( e5 P' V4 s
& q2 E6 N) }* n1 ?
5 U" P, }; V, l4 E4 O9 SExecuting [set BMF_BYPASS_ALL_EXTENSION_RULES=ON]
* V" }9 u6 I9 D7 L) c7 N$ w. N* R9 O* @9 X- ~! A, `) _
- S7 m& z7 a& |2 q- ^) bExecuting [set TC_USE_METADATA_SHARED_MEMORY=FALSE]! n9 ?- f$ a+ |
. l3 r: g; T: ]# ^) \
( I5 `- q, q) C# Q. \& g6 S7 Z% VExecuting [set TC_KEEP_SYSTEM_LOG=true]$ K- R j8 y9 u1 S
/ E7 j. @9 y6 d# d5 b% S3 |
T0 l* j$ V+ P5 n9 ^3 U! WExecuting [set IMAN_KEEP_SYSTEM_LOG=true]
. N% a& {, u. A$ J n8 ]3 I5 O; M- T' u% `1 D( V0 W. V3 M
* e2 B) U# `' U" nExecuting [set IMAN_TMP_DIR=C:\Siemens\Teamcenter10\logs\1311250352]7 R4 s9 \) }. P, b1 {- l. |0 @' v& ~
! t% Q( T- H# F2 U8 J0 `+ X, a
: r* c# S5 t. `Executing [set TC_TMP_DIR=C:\Siemens\Teamcenter10\logs\1311250352]! I: \4 y9 \+ o( c9 B
5 {3 N( s: d$ E4 E7 s& [
! o' o0 Q# X* cExecuting [set LANGID=EN]4 d+ `" R+ B: \) j1 l
4 I" L0 B( ~& P0 `1 ^
5 H; x- q. C8 X- L$ tExecuting [cd /D "C:\Siemens\Teamcenter10\logs"]
: |1 O- k) e- E: `7 T# S) rOutput from command: cd /D "C:\Siemens\Teamcenter10\logs"
8 ^3 i- `" x( k1 x( W9 N! f5 Ucommand_exit=0
' `. u' p4 r1 u$ e2 X7 K9 nExit Status 0, elapsed time 0:00:00+ t' n4 V: `. F8 U+ ~% U
...Done
7 u0 c: I+ X* e) }' p! c" F% U
& ]' @0 r% o e5 o; J1 v! |: \, R" t" Z8 C7 ?; p4 _6 Q# o
Executing [set TC_INSTALL_DIR=C:\Siemens\Teamcenter10\install]
% @+ Q! l; v0 [& n6 n! ]9 O0 u A
3 c7 B e5 ]5 _ R
# k. V! p* m0 sExecuting [set IMAN_USER_PASSWD=*****]
9 B2 v( d, Q2 v4 Q8 H
3 F# x. Q$ F( }9 a% u V* q+ C. N& K& K- E" a/ F3 ~! p# C
Executing [set TC_USER_PASSWD=*****]
; [/ U8 d2 @$ V1 g
! ]: M V, ]9 \( f/ _! D5 p" N6 \/ C; y3 C; P! R+ g
Executing [set IMAN_VERSION_STRING="TEAMCENTER V10000.1.0.20130604"]
) E0 V/ ?, T0 B3 v0 X- z- {9 ?+ w" T+ ^1 M
+ z2 q8 t' j" F0 [1 U+ `
Executing [set TC_VERSION_STRING="TEAMCENTER V10000.1.0.20130604"]8 s3 z7 ?9 d% a
5 D {6 g+ A' w$ X1 b; |
2 u( U2 P& X8 y0 j, K0 x
Executing [set LANGID=EN]
0 u$ L5 v' W. M" K
2 ^) k" }) S3 Y% I2 m( E: L" ]# F2 d9 J; m0 d {( w
Executing [set ORACLE_DBA_USER=system]" H: j. F% t! p! m/ a) d( L& p
' o8 G+ v2 w5 \# I- U# ^8 a
2 a# R4 p1 v" i" X3 B9 b: ^Executing [set ORACLE_DBA_PASSWD=]
. G* H; X/ V( n) n- F) f
, ^% @" a* H# F/ M9 x/ k$ D9 W! ?& G: L1 c9 r/ o! `
Executing ["install_runner.bat" -u=infodba -p=***** -g=dba -templates=NX0tcin]) x" P q0 X: u' |' {
0 ?& ]0 e* Z5 i, \- G G U
+ K" @1 x& q" c
. d) Q0 w3 g2 ~% h4 C看看关键的utility吧' |4 }' z- r7 @
2 M! T6 }% T0 t8 g' P+ F% E7 e
, D! `9 e2 B* D
Executing command 1 of 13...
- D2 ~ m2 k& r, u& TSection: bmide_pretemplateinstall, l4 z- p/ O( h3 O+ a! D5 M
File: install_runner
* e$ D6 r" ^! D. y4 T. qCommand: bmide_pretemplateinstall -u=infodba -p=***** -g=dba -templates="nx0tcin"
% d) W. q' a, o+ l$ j# U8 E4 \! Y) B' g9 ~8 g* Y
: l6 I' _) w4 |
4 {+ c9 Q6 G2 ZExecuting command 2 of 13...
3 H3 l7 D) y3 [. c: T9 b; {6 CSection: database-preparation, w2 C5 }8 `- }9 P# Q1 K
File: install_runner
; G! e( x+ [ v9 I# c% o' jCommand: install -regen_schema_file -u=infodba -p=***** -g=dba* n6 l2 m# N' z0 a# w( L g |7 B3 U7 j
, Y& }2 _+ ]) `8 h( m+ M8 T# n" o4 s- V* }" P$ y2 W" q C" f$ x+ y$ S N
4 i$ \( [4 A. u5 }8 ]Executing command 3 of 13...
d& @3 k+ g F( A- B3 d h6 xSection: database-preparation
4 F4 O( k E, ~" H) cFile: install_runner
% Q4 j% i3 H% L: u+ d; lCommand: install -lock_db -u=infodba -p=***** -g=dba' P7 M# k. N+ t8 z
4 f0 f" @/ i5 ^& f' `* c R) B. _* ?
) v }# e" Y: q4 S
) v0 g) t4 t/ A
Executing command 4 of 13...
6 T$ s5 P3 X3 oSection: database-preparation; q) F5 R! K+ m3 S9 }- ^; @: L
File: install_runner( X) J: j2 t( [% O4 n
Command: clearlocks -assert_all_dead -u=infodba -p=***** -g=dba9 y r0 y$ b6 ~6 v" W% H( K
# e& D% Z5 ?! R( e2 G! |8 A
$ ?! t6 B) q3 S7 l; i+ A+ G
0 r' b% x0 U1 e h% ]" JExecuting command 5 of 13...
& i" t4 x/ u7 z9 X) K8 cSection: schema
/ R. l* b! _3 S5 w0 b+ wFile: install_runner
3 A) v& _ N5 t$ H! t1 \, rCommand: business_model_updater -u=infodba -p=***** -g=dba -mode=upgrade -update=schema -process=all -file=C:\Siemens\tcdata\model\delta.xml
1 y! S) P' B4 Q( h1 p2 ^
# S5 h8 j2 p; d$ t' k8 k# ~7 i3 r( [1 J5 w6 m' \
+ o" Q( K" W8 c! u. P6 {
Executing command 6 of 13...) ^; i% ]' g3 b
Section: schema
+ j0 [6 t* I$ z% F2 ~File: install_runner! T( V2 \+ X/ R
Command: install -regen_schema_file -u=infodba -p=***** -g=dba
2 @$ `0 L: V# Q& w& O
! c. q, t4 i0 r/ v' g+ N) J; J
3 t; s; e& Y$ A* K2 g: W1 K: T! i2 Y% o* O( W) t" `
Executing command 7 of 13...6 Z8 v2 i5 i# ? F* @: |
Section: non-schema" z. \( l! i6 k' f4 Y
File: install_runner
$ Z" `4 O0 `' V9 `Command: business_model_updater -u=infodba -p=***** -g=dba -mode=upgrade -update=non_schema -process=all -file=C:\Siemens\tcdata\model\delta.xml
# I+ j0 ^6 F( y' c' ~# s: ~
; r! {+ R6 g' d' H0 h. Z) B! d' E/ U6 N$ P/ U0 N
( J- u+ [# T$ A: kExecuting command 8 of 13...
" c# M5 H0 @: H3 @8 X+ [Section: post-non-schema-add
8 }. Y6 n1 l( U: F+ f" P, c# FFile: C:\Siemens\Teamcenter10\install\nx0tcin\install_nx0tcin.default
; q. j& z& J4 V+ ?' m% a$ G0 G$ ]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
% Y2 J. y) K# C8 b: R) }, {$ a
& N9 ~$ J8 @# \3 ]( w& ~/ i
% h4 u4 b/ X: J R/ |8 [9 N/ H# f- b# W
Executing command 9 of 13... e. X! T* ?' O8 [8 l7 W
Section: database-finalization
! W' I2 X1 ^ X- f0 HFile: install_runner$ x+ M5 _9 ?6 O+ K$ P
Command: bmide_manage_templates -u=infodba -p=%TC_USER_PASSWD% -g=dba -option=add -templates="nx0tcin"' f( t5 I4 X7 k! [0 L6 [% H$ _
s2 `0 K1 V: Q8 K6 Y8 b5 d
+ V- ^7 w' ~& L7 H# x4 @6 }
9 C( K& R4 g0 `# _
Executing command 10 of 13...
& N3 P, z1 x4 s3 K2 D7 U, e" cSection: database-finalization
- \7 G+ F: ]* \0 m7 iFile: install_runner8 ^2 O9 I" y. t) `8 @$ N
Command: install -regen_schema_file -u=infodba -p=***** -g=dba9 E" P5 a4 C% B' u5 N
8 g2 g( i# K7 |* ^# G
/ a8 Y; J# w% P, g) K" x7 }2 `* y4 I5 {0 h1 f6 l/ ]
Executing command 11 of 13...& g# n& F; s6 G4 {! [# H; u
Section: database-finalization8 m; K1 V# t+ ]: p( Y) f6 ]
File: install_runner
: j6 `: ~/ [( Y) LCommand: clearlocks -assert_all_dead -u=infodba -p=***** -g=dba
: S8 [% w1 ?7 \
$ u5 L% D6 Q0 s& K7 N6 n; Q
5 ?9 Q1 `1 S; q% ]5 p% U
' g' D# _# L, N5 s3 ~0 G4 cExecuting command 12 of 13...
8 h1 J$ V; P. P; ?Section: database-finalization
3 N$ i0 ^- p5 [File: install_runner
/ N2 K! d2 K8 I4 OCommand: install -gen_xmit_file -u=infodba -p=***** -g=dba; \ [( }7 V# Y
' P3 n0 m3 e) H
! O; F) R/ c) B/ k: h8 f, E. A; E
0 e' _$ P2 }9 m
Executing command 13 of 13...
9 w6 u/ F _% d; j, b5 @Section: database-finalization
7 O% a& D8 h5 lFile: install_runner
7 G6 b6 H2 z/ ?! M8 C2 M: i: UCommand: install -unlock_db -u=infodba -p=***** -g=dba/ x$ T# q l# m$ ]4 [- N2 s7 Q
# y e; C+ Q4 ~ B1 j% J8 T
|
|