|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
发现了,执行的都是些常用的utility,拿出来看看!6 w* @4 P# Q/ }+ X
) |! W7 j3 L( k C
首先是设置环境 U; r8 X( T% E9 Z$ }* W2 y: x0 r
. P- C8 u8 k. @
5 @' f) \( G. GSetting up Teamcenter shell
- P7 R' E0 a* `; b& @8 |4 _% [3 b |2 ^$ d+ c& L- S, i, L
# G; @ r/ F# qExecuting [set IMAN_ROOT=C:\Siemens\Teamcenter10]; T2 f1 J% b! M( A- u$ m
7 k1 w" K% U$ Y. K k* B% {1 W& W
- `0 T) m( N' PExecuting [set IMAN_DATA=C:\Siemens\TCdata] b9 b$ _6 F! ~* S4 X% C. n7 @
( X8 k, ~; B* O5 a1 J
, e4 I0 A: U8 j, s3 s( }6 H' MExecuting [set TC_ROOT=C:\Siemens\Teamcenter10]
: L4 L5 c, }! U! T! j* z0 \3 z$ @4 Z. j9 X h
: M; f( e) Q( v1 {5 {4 B
Executing [set TC_DATA=C:\Siemens\tcdata]
4 u* q1 x; r2 t, ~6 j0 W+ H" _
5 [' p: O1 y9 ^9 Z; x1 C7 f! g& `# x B( H: b" a
Executing ["C:\Siemens\tcdata\tc_profilevars"]1 y6 n5 _0 B# r4 L
Output from command: "C:\Siemens\tcdata\tc_profilevars"4 n7 G0 H/ f! d0 A0 W1 |. d' s9 A
command_exit=07 Q1 @1 x8 i! b! ]' d
Exit Status 0, elapsed time 0:00:00
+ X M8 W W4 n0 B y! s9 E1 }) D$ Q
3 E1 e5 t/ f8 ]0 l5 X0 qExecuting [set TNS_ADMIN=C:\Siemens\tcdata]
) u( f. K6 b# h7 B
9 J# ~6 y. |# p7 D9 ^/ X% n+ P2 Q4 w( ^ P- P
Executing [set IMAN_BYPASS_CANNED_METHODS=ALL]
' B3 W: [' E2 C, Y8 X- n3 i3 |+ J3 u6 Z
\9 [& O6 d! H& e& d% `
Executing [set BYPASS_RULES=ON]9 v2 m6 w, d3 i$ ~5 K& U3 y: A- i
( e) A) Y" Q7 k
8 }+ Y& z/ B" H n* u$ H/ LExecuting [set NR_BYPASS=ON]
- u1 m" I7 ]5 Z1 d6 A1 G: f9 z: J$ w4 @3 |/ Z$ Q# \/ f
, A* H5 G6 Y0 C: i+ E. J
Executing [set BMF_BYPASS_ALL_EXTENSION_RULES=ON]
5 k9 Z3 O4 c5 R: h) m0 B: t& w# g8 A1 Q+ G
y3 i. Y! H% H; }, m
Executing [set TC_USE_METADATA_SHARED_MEMORY=FALSE]
4 U$ r5 \& u( G) u7 E9 F+ G/ j
$ m( z. W2 O& N0 ]+ m
! w; L8 Q" m3 `# AExecuting [set TC_KEEP_SYSTEM_LOG=true]6 v0 W9 [2 i. ]" x/ b
% ?; l7 _6 h1 \2 u, x% f# p* p1 S) ^+ Z
7 n, K" ]: b: s. Y d& }6 ?. m" F
Executing [set IMAN_KEEP_SYSTEM_LOG=true]
- `% s4 K% b. O9 e- ^
8 B6 l2 x6 d% x0 ?/ _/ w7 y. p. t
; }; G6 l W! f4 w2 y+ ~8 ^" NExecuting [set IMAN_TMP_DIR=C:\Siemens\Teamcenter10\logs\1311250352]
' C8 q3 i6 ~* [2 a
# v5 s. y$ f2 i* r1 L& V. z A1 `6 K. B. z0 m0 C
Executing [set TC_TMP_DIR=C:\Siemens\Teamcenter10\logs\1311250352]
# d. q% o1 C8 B% g" J1 N8 Q, p+ i* u, M7 |5 H
8 l$ u) Q) F* Y$ EExecuting [set LANGID=EN]
; }7 W! E7 C! x
! J) E1 U+ ^: y5 r9 K, f* ^3 N% c4 J7 M7 w9 ]
Executing [cd /D "C:\Siemens\Teamcenter10\logs"], i3 Y$ }2 Q/ o3 G& B
Output from command: cd /D "C:\Siemens\Teamcenter10\logs"
. B$ U4 b; X+ m+ g) T/ Lcommand_exit=08 d& Z& O( z: O
Exit Status 0, elapsed time 0:00:00
; H/ T! d+ r0 D2 C& \...Done5 L+ C! r" N1 k
[0 r7 D( }9 Y/ H g g% _7 `2 f# A3 @ I) p0 s; t
Executing [set TC_INSTALL_DIR=C:\Siemens\Teamcenter10\install]
! a& \( Y1 {- H
1 [, O5 t* K& N: E4 V" B
+ N3 A2 f1 }6 s, T3 r2 IExecuting [set IMAN_USER_PASSWD=*****]
8 ?7 x" ]+ Z# `2 B q6 V
+ b& ~' f: _; ^$ Z" R+ K+ P* y" b) x* `9 p4 p
Executing [set TC_USER_PASSWD=*****]
$ K. }$ ^) P$ m7 M& |
- s: k: \& K4 T% b @* b+ s ]( E$ E
Executing [set IMAN_VERSION_STRING="TEAMCENTER V10000.1.0.20130604"]
- C3 \1 k. ` P: j6 l: H
( i( w# w% O( B0 _- S. k8 H- p7 v+ ~5 Y3 L+ j1 x h$ i
Executing [set TC_VERSION_STRING="TEAMCENTER V10000.1.0.20130604"]
5 _' o- T5 W% z7 K4 d8 r4 F5 S2 |- w
, ?' {2 q g' `: M3 X/ U
' o7 ?; w+ q- _* n: ~( C5 _. NExecuting [set LANGID=EN]
! S) v! p# n8 w6 d) _" J2 m. z4 H2 \ R7 J) }2 W. q
+ \9 k9 |8 ~0 R# y# O) p5 X) R2 EExecuting [set ORACLE_DBA_USER=system]( K5 i: E3 O! T. V" n- g0 R) Q; W
! j3 U3 \- h& Q$ h4 i
! y9 Y9 r" m& TExecuting [set ORACLE_DBA_PASSWD=]
- d( {5 U5 [& Z2 K& w1 |* ` W3 c. h, g, v/ Y
) M; |) r3 V; R4 m* Z" b, p
Executing ["install_runner.bat" -u=infodba -p=***** -g=dba -templates=NX0tcin]
9 d* G- m2 i" N: K; n. W6 w, o% D
: n8 ]# L6 p% I/ u$ }5 C! D; c. x* A8 Z" F: z0 `
看看关键的utility吧, \" a% n c9 h3 B
% L! D: @) q3 A" K$ ~
! y) I4 `: b' { dExecuting command 1 of 13...$ e3 W7 J" M7 \" a7 K/ a
Section: bmide_pretemplateinstall v; }3 O/ W) S+ j2 [0 j
File: install_runner
. H9 S# B2 P1 P: MCommand: bmide_pretemplateinstall -u=infodba -p=***** -g=dba -templates="nx0tcin"
" B; T& s @! w5 D. ^+ e# N3 Z" \- g3 f+ f
1 {1 x) D0 ~+ B! p0 \; Q; y* [7 I
' z7 X E, J. j' ]' rExecuting command 2 of 13...
+ g( q% @/ M6 r. u; R j# NSection: database-preparation
4 N/ E2 u# |2 zFile: install_runner/ O3 ~' G- s$ a0 q h/ Y
Command: install -regen_schema_file -u=infodba -p=***** -g=dba
, l2 D7 x* B! U7 n( b% Q' j" r7 t1 e" y& ` `9 r- H7 P% z }
; U' Q/ r+ i7 \% N% v$ ~7 {7 R ?% c0 Q' U9 Y. ~6 H; F' F
Executing command 3 of 13...
3 E4 r* d' z; y" MSection: database-preparation
8 p& `4 K0 j w1 I; FFile: install_runner/ g, F. o& J, M0 Q
Command: install -lock_db -u=infodba -p=***** -g=dba
( A# u( `2 Q3 b0 L
3 @/ K7 s4 B9 \% A9 t8 R; [
, c: M D+ @, @: L+ g$ F( ~" b6 Y+ @* T; }( G# D9 G8 P- s4 \
Executing command 4 of 13...
) J3 q3 K, b" q' Z7 i) YSection: database-preparation3 _: S4 g* a5 ? P, E/ U
File: install_runner+ x. F p0 S. Y4 U: m4 C
Command: clearlocks -assert_all_dead -u=infodba -p=***** -g=dba5 r- B9 K* d' g4 ~! f
2 S$ ^/ z2 k; J# }
8 Q) m, A; Q7 c
/ z: r' G d) B; i/ GExecuting command 5 of 13...
7 i0 B+ [5 ]; x5 V- JSection: schema% ^8 X. I" n* \9 b4 y+ e6 I; p
File: install_runner
1 @% O9 b% o4 D3 m* K* m TCommand: business_model_updater -u=infodba -p=***** -g=dba -mode=upgrade -update=schema -process=all -file=C:\Siemens\tcdata\model\delta.xml. P, D2 l) h$ I! u! Y
N( F! N9 V3 A+ k
r% m/ O( Q5 X
5 `* h( s+ u. R/ E2 N) PExecuting command 6 of 13...
1 b ]1 a% i0 g# A. VSection: schema/ H, N2 \9 R/ W4 o6 |& j% W. `
File: install_runner" K. G1 a" r! x) U4 d
Command: install -regen_schema_file -u=infodba -p=***** -g=dba
( k& q0 I7 A3 q( m3 k: v! y, H2 s0 o" Q j' z5 ] N& d; n
: |0 S' Q7 }5 W3 h: x3 v6 y" P: d% j5 ^( n$ ]8 E5 ~
Executing command 7 of 13...
4 i- P6 g6 k8 e7 ~Section: non-schema7 L: ~2 f& b9 p+ Q8 [
File: install_runner
# k; { d- u5 P* g+ }Command: business_model_updater -u=infodba -p=***** -g=dba -mode=upgrade -update=non_schema -process=all -file=C:\Siemens\tcdata\model\delta.xml. t0 i t! u7 j
) V7 B0 g8 r9 z5 V- `- q
9 k! b- \8 t. ~; S1 j/ _4 @5 K7 @4 B8 u7 u
Executing command 8 of 13...2 T" M) ^: X( O
Section: post-non-schema-add8 f+ f' \) m; w/ S% ]
File: C:\Siemens\Teamcenter10\install\nx0tcin\install_nx0tcin.default
4 ]- U$ Y7 y2 w: {$ f1 L* MCommand: 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
1 @$ A2 J0 H3 a% T+ r
& A9 u; C+ F. z; _0 E& ? _5 L4 i9 h- D
3 D; Q8 Q9 G9 v+ n: k4 w- `9 p* cExecuting command 9 of 13...: h+ h3 Q" q" R- h% s4 d7 K3 S
Section: database-finalization
* t' o) D! \* z- IFile: install_runner
$ A! V) [: J' K/ N/ r3 ^. BCommand: bmide_manage_templates -u=infodba -p=%TC_USER_PASSWD% -g=dba -option=add -templates="nx0tcin"
" E, y- [6 ~- B) _7 ?, B, u& |* T! w U1 o0 P
* \2 t8 ?' Z2 `. w A
: J$ f5 N. k2 O& g8 kExecuting command 10 of 13...
( X+ f$ ?: S, ^" r/ a: o2 ESection: database-finalization
/ M1 c+ m0 o- t; TFile: install_runner
4 p. L H2 y0 f2 B1 M$ gCommand: install -regen_schema_file -u=infodba -p=***** -g=dba S. C! T4 M! e! y' r
( D/ d& x. B$ k( X; U1 W
g5 w( w/ r8 U* N8 i
- V+ j) B8 V% K+ u! wExecuting command 11 of 13...2 }( r/ y0 {$ S0 Y. n5 l% P
Section: database-finalization6 a1 u/ a& ^) c# e
File: install_runner
: J* w5 i; h7 ^" bCommand: clearlocks -assert_all_dead -u=infodba -p=***** -g=dba3 j6 e2 S! y/ x: g# L
1 m7 S$ @' P, R: t6 ]0 I2 T! u( `: m, E) w
! P. O; y2 u1 a4 ~5 C9 W. X" YExecuting command 12 of 13...0 Y6 x. r* K0 m( \% O0 ^
Section: database-finalization
! b4 ^& ]) G- `& q/ w. c/ uFile: install_runner, }. h' N7 O$ e" G: g) k) U9 ~
Command: install -gen_xmit_file -u=infodba -p=***** -g=dba
7 d/ j3 {8 z7 g+ |# i$ V! n q( T! F4 B2 }* |
4 s; a% e/ \$ {- e8 s
% U( G$ j) I3 j. C5 \5 l
Executing command 13 of 13...
" o, }1 T5 E: pSection: database-finalization
' {' r, B. Y" `1 p9 v; f/ _File: install_runner% @( j9 q6 s# W5 y" G
Command: install -unlock_db -u=infodba -p=***** -g=dba
2 N2 Z0 e8 G/ B8 T$ @. O+ P3 i8 ^- W6 X! u8 K) y
|
|