|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
Teamcenter11.2 升级到 Teamcenter 11.4 图文教程
6 g% a: x( q3 A W视频教程请参考plmhome.ke.qq.com; ^% H) r3 Q: `. }& k& z
; t( M: m2 I, _6 y3 W# A _
===Clearlocks======1 g6 j9 R5 Y; [2 a$ \
clearlocks -assert_all_dead -u=infodba -p=infodba -g=dba
& a7 V9 a. J: K# j- X" D* ]clearlocks -verbose
% S% J! R- `5 q4 B5 D# |: {9 t ]8 T5 i; M& r F1 \' T
! w2 O0 u9 o" O5 G3 U11.4 的升级比较特殊,特殊的两部如下:
1 H8 d% ~" u3 o, x N3 t; Z8 F; l1 s$ J
REM === Migrate trace links =====. j, q6 v9 |9 X6 L4 I4 ?
$ V7 B" a2 u6 q5 U
req_migrate_bomview_tracelinks -u=infodba -p=infodba -g=dba* c4 Q! A x6 i2 E& O7 [ B
) r$ A O5 _' }" h% L; i1 d i
+ b* g/ q7 O B2 p, X& B( p0 C; x8 f====DB =======6 a9 o0 p9 g8 ?) W4 k
=====backup====
1 Z3 q2 q! h! k1 Z/ G8 X$ k" b: Z5 ~5 u
+ m2 Y# K+ C) u9 F3 L4 tREM ==Estimate tablespace requirements for update====
[5 b- Y! b( T7 QOracle databases:
5 B7 V: |2 t& K& j7 K2 W5 A( W8 B1. Back up existing Teamcenter data.
4 \6 O# P, d- ^2. Determine the tables affected by the update to Teamcenter 11.4.
. l9 o2 p* ~% Pa. Enter the following SQL command:; M" y. g8 i! c" u* g" o; W* \
: u2 O# P- J/ c* W3 X/ f
SELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 8192) <> 0
8 v$ b2 y% Y2 s p7 H2 }8 iUNION4 G: n9 ^+ {9 b
SELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 32768) <> 0;. @( Q6 D( V [/ p. I
2 z+ c* P* T* O' ~2 |8 t
b. To the resulting list of tables, add the PIMANEXPORTRECORD and PPOM_STUB
4 `& U/ r1 T$ Z; ltables, which are also affected by the update process.2 [9 n5 Q& e4 ^1 f9 v' f
- h' r8 F% ~7 S5 J' g0 x! L- HDetermine the amount of space consumed by each affected table.
[+ v7 p6 I& s/ j. D& ?+ fFor each table identified in step 2 (including PIMANEXPORTRECORD and PPOM_STUB),+ X ~1 a% D( t0 T7 W+ l6 o5 j
: Y/ S% K, E ?0 P( b0 `) nenter the following SQL command:
+ J, ^. q* h/ Z1 gWITH cte13 Q, Z/ _* I- h- |* `% M
AS (SELECT table_name9 S8 s* h) S, ]6 `: ]. J2 K
FROM user_tables
) g3 F$ q! D# m7 X& V" l/ M8 fWHERE table_name = 'TABLE-NAME'),2 h# @9 R- E& [+ }
cte2
7 i$ q m7 n5 v* hAS (SELECT SUM(blocks) * 8 / 1024 MB
3 |, K$ P# H) i' ^( ?* kFROM dba_extents,
5 L" b9 U. v3 Rcte1
# R* X/ p, Q$ u! e. d# ^8 VWHERE owner = (SELECT SYS_CONTEXT('userenv', 'current_schema')7 {0 s: ?# t: ?% v! `* w
FROM dual)
8 M+ n. m# ~0 `AND segment_name = cte1.table_name)' L6 U$ c) q1 S1 v; f. b: c! O
SELECT ROUND(SUM(mb), 0) || ' MB' AS ESTIMATED_SPACE
0 k1 e+ o; N" HFROM cte2;
" V) a, Y* @* _( d# M1 {: c: d- n" x. I
Replace TABLE-NAME with the name of the given table.( K4 _, A O6 A
' f, I* G' B9 \# E$ h: p. G4 B) p8 t# j. x% ^7 R
) I/ t: M3 B Y7 \. S5 z( C
REM ==unzip install.zip ======% }1 q4 D; X- ]; ^! I
8 M& m9 s) s: Y
TC_ROOT\install\install\unzip -o install.zip
; S# ?, I4 X- a b4 W0 m0 P \% U. V- t L
5 C4 a& g. B. `& t/ o: m. Z# ~% X; }. _4 y8 v0 ~5 l" X( [* y
REM ===Install patches on a Teamcenter server====# Z f' i. n8 d! X* v H. y8 B B7 O0 G
+ \5 O l4 O, r4 e1 x u
TEM--> updates manager . y# s$ ^. R+ J+ ]
0 `$ }( t4 v4 i7 \
REM === Update kit location : product-level_number_platform.zip // Tc11.4_wntx64.zip
* l& o) @9 e1 |# T/ g0 U; K- E+ g' S6 u% @+ m$ O7 Y# `6 q
After the server is successfully patched, you must manually update your TC_DATA directories.
7 r2 G: F# n) d9 z* ^" `a. Create backups of your current TC_DATA directories./ X/ H( ~% |; T* i; W6 H4 D/ p
b. Expand the platform\tc\data.zip file from the temporary location you created in step 1.
" O) t2 F) E$ N* Sc. Copy the expanded contents of the data.zip file to your TC_DATA directories, overwriting' C# X5 [- G7 Q3 ^
existing files.( N, S; \' I' I) N, b+ z! O9 ~
d. Copy the tc_profilevars.bat file from the backup to the TC_DATA directory. m2 G" j( S$ g4 u$ M- o# e
, C& n7 o7 M/ _. M- m; h% V
6 i. C; V# K9 y/ q! r5 `
$ N" J( ^7 l; c7 ^& f% e% j' S0 W9 f6 U- b4 o, i) _
, Y8 I+ `7 l% g v
) T; U$ z6 {' P4 N) `========Patch the rich client using TEM
- v4 U: m& E/ [+ p========Patch the rich client using the Over-the-Web Installer( [1 y8 \& W0 A0 B6 [, w+ ~
S: m9 y: t+ ? ]! M
! u/ A+ n0 I" Z! g; n3 T; Sa. Click Reinstall Solutions.9 S0 V% }# k, v- y' o, n, F2 H
b. In the Reinstall Solution dialog box, click
$ i3 J6 U$ [, d- O* N, X: _OK.1
% O0 Y- u4 o3 j; qc. In the Confirm dialog box, click Yes.
! A; ]$ t& e: M5 f9 r; s# yd. In the Modify Required Context" V+ D- V) P& l- e$ {1 f
Parameters dialog box, click OK to begin: ?9 F7 `! J1 [7 {1 N) \
patching.3 E9 n5 c# E! o U! R
e. After the patch is installed, click OK to
4 P# _6 z- ]) O/ sclose the Progress dialog box.4 q6 a' e0 m! T6 U3 c* @
9. In the Modify Web Application dialog box, click OK.' p# C5 S8 w0 q5 }, ~& d
10. Exit the Web Application Manager.
1 Z" M& e7 m1 e8 W# K11. Copy the otwweb directory from your WEB_ROOT\staging-location\webapp_root directory
% N: a- z% C* L) W* K1 O; vto your web server." d% ^1 ]1 |: ~$ d) z
12. Restart the distribution server./ ?* i* V. e8 q1 g) W
4 \3 [( `6 ~2 |* A0 ~- c1 _* O
=====Patch Lifecycle Visualization====
) L8 N$ s7 X+ i. W* G0 i
8 T: F4 L# u, a6 J7 m0 X9 z% T( k! I. @2 U2 }+ Z( D" c6 s
3 O$ w+ f8 R' ^0 r, D, l===Patch the web tier======; n0 J/ _ z5 l' X5 D; v4 H1 _& v% X
) R D9 W2 m* G# O2 J# i, f
' `) {$ a- u; Y0 v! _ C/ Y) g
+ P' A$ i: @$ X3 s" U' _. a' B6 y0 f- v& ?
( \" d5 o3 [/ D! ~
|
|