|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
发现了,执行的都是些常用的utility,拿出来看看!7 P2 {6 P3 r3 O$ h
: k6 Q+ k# `$ A& _' R6 I# E! R首先是设置环境
; t. d; a! F1 ~$ k3 F4 [9 e! p
9 I: _5 _" k8 K9 v) F3 w$ c. f r
Setting up Teamcenter shell
) _3 O$ L; n) p7 l6 a
9 B& ]! `( g; ~9 Y
, u6 {6 `' `) c& Z% y% }2 XExecuting [set IMAN_ROOT=C:\Siemens\Teamcenter10]/ D, @& N5 N0 R: J9 k8 U' ?* p
* L# r0 p9 L; T! }: r2 L3 w
1 i, z- t7 J! o/ |
Executing [set IMAN_DATA=C:\Siemens\TCdata]
' _" U& r+ s3 n6 e: `& V) q
2 m# l) d* a: A$ z2 A" C6 ^& J/ l6 |. u# j; t, E7 a
Executing [set TC_ROOT=C:\Siemens\Teamcenter10]) C% h- i+ m# F1 H. t& p+ \
4 M, ]0 W) }$ \* z, P3 X
* i. z8 l+ ?' C7 y/ P- }Executing [set TC_DATA=C:\Siemens\tcdata]7 }! D( W7 Z' {4 v7 m$ L1 c* u
& ` R6 P9 ^ C7 e5 y
, s7 E/ C) s$ F1 y) G. t! S/ _9 BExecuting ["C:\Siemens\tcdata\tc_profilevars"]
) y1 W& u6 y, z" XOutput from command: "C:\Siemens\tcdata\tc_profilevars"! a' ^5 ]: Z T/ J6 C
command_exit=0
& D! p3 g% g8 n# J1 I; rExit Status 0, elapsed time 0:00:00; w' Q1 M* `" D' N
6 |+ y2 d! F& P9 R* [
- q- p# |! n/ d, A& ]3 |7 SExecuting [set TNS_ADMIN=C:\Siemens\tcdata]# C7 n6 I' y' \! m( a' p8 E
9 _) e& Y! i, q6 V& F& Q' F# G
9 C% X @0 i3 j% K. gExecuting [set IMAN_BYPASS_CANNED_METHODS=ALL]8 \, Y- N$ k0 s" u4 E
* b% i. O8 {3 V
0 ~, L v: r/ I+ }Executing [set BYPASS_RULES=ON]
9 t5 R7 m& s% e3 ?' K2 M4 n2 o$ |% j! l4 d R, |5 z" I2 Z
" A9 g4 |) g% |' K/ i5 UExecuting [set NR_BYPASS=ON]8 `; I6 I' `; c, I) G5 x6 @% Q! i
0 X( k9 |+ D' p7 l1 G' Z, _! Y
% t f F; M; l4 ~5 ]
Executing [set BMF_BYPASS_ALL_EXTENSION_RULES=ON]
' {2 p) l1 K+ N" l! f: f5 M4 v7 V$ Q8 w$ w* C8 ^9 g! o
7 g- l, H7 a @4 J- A3 Q( Q2 FExecuting [set TC_USE_METADATA_SHARED_MEMORY=FALSE]& D2 X* j2 d0 c- `4 v. |
5 n) U2 U: q+ l" N
$ W* g+ G3 K' l7 q1 [Executing [set TC_KEEP_SYSTEM_LOG=true]
2 N$ A! |/ [4 u: G. _2 Z+ C: j" ~6 t% N+ ]5 q* {3 C. _, S' m7 s
& h( R: \% S4 m4 s$ ]) V
Executing [set IMAN_KEEP_SYSTEM_LOG=true]
* r- z$ e n% t* Q4 |" a; \, n) [; J2 A5 u/ I6 i
! u3 @ U' y U/ e% z T1 X X
Executing [set IMAN_TMP_DIR=C:\Siemens\Teamcenter10\logs\1311250352]8 E8 }) n c# {0 N [# C- C
3 \; _0 ]' |+ R: {
& d: X8 }: a" T8 c
Executing [set TC_TMP_DIR=C:\Siemens\Teamcenter10\logs\1311250352]9 O) J) O; a! v9 Y
( g9 \, E# W$ p! w* K
" ~7 i% l5 c9 l. u; ~6 r
Executing [set LANGID=EN]# g/ m5 n$ D8 I6 ]) F
7 S1 V* n# d( o% O8 C
* r" V5 a% X1 e9 I- Y- u
Executing [cd /D "C:\Siemens\Teamcenter10\logs"]
( o. l; C; Y2 D- Y) [' QOutput from command: cd /D "C:\Siemens\Teamcenter10\logs"
' U; u4 {2 K+ G9 c6 L$ a1 T l" ncommand_exit=0! _; |( \% {6 N8 v7 Y
Exit Status 0, elapsed time 0:00:007 p8 o% f+ S* T, V4 l3 [9 c
...Done
) }5 n4 D4 M1 q
) f" S$ m% w9 n) R: x- Q
" ]# D7 j- q: l% o( W) @. T9 i" gExecuting [set TC_INSTALL_DIR=C:\Siemens\Teamcenter10\install]
% C0 }# f3 A/ T3 Q& ~- l
7 g( H1 V+ p3 m _8 ]2 }% z3 p7 \5 b9 @! a
Executing [set IMAN_USER_PASSWD=*****]
' g/ U6 N9 X# |: E7 f* J; ]/ w. P1 c) f) V4 G* t& P8 k6 m
, y6 }5 G" I6 H }Executing [set TC_USER_PASSWD=*****]
+ c" n9 U( q: d$ \" R4 v. D, d
V5 q6 v P5 @ t5 |% n5 X1 F
+ l! P- b2 g- x, a! l4 j! mExecuting [set IMAN_VERSION_STRING="TEAMCENTER V10000.1.0.20130604"]
0 _+ m3 T4 D) N& q( ]* } d
6 m. @5 ^4 f9 l! k2 H) \/ m
8 C4 r+ c& `2 O2 l! ]Executing [set TC_VERSION_STRING="TEAMCENTER V10000.1.0.20130604"]/ V3 ~1 U0 z# t6 B7 V- {/ r" w
, \+ W/ T& A9 R+ A' y) x
2 Y" y* y9 W4 ^9 \2 H9 r
Executing [set LANGID=EN]
. q1 Y+ X- w2 h5 W' ?( A$ D' w" t
8 y$ C/ {8 C9 n: t4 a: Y8 G4 H
% k$ ?5 E% }) m, B8 C/ h# dExecuting [set ORACLE_DBA_USER=system]3 [* Q3 }2 v2 _" I% X: @" d
, F% p- ^8 e3 Z' w3 y0 w& j. r; S1 y
Executing [set ORACLE_DBA_PASSWD=]$ g" K; y, a% l! H
1 @2 k. f' e/ \/ _% M8 h( Z
' a( I7 e( F% L3 `0 g) D, R; p
Executing ["install_runner.bat" -u=infodba -p=***** -g=dba -templates=NX0tcin]
% b+ I/ C' w" ]4 C8 C+ X
4 E' q0 `, E( Y( L$ q- P, W' h5 S4 R6 X
* H5 T9 i# [; d1 P) y( n% R
看看关键的utility吧
5 r/ S# c% i1 r1 z5 S# p
! n( R; U, E" O' V
+ T2 [) r0 e' q. DExecuting command 1 of 13...4 d/ P2 L3 z$ z7 y7 u' e7 `7 J% }" W( k8 h
Section: bmide_pretemplateinstall) r7 |7 |! M1 ]+ X) Z0 E
File: install_runner* q2 U. P3 A( d6 b k
Command: bmide_pretemplateinstall -u=infodba -p=***** -g=dba -templates="nx0tcin"
, o' |1 L+ P1 I8 g( I/ Z( t, f j
1 `6 X5 _. w0 R
% N4 \$ @& h" x
- H& Q* C, E1 f1 D6 W- e# H4 sExecuting command 2 of 13... [! H$ @7 k* {, G8 ^0 X8 Z N
Section: database-preparation9 K0 [3 J$ v; f8 o2 R* o. J$ i( s
File: install_runner
! v+ Z4 _+ O5 S# zCommand: install -regen_schema_file -u=infodba -p=***** -g=dba
& \3 b5 n0 y, U7 w1 n- Y. G) `- _8 T; _" [ i
- g0 y+ W+ ?" P! y, T; j
7 N5 [; P `# s
Executing command 3 of 13...+ p( }0 G+ @' ?/ a* _9 o5 ?+ P3 H
Section: database-preparation
6 y8 `+ Y6 b6 _3 r6 ?: }File: install_runner H& k( Y3 ~: M w
Command: install -lock_db -u=infodba -p=***** -g=dba
- Z$ x' a k4 U N6 n: I$ E) c8 N l- I! q
/ R* d1 i) ~1 H ]6 V3 Z
. t$ ]) X6 X) Q3 Y* G ~" i( dExecuting command 4 of 13...+ u( _4 H6 I' ?, {
Section: database-preparation5 v) u2 ?: z9 \3 h
File: install_runner/ R2 S' e. T/ L4 B
Command: clearlocks -assert_all_dead -u=infodba -p=***** -g=dba
! D7 ^$ J& |8 k5 D1 X" K- W
1 R% L. d, ~# _, n
, a# _% @ D% |2 K: s) i3 P, Y8 `
Executing command 5 of 13..., C% `7 K4 j* l# I F$ s
Section: schema& B! f2 ]: ^3 F. ]. u
File: install_runner( X" N5 x. F* D% X
Command: business_model_updater -u=infodba -p=***** -g=dba -mode=upgrade -update=schema -process=all -file=C:\Siemens\tcdata\model\delta.xml$ k* ~# q. @6 p6 `
! M, l# g3 L3 i* C9 O" Z( h
# [8 ]/ E' z3 r3 R" \3 u: W1 U0 g
Executing command 6 of 13...
+ u# Y5 |; |3 X6 X" oSection: schema
; h1 I4 N+ y- y& {- m3 ^4 hFile: install_runner
+ w2 O. B2 V+ {% i) n9 {! t1 aCommand: install -regen_schema_file -u=infodba -p=***** -g=dba% I* U7 ]6 @1 R" s
! g) a& k% t$ h0 l+ G* `
8 }! v3 d! ?; Y0 ~6 K4 y& e; m+ Y
. j& W3 F1 [/ \9 d* sExecuting command 7 of 13...
4 R% j4 L7 k% y5 G, d* MSection: non-schema
4 w0 \; X* I: \5 _7 NFile: install_runner! y$ O% c6 L* S6 v
Command: business_model_updater -u=infodba -p=***** -g=dba -mode=upgrade -update=non_schema -process=all -file=C:\Siemens\tcdata\model\delta.xml( b0 @& Y$ D2 D/ N' ?1 C8 G: s
( w7 o, {: \- ?: M2 X
/ l6 n) B3 z. T
) K' B0 D! z" ~Executing command 8 of 13... q) O& d$ K- a+ T8 {9 G
Section: post-non-schema-add7 g, @, @) g* K8 B# w, K) ]' F
File: C:\Siemens\Teamcenter10\install\nx0tcin\install_nx0tcin.default
2 E/ z6 A# N, |5 FCommand: 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
7 |3 [( L* {: E4 N1 }; u9 k3 {
+ @) J: [) w# u# \$ y, Z* ]$ l
7 j" {/ V8 E" C1 f9 b2 N
9 Y2 A P- k( [; v' PExecuting command 9 of 13...( n) M2 K7 B+ o) C H
Section: database-finalization
$ b& k9 l" s7 GFile: install_runner
* h8 e1 a% h) G, oCommand: bmide_manage_templates -u=infodba -p=%TC_USER_PASSWD% -g=dba -option=add -templates="nx0tcin"
+ G: d2 B1 T9 F S
/ Y7 u" G& P# E* n% E
& T5 \) X6 t5 ~0 W/ y
3 L+ [, P: r6 A8 } MExecuting command 10 of 13...
9 r5 v6 C0 {$ V. zSection: database-finalization
- B9 z# _5 E% b9 q, X# a8 O$ eFile: install_runner
8 m: v8 u$ \( D" h! vCommand: install -regen_schema_file -u=infodba -p=***** -g=dba5 k. i o" K/ ]! h5 b
/ P5 x/ R3 ?- @/ |( |: ?& w
* p2 c2 A5 } U8 f, B5 B- P/ r6 \. j- |+ w7 v* f8 j
Executing command 11 of 13...8 g2 p; I- H6 O6 B( |5 Y
Section: database-finalization$ f! H' `7 U5 p' D0 K4 t. d; \
File: install_runner
" N1 ?5 L. B+ w2 D9 v) b! n! qCommand: clearlocks -assert_all_dead -u=infodba -p=***** -g=dba9 @$ k8 a7 n0 f9 I. l
5 w* J$ G' n7 R
8 _! l- Y+ f" l' n7 I
# t8 {1 v, H+ D; _& x JExecuting command 12 of 13...
3 W. g% {& [% h9 t8 A0 gSection: database-finalization
9 w& H" o3 I& v( ^6 U7 bFile: install_runner' W, R" \3 A' o
Command: install -gen_xmit_file -u=infodba -p=***** -g=dba3 h K2 q# Q2 H8 V( }
/ m8 {8 F; f6 p
! g7 a% s: D A1 l
8 a& Z6 g3 F/ `Executing command 13 of 13...5 q8 b$ N; X s* }. l: U
Section: database-finalization
7 S- X! M4 j% R L6 q3 uFile: install_runner- i) j7 s" f; [# @3 w& Z4 A; m
Command: install -unlock_db -u=infodba -p=***** -g=dba
6 r7 v# H' d4 h8 |: ]
v9 s1 T+ E) @' F$ r |
|