|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
发现了,执行的都是些常用的utility,拿出来看看!+ ^ r; ^% ]% B- [$ b
2 e& Y! @( M4 {* a+ ?& E/ Q首先是设置环境: f# p, w% e% J7 n- W9 ]9 y
9 c S/ b, ]( F2 U m1 n4 e. x
; `! b' j4 `5 t2 w' S1 O; O+ ]0 u
Setting up Teamcenter shell
0 U/ P, n; m# ^2 u, I& L$ V5 W* g/ x" F {% p# P7 q6 A
2 n5 W: |. f* x" @4 A8 [' G, ]; x% ~Executing [set IMAN_ROOT=C:\Siemens\Teamcenter10]( u0 S% u* k) ~; f; W6 C% v
+ i, P$ j) r, q
+ i8 |/ Y' f! B, I/ |5 kExecuting [set IMAN_DATA=C:\Siemens\TCdata]; U6 d- F$ q0 D
2 w9 O$ C/ l3 i/ P1 C- r7 N
% E/ }, b4 v- m- y$ s8 n
Executing [set TC_ROOT=C:\Siemens\Teamcenter10]5 t3 Y9 h$ s8 i; G6 f9 Q
9 b( i# p2 X: X& n/ y1 X* v* L4 X/ L5 d& j
Executing [set TC_DATA=C:\Siemens\tcdata]
! [, U1 e3 |9 [) B- a
" Z+ K# L/ L1 G4 \; u: P/ Y S& |) U% Z8 w& V: O; [% `+ W' j+ o( v
Executing ["C:\Siemens\tcdata\tc_profilevars"]
! m$ c) N5 c- h) AOutput from command: "C:\Siemens\tcdata\tc_profilevars"
2 \7 `' j7 Z/ M& Gcommand_exit=0( O/ U4 G0 u, ~4 y4 e5 y# n& V1 s- {
Exit Status 0, elapsed time 0:00:00& W) x0 K/ T) W" L- D( X, d# K' u
- v$ z9 N$ ]0 S" n
6 w' Z& @1 |0 B5 MExecuting [set TNS_ADMIN=C:\Siemens\tcdata]
' b0 M, R4 w; s
5 J: q) Z/ U& R9 w+ k' R" q: w! H0 t' r+ \ o- L( K
Executing [set IMAN_BYPASS_CANNED_METHODS=ALL]' X1 y1 n0 o3 Q: l5 @2 x( Q
; ^' `8 `3 A# P. q7 |
- f B3 P. n$ S- t' K m1 MExecuting [set BYPASS_RULES=ON]
D k8 g! p( D% E) y& R& d1 p# t; T( L. m
% D/ r! [3 [5 l
Executing [set NR_BYPASS=ON]1 m8 o- p" H, o V* d: b; T
# n) P$ {1 o7 A
( V7 Y4 ?! g4 S' L" T2 H/ w$ R
Executing [set BMF_BYPASS_ALL_EXTENSION_RULES=ON]( }( N: F* H. S! Z3 p$ R
- y+ R4 a; ^4 ^3 \8 u: m: a6 V' J% O/ j) }2 E# M) @
Executing [set TC_USE_METADATA_SHARED_MEMORY=FALSE]
! t" U3 q/ Y: @+ n& Z5 O) L, E6 S% j, q1 ]5 K& V2 e3 u
: @8 n s, j) F! G- U
Executing [set TC_KEEP_SYSTEM_LOG=true]
2 f/ {- a: t5 ~$ ~, w6 e+ d6 ^! z8 ?0 ^# S
2 I, \: I4 A/ MExecuting [set IMAN_KEEP_SYSTEM_LOG=true]: p5 P& ^3 p- ^/ t# e5 O( L9 X4 P
# {1 O/ I$ Z" w- F6 L5 x
8 ~6 w8 [' k5 z i/ i" `
Executing [set IMAN_TMP_DIR=C:\Siemens\Teamcenter10\logs\1311250352]7 K0 }/ m: @' B) V
' q+ J5 m& A& f
2 k! b# V: V7 ^$ z; F5 i- M9 f$ b. X
Executing [set TC_TMP_DIR=C:\Siemens\Teamcenter10\logs\1311250352]! H q4 [; H* N3 x6 Z: k4 a
; v1 O# h" u( q0 |3 u8 t1 @. }* W
7 ~! V% \7 d6 S4 l
Executing [set LANGID=EN]
' a; x) {6 \; [( P
, F, T1 h# M1 x$ M- ]4 A5 A& J
% `- ~- d; j' ]% X5 r* B- L# xExecuting [cd /D "C:\Siemens\Teamcenter10\logs"]! a2 i( }( d* h9 V4 `
Output from command: cd /D "C:\Siemens\Teamcenter10\logs"" G2 a, m; G V5 j d
command_exit=0* `2 x- }: t' L& b; A
Exit Status 0, elapsed time 0:00:00
, |, I4 {3 U( {" K2 n+ C, t...Done
3 `$ j+ p+ J; y1 }: B# I1 u+ B, P" R- x/ Z& t) g: L( n
2 N. Y8 z: S. g
Executing [set TC_INSTALL_DIR=C:\Siemens\Teamcenter10\install]2 c( D+ n- ^7 V4 i# f5 @
4 y1 f& x5 A0 b7 ~) {' m% j+ t
Executing [set IMAN_USER_PASSWD=*****]1 D# v% f0 `! f( t1 _: m+ {$ L7 i
8 U$ L; H' |) |! b- ~0 y% `% [7 E4 \& p5 j( Y
Executing [set TC_USER_PASSWD=*****]6 D+ Z! K3 E5 l A
! K7 Q4 S' e0 a- B5 R# }
9 b2 W/ E9 G+ V3 [+ _# eExecuting [set IMAN_VERSION_STRING="TEAMCENTER V10000.1.0.20130604"]
/ p' h: F( q* Y3 S% O) F6 F& _( H' O. Q1 A. x. U
* Q6 F7 p& X& S3 e4 Q% b4 e5 ]$ K8 K
Executing [set TC_VERSION_STRING="TEAMCENTER V10000.1.0.20130604"]0 M1 |$ @9 J4 q" q; o0 L1 c e5 x
0 B: e" j) P2 [, L P" T
! S' t3 p" _% b7 Y' T
Executing [set LANGID=EN]3 a6 k5 u7 q! o
1 o" ]0 f/ m! {& ~& z. ^) H
$ r1 ]( s3 A4 j5 g, c- L
Executing [set ORACLE_DBA_USER=system]7 o+ ^/ s) @/ h! ]+ s2 Y
5 C" z+ P2 W- V4 o; a4 m$ B+ V
8 _, D" h- p3 k* m' G1 b( EExecuting [set ORACLE_DBA_PASSWD=]
$ L, D* o8 j7 t
/ f, n) g& z0 s6 M! x
) q, r+ L7 H! y+ jExecuting ["install_runner.bat" -u=infodba -p=***** -g=dba -templates=NX0tcin]
0 S: [& q5 L- F7 T" [
# \$ p5 @, v, C' Z( S9 }/ O. F; L4 h3 G/ r7 h C- m
& Z) r! R$ @9 }9 J! O" Q
看看关键的utility吧' m. e+ l+ I& c5 e7 d2 @
7 C( x4 w% x8 |/ z3 Y
! |4 b# _1 y5 |- UExecuting command 1 of 13...& w( D: m4 \6 u0 n( f2 k. P: d( |
Section: bmide_pretemplateinstall% \- K0 V1 H) j6 [0 u: [( @
File: install_runner0 Z/ T5 @% J* J4 x% T- J0 A
Command: bmide_pretemplateinstall -u=infodba -p=***** -g=dba -templates="nx0tcin"; N( y z; i/ L" X' U4 W% {
# Q- R& A! K; C- D7 g. M- x" Q/ j3 K3 y8 h
, i; _* W. n- k1 L4 J V1 M6 O+ Z* d, y
Executing command 2 of 13...3 p3 K7 [1 |# B3 g7 Q" ^( \9 L
Section: database-preparation( A4 L2 w. e; Y
File: install_runner# o) p9 V/ Y7 j
Command: install -regen_schema_file -u=infodba -p=***** -g=dba+ A& U k% B; j7 v3 a$ ?, {' |4 X
1 {8 z, h8 l) R0 n( i
$ l9 I( I0 S( |- w
; W7 p9 K5 U- fExecuting command 3 of 13...1 Z7 L' G' ^0 I$ M3 {- Z
Section: database-preparation/ i9 F- r; Z( s+ t" y
File: install_runner
( }: Q0 n0 ~) E1 V& w' u/ gCommand: install -lock_db -u=infodba -p=***** -g=dba
( T! Z4 |: M; Y; J
1 c4 W; ^% `+ E3 [; V; s8 a f
% t$ r* T7 V1 v7 S. S/ y
% K5 P7 i* m7 @9 c I! lExecuting command 4 of 13...5 N' P8 Z6 U' f
Section: database-preparation
w7 d& u: o% c0 {. o* i# Z# [File: install_runner& l, u, W9 g, H# B: U- g' A3 o
Command: clearlocks -assert_all_dead -u=infodba -p=***** -g=dba. z* c7 C" i5 q4 E5 M' y
d9 c8 w0 T( \. `' `& w& Y
, t8 E' Y ]2 s8 t% J% @
' m, l* p' T4 O; iExecuting command 5 of 13...
) ?: Y7 q" A# u# ^9 r, F( g& BSection: schema" N, Z( o U& ] k, R) |0 K7 S
File: install_runner
+ I+ ]1 y% x9 _: _; `8 wCommand: business_model_updater -u=infodba -p=***** -g=dba -mode=upgrade -update=schema -process=all -file=C:\Siemens\tcdata\model\delta.xml+ n8 B) |0 A) `0 u! C9 O' @
o1 B0 B& A! S) `) _ | m7 D
: {6 q- _& b* T4 P
4 \' Z) n" s! f& YExecuting command 6 of 13..., Z: s2 I1 j0 }) \( a
Section: schema p% O c4 w0 l3 C. d. ~& e
File: install_runner" U* {5 A$ }- W1 }! Y& q9 c$ w
Command: install -regen_schema_file -u=infodba -p=***** -g=dba) u0 N8 R8 k, M' i2 g
1 A4 U+ w6 H* |
7 j/ \0 @1 ^" {5 `8 B; i, _# H* N6 G8 ]/ @
Executing command 7 of 13...2 o1 t5 w6 [# z$ H9 X6 g
Section: non-schema
7 g& n1 G/ X/ z5 M KFile: install_runner f @7 V6 R; P& \) @& c5 M
Command: business_model_updater -u=infodba -p=***** -g=dba -mode=upgrade -update=non_schema -process=all -file=C:\Siemens\tcdata\model\delta.xml
/ }; v% M2 O$ c }5 u7 r9 T" ?! E7 x6 u$ J
6 ~5 n: b( n% h+ Z. h. x
6 z: Y5 {8 _7 ?# M! ?" KExecuting command 8 of 13...
9 F4 x8 D. }0 z! |$ FSection: post-non-schema-add
1 B4 [! r3 G/ _8 I& X. zFile: C:\Siemens\Teamcenter10\install\nx0tcin\install_nx0tcin.default
0 G- O# P1 J: e9 `3 ?1 t6 b B% x/ bCommand: 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' W0 M! {% k: `4 p
7 V. X G5 I0 P
6 q- }( d x2 N. y6 g
8 X- D7 D' n( n- I" T
Executing command 9 of 13.../ L' C/ O* U) v! D0 b# x; V
Section: database-finalization
- F5 C. t$ r+ j% [0 H7 wFile: install_runner1 l7 l1 C0 L5 L$ O; M
Command: bmide_manage_templates -u=infodba -p=%TC_USER_PASSWD% -g=dba -option=add -templates="nx0tcin": g2 N5 z j7 |/ u/ l. s
# w. k7 j# O( d
' t, u. j0 J6 H* K* |5 v: K
& |' O! e. d. o" p" N: I+ S7 w' Y$ D" cExecuting command 10 of 13...
3 q9 C0 b. P( uSection: database-finalization
( F, h& L8 f! F {' e6 N6 r) z5 BFile: install_runner% L" J/ I1 i( b0 U9 `/ a6 G( K
Command: install -regen_schema_file -u=infodba -p=***** -g=dba+ _+ P: Y6 u8 l9 A& f1 b% X1 B
6 L! M. J8 k* D2 t9 |( R. _% P8 C
% a$ _9 J" p& T; d! U
Executing command 11 of 13...
/ z; m6 A, D0 c' O$ Q" _0 bSection: database-finalization
# J7 ^# A6 R! Y# N0 o* E. o6 |File: install_runner& v" V6 W& }5 L# T
Command: clearlocks -assert_all_dead -u=infodba -p=***** -g=dba
3 r- U0 e& L4 r+ t/ b" y) b5 |7 s
, R( v5 U( q8 o9 \" l* U. B
0 q9 ?- f- f8 T( [0 q( ?
Executing command 12 of 13...
! d; t0 P! I) jSection: database-finalization
2 @, ?- Y6 n, XFile: install_runner
6 x4 c8 p5 P$ @' P* k; ]1 u' c. }Command: install -gen_xmit_file -u=infodba -p=***** -g=dba1 [" g ~) T6 p+ n
2 |$ T) ?. I" g! P. K2 O0 M* j- w6 Q: D
) A' m t9 [. y: V( }! v
Executing command 13 of 13...& a3 O% B- v* Z+ s, {9 a' G
Section: database-finalization
6 E+ E" U, T6 G F! F8 wFile: install_runner8 t! l& |" d. y2 i
Command: install -unlock_db -u=infodba -p=***** -g=dba( l2 q$ u* O$ S) L- }
' a" |# |7 ~7 r3 s2 t
|
|