|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
Teamcenter11.2 升级到 Teamcenter 11.4 图文教程7 y T5 Y$ d6 n/ H0 j
视频教程请参考plmhome.ke.qq.com
& s$ E: V% E" M
- [, k( d3 r l! Y2 F===Clearlocks======
$ E9 l0 b/ A# S- Y3 X7 Vclearlocks -assert_all_dead -u=infodba -p=infodba -g=dba Q+ F, z* Q& N, E$ `* C5 H/ x
clearlocks -verbose3 ?" i6 N$ S; q& y
^. R `; e8 j" F2 G* T
+ i' E, _* {% C
11.4 的升级比较特殊,特殊的两部如下:
5 C* ?7 N/ T# ?& e% ~0 P9 t. I( _! Y0 J/ H
REM === Migrate trace links =====+ T0 ]0 D4 r$ w# |5 S$ ~
2 T# S$ f; [2 ^6 j9 G5 creq_migrate_bomview_tracelinks -u=infodba -p=infodba -g=dba
3 X: y. t7 t E( `' L9 w8 L; D* s# {- r# _2 n- {8 p
; R9 C* U1 T; r0 H& s l6 q( Q====DB =======2 I( a& D* \, ^, v
=====backup====4 }9 l: i* \3 q+ E( \8 B( I
+ l+ R, g0 f7 [& r& n4 y2 [1 [6 P
REM ==Estimate tablespace requirements for update====4 N7 ?. @: n0 S% T; j: g
Oracle databases:% [3 C; d: k9 \
1. Back up existing Teamcenter data.
, Q U: U7 G8 |5 V8 B2 V% C2. Determine the tables affected by the update to Teamcenter 11.4.
" e6 S# \4 F3 x. `. f/ ^a. Enter the following SQL command:- O0 w9 {6 Q! g, M" H
( p, E" n8 P) D" x* [( l! f$ o
SELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 8192) <> 0
; `4 t( i# H5 m2 |2 yUNION
1 J% ]1 U3 y9 T2 z) ~2 x RSELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 32768) <> 0;* ]* k4 J# Y& M7 p
7 n* V7 [# A# `& Jb. To the resulting list of tables, add the PIMANEXPORTRECORD and PPOM_STUB
& T3 c4 w Q8 v8 s# J# v4 R) jtables, which are also affected by the update process.
$ g4 ` h' @+ R0 _! N# B1 R! E7 S# y9 M. x6 c6 Y( U
Determine the amount of space consumed by each affected table.# v4 E5 r8 R1 V! f
For each table identified in step 2 (including PIMANEXPORTRECORD and PPOM_STUB),
1 {6 e/ D, E% T
8 o2 {! o: E' Q# e$ @; Y7 f+ ~enter the following SQL command:! j/ {% k5 a7 D# z: Z6 d
WITH cte12 j' u M1 ~& T* o* R+ @( B
AS (SELECT table_name' j; R, F1 U+ P; {% G/ s( A
FROM user_tables. ]$ {" c4 G. u Z
WHERE table_name = 'TABLE-NAME'),
" `$ ?5 o6 ^) b0 @- e+ Ccte2
8 S" b: _$ p5 q& Z6 DAS (SELECT SUM(blocks) * 8 / 1024 MB
$ _+ D- [* @/ u/ AFROM dba_extents,! V" N* ]; m0 q" l
cte1# ]8 [' |! e7 s+ s5 P, I0 _
WHERE owner = (SELECT SYS_CONTEXT('userenv', 'current_schema')
. O p! j3 |# ^! I; F1 V! N3 }FROM dual)" R) ?8 G* j! k, ?% k1 L) R
AND segment_name = cte1.table_name)+ n) W; h+ W, z
SELECT ROUND(SUM(mb), 0) || ' MB' AS ESTIMATED_SPACE+ I0 ^& @% W6 w$ C' a
FROM cte2;
# q# A; X7 G8 j$ m7 @
) v5 w& t3 ?$ c" b. RReplace TABLE-NAME with the name of the given table./ k# w8 \. d. _# a+ H q+ X, p2 b
# b& r# a/ }' ~. q2 ^$ d4 K4 S
M" v/ S3 Y3 M7 c: q
; q5 K* i9 V" x: s# ^REM ==unzip install.zip ======
4 S0 [, n3 K* @$ n* e
- J" t1 B. c" D/ |TC_ROOT\install\install\unzip -o install.zip& v9 y3 _. @ x) m0 \1 c
$ ?! D: I9 c$ ?# y& n/ Q# A; V( N; s+ Z" Y$ w& b
3 `; p, r4 V0 [2 X& b: s( LREM ===Install patches on a Teamcenter server====. J: J# V- A" ~- _, W0 E
' y1 a& x: z( A9 ATEM--> updates manager
1 y- @% k+ x7 ^) N2 h$ P1 }
, b$ g4 w$ H e" h2 b( `REM === Update kit location : product-level_number_platform.zip // Tc11.4_wntx64.zip6 i r' |6 k, c5 Q2 ^5 v* W/ `4 P
9 z! S& {, \! w; QAfter the server is successfully patched, you must manually update your TC_DATA directories.
b/ ^* i- L. u( [2 g# R7 I! p* Ka. Create backups of your current TC_DATA directories.
3 \1 U6 ~9 }! u' Wb. Expand the platform\tc\data.zip file from the temporary location you created in step 1.
; Z0 g2 M+ `* ?& F0 Hc. Copy the expanded contents of the data.zip file to your TC_DATA directories, overwriting
' L c2 z5 A: V4 Nexisting files.
& B7 c4 s& i: ?+ `- v" kd. Copy the tc_profilevars.bat file from the backup to the TC_DATA directory.
5 X( C+ z1 H6 c) U
/ x8 U% ^. W% v! \# l" n
`9 ]* Z5 s7 A8 p% |' p) c& l9 L
+ @5 c( H* |0 a
8 z- T. q/ k, G# o
2 U; R9 ~/ D R6 ^' {& Q( q; k% z: @& q8 Y1 p# D
========Patch the rich client using TEM
4 O; V/ D1 g; g9 q" J; P# U========Patch the rich client using the Over-the-Web Installer$ d7 b" H" h' i5 @3 q: q
* Y2 N: q( W+ [9 n* A1 t* v& T4 g" y `# [( G, j: [. l
a. Click Reinstall Solutions.
5 A; {% _4 z3 [/ Y6 pb. In the Reinstall Solution dialog box, click
z, u2 C1 Q! ~ [6 POK.19 \* y9 }" q& d& C" F/ v, H9 K
c. In the Confirm dialog box, click Yes.
3 }0 m8 l4 K Vd. In the Modify Required Context
5 |8 c$ W3 Q; E1 S2 c5 H) oParameters dialog box, click OK to begin, E0 P# h! o) y* G
patching.
& Z$ v% p. T& I1 ^1 be. After the patch is installed, click OK to
, a5 t# w3 q1 k+ `5 oclose the Progress dialog box.
# J! s+ P* d7 Y s* J, Y" N9. In the Modify Web Application dialog box, click OK.% E7 I4 m7 D# u2 J9 D
10. Exit the Web Application Manager." C3 ?3 W' I! z4 @+ z9 w; z
11. Copy the otwweb directory from your WEB_ROOT\staging-location\webapp_root directory
6 O# c2 _+ I5 d& Z+ h; H5 ?5 E9 [to your web server.
: {; r r3 O3 v. ]$ f; e) Q4 v: g12. Restart the distribution server.
Z9 v( D7 `& z1 s2 o! P, X
2 \' y( a3 Z9 f! I0 A- x7 \5 [) `5 ~
=====Patch Lifecycle Visualization====
9 |- ~" x$ y2 |5 C; c# d
" x/ F- i* k+ Z1 |) c
. o" [; D4 i) x' u/ ~* [9 N0 h" i( L2 m3 r* F, m- ]
===Patch the web tier======
" q3 G8 a2 _) K3 @' G3 H5 k
) d" |% `/ p. R1 k
9 g) Y1 K4 X7 n' b7 U
+ z0 V* K- P5 ?. O) R$ c$ y1 F; w0 ^1 w- p) c
# w" d* a! {7 Y. p, e g* u |
|