|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
发现了,执行的都是些常用的utility,拿出来看看!
; F( ?) W3 i) x/ W8 {9 K0 f2 c# I4 @ A$ v
首先是设置环境
, z" |3 [- h8 t/ p- f7 x" \6 m, ]
7 [9 h% x9 w0 R, C+ A* i
# |( o% Q) [$ u" r: J. e/ BSetting up Teamcenter shell% T6 H l; S; o. T: Q7 g: D
7 o, d& D1 O' w- e- Y; J9 H) A* t" q$ k5 w6 _( o
Executing [set IMAN_ROOT=C:\Siemens\Teamcenter10]5 a' w+ Z M+ u$ ]1 ?
% `/ s" V% K, v4 z6 F. z, ?
- N- Z0 E4 _2 Z9 b: _0 gExecuting [set IMAN_DATA=C:\Siemens\TCdata]
" L+ j$ N! m+ m( I0 W* g$ I
+ A+ O. G7 ]% n9 q2 ~* N( {8 ~" l$ Q0 m' l/ t1 M& H9 o u& Z$ O
Executing [set TC_ROOT=C:\Siemens\Teamcenter10]
* ~- k6 ^" X- p1 D6 G1 b( ?+ ~3 e! E9 C' q( {" @
: {. q& K7 n! o/ I9 g3 s8 M+ q
Executing [set TC_DATA=C:\Siemens\tcdata]/ W9 Y2 B3 N6 z" g7 @4 i
- p2 o$ n4 _4 ]% [: \5 u {$ V
; |4 A% I8 P/ y3 xExecuting ["C:\Siemens\tcdata\tc_profilevars"]
+ m, w2 m, v& X' H# M I9 l- dOutput from command: "C:\Siemens\tcdata\tc_profilevars"+ o7 K% k" Q1 e: C
command_exit=0. R8 E2 W* l3 I9 U+ l
Exit Status 0, elapsed time 0:00:00
4 E) l- W6 E6 |) w3 |; B5 ^
2 `* p) o/ w+ W1 s" h9 `3 p$ a
' T/ e* x. }( t9 bExecuting [set TNS_ADMIN=C:\Siemens\tcdata]$ s& h' o( n; w" S+ r) X
/ Z" d! X, n# n3 E0 S3 G& s8 }$ S/ E
0 f' b+ ^, K: N8 n4 O. [
Executing [set IMAN_BYPASS_CANNED_METHODS=ALL]3 U6 E1 i2 l/ W; j
! P, u6 b% ], e. m
9 `1 F, h6 v5 G2 u$ h, }' U# U6 ^Executing [set BYPASS_RULES=ON]
5 ~! F+ ]9 z; M% e9 t* b4 x/ u
@5 `( b5 I& ]1 h5 Q5 W! s; b7 {7 G$ f7 ^
Executing [set NR_BYPASS=ON]
8 N6 @- o1 V4 c/ K( H
: g; X' D/ E6 n7 h3 g/ e& ?0 t
, q; U4 W7 c6 N- z+ i4 S' W. F2 RExecuting [set BMF_BYPASS_ALL_EXTENSION_RULES=ON]
* E8 a3 o# `$ u& q. K' Y. [$ z% Y8 o, B: ?# |( x, \* I! O$ B+ w% n
$ B$ \' @0 ?9 p; q/ _. E9 sExecuting [set TC_USE_METADATA_SHARED_MEMORY=FALSE]
' U2 f- l& j5 B4 N/ N, i9 |8 w) z9 a7 _2 r9 ~- x4 Q
4 [. `' N8 a1 w3 I9 e; U
Executing [set TC_KEEP_SYSTEM_LOG=true]
6 D. Y6 ~) Z/ f( y" L- L3 r0 q9 {- G, i
8 N% X& k6 y) [* c2 v2 k1 A
Executing [set IMAN_KEEP_SYSTEM_LOG=true]
+ z8 N0 ?+ v8 b f7 K1 H0 z
0 `1 v5 M1 @( N& n. v" o$ P# m+ k- p$ _4 |) M
Executing [set IMAN_TMP_DIR=C:\Siemens\Teamcenter10\logs\1311250352]
! @1 J9 P2 e5 N* C: c1 L0 \1 p: M( Y4 u
" T- z3 p2 f/ J# m- w7 D }0 s! |) XExecuting [set TC_TMP_DIR=C:\Siemens\Teamcenter10\logs\1311250352]
: D N! o# f4 _
2 v1 c* a- H$ T3 W, `8 r9 [; w( C/ M9 l/ \0 V! _0 j
Executing [set LANGID=EN]
/ k( {( P, e" k7 _8 K8 X! I! k; Q& l+ C4 ]
. Y( N9 ^7 b& U6 a9 ?5 T. Q
Executing [cd /D "C:\Siemens\Teamcenter10\logs"]$ z& t+ a" W! k$ i* \% |4 P& s
Output from command: cd /D "C:\Siemens\Teamcenter10\logs"
) B0 i1 _3 ~. s; dcommand_exit=0
/ @/ e8 |0 p. D* f/ x8 j& `: p2 ZExit Status 0, elapsed time 0:00:00$ P0 E8 O$ @5 B% t) B/ M1 x. `
...Done
/ X. l# K7 V7 }' D. \! n9 I' D9 G! R* H% O# E7 N
# j N5 L @5 f, A7 WExecuting [set TC_INSTALL_DIR=C:\Siemens\Teamcenter10\install]1 ]. j2 X) l3 m! ?; f% [- D
* q7 @8 P: r$ I a9 a3 N i9 z0 [. l3 {: O: \. a
Executing [set IMAN_USER_PASSWD=*****]2 e% l/ a! j! D6 S9 x8 l L
) K- O) h+ y7 w7 e4 ^8 a6 _; D9 m" a- e1 M# {& v
Executing [set TC_USER_PASSWD=*****]! R0 n* N( @# X E( D& z: N$ E
. z! X+ e5 ^- D+ m6 W
& A7 V1 s) q" `Executing [set IMAN_VERSION_STRING="TEAMCENTER V10000.1.0.20130604"]% M Q+ ^( t6 s
/ \2 j$ q) e V$ F W
- f D5 X& s& ~; M$ V" C' C% v2 RExecuting [set TC_VERSION_STRING="TEAMCENTER V10000.1.0.20130604"]
/ p! S5 w }3 B! @# G! F: |9 C/ U
) T5 o: Z5 Z5 [5 k; Y2 h
! y/ c: c# H/ gExecuting [set LANGID=EN]- R# I! { R. N) ^
& [4 I: S% h6 z% ~% ?$ A+ X0 Q
4 g5 R+ X6 c6 X1 p' y- R: }/ T3 o
Executing [set ORACLE_DBA_USER=system]
% ^% |9 @- ~* I q. @( n% G
7 k( V( t0 y. _$ O+ n/ p U3 I7 e
Executing [set ORACLE_DBA_PASSWD=]0 c. c _& j' S+ l1 W( c: \+ X
: T) ?8 \' u' [: `# B* _. D2 o# E8 P1 K6 M o) Q# b
Executing ["install_runner.bat" -u=infodba -p=***** -g=dba -templates=NX0tcin]
# y+ W% h6 [9 i t* _0 P) s" u8 k/ |8 v4 [2 a Y6 D
) L$ [. O; C" x& u( Y
# T; ?% C5 A6 y k; z9 H看看关键的utility吧. K2 Q3 a# L1 V& J
( M+ ]0 c+ K9 Y- ^' d
& b1 S$ m( W2 Z! H3 \" ^9 }3 ]
Executing command 1 of 13...
8 u9 E" I. m A+ RSection: bmide_pretemplateinstall! ], x: j, C) L0 I) D `5 j0 Q
File: install_runner
: \8 H& f; D6 _+ C6 n2 K" eCommand: bmide_pretemplateinstall -u=infodba -p=***** -g=dba -templates="nx0tcin"
$ r' ] m, Y4 `4 M7 R i2 V% P+ |7 Y' `% }6 I* t
7 g; w" @" x4 ?& |' ~
1 D+ I4 r# G( W* c8 M$ ~+ Y/ J/ \9 c
Executing command 2 of 13...
/ l4 Q0 c( v3 _6 ~8 A7 ~Section: database-preparation
% D$ _/ _ h6 O) ?6 `1 p( o' }. A* vFile: install_runner8 y: Q6 K3 A8 F0 Q, c
Command: install -regen_schema_file -u=infodba -p=***** -g=dba
8 P" x& f( o1 @& ^; P: g2 N+ `
8 ~4 ~: e- y# P& J0 n1 j" e
* u2 |+ Y+ P* q! l1 B( z
( i) l+ w; X* gExecuting command 3 of 13...9 g& f1 O- N2 P/ ?2 q; S
Section: database-preparation$ s1 G& K, W* }8 u- \! `
File: install_runner
" u4 v+ _2 [, {. \- z' I+ a9 DCommand: install -lock_db -u=infodba -p=***** -g=dba7 @8 w! A* S# m
. x: R# L# W! h. F+ W
: A: s( H: J& C4 k" e
T& S* [9 `. u7 f. X+ y o! MExecuting command 4 of 13...6 ? ^# q' {5 { J! j& M b
Section: database-preparation
$ Q: s6 z8 L6 i6 ^: X( E4 eFile: install_runner
1 ?* q2 f0 n3 [Command: clearlocks -assert_all_dead -u=infodba -p=***** -g=dba' N0 s- E, O, x ^1 |. ^ W0 s$ d& f
% l3 M( D# c, w) i; c J
' I8 p8 U5 A" y1 U9 s5 s ?
; P! M% W7 Z) K9 k0 X: R9 gExecuting command 5 of 13...6 L6 C9 Q8 r$ E+ {5 j
Section: schema; t2 @( d# G# o# J% e" `' c# o" W
File: install_runner
% B; E+ z. [) M m1 J- ?Command: business_model_updater -u=infodba -p=***** -g=dba -mode=upgrade -update=schema -process=all -file=C:\Siemens\tcdata\model\delta.xml5 i/ A/ O8 v9 q
2 b% B$ y5 N+ N1 t. D$ O& e8 k! }2 v j5 U
% U" b0 \6 b7 i( D* i) cExecuting command 6 of 13...% f8 t m5 |1 a( \9 C p- D
Section: schema+ t$ _0 W3 V+ ]! H/ `5 l
File: install_runner
' h/ `: R- f- g7 ^- z! O5 u- v7 ZCommand: install -regen_schema_file -u=infodba -p=***** -g=dba
6 t- ?4 A# O2 t: W& u1 R- O$ p2 j5 n- Y+ \% Q
0 W9 \! @1 t9 `5 G" |
8 J- a! f3 O4 A t+ G" a! T
Executing command 7 of 13...9 Q& V" S# y4 Q# R6 K% e5 {
Section: non-schema
, n1 R' m* M& UFile: install_runner
: k* G5 Z' e9 g+ N1 u- qCommand: business_model_updater -u=infodba -p=***** -g=dba -mode=upgrade -update=non_schema -process=all -file=C:\Siemens\tcdata\model\delta.xml
1 U, \: h! c3 x& u7 t; `$ d# v" C* r
5 A$ ^( g9 {! T6 O+ F Q7 V- ^0 [; @
* U! c8 `) o. Y# c
Executing command 8 of 13...
4 F- P! b. p. m0 lSection: post-non-schema-add; W/ \; ~" ?6 G t
File: C:\Siemens\Teamcenter10\install\nx0tcin\install_nx0tcin.default9 ~: ?, ?! i0 @" R+ L; G# S; r
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
- `+ b1 L1 ~5 k' T" W5 K L: d
* a8 f0 W* {- i! i
9 |- C8 h$ @* s9 [& C/ w7 yExecuting command 9 of 13...8 |5 a/ }' m# O( x Z* Y
Section: database-finalization
" i* L2 w, r+ y+ @3 i; }: eFile: install_runner8 }( d8 ~ S& K; i: r% q
Command: bmide_manage_templates -u=infodba -p=%TC_USER_PASSWD% -g=dba -option=add -templates="nx0tcin"+ a7 y7 ~9 z" a( L1 C: G
" \/ Y6 e& r( t& v% {
" L6 h% C$ b% s5 x" L& T
- D( F, I% x5 O( g* u
Executing command 10 of 13...
+ y) x/ b t# K# a0 t$ CSection: database-finalization1 [" ^- A8 {* w1 T9 f& Z
File: install_runner
$ ~# E1 D8 ?* H! G5 T | XCommand: install -regen_schema_file -u=infodba -p=***** -g=dba
' {( g* l; t2 N6 D, d1 O) G* V' q/ S; A" t! O( o
9 \0 n# }! Y& p+ D
. o. t2 `( w8 b" a
Executing command 11 of 13...
/ j8 \" L9 X7 f# v! rSection: database-finalization1 @7 a8 b, N7 x) w# Y& u
File: install_runner
; W% ~6 m. d! nCommand: clearlocks -assert_all_dead -u=infodba -p=***** -g=dba6 L' p* }6 Q6 j) j" E0 S# r4 J
+ {" _' e! [. r* r- G
. \$ U; ~0 _+ _7 u/ j# n# X
: k* g/ y# T, V t, d4 wExecuting command 12 of 13...
" }' D. {- L$ B+ ZSection: database-finalization5 x( V3 U l( }' |) @$ W
File: install_runner
: W. y1 |: k; [ U( rCommand: install -gen_xmit_file -u=infodba -p=***** -g=dba- u# ~! M1 n- B2 C" p9 A7 i6 @( |; d
2 N$ C6 L& ]9 U! c7 p
. k( I# R' O. Y" l, [ i8 E1 n* m* E. d6 t) \0 R
Executing command 13 of 13...' Z$ d* H x0 K, K8 Y
Section: database-finalization! U$ }& v2 L' A4 |: y
File: install_runner) A9 g {5 ^( h6 j' r+ A8 y
Command: install -unlock_db -u=infodba -p=***** -g=dba0 ]: z* s& R5 v3 ^. |$ L
1 ^8 ^0 b: `! x* O0 q4 F |
|