|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
发现了,执行的都是些常用的utility,拿出来看看!' L+ B. t9 A9 h' X9 ?
3 F, ]9 [: q! ]) S
首先是设置环境. b; d7 h9 ^7 r
5 U0 J- x4 S7 n V9 X
) m& n8 J) @' r3 rSetting up Teamcenter shell6 G0 n# P- k" C( N1 N1 H' N3 b
# l; W, \2 P3 S: p. I2 r5 U* g$ W/ n
Executing [set IMAN_ROOT=C:\Siemens\Teamcenter10]
" e) g( R/ _( [( V* {2 O: ^; C+ ]7 e5 l# T8 M
% G" r/ U% e* F$ Q0 C. L) y& H
Executing [set IMAN_DATA=C:\Siemens\TCdata]! T4 s5 F) b9 n$ {; i! z
7 f$ V1 q0 M8 p2 J5 Z) y7 S. ~, ^; _+ ] a
Executing [set TC_ROOT=C:\Siemens\Teamcenter10]9 u( k1 O! s2 f& z
9 L% b! l+ r7 o1 P
" W7 G' y2 F* \, F# yExecuting [set TC_DATA=C:\Siemens\tcdata]- W# G" O4 x5 Y) G8 s7 k* z
+ ^' z7 c2 D h. f& r' q. `0 X/ H4 N) @; F: z5 ~+ |, B: z% J
Executing ["C:\Siemens\tcdata\tc_profilevars"]" g# T; V6 v$ R
Output from command: "C:\Siemens\tcdata\tc_profilevars"
6 I; j6 A$ |8 |2 L. |command_exit=01 ]! ~( [2 }8 h7 {6 @- Z
Exit Status 0, elapsed time 0:00:00. J& X+ t3 m+ v5 a K* ^4 k
3 x# [- M' ^5 q4 W
5 f8 T1 z6 W: t: p0 k5 S1 UExecuting [set TNS_ADMIN=C:\Siemens\tcdata]
# _, F7 @& [1 C; f( H3 Q: z/ W7 {9 Y1 F" z" Z
9 y: b4 d% A; _1 Z2 \Executing [set IMAN_BYPASS_CANNED_METHODS=ALL]
% x9 r7 t3 N+ _8 l: [
+ s( ?% B$ C4 q! f! Y8 l
7 a9 B1 ~7 G& G* @Executing [set BYPASS_RULES=ON]
/ z u3 \0 n# ~( t& f1 o7 J# j) H2 J- I& L8 p
/ G/ `( l* \! q7 X, [& N! C4 pExecuting [set NR_BYPASS=ON]
% K; J/ [# M2 h
$ W4 b) q. N% z5 F. a# h* s1 @
) @, u, \: g. I8 N% CExecuting [set BMF_BYPASS_ALL_EXTENSION_RULES=ON]
& T- |& p9 k! x$ l: y8 u3 Q2 z- u; y
- S+ `0 L& h. C1 C- d2 Y
Executing [set TC_USE_METADATA_SHARED_MEMORY=FALSE]
+ u( e9 U6 @- Z/ x! Q) a, R& l _0 A7 C+ I2 N& X5 V' R k' q
8 N5 r1 ^( k% u4 SExecuting [set TC_KEEP_SYSTEM_LOG=true]
9 ?$ u# U- \ a4 t% @
+ }! D% o6 \/ X' _/ r6 r1 B9 G. L0 S* N4 q8 K6 M: \8 j
Executing [set IMAN_KEEP_SYSTEM_LOG=true]
3 T! |/ F0 M& O. }" U
: ? O, d, }8 k0 o3 h# v7 ^8 ]) T) Q* v0 I
Executing [set IMAN_TMP_DIR=C:\Siemens\Teamcenter10\logs\1311250352]+ Q: X* _; k2 s! ?
' ?* V" l7 y' e6 N8 `; ^) w9 s2 V- f
' _$ n7 `% j- H- rExecuting [set TC_TMP_DIR=C:\Siemens\Teamcenter10\logs\1311250352]
2 o1 Q4 k3 _7 _! A
4 t7 L: M$ h& ?& V4 f
, |. ~, @3 m0 ^: _2 q6 [Executing [set LANGID=EN]* P5 G7 T3 T+ f, w" a
$ e; g7 \8 W; B" S4 R0 k
. M5 z$ c* _) n7 ~3 b( i: x# LExecuting [cd /D "C:\Siemens\Teamcenter10\logs"]- c) q9 r7 m' ]. U) g7 o" f5 P
Output from command: cd /D "C:\Siemens\Teamcenter10\logs"
! V) L% e; r3 jcommand_exit=0
( @0 h5 P; d* E( NExit Status 0, elapsed time 0:00:00( v4 V2 q ]/ s0 }. R
...Done
1 M( x9 X# }( Q8 z) _8 ?$ y* d* O" O- ^/ A1 ~
) `% O( G+ i+ A: q5 KExecuting [set TC_INSTALL_DIR=C:\Siemens\Teamcenter10\install]
2 J8 S$ E& x& V5 O' G: @3 |5 E: A5 q" U" I# _8 f1 f4 N4 t$ U, m9 z9 V
7 h( r# ]5 b" r) @% i8 D4 q9 ZExecuting [set IMAN_USER_PASSWD=*****]% Y f" I( T" x4 {) m( ?) F/ ?
' q {% ]$ M! F- l- t8 o2 K; S$ t
1 H- b8 h9 d3 r
Executing [set TC_USER_PASSWD=*****]
3 }& H+ a- `" P* T
}$ {( s: [0 N9 W# @ o
* \2 Z* J6 W7 R, GExecuting [set IMAN_VERSION_STRING="TEAMCENTER V10000.1.0.20130604"]( X% v* j1 Q/ U P. k5 D+ G
0 T1 w4 X7 o- I1 J6 ^- Y0 }
# @0 O w: q2 H6 [% N* U7 GExecuting [set TC_VERSION_STRING="TEAMCENTER V10000.1.0.20130604"]
* z5 i1 j# e7 \5 Z, j9 h8 p/ Z; G2 o8 h1 \) s* ~
( L/ J; N% {& s5 U( J dExecuting [set LANGID=EN]5 I; ~1 U& t7 }' A7 o
) r. k. a# d* O3 u- |: l
: g! z0 R! @, t- o; c. vExecuting [set ORACLE_DBA_USER=system]
& q; `7 h( }* L( t# @8 s
c6 e6 l$ s; N9 Z* Y" W Y `+ ~- I0 g
Executing [set ORACLE_DBA_PASSWD=]
! |( f' ]4 h) e7 o" Z+ u# {: d. C+ g1 T' {
) |9 s2 j; S9 t; T% y* ]
Executing ["install_runner.bat" -u=infodba -p=***** -g=dba -templates=NX0tcin]9 ^- p7 |6 m( q7 ]' b R
/ |% T: L& A `) N
) a, F8 _3 l1 m) G. C. ?9 B+ i
3 ]0 D# z9 G, u5 S, `, f
看看关键的utility吧
9 d8 a/ Z0 n4 ~$ ]
: x; v! b( B ]5 A9 X- R4 Y* F. b4 Z5 \& U- i2 v, L0 k
Executing command 1 of 13...6 O9 ~: f" y0 D4 U" w0 S7 `
Section: bmide_pretemplateinstall0 N/ W6 u' H# Q B% n3 }
File: install_runner
6 {6 a$ S, L4 z* SCommand: bmide_pretemplateinstall -u=infodba -p=***** -g=dba -templates="nx0tcin"$ `9 y( |! l3 I
! H& I" S- J! N. {7 O
" T5 \; [9 o# a+ I% q* C: R/ ]
8 v8 R" t' \4 S/ h4 v
Executing command 2 of 13...
7 f: V) W, Z+ n( YSection: database-preparation
7 |: D9 ~2 a$ f. Y$ J* `; `) Z. j/ NFile: install_runner8 Y. M2 {4 P7 x) o. U1 l
Command: install -regen_schema_file -u=infodba -p=***** -g=dba
" P+ \8 }/ o# {- Y* ]& H5 G
N6 m: {8 \2 b4 i9 k: Z
& Y& B4 N% ^( E0 M7 j. u9 z( F, s F$ E8 |. P& M3 W& U9 p* L0 z
Executing command 3 of 13...
. P7 k/ n% C1 ISection: database-preparation
9 y6 e1 K+ ]) l( N0 N M, y! @File: install_runner
3 {% {. W2 k6 ^* H: xCommand: install -lock_db -u=infodba -p=***** -g=dba+ r0 ~( X1 z1 |" ]4 p) y
8 ^, K9 a2 D( b, a5 Y0 A- X' N
) A* k* I+ `& b
; n g& @/ t: k8 iExecuting command 4 of 13..." H* Q* |2 C8 t8 \: p1 j( K. S* U
Section: database-preparation
, |& ^! p+ k5 MFile: install_runner
0 c+ a0 [1 F. N9 PCommand: clearlocks -assert_all_dead -u=infodba -p=***** -g=dba5 i9 V R$ h% J- I8 y) S( |
& l5 @) ]3 T% ^3 Y0 L. V% {! _: H5 M7 V. q( R! n8 D
+ E1 ]* z0 K8 N0 T/ h6 M
Executing command 5 of 13...
2 R2 B) {! i) \ z( F3 ?Section: schema v& e6 n% h1 P- [, w% X
File: install_runner
. j3 f. [4 K7 S; Y- u- |Command: business_model_updater -u=infodba -p=***** -g=dba -mode=upgrade -update=schema -process=all -file=C:\Siemens\tcdata\model\delta.xml0 R" t6 X+ [1 M" i6 B: J
: \( }) H3 n6 t- t4 t
* L0 r+ v- z b/ f7 t2 ]
& \2 }6 C1 p% `. o0 O q5 X8 t
Executing command 6 of 13...- _ K( T4 W: f9 x) g6 g0 v/ g
Section: schema$ [( M V B& Z& V
File: install_runner
, C; f- T. ~& P6 b5 o5 f/ z+ a! ACommand: install -regen_schema_file -u=infodba -p=***** -g=dba
( i" f) Q0 }) r0 c" ~7 [6 Z# t& x, P* f. ]2 I4 A
- \) k$ b8 ?6 O7 w- `" t# d8 b% |1 U# A0 L
Executing command 7 of 13... q$ t: L5 @" W# V: j
Section: non-schema
' @* |/ T( ?) Y, rFile: install_runner
! t' Q/ ?" V: r) I- L) b, BCommand: business_model_updater -u=infodba -p=***** -g=dba -mode=upgrade -update=non_schema -process=all -file=C:\Siemens\tcdata\model\delta.xml0 q: C( [3 L! m8 Z! I
3 H; K9 e7 |- S& g, S" Q6 u9 l, ]9 R( \8 B5 c9 f6 Z" E) s
: L& C* J2 `8 u2 r+ W, F, J+ ^* uExecuting command 8 of 13...
" r" l5 S1 y5 U B/ b2 oSection: post-non-schema-add% T: J1 C9 _2 ?' f5 q, B
File: C:\Siemens\Teamcenter10\install\nx0tcin\install_nx0tcin.default! n% ^7 f# V# S/ p& 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% e8 `, ^0 r Z) g& j) D) n
! i' t0 ~. P/ i) j6 k6 j( y6 i
$ r+ C/ U [& I: y3 ~. H i) K* ^, U! {* H* @ O
Executing command 9 of 13...
! z* e" m5 T) k; ?) YSection: database-finalization \0 ~7 N9 K8 x! T2 A8 ~: t
File: install_runner
' `4 @, n3 p7 k- B" N! L* uCommand: bmide_manage_templates -u=infodba -p=%TC_USER_PASSWD% -g=dba -option=add -templates="nx0tcin"
! r* ~7 H: d8 y, t, a: f) X
}$ m9 i+ H* S" W* q: e- S. F- R- {% B, |0 q5 l
( F; G9 o6 u7 i2 k
Executing command 10 of 13...
; b9 v- \2 m4 ~) zSection: database-finalization
3 T! l; ^& B' M5 z1 S, x* D) vFile: install_runner% X8 ?; q3 y0 R3 D2 I
Command: install -regen_schema_file -u=infodba -p=***** -g=dba
' t2 a, ?' d) n5 G. j, `" d8 n! o+ ^7 C w* ^% ]
7 ~3 L8 b, g. Q3 O+ w$ S6 H5 n3 t) ? H; x6 E' d
Executing command 11 of 13...
3 N9 C- f9 l3 v' Q/ O+ V" qSection: database-finalization
6 l& f9 c: h# \ WFile: install_runner
) y- o" f- S% U3 e l$ pCommand: clearlocks -assert_all_dead -u=infodba -p=***** -g=dba
" W& C" y. B ]. l1 @% R7 U
6 a/ J7 v, N# L, r; }$ _* F
0 |) D9 H1 m" E) n0 G" N t9 E) G8 r0 V' W- z
Executing command 12 of 13...7 A0 x8 i) k; n ~/ n
Section: database-finalization1 f0 F4 y8 o' d. ]# d' ^4 u
File: install_runner
+ F4 @% T! ~3 O4 r v9 M& C1 vCommand: install -gen_xmit_file -u=infodba -p=***** -g=dba
5 R& l$ g z! I2 t+ R& R
4 Y' O' P) |! d9 `' ]+ e1 w
0 l/ D( W7 z# s0 }; V
& r* _4 O U& \0 \# L& c( nExecuting command 13 of 13...3 U( ]1 J! @& i% o
Section: database-finalization
$ p6 {( M. G6 r8 W3 ~# CFile: install_runner
6 ?" `! p, r8 \Command: install -unlock_db -u=infodba -p=***** -g=dba
) b2 n" h$ Q: q$ s7 w% z' g$ F! w) x& q& B8 K; [1 |6 q# g( G
|
|