|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
×
Teamcenter11.2 升级到 Teamcenter 11.4 图文教程, y$ H) i6 @+ O$ D& _
视频教程请参考plmhome.ke.qq.com+ f& a( T" X1 C. [
3 y- R- _0 q/ L+ J* }, p. \===Clearlocks======
* p( m% p6 @ C# }- A( f, Zclearlocks -assert_all_dead -u=infodba -p=infodba -g=dba
. d; E0 L; o9 z5 c) q# uclearlocks -verbose& b2 \4 A! e+ x7 J. _
9 x4 _1 U5 H1 E' q8 {' t; S, F* o! k" ]9 z
11.4 的升级比较特殊,特殊的两部如下:
( ~( w7 l. Q6 R/ \
. x3 B: X: s5 i$ _. ~REM === Migrate trace links =====
5 X; b5 G! n2 u: \3 y
1 A+ m1 K1 o, f' i# W: L$ k: H+ Jreq_migrate_bomview_tracelinks -u=infodba -p=infodba -g=dba
8 ?$ x1 G: U9 ]' w9 f, N4 P' m
/ ]; z, y8 p+ x r+ u
0 r; J& l" ? e. I4 u+ H( M====DB =======
6 E" O1 J; w4 ]; z" \=====backup====
2 H) R" c6 K; |0 |) G7 ~& q1 O8 e6 D$ N4 ]
$ D$ D0 D4 O) x8 ~0 _. Q
REM ==Estimate tablespace requirements for update====! Y- P# w% d' K
Oracle databases:
7 [, f9 B! Q; K; W- n3 ~9 z1. Back up existing Teamcenter data.
# [; W' V# g) C2 ]3 W2 d2. Determine the tables affected by the update to Teamcenter 11.4.3 D1 z! F5 I2 R0 B8 T+ G
a. Enter the following SQL command:" T9 ~+ _. E5 W4 ^6 F2 M6 {
" o1 U$ c6 t; s- g
SELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 8192) <> 0
+ B! L1 X$ ?: a! W# x9 I2 _* nUNION
% O) x) X# X sSELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 32768) <> 0;7 s; l: ^2 {. M& h6 m
6 `( n" I' J- b2 n! F2 }b. To the resulting list of tables, add the PIMANEXPORTRECORD and PPOM_STUB2 C5 A, J7 _* z* W! J' a* ^
tables, which are also affected by the update process.
' y$ D8 \; ^3 b @( z$ h5 b+ g! t" j9 B. C5 w* O; N% |
Determine the amount of space consumed by each affected table.
2 J O. J, {& Z- ?3 F, y" \* BFor each table identified in step 2 (including PIMANEXPORTRECORD and PPOM_STUB),
( M# W5 B, j/ x2 {, D9 m% a
" ~) g; L6 X7 \7 w$ w- yenter the following SQL command:" c$ I. t" Q! C8 z
WITH cte1( h" m6 Y, D- Z1 O* H, u. x- }
AS (SELECT table_name. v/ o% K2 w/ G T1 o) D% E, b
FROM user_tables
* G9 U: P9 q) J6 [! Z# WWHERE table_name = 'TABLE-NAME'),! z6 G: i8 H6 u& a6 j D
cte25 S' A9 p7 P6 I3 i$ Y
AS (SELECT SUM(blocks) * 8 / 1024 MB1 m Y) u- Z b7 D* T$ n& `
FROM dba_extents,
7 ~/ T$ V, R7 H/ v. ]& Ycte1* X7 f* f+ a# A+ l
WHERE owner = (SELECT SYS_CONTEXT('userenv', 'current_schema')
; x2 } O @8 ~0 o. Q' zFROM dual): i( Q+ U4 n9 G A' g
AND segment_name = cte1.table_name)& x; p5 v( `; e$ @5 q; f9 |- }
SELECT ROUND(SUM(mb), 0) || ' MB' AS ESTIMATED_SPACE
7 y3 V$ g# v k8 h) ZFROM cte2;
. {; P) J5 Y+ \3 e' b: q$ d/ E+ J6 A, U( N# f& u9 I
Replace TABLE-NAME with the name of the given table.+ z: F& `# T" b$ `; ~: q
" s' `: a- H7 k# U
) k" X6 \0 n( d. f+ @$ b
1 l0 N0 q7 F# R6 r% \REM ==unzip install.zip ======. g& R$ |0 r, t! ^) Q2 s/ v3 x( n2 {
+ [1 i! N. {3 H( q) y# |/ lTC_ROOT\install\install\unzip -o install.zip/ e( r) L! b( ]& E/ p. Z a
) \* T3 _4 d c
% _- m! G) o: T' y4 u W# T3 Y# Y$ f$ I" z a' `$ @2 p
REM ===Install patches on a Teamcenter server====4 N: U$ r* B; y( w) u9 T1 j1 h
6 Q0 T% N* @6 U( D8 UTEM--> updates manager ( a) L( C+ x m" G5 j, }( K4 Y3 O
/ E/ F. }1 B% } S0 N
REM === Update kit location : product-level_number_platform.zip // Tc11.4_wntx64.zip
% g( X: K, n' j" Q6 O }
; f8 j- l, b% FAfter the server is successfully patched, you must manually update your TC_DATA directories.; v! |. L5 p1 Q* G$ X9 ^
a. Create backups of your current TC_DATA directories.4 ^ b3 G8 k, J, n, |2 D
b. Expand the platform\tc\data.zip file from the temporary location you created in step 1.2 u; D5 e) ], a; H4 b- T; |
c. Copy the expanded contents of the data.zip file to your TC_DATA directories, overwriting: d# I# X+ W% z! M
existing files.
6 }# a4 m& R0 m0 G+ F( Qd. Copy the tc_profilevars.bat file from the backup to the TC_DATA directory.
3 X( {3 p( Z- F' P
. l) S! ~) ~/ f9 _7 c% `& k3 O% E9 l; l7 J
9 H7 D# j+ j$ ~6 Y7 A- D+ n$ @# o8 g" U9 p9 R8 q- b: y
% h# d3 Z2 ?5 ]" _8 ?
# E2 N' [ ?! z; o========Patch the rich client using TEM4 t" @) V# W1 u+ M
========Patch the rich client using the Over-the-Web Installer* A0 E9 S, t9 H p
9 R4 ?" e8 X- T# H
( e: d/ x2 y, t4 |7 c
a. Click Reinstall Solutions.% Z7 J! R) K# {2 z2 f# K
b. In the Reinstall Solution dialog box, click$ x% T6 R$ R! @3 c0 W
OK.1
# q4 e( `& y2 s; V( u5 z1 Ac. In the Confirm dialog box, click Yes.7 P) r$ d. D9 \
d. In the Modify Required Context
. g; g J5 l: H; y4 J* J# i- ~; GParameters dialog box, click OK to begin/ `7 H* t$ k) ^. \# Y2 Q
patching.
/ M" c! b% F1 P+ C; b0 E! S$ oe. After the patch is installed, click OK to
- [" S# z h- _6 s& mclose the Progress dialog box., Z/ B' J2 o' P/ ?1 k
9. In the Modify Web Application dialog box, click OK.3 }. I6 J4 @* z. i1 f
10. Exit the Web Application Manager.8 S J \9 B: I1 d6 A$ e U
11. Copy the otwweb directory from your WEB_ROOT\staging-location\webapp_root directory
% }7 F2 ?6 R( F$ @to your web server.
/ o! `/ d' D; J6 `+ L3 T12. Restart the distribution server.
]. O' o v4 {/ v% B, X5 h+ c4 H( X; u
) Y1 e0 ]8 B3 B7 a) M( o6 @3 ]
=====Patch Lifecycle Visualization====2 q3 E& L/ u1 t$ `
) A( t2 \" d6 P# T6 Q; I/ _" r/ h
g1 [% h# r# e) I===Patch the web tier======
: f4 J7 V; M, @! ]* |% U& b+ {4 c- |4 W
+ E ~$ T7 }8 T5 K& `$ `
( V \0 U2 {8 w$ p8 ~ y0 r
( X9 W: m) P9 I7 ~$ }+ f( B4 \' z. z
|
|