|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
Teamcenter11.2 升级到 Teamcenter 11.4 图文教程& X: v( K# K- N) [/ P* C) s f* }
视频教程请参考plmhome.ke.qq.com% l) z; Z6 B$ [& \9 Q, p; h1 J v
, h1 F) l3 M3 |===Clearlocks======
0 c. Z/ R6 r# Z5 xclearlocks -assert_all_dead -u=infodba -p=infodba -g=dba
5 {- b2 A/ X6 `1 fclearlocks -verbose
5 b( n/ a, V- ?. P. c$ t8 E, _# {* T* G9 L: |+ {
) ]' n, y& `$ `% L11.4 的升级比较特殊,特殊的两部如下:6 V( f8 q- [1 O* }( T! E* o m+ V, e, @5 k
`/ a* s5 V, A" l N
REM === Migrate trace links =====
* A4 {2 J" E8 C- f* [- d
, @( _& l, e3 P$ G vreq_migrate_bomview_tracelinks -u=infodba -p=infodba -g=dba
% \8 B# d/ U5 ]* N! t) s/ i6 M& O R9 _9 s1 I/ L
5 v: n$ `1 K8 \5 Z! `8 e3 D# X
====DB =======( E S5 S0 j1 N9 G; r
=====backup====0 k2 b% L, B! R
4 E# F+ k1 R* M* D
/ n1 i( G1 y9 f+ T2 a8 E( r0 b- s" @6 ^
REM ==Estimate tablespace requirements for update====. t. K0 `) R3 \! ^' b9 }. r
Oracle databases:
% F- V1 c7 y$ B$ [1. Back up existing Teamcenter data.
' |7 t0 w. @; b/ E: v1 r, w2. Determine the tables affected by the update to Teamcenter 11.4.
1 J* S) P: I6 l. Ja. Enter the following SQL command:
! U/ k+ D: X: V6 ]) @ v0 s) w. l7 x; C
SELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 8192) <> 0
4 B6 [% j$ w& Y" D# L, S- ZUNION9 J' `* ^2 F# O5 A5 C
SELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 32768) <> 0;
' q. f- o. b6 q5 R5 }* Y7 P. D9 ~
b. To the resulting list of tables, add the PIMANEXPORTRECORD and PPOM_STUB. ?9 X7 P8 j/ Z/ h2 c
tables, which are also affected by the update process.
i1 Z5 x. F" y6 x! `
w5 G6 g C# x* JDetermine the amount of space consumed by each affected table.4 A4 H. F2 d( p6 N
For each table identified in step 2 (including PIMANEXPORTRECORD and PPOM_STUB),; t$ Y; F4 j/ A. c
7 p# o+ c5 `% N6 m" {+ h, X
enter the following SQL command:
: x+ [, S2 z" @( ~, NWITH cte1! J* b0 L( O; i' ` @ t0 K* `+ k
AS (SELECT table_name
( y# K! ?0 g, W5 H0 P% fFROM user_tables2 ]4 d/ v9 x: I# O
WHERE table_name = 'TABLE-NAME'),
" e( v9 s$ N2 V1 Ncte2
4 S9 S& e5 J' ~7 E' N) _AS (SELECT SUM(blocks) * 8 / 1024 MB
; v5 v# R5 }9 Q GFROM dba_extents,
: r' R" K' [ g: M3 |& X0 Qcte18 R% S0 Y( ]4 e0 E$ S9 W+ V2 A
WHERE owner = (SELECT SYS_CONTEXT('userenv', 'current_schema')$ Y* g5 e8 D- B9 v: n/ w
FROM dual)
+ Y* B) w/ Q, ]6 Y% P1 l$ \AND segment_name = cte1.table_name)9 z& g5 x: \/ ~
SELECT ROUND(SUM(mb), 0) || ' MB' AS ESTIMATED_SPACE
4 j. C/ \* S# i; Q( l1 B' v* [FROM cte2;: c/ b* J# ]. |
2 k, T* ]7 g! o |9 Z
Replace TABLE-NAME with the name of the given table.# O' X( J/ F; w, y5 Q% A0 X
! k# M9 ?+ W) q7 D; m. |; {7 F/ F* [' [& u) `+ _6 @0 N
6 N6 `/ T8 p( Y3 d& h
REM ==unzip install.zip ======6 B! ~' K9 k! }- l8 z
% O; h% t& `1 y0 `+ [TC_ROOT\install\install\unzip -o install.zip
* ^9 t" ]1 q( j. N: m
1 J/ T7 I. k+ K0 W7 D* ]
- B0 V9 E- U, \8 h) r# d7 y2 i8 u% Y. q
REM ===Install patches on a Teamcenter server====
( y- P7 D% s0 R/ H. v8 r' {% C. F! t7 B/ @+ K2 w! ~
TEM--> updates manager
. z( Z% V: h: T' ]# ?
: _1 s0 `( T$ Z$ t- [REM === Update kit location : product-level_number_platform.zip // Tc11.4_wntx64.zip8 a" q4 p1 w3 P# N1 _/ X
+ l# ^) O# ] o1 r/ NAfter the server is successfully patched, you must manually update your TC_DATA directories.
- W1 ^$ U/ O! }6 t* |a. Create backups of your current TC_DATA directories.# {$ o: v- S8 D# {
b. Expand the platform\tc\data.zip file from the temporary location you created in step 1./ h4 t0 X% ]$ ]1 P F
c. Copy the expanded contents of the data.zip file to your TC_DATA directories, overwriting D8 {0 P- h: h& p
existing files.
7 T/ D- b( o4 H0 G$ yd. Copy the tc_profilevars.bat file from the backup to the TC_DATA directory.
4 t- K) Z! ]# |; r" G" n& X
( l1 S, h6 W4 j& Q; {5 T8 S; n# O0 J
9 S) a( [; T7 N9 h! m
; h6 W$ v; W. ~7 y- ]
' S9 F9 C9 _ R% v! j" I! D3 S4 W; S
========Patch the rich client using TEM/ o. x# R% {* m1 z' u% c4 V
========Patch the rich client using the Over-the-Web Installer
1 \- T: n+ i: }' b3 O$ F, g2 [
- z- d, I8 M5 V# m* x9 L4 V: e, P' a
a. Click Reinstall Solutions.
. Z- n7 B& J. K6 _# p3 K* o- xb. In the Reinstall Solution dialog box, click7 H1 y. R8 m# m4 r
OK.1
/ I' W. s3 }3 V/ G: Ac. In the Confirm dialog box, click Yes.. V! {; C5 _$ b) `( n- D
d. In the Modify Required Context
" V3 l' [: O" O5 F% hParameters dialog box, click OK to begin: S# U# a8 g& h5 a, }: s' h% U
patching.5 n, x$ c# U' e! i- ]2 Q: R% w0 W. k
e. After the patch is installed, click OK to
+ Y. }+ D& x* l/ N3 V- m a4 x9 ^close the Progress dialog box.
# g2 A3 L# d# v! z9. In the Modify Web Application dialog box, click OK.3 f n) Q& J& p' q0 x% i5 g, I
10. Exit the Web Application Manager.% a, s4 Z- b0 ?' ^4 J4 F/ h
11. Copy the otwweb directory from your WEB_ROOT\staging-location\webapp_root directory
$ @6 j' N- ?, N) X0 [/ R7 eto your web server.% ]) a6 ^7 I5 B5 T$ s* J
12. Restart the distribution server.
. ]" @: J( \+ ^7 \: r. p. `; [8 \3 U" x9 _/ K& ~
9 X" k8 D) q( Z& e& A
=====Patch Lifecycle Visualization====
8 z( M V1 T2 _5 d8 Z, k. B! c5 Y5 H7 M- X' b$ e" @8 y* L* p: R! ]; Z
0 u4 Y5 ]. m5 L" ?
8 a- D7 d% W! W& b7 Z" t. O
===Patch the web tier======; s4 L7 O/ G3 j
8 F, a; X! g, B9 C, t. ]+ R
% `$ f, P1 r( s( j% A0 O$ G" x
4 ^" W+ Z" |7 c0 `; ?
]* G3 s8 |* r
; V- j7 ]! `! r; |, r+ ` |
|