|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
Teamcenter11.2 升级到 Teamcenter 11.4 图文教程
( N' b* ^& T+ }8 t% ?+ k& w视频教程请参考plmhome.ke.qq.com
2 E t& D5 M# M( C% I2 X, x1 T/ a) J9 d' b
===Clearlocks======8 T5 A: V) C- \% }5 B0 R/ ]) m
clearlocks -assert_all_dead -u=infodba -p=infodba -g=dba9 h% E. C3 ~' S! ]+ `/ R
clearlocks -verbose8 Y* Q# T3 ^( R3 Y
5 Y' d! o0 [& q9 G. q) [9 w3 n
& z" i% n2 K8 w; ?5 o) N) H11.4 的升级比较特殊,特殊的两部如下:+ {6 l* f8 P* f
i6 a, w( C# u/ q1 X
REM === Migrate trace links =====1 }( a# R% W% {) q+ Z* @9 L
: J7 E* L! x) m% Lreq_migrate_bomview_tracelinks -u=infodba -p=infodba -g=dba6 c2 m: d+ t9 D
. G: b3 _6 k2 M' I5 W" _/ x
7 X' K* y$ P7 T+ M, p5 m* Z# b====DB =======
& K5 X: ]' d+ ^9 ?=====backup====
) \ e/ ]: T9 _% v: |0 K9 [' W/ m( E! Y" i; v0 k3 R
6 |8 ^# h0 D0 s% p7 DREM ==Estimate tablespace requirements for update====
8 {: a* }, g0 C% U* L5 j4 COracle databases:! h* V& o4 g0 y. H7 U: A$ R0 m
1. Back up existing Teamcenter data.
6 k: b7 F1 g- S# t: |# B2. Determine the tables affected by the update to Teamcenter 11.4.9 v7 c/ x, L% G* }0 x5 q3 ]5 Z1 T
a. Enter the following SQL command:
0 J; C/ I% W: j G8 s
- x7 k2 Z3 k% r2 S! DSELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 8192) <> 0# b U8 L0 _$ C, e/ s
UNION/ A! Y( b6 I0 N3 i7 Z- }. l
SELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 32768) <> 0;* k7 y3 ^- R. r' t/ Y
! a# m x2 s, `, d1 O( Z5 v
b. To the resulting list of tables, add the PIMANEXPORTRECORD and PPOM_STUB
, {% w q& S4 @- M, p* C* ntables, which are also affected by the update process.9 H# ]- O- b5 J8 x# Y
( i% z1 M; O* e! \
Determine the amount of space consumed by each affected table.+ c$ @+ V+ o1 d- z
For each table identified in step 2 (including PIMANEXPORTRECORD and PPOM_STUB),' |5 d& |7 {) p6 ^1 X$ U' R; \9 @- h
+ _ l+ N7 q/ O: q
enter the following SQL command:% I' N) L% G/ G$ V+ U! U2 {3 D) f
WITH cte1
' L5 q5 U) T! e% F# T7 HAS (SELECT table_name# v/ \" n! E& j% g
FROM user_tables6 c) k) H+ ^# x5 ]' w$ b$ h9 ~$ W
WHERE table_name = 'TABLE-NAME'),
, k$ l3 k7 l' ]0 Qcte2, U" ]+ v* w1 a% l
AS (SELECT SUM(blocks) * 8 / 1024 MB
. y9 y- K+ N/ O- q) n; H. b9 w# lFROM dba_extents,$ C9 x w3 ]' E* Y
cte1
) B' `0 P# S8 }WHERE owner = (SELECT SYS_CONTEXT('userenv', 'current_schema')9 L s7 J! C3 ?! H6 u1 y f
FROM dual)
& I& m& Y: d9 a) [6 A4 nAND segment_name = cte1.table_name)
& e- g% ^2 L: `( i. L3 KSELECT ROUND(SUM(mb), 0) || ' MB' AS ESTIMATED_SPACE
0 U3 S9 }. D9 E; ~1 H( vFROM cte2;9 B# C& S- h A# N& l
( V- J. s9 B3 x' `
Replace TABLE-NAME with the name of the given table.
; f- e' ^( u1 k) p9 B( M$ d1 b, A. y: D# W% J! }
1 N, L0 F) n; o$ G! U, ^9 `
# z# u' B# o# Y; Y; h1 L+ @ @) E
REM ==unzip install.zip ======
P( |0 c5 N% ` s o+ t- M6 ~+ g" G+ R/ D: r$ ~
TC_ROOT\install\install\unzip -o install.zip
% W5 @2 \, s' l! _: k R
6 ~$ T; Z/ N. R, V2 A; Y) u- H
+ P2 v' [% D: Y& a, l6 N8 T. g6 Z; f; Y" Z6 H) d3 V
REM ===Install patches on a Teamcenter server====* }8 Q8 C( b9 k: a0 t1 W; X
% c7 i+ S/ l- t" ~) YTEM--> updates manager 5 u+ x0 Q. Z0 U X9 [9 G
8 C+ ]; `3 l1 l$ N
REM === Update kit location : product-level_number_platform.zip // Tc11.4_wntx64.zip
2 {' m: c7 b, x/ t: E
( i+ U" A% N8 M: I# bAfter the server is successfully patched, you must manually update your TC_DATA directories.
5 b8 ~8 C" U# B) s: |( na. Create backups of your current TC_DATA directories.
9 x# A' w- Q1 Q9 f" j& x! z S& u' Cb. Expand the platform\tc\data.zip file from the temporary location you created in step 1.1 v' W- N3 r `" e4 h
c. Copy the expanded contents of the data.zip file to your TC_DATA directories, overwriting
: @3 }' H. u1 B4 r, ]! {existing files.) h& z! k- ?4 a7 h
d. Copy the tc_profilevars.bat file from the backup to the TC_DATA directory.
3 Q* Z4 u4 M( W) p0 t: r* \+ T8 F {5 v
$ y% @$ R8 Q5 H
. W3 a9 ]' D' b6 U# |9 o3 k
9 w" x) f6 v {3 I) y
5 N* W* j& l4 C r2 F( s3 i9 B/ d' Y$ H' E h
========Patch the rich client using TEM' ~8 V. P4 k% I) x& _# p6 z
========Patch the rich client using the Over-the-Web Installer
3 i1 v$ ]" L# y6 Z. M/ R9 x
$ T, b. x0 b- W0 t' }
6 |) r( j- L B5 i2 x! G! Aa. Click Reinstall Solutions.) Z& I: d4 ?& y
b. In the Reinstall Solution dialog box, click5 \: T: @* N# F8 z. C, E( N: R; K
OK.1. l8 A0 A, z- e3 z: }9 }. M5 q6 X
c. In the Confirm dialog box, click Yes.
- `5 B1 ~5 E; ed. In the Modify Required Context
. }% M% `& D$ I% @: ~1 K- pParameters dialog box, click OK to begin1 }: E# j. ~/ z
patching., |+ t1 J3 ~. A" X
e. After the patch is installed, click OK to6 {: \8 ?0 [( f- L5 Z' c* X
close the Progress dialog box.
! J" _' n' L" R1 u9. In the Modify Web Application dialog box, click OK.# }: g8 O* M4 c& i' B9 I7 q9 d0 ^
10. Exit the Web Application Manager.
- s4 l4 Q- P4 e: w# ~11. Copy the otwweb directory from your WEB_ROOT\staging-location\webapp_root directory% y+ {% {& |( G* K) i) R. v) }: P5 a
to your web server.5 j& O( e/ u8 ]' i3 Q! F8 o* m! y8 G
12. Restart the distribution server.: C$ k, J/ N7 S! I+ v
: N9 [3 r% Z* T3 \" V, N5 f1 t0 N1 T9 D' l, ?2 w
=====Patch Lifecycle Visualization====0 I# x, i, L" W- a/ A
I5 D) Q5 H; x8 ]( ]3 H
% t$ [* ^2 u& d! E0 k2 r$ g+ d1 `0 y! z2 C, P1 K
===Patch the web tier======
1 W7 P+ ]; A W" Z
. X+ \" ]5 y! c1 r2 u" x
$ T @0 H# {$ t3 M0 c; U+ q
8 @9 ]% ^* }8 Q& b( v. b0 v0 Z
2 P' Y& p0 U! y/ |
; ^/ R0 t% K* e8 }, a+ s |
|