|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
发现了,执行的都是些常用的utility,拿出来看看!+ H. m* M/ K1 x. F
! u) W5 q# O% D" r% D
首先是设置环境
q5 y, @1 H1 F2 m9 z v8 Z
! ?( j- o4 ]9 c* ` @, o* X. {4 W" d; ~3 }
Setting up Teamcenter shell1 D0 p( t- a. C% o( A- y" H
: n. Y' |7 M2 [% T' j& h) y
5 L4 k' q$ T( J/ jExecuting [set IMAN_ROOT=C:\Siemens\Teamcenter10]0 C) k/ L3 T2 I: y
$ B k6 o2 R' j
) ~& z" @+ c* i4 \" l- b
Executing [set IMAN_DATA=C:\Siemens\TCdata]
( [! R& C# v' r4 ^7 e7 f+ d: z& _1 D3 Y& W6 ^# P
, g& r A5 t% W$ x
Executing [set TC_ROOT=C:\Siemens\Teamcenter10]
; _# p# F3 y" n' f8 M, [- r
" V9 e; P( ~' k4 |- q& t0 V3 I3 w/ z7 t* }7 f: ?5 ]) `' s& [
Executing [set TC_DATA=C:\Siemens\tcdata]: H+ ^* ~* C/ b$ |
I6 q" ]& K* N* G; g- F8 ~7 a4 m& e) W
5 ]# ~$ k) o- b2 N" w
Executing ["C:\Siemens\tcdata\tc_profilevars"]
, }. Q4 G' j. M) a2 J, j1 cOutput from command: "C:\Siemens\tcdata\tc_profilevars"- @* _ ?* r8 b) L/ B9 F" e* t
command_exit=01 s7 s; c" a, q2 l, j% v
Exit Status 0, elapsed time 0:00:00% v! W1 B, v$ F3 {+ k2 J# w1 C
0 Y- k" L1 z8 ~( p
/ S, J+ ?6 ?/ \3 t7 PExecuting [set TNS_ADMIN=C:\Siemens\tcdata]9 k% v5 d7 @( c, N1 A
+ i: I$ c1 I2 I7 z, o
0 e- R, v# o7 ~# a- O# ?# |: uExecuting [set IMAN_BYPASS_CANNED_METHODS=ALL]# T0 M/ w& O; h- W8 R# n/ m
( S- H9 O- S+ W2 Z3 G& ~4 L+ N6 n* ~; A. t% D
Executing [set BYPASS_RULES=ON]
5 l' Q9 q# [, w' e; [ m& v5 T7 A
! ~2 n. O1 E* P& B( d9 T0 m
4 }6 G! Q" U1 Z8 Y, N$ `* [: B$ eExecuting [set NR_BYPASS=ON]& X' h) G, H+ e7 ]% P, {
* K" r. Q! j X( C" U6 j0 p
2 C5 D+ A! `8 B; u4 MExecuting [set BMF_BYPASS_ALL_EXTENSION_RULES=ON]
$ D8 B& S! k& v1 c" M; b& x, C5 o$ E; r0 K) P$ \& Y6 ^& d
% A+ t7 p0 {# w+ N- M( y: t$ YExecuting [set TC_USE_METADATA_SHARED_MEMORY=FALSE]
* B4 M# h$ K9 F, ]) P8 B
) z9 [" ?3 C* u8 G. i8 T6 k# r$ n
; d9 N% x+ |$ Z. b4 mExecuting [set TC_KEEP_SYSTEM_LOG=true]" U* U% h1 b2 B! b9 G& Q% w( T
; p) l5 L$ l5 \% O: [) `1 W" d# v1 f; O' r0 J
Executing [set IMAN_KEEP_SYSTEM_LOG=true]# S/ Q0 r4 S/ ]0 d2 {, z* ?9 g
$ J+ ]6 n0 ?9 B
; I2 n( M+ A: `" XExecuting [set IMAN_TMP_DIR=C:\Siemens\Teamcenter10\logs\1311250352], a5 Q8 {' L! Q' l" P" e# ?: X
8 z8 p9 B1 C: {4 M) @- F* d+ F$ e3 y
?& Q; ~7 L4 I6 C9 n) i4 Y& _* O3 E1 |# uExecuting [set TC_TMP_DIR=C:\Siemens\Teamcenter10\logs\1311250352]) i- C" {( `+ {! Q h) i8 L
. }. a# H- o, i% j2 q$ u
8 ?( D- i3 v' K! w- U; m
Executing [set LANGID=EN]
! A; Y r! X1 L& _0 B
% X; _7 u7 \; q" H1 ~" O6 m
! S. S) Q$ X; w3 H; U2 ]8 P# dExecuting [cd /D "C:\Siemens\Teamcenter10\logs"]
" ~2 h" F- q* R! a+ COutput from command: cd /D "C:\Siemens\Teamcenter10\logs"; A: ], R4 q: s1 S* U
command_exit=0
G U$ y0 _0 ]: CExit Status 0, elapsed time 0:00:00- e9 c0 @4 I4 g0 t7 u/ T- H
...Done
- v: q9 |- Q0 w4 ?8 m7 f# j! K7 c# f4 m
, F0 F$ G, Y$ _5 [1 O* Q
Executing [set TC_INSTALL_DIR=C:\Siemens\Teamcenter10\install]# r" _- H+ p" {" P& Z n9 T2 z% G, r! E
& { k% ?$ @5 ?; D, V2 e) J V. {" u. a, Z' E
Executing [set IMAN_USER_PASSWD=*****]
- c9 e, ^6 g( ]$ ?6 a* I
; m- o/ u/ b6 Z
: B" ^" I( ]2 d# x2 M5 L4 v. NExecuting [set TC_USER_PASSWD=*****]
% e8 T; @; H [& V4 y5 Z! K* @+ G6 E4 X- O& R& l
! T5 [3 O8 z8 M; V9 g F
Executing [set IMAN_VERSION_STRING="TEAMCENTER V10000.1.0.20130604"]" Y! n# {- I. x% l7 ^+ R
5 Q5 b) H I# q/ c1 ^
" B3 x) ~9 K) s2 k/ _& c
Executing [set TC_VERSION_STRING="TEAMCENTER V10000.1.0.20130604"]
) R @7 g h: l& k; ?" P& p/ C- b& M8 [: Q) }
+ o6 _. T% I i/ ~9 ~/ E) {5 a, V# V6 jExecuting [set LANGID=EN]
* j8 G1 h* k" U6 U' t) T4 @! y2 t- M5 n) C
1 h1 r- I' P I& U9 t- [% L
Executing [set ORACLE_DBA_USER=system]
" i+ ` L: h. ?* R/ F
( G. s# E5 ~$ F; P' s# s+ @0 F7 E
9 c* \* |. z* o! Z! T& z, sExecuting [set ORACLE_DBA_PASSWD=]9 @2 B) k0 r* g% [- I$ z
( U2 }4 _4 a( j+ k
2 T$ ], A+ y6 z! i1 oExecuting ["install_runner.bat" -u=infodba -p=***** -g=dba -templates=NX0tcin]
3 f3 `0 L' ^9 L. u- {" _& @8 M2 k3 W0 A- {4 y6 ]$ |
2 O7 y. @4 M" J( u7 n! I2 [9 \7 a' d! J& d2 q; T: G* I: I- O$ ?
看看关键的utility吧* f: e" h: Z' |( v, [1 ~6 |
6 K9 j% I( Y) y
2 T- ^* @( q. Y% M! I
Executing command 1 of 13...# \% X" V8 J6 J% F5 \! L
Section: bmide_pretemplateinstall
' g) b( o' ~+ y: eFile: install_runner; C$ ^+ L3 c( v
Command: bmide_pretemplateinstall -u=infodba -p=***** -g=dba -templates="nx0tcin"/ p3 o! _1 d4 e( n
9 M3 R1 }7 m3 K$ y+ R* [/ T# ~
( V& C/ O, |) c& c" S
8 `+ l4 j( @; u! aExecuting command 2 of 13...
- A9 t% R* G9 y6 f5 F- o- ]Section: database-preparation
& f+ N* |: Y5 Y! {- oFile: install_runner7 L7 [ R& M& b
Command: install -regen_schema_file -u=infodba -p=***** -g=dba: n$ G- y% {: R4 L% U3 ~# p1 J
+ ?6 ]( R# S% E u- g9 H
$ D- R: E6 |! w8 j( b T: ]; D1 L5 S( I
Executing command 3 of 13...
. D4 |1 {# b+ {" {3 F) w$ r3 nSection: database-preparation
+ F7 \: X; }# [. d5 s& ^% o7 bFile: install_runner: F* a' |: l) B9 J2 O. j! ]6 w/ }. A
Command: install -lock_db -u=infodba -p=***** -g=dba
7 s8 S) m/ A/ c' w8 I) v% m$ t+ o5 A$ V1 L: S% ]+ g1 m# t
( Y/ i" x2 C0 D7 |5 R+ v/ E, Q) Y5 p! p! j! t/ d6 R. A2 @7 l6 l/ G" n% |
Executing command 4 of 13...
- U; \3 O1 e" C- Z' vSection: database-preparation) t1 X9 C9 ^7 |8 R+ `, ?+ J
File: install_runner& u( R5 v4 c( U/ d' ]. w, C: e& i
Command: clearlocks -assert_all_dead -u=infodba -p=***** -g=dba
8 @7 z( ^' c% c! V0 @( p
" f* y8 V5 @9 ^* P7 B# O4 J+ T6 O/ ^4 ?/ |
0 t/ ^( o1 @- r. u9 I/ bExecuting command 5 of 13...
/ c. B* d3 I+ @+ Y, T7 E" ]Section: schema
# X$ R2 X4 q0 V1 B* d1 TFile: install_runner6 L/ {' I1 ~6 k9 Z4 u$ T
Command: business_model_updater -u=infodba -p=***** -g=dba -mode=upgrade -update=schema -process=all -file=C:\Siemens\tcdata\model\delta.xml
! z r' L/ M3 G3 L
! r/ P: T8 d# c U! x8 {1 ?9 L8 \! S; [5 Q4 b# R- n" ?
$ E( ?1 I5 A0 v& e1 Y$ @- b: [Executing command 6 of 13...
0 }' _. Y; b1 N! w* ?Section: schema& o+ L' P- z' L/ a6 l* p# f- b
File: install_runner7 U( y! N% b! L' i" T! L
Command: install -regen_schema_file -u=infodba -p=***** -g=dba
: {% O1 t/ s# T8 r7 X) j
: \( n1 O% c7 {/ @0 l1 t* k! v' Z( j- u( N) \' ]( w$ Z" @, g
9 f6 N1 q9 K5 o* \8 @; bExecuting command 7 of 13...
( W7 z/ v, k; q8 dSection: non-schema
9 N8 F5 [6 n% J7 RFile: install_runner
& e: J1 j* B2 O) Z' }! l0 \$ XCommand: business_model_updater -u=infodba -p=***** -g=dba -mode=upgrade -update=non_schema -process=all -file=C:\Siemens\tcdata\model\delta.xml
- _% n% }3 y8 ?/ X6 v- \+ P. G2 ]9 o( A- E J1 R8 n5 S
& A0 a# ]4 L0 D
0 M% e( Z U8 S$ E# cExecuting command 8 of 13...
4 H: s8 }4 |: @Section: post-non-schema-add( C, e& I) x, c# [% K
File: C:\Siemens\Teamcenter10\install\nx0tcin\install_nx0tcin.default
6 u3 n! ~1 @/ P2 {* L( E3 `; x; |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+ t0 e3 Y( m, K. G& [4 O
6 B# V% k. |& H! B9 ^4 ~' A8 V, }4 z3 w! y
$ u) \$ g* y. m5 |Executing command 9 of 13...
+ ^" _# `. v5 o. \" @Section: database-finalization# U! s! y7 K: s b
File: install_runner
' p! ]2 K3 A( j5 \- S" {Command: bmide_manage_templates -u=infodba -p=%TC_USER_PASSWD% -g=dba -option=add -templates="nx0tcin"0 m8 A; f$ Y5 ^, x N5 G" U
# P' A3 `4 d/ C3 d7 h/ Z4 W; \ `0 j
5 g- U, B9 @ E) i( M2 R
' F- d% @6 b3 k1 T7 xExecuting command 10 of 13...
* d5 m$ g2 h) T" K+ T# [6 c) OSection: database-finalization/ h! n5 E4 o# h" G0 z
File: install_runner% l! [6 ^5 }# M6 T
Command: install -regen_schema_file -u=infodba -p=***** -g=dba4 E: B: X4 b% p' |6 f
; |0 ~( Y T4 C3 U
; }. t' i4 o* p3 _% o
# V9 L0 G9 z P: D! w( VExecuting command 11 of 13...* Z2 t i" [ o( P- V/ A" d
Section: database-finalization
( O6 @: y& v, `+ ^: P' d# j4 |File: install_runner. E3 E6 `: @' ^8 E6 |
Command: clearlocks -assert_all_dead -u=infodba -p=***** -g=dba
0 L! W' B5 Z+ j" P* c( m6 l1 c- h" I
/ e$ l2 y. W$ u' }9 N, r7 L
6 P8 a9 { m1 H5 q0 {1 c7 ]. z" ?* ~7 ~0 @# @5 o1 A9 c% ~9 d* f
Executing command 12 of 13...5 F/ m- Y5 O; x; o- l$ D
Section: database-finalization; L: v0 @7 [5 G! k& T
File: install_runner
$ z, N; R- |. ^: C1 m* RCommand: install -gen_xmit_file -u=infodba -p=***** -g=dba' }4 d: |' C; G1 [ V T; S+ m
. l# B$ b7 ~( q, c
6 ^+ }+ q |( G# g) P
5 o) |; U \$ M+ F2 r# v$ NExecuting command 13 of 13...7 k7 b' ]/ B) |4 ^
Section: database-finalization$ m5 g" x: @/ F' y, U
File: install_runner
" K4 C/ Q" h2 p: l- V7 l) XCommand: install -unlock_db -u=infodba -p=***** -g=dba g2 _6 S4 t4 G9 i H! D9 @. Q
+ d3 b4 W. [# r0 u/ C
|
|