|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
Teamcenter11.2 升级到 Teamcenter 11.4 图文教程
8 |. c, r a; m6 m! r视频教程请参考plmhome.ke.qq.com
' H. w |8 T7 m8 {" g' v5 e8 I5 u6 g" a# ?
===Clearlocks======
- H! H. P" L( t3 eclearlocks -assert_all_dead -u=infodba -p=infodba -g=dba
0 X1 D& P5 I9 h+ D# i: d! t# [clearlocks -verbose
% f* [/ Z/ V' b. p( b$ b+ T$ r$ a: n9 I$ P5 T# C5 p
; x2 \# ?) x, \( h n11.4 的升级比较特殊,特殊的两部如下:
8 ~( [) B( T9 J- ]% N+ Q
) H% c/ y: E: W3 E" ], _5 ]9 yREM === Migrate trace links =====/ H. B/ A9 t: B3 K
* P1 F2 b: W4 b. h1 G+ P
req_migrate_bomview_tracelinks -u=infodba -p=infodba -g=dba
' D( Q1 |; j+ Q8 L' |( `, e' a5 C" g* S& q2 O" u- o& `
, d8 E% k) h& B. U+ U5 V====DB =======
. i! e8 m- E" |" W=====backup====; |8 w3 V# } a! Y
8 \% q( U6 _3 h% R$ @- V6 J5 L4 }3 { g, E8 \9 O& f
REM ==Estimate tablespace requirements for update====. M- m9 x5 l8 K
Oracle databases:; l9 }2 B: s0 D0 f7 f2 \
1. Back up existing Teamcenter data.
/ y1 ~" |. v8 }: p" E, ?2. Determine the tables affected by the update to Teamcenter 11.4.# f# p$ r1 S( h& f' C @% v
a. Enter the following SQL command: S s/ }. B$ t* Y
' s& U1 W$ \$ _7 k% }4 ?2 B5 P
SELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 8192) <> 0
2 A; _# B$ n" SUNION' _ f; f7 j( P+ a" U2 W
SELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 32768) <> 0;) S' L0 i+ v+ n; ?0 N2 e
# }! S; a8 |" K9 `; r V/ Yb. To the resulting list of tables, add the PIMANEXPORTRECORD and PPOM_STUB1 h2 b2 `; M. W2 v& T+ U# H) r
tables, which are also affected by the update process. J4 ` f) V$ ^1 @+ {% H4 J+ K& G
) r# s) j. V2 W7 hDetermine the amount of space consumed by each affected table.0 a* i/ O, k. d" k
For each table identified in step 2 (including PIMANEXPORTRECORD and PPOM_STUB),
& D. K* W- q3 |. F5 y- N: G8 r8 \3 P7 H9 g' y. G$ f# [
enter the following SQL command:& T9 Z# m" {# R9 R& s6 B
WITH cte1
& S L5 ~/ j8 L, \3 Y" c0 _* \AS (SELECT table_name
_6 p( @% F' RFROM user_tables
! x. L0 m/ |2 E% H$ {& MWHERE table_name = 'TABLE-NAME'),
4 k+ X. y7 k# E" }& ]cte2+ h2 `( ?: h' _0 a
AS (SELECT SUM(blocks) * 8 / 1024 MB ^% r- J" v7 O2 x* D$ ~% P
FROM dba_extents,8 M0 b% j" p# l9 x' i, Z( C
cte1
$ Q0 H" ]1 `1 q3 QWHERE owner = (SELECT SYS_CONTEXT('userenv', 'current_schema')
) s' }+ P, S/ WFROM dual)
/ w! E( R! c6 g& e+ A) Q) w; RAND segment_name = cte1.table_name)2 h; u1 c( Y. r- k+ B+ [
SELECT ROUND(SUM(mb), 0) || ' MB' AS ESTIMATED_SPACE6 d8 t, `: N! X h2 Y( q; p
FROM cte2;
1 E/ K+ Y2 H% s" Z& K- l$ T* F4 s1 ]) X4 s( T0 G
Replace TABLE-NAME with the name of the given table.
0 |3 `8 y0 f3 I- t7 F" o( A8 S2 R; e2 N% M: w* e1 Z
6 @; _8 O* S9 i. ~9 p& e
: V) D5 a/ H1 @8 G, ZREM ==unzip install.zip ======
. P8 N8 ?& U+ O8 X
/ A" }3 n5 `" E4 [; ~TC_ROOT\install\install\unzip -o install.zip
$ W E7 ], e& D3 _6 |% U
& z; D9 o- T6 Y9 C7 f4 u- g
; A3 w; U2 y! b4 I$ _8 w4 k7 j: d, L5 Z2 W
REM ===Install patches on a Teamcenter server====" o6 H4 Q* n% g; D0 R
+ \* n7 \+ H+ g& e+ _! A
TEM--> updates manager ! q& c1 l" V0 B+ @7 ~1 q# G
Y* w5 I: h n2 _4 }REM === Update kit location : product-level_number_platform.zip // Tc11.4_wntx64.zip3 `8 D$ u& s" f6 }( s
4 r9 L; G3 e( c$ T7 n; s; XAfter the server is successfully patched, you must manually update your TC_DATA directories.9 m* R% e: O* Y: N; U* G
a. Create backups of your current TC_DATA directories.' W+ O! \' X7 |" N* g" o% @. `
b. Expand the platform\tc\data.zip file from the temporary location you created in step 1.
d8 i( T# S1 x' F2 C- o: Y2 G& xc. Copy the expanded contents of the data.zip file to your TC_DATA directories, overwriting* p* o' E5 Y) W! e
existing files.
% E, r) C) n7 E4 ?8 Td. Copy the tc_profilevars.bat file from the backup to the TC_DATA directory." n4 f( R7 V# S D
% @% L- [* n o' x
7 D' c; m4 a! h& n# G5 F( o, G9 i( Z8 r# D) r
0 t' [2 Z. }( b* J/ ^% E; K( F/ E' I
; H2 R& Y5 A+ u5 \6 t' A3 a0 X
& M! q! L: A1 ]' }
========Patch the rich client using TEM
+ J/ N& f( S. }2 T9 C( |========Patch the rich client using the Over-the-Web Installer
9 u. w3 g: D3 U8 p& U2 o3 r
- n* W6 Q9 i( I: l' C: f' q9 i, F( y8 y3 l
a. Click Reinstall Solutions." R7 V6 g9 o7 c V% v
b. In the Reinstall Solution dialog box, click
% z5 ]0 P7 T4 k* D; W: h& eOK.1) Q$ t; m5 S6 Z- i2 O+ {
c. In the Confirm dialog box, click Yes.6 [& t# v$ p7 O# Q" R P# E
d. In the Modify Required Context
( o# M; D! P/ U- C+ D1 T' j8 YParameters dialog box, click OK to begin
9 T) J# s( G0 M+ b7 B" s! qpatching.
' [, F2 @( u+ t4 ie. After the patch is installed, click OK to$ M) C6 _0 ~; Q/ X8 W7 E, G2 V
close the Progress dialog box.
7 O" V6 p$ s1 j7 F6 w9. In the Modify Web Application dialog box, click OK.
3 H+ L8 D$ M9 C" D& V& }7 I10. Exit the Web Application Manager.
0 k) n- ? H$ q; w+ \11. Copy the otwweb directory from your WEB_ROOT\staging-location\webapp_root directory$ L2 j, d( i( e- e& J
to your web server.& l2 T' k8 C8 E
12. Restart the distribution server.
# g6 j1 d) S% e7 f- W5 M/ J! b; N% X5 L" H z( G
" B$ r7 _" e% s( G. I=====Patch Lifecycle Visualization====$ K) o% J4 V R7 \& ?, @/ n
) e7 z+ q; `# ?/ [
. J! ]# N2 {9 P+ a q2 j& J1 D% } j6 O
===Patch the web tier======
L8 k! G0 e& |7 z4 A% C9 t
( f" i+ S0 S* m. x3 }0 B% C" x Z+ ^3 j! e
. e7 `7 B* m8 r6 m1 _' m: d: i8 G3 z- I1 k, z @( k- Z) _5 {. i- j* o
% }$ ?! B* X. O5 g6 I5 x
|
|