|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
发现了,执行的都是些常用的utility,拿出来看看!
5 z0 x( v3 q; I- N( c/ e# F0 E, O/ M# ~$ ^+ y8 {
首先是设置环境; M' }) E* W( p8 [0 b1 \& ?
! f6 E. f5 e4 Z2 c1 S5 W( r& o( B. Y
& L% v! B" l8 y" d
Setting up Teamcenter shell
: I6 w- `: O% J3 g* \- k4 C ^! J" @- }
! g4 Q. u. E' c3 ^Executing [set IMAN_ROOT=C:\Siemens\Teamcenter10]3 c( |& j: S$ E# e/ q) o9 L9 g
2 x6 s( e" w# F8 Y% I( o1 J. y
`% U! }, d* x+ l B0 y2 AExecuting [set IMAN_DATA=C:\Siemens\TCdata]
& o# h# x |( U' g
3 c3 @7 C& }. R/ _8 O& m+ h6 ^5 K9 T) w7 ?9 ?. D6 N
Executing [set TC_ROOT=C:\Siemens\Teamcenter10]4 h1 |- c, ?7 M* z8 h$ l
' w# v& w2 W; n+ k8 a' D% g1 x& p) n0 M$ L; J- _8 C3 Y+ k9 ?
Executing [set TC_DATA=C:\Siemens\tcdata]% c' j, A3 e9 K* a7 c! S% N
, S. l# o% r3 s% |4 R( a& P9 s/ m( S& m. U# a) Q
Executing ["C:\Siemens\tcdata\tc_profilevars"]- ~0 z( M4 e% T) O
Output from command: "C:\Siemens\tcdata\tc_profilevars"7 E5 O4 s( [8 }7 i+ Z
command_exit=0% A, ?9 f3 \- D$ L8 X' Q
Exit Status 0, elapsed time 0:00:00
( X7 f% G4 m2 Z$ d2 L3 [
" T3 X& l- P0 z, O/ j) L v) l+ \1 e6 Y- a
Executing [set TNS_ADMIN=C:\Siemens\tcdata]% E0 K0 B2 B9 h+ ?/ \8 C* M
0 x0 I1 g. O3 s8 M
4 W8 b" w" q* |8 A* u: E$ X$ JExecuting [set IMAN_BYPASS_CANNED_METHODS=ALL]& `2 [5 S3 n$ V7 X" |+ a
$ q+ T* }- _& G, {# e/ _
s7 y$ ]! h- D) R# O% nExecuting [set BYPASS_RULES=ON]5 D5 ?# _2 {! W
5 k( F4 `: g# V& k8 Z8 G. p3 y8 \4 U7 x6 g a7 _, U8 e
Executing [set NR_BYPASS=ON]
8 `( F9 G5 q0 V# l* [( t# `# |* `; @
1 t/ D" N0 B2 B' ~0 \4 u
0 ]. Y- `* ~: cExecuting [set BMF_BYPASS_ALL_EXTENSION_RULES=ON]
+ D' [& h) ^0 @! D" k, u
" w) `% R- d9 F( M, C1 [, R0 ~ {! s0 v Q# S
Executing [set TC_USE_METADATA_SHARED_MEMORY=FALSE]$ Y% p9 C$ ~. w1 L+ c: Y
" c2 b& G! w/ i( V! e9 H! Z5 g5 r% T5 H
Executing [set TC_KEEP_SYSTEM_LOG=true]; ?' |. Z* Q6 |% ~5 C- \+ Y
2 G/ e" k4 C) P5 u- V
+ Z: d+ W9 r) l, TExecuting [set IMAN_KEEP_SYSTEM_LOG=true]
6 W) V1 {" D8 b- ^# F8 S9 V$ H: a. M
0 c1 \, _$ n2 {$ X. ~+ k
Executing [set IMAN_TMP_DIR=C:\Siemens\Teamcenter10\logs\1311250352]
/ ]: S( W$ `2 n. n; _0 ]
8 h* k5 r5 a; u$ b: E2 y
$ f9 Z: |+ Z9 T( g' TExecuting [set TC_TMP_DIR=C:\Siemens\Teamcenter10\logs\1311250352]
1 w8 ~2 J4 D: h' v# \1 Q9 ^
8 l" E- |) X* F f# J4 Y4 g# ^" w0 Q" z: p' g& l
Executing [set LANGID=EN]' H9 G3 c; @$ l; f; p8 U t) I2 d
2 @9 d/ E4 M* x1 R2 u# O
1 D: v5 v% d% |5 F/ DExecuting [cd /D "C:\Siemens\Teamcenter10\logs"]% p& P' e( V" s2 }4 A
Output from command: cd /D "C:\Siemens\Teamcenter10\logs"
" D+ o3 O& k2 Pcommand_exit=0
/ k' L3 l7 I! X0 `Exit Status 0, elapsed time 0:00:00
9 \' Q. v' C4 h3 d1 V) m7 K...Done
: v8 K. {- w' [2 c$ |: j
' I4 F9 q0 W: l* y& j
1 `0 {; |( s( F$ ?# Z' [3 ?) Z5 tExecuting [set TC_INSTALL_DIR=C:\Siemens\Teamcenter10\install]
& I. g" H/ x) c8 q. U
4 x0 j6 C* ]/ K7 c+ T
0 @4 T: `/ H# H7 _- b. \- oExecuting [set IMAN_USER_PASSWD=*****]
' {; G& k2 Q$ ^8 d- ]
' J9 g/ z* Y% c, s2 }4 W' i# A9 d* H/ s1 X0 M+ c( a/ T
Executing [set TC_USER_PASSWD=*****]
/ \) ]; _/ T/ O: }# p, D/ F% ?( v3 a- L$ _7 h: _/ j
$ j0 h; q+ @ q! F+ N$ U, s
Executing [set IMAN_VERSION_STRING="TEAMCENTER V10000.1.0.20130604"]! ^$ J+ q8 B# Y4 c+ T
; t* a' J$ ~ D) o
0 c) y5 y v% |0 Z+ b" sExecuting [set TC_VERSION_STRING="TEAMCENTER V10000.1.0.20130604"]* ^/ Q) X! z9 R$ W7 P
0 {& Z1 i' b7 f1 }- k% F: D$ E
4 G: H4 c1 A4 l, M) b, y' Z9 j2 jExecuting [set LANGID=EN]! q0 S( ] i) S
* a+ V- I5 l6 J! t2 m9 s
& w" N4 d( W8 S, f, sExecuting [set ORACLE_DBA_USER=system]9 `/ H) V$ i, H2 s( y' z) M( K
- R: Q% C, M; N. b" L3 x3 N1 ^: t2 v- J' A
Executing [set ORACLE_DBA_PASSWD=]
9 e( d$ c% {& [1 k3 [1 w; P9 F( @0 I% e
# N6 b/ F N2 r
Executing ["install_runner.bat" -u=infodba -p=***** -g=dba -templates=NX0tcin]: f4 h+ q9 K' v. E, J
$ C+ m S8 A s! x$ T" r5 \$ [
8 x0 _3 e" r+ b4 K
看看关键的utility吧( X$ b( C4 x" A; C
; V' N( p8 o; J
! K3 a+ P; C7 ]; k/ O: o: \Executing command 1 of 13...
8 n4 u* V+ M0 r/ F" @, TSection: bmide_pretemplateinstall$ l# w$ i( h- d7 P% b
File: install_runner# H D/ k- `( c' g% `
Command: bmide_pretemplateinstall -u=infodba -p=***** -g=dba -templates="nx0tcin"! K- q, [+ B ]' V% o2 I/ t0 }# J% a
# q& x. L* Q/ b: ~
* H: K+ Q) m/ m2 |! Y0 M w
8 E* q& h/ j7 _2 S2 ^& j$ q
Executing command 2 of 13...+ y% o4 U# e. e% K" t* R
Section: database-preparation+ m" o' d% H- ?4 f4 @8 r
File: install_runner
) S! ^ z) e8 c! r, sCommand: install -regen_schema_file -u=infodba -p=***** -g=dba
5 d+ E9 _. k( @% |4 J5 h
* r' V8 e4 _. v' X) R& u0 `- ^2 }- W8 [( p' W5 \% s: v
0 O$ g0 @8 Y: a8 i3 X! l" o( U
Executing command 3 of 13...
# g' S6 `8 H( d3 N3 ISection: database-preparation
* B% R3 Q C+ g( I6 q, _% l% VFile: install_runner: _: O b, N1 ]+ N" F1 F& m+ _
Command: install -lock_db -u=infodba -p=***** -g=dba
+ l" j. q- _% {9 `6 E4 L6 B* e$ e
* s! N& T. G: Q. x( H) o3 J3 e: w: |( E( y$ {
1 X% @' `, ~/ [( j, ~3 O
Executing command 4 of 13...
2 P# d( c* \0 ESection: database-preparation
. B6 f7 q8 D7 ?; }; H+ N4 HFile: install_runner
5 b7 X' X9 w3 |. r6 J4 m" rCommand: clearlocks -assert_all_dead -u=infodba -p=***** -g=dba. w$ d( i+ _$ O% A A
( q3 v! Z2 |, p. X' c% V+ w$ N
& M& G$ E! N7 y$ i
G( B: ?8 c* a% |) O$ m2 i) S
Executing command 5 of 13...; s$ c! h/ _. o! S' u, j' E# A
Section: schema
/ I! _0 g- G0 k0 E% ~6 |% q% lFile: install_runner* P) T R3 J- K
Command: business_model_updater -u=infodba -p=***** -g=dba -mode=upgrade -update=schema -process=all -file=C:\Siemens\tcdata\model\delta.xml
1 I/ _5 G. O, e, l$ K2 \- @; g( q1 p) w
0 k. E$ s* @+ z |
4 E5 w3 @. G2 m( b! k4 X
Executing command 6 of 13...
: `8 x4 N9 h1 zSection: schema+ a. e/ E0 I$ { G. R/ r9 G/ v& H
File: install_runner. e7 i* U" [, D9 v/ {% i% ^- {* m
Command: install -regen_schema_file -u=infodba -p=***** -g=dba% _3 R$ _8 e; _ |9 V$ m/ }
" @- J8 K7 _: }/ S2 m7 }4 a, ~" n
0 b7 O3 z1 J$ M$ D( r
$ `$ L ~* D8 ]8 T2 o' u' RExecuting command 7 of 13... U- u4 L4 [+ N) K
Section: non-schema2 ^5 q$ R( h9 s8 M
File: install_runner
, g( I# K8 H& ^* Q4 vCommand: business_model_updater -u=infodba -p=***** -g=dba -mode=upgrade -update=non_schema -process=all -file=C:\Siemens\tcdata\model\delta.xml
, X q- [# S1 K: i1 u. r, S3 t0 G/ w* b
& R( v! o/ o6 k1 r1 ]) ^' ] P% T2 C0 j3 F% f! x2 ]
Executing command 8 of 13...9 |( g3 r* C/ }# V# p
Section: post-non-schema-add) J: F2 W# q0 W6 j+ J2 h
File: C:\Siemens\Teamcenter10\install\nx0tcin\install_nx0tcin.default
* G0 ^. T/ F1 jCommand: 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
) q" Y6 q8 b; c V. t! M$ [' D9 X+ I
: e* ?: _* {* M# B. ^* D* a: r% E; A! W5 }2 b1 K- c# {
% ~4 y# Z; M( R9 j" g" t1 l" AExecuting command 9 of 13...
5 L6 ] [; M# E. ?Section: database-finalization1 ~+ \) Z! |7 j* y
File: install_runner9 J. S, u" o! _2 Z1 u- `$ F4 u7 E
Command: bmide_manage_templates -u=infodba -p=%TC_USER_PASSWD% -g=dba -option=add -templates="nx0tcin"
/ Q/ q f8 i+ F9 [5 ^" N. k/ i0 B; v9 v0 U$ u; d- `
, J; g' t6 d! v5 b0 @! Q1 M ^6 r2 g
) z3 L' [* ^8 D0 j/ X @' I* X( H
Executing command 10 of 13...
# }! W/ e- ~* C8 v5 ]Section: database-finalization
- S( ~, h' K- N8 L$ XFile: install_runner
3 v+ u$ t# c' s5 r4 ]3 F" Q6 }; v7 ?6 QCommand: install -regen_schema_file -u=infodba -p=***** -g=dba
9 V1 Z( a1 V" q8 j4 l% l/ n D. V9 p- u* N
2 G( U5 \6 c2 I0 J% c0 y
2 e5 W) ^5 H6 ]$ DExecuting command 11 of 13...
4 `, l' M) W" a, ~7 h# gSection: database-finalization
* V* X" w" w8 X4 A7 i, [File: install_runner/ q1 e: K3 w9 P9 f/ W0 z3 X: e% u
Command: clearlocks -assert_all_dead -u=infodba -p=***** -g=dba+ D* V1 G, {) h. @4 a- R3 b
, f( C( b9 x& x! @
% k2 p# `& `+ y) E
9 x& D" M; ]9 zExecuting command 12 of 13...3 c0 F/ g- h; k
Section: database-finalization
/ M+ h! O8 ?5 h% [File: install_runner) @1 Z8 n" v; o7 J/ ?" \' U
Command: install -gen_xmit_file -u=infodba -p=***** -g=dba) G- T5 g( M% r! p
; G' R6 i3 i9 n& P. V/ P6 R2 S
/ Z+ [! F! i4 m5 Z# a, P3 i" l
$ @1 l# s' l1 ] I' yExecuting command 13 of 13...
% W& T( j. o; k kSection: database-finalization* `3 N# C1 L# X7 ?& x3 f
File: install_runner- b) f3 M- H- y% x* X
Command: install -unlock_db -u=infodba -p=***** -g=dba1 P$ ]7 Y/ C! ]3 v
$ E' j, X4 H, _ i5 e# b |
|