|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
Teamcenter11.2 升级到 Teamcenter 11.4 图文教程. @) x! `. w4 K2 p0 q' _
视频教程请参考plmhome.ke.qq.com
/ D- J, y* ^$ b" I1 N1 t1 ^& w6 y; `! W! ~4 o/ O" p
===Clearlocks======3 S J8 i' _+ L8 w4 H
clearlocks -assert_all_dead -u=infodba -p=infodba -g=dba
1 ]# Q2 O2 h4 G9 Q- T3 }$ gclearlocks -verbose
% q. I7 J. i& s- k. ]+ X# h; c: R8 q; v ~# L4 e! G; r8 l
! K/ l2 t' J$ O, p0 H, I11.4 的升级比较特殊,特殊的两部如下:+ h4 t @6 W- V* d* U/ g4 v7 Q
- Y6 m/ \" J3 h( v* @REM === Migrate trace links =====
' H+ w+ ?; G. m' w- l% C) \( v8 c' H' n8 Q7 \ @! f4 Q6 f
req_migrate_bomview_tracelinks -u=infodba -p=infodba -g=dba
/ `" F/ X, u- [& ^
8 T2 e8 u$ Z! u1 u* m( ] A: F& i6 c E m1 l0 _$ Y
====DB =======' E% s Y7 Q" A4 n
=====backup====
% y5 _' @6 ?+ v2 y+ Y0 b( b* t4 O7 o+ @* E P3 n& v: i% N
0 s# T! t/ w# qREM ==Estimate tablespace requirements for update====7 l" T" o# t! A! t
Oracle databases:
' L2 m) g; l v, g9 S c1. Back up existing Teamcenter data.
- z. t5 ~8 e0 z; H3 g2. Determine the tables affected by the update to Teamcenter 11.4.
0 U+ D9 V- w! c$ La. Enter the following SQL command:
0 Z) B$ P+ b# ^% A& b+ I5 ~" }: O# T5 W. H
SELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 8192) <> 0# @- y% t9 k5 ?" j2 }
UNION
) M$ J6 G6 Z0 `' Y4 \, MSELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 32768) <> 0;
! p% g, R& K# F4 g! G/ H6 h8 l, P/ n
b. To the resulting list of tables, add the PIMANEXPORTRECORD and PPOM_STUB6 q1 A, U/ w# w; v9 S# Z! {: L" f
tables, which are also affected by the update process.. A# }2 u9 D& ~* E) k; w' B
' H' D2 M4 n5 y5 @& s4 s6 q& v
Determine the amount of space consumed by each affected table.
1 f9 }+ ~) X- J4 _4 {+ y2 E6 EFor each table identified in step 2 (including PIMANEXPORTRECORD and PPOM_STUB),) m: _! J* d" H, Q2 E
. W3 z4 B5 ^' u1 B$ ^# senter the following SQL command:& ^7 i- V% I, s5 y$ s
WITH cte1
" }9 `* X& s/ J L. G. L+ ?' [) z) \AS (SELECT table_name
6 G( b3 b: ]" JFROM user_tables7 a) ~' w/ _: E0 W- {# L
WHERE table_name = 'TABLE-NAME'),
$ Y$ F$ F- x& a+ y9 k. y6 F0 h# ccte2) u& G% d& b1 v" f4 t" C' K) H
AS (SELECT SUM(blocks) * 8 / 1024 MB
9 E; i/ v; M( M! J3 \FROM dba_extents,
8 a+ R/ J) i$ `0 rcte17 Y, V8 S, u" c1 h G+ o
WHERE owner = (SELECT SYS_CONTEXT('userenv', 'current_schema')' }5 r1 ? @" S6 P/ s
FROM dual)
0 G. x$ T7 e9 k1 ^) G% FAND segment_name = cte1.table_name)
' a! v4 [% \. {& M- A+ E, x# @$ eSELECT ROUND(SUM(mb), 0) || ' MB' AS ESTIMATED_SPACE+ f' \$ M9 O! a
FROM cte2;
; x! ?* u/ l+ U& L- p; S& }* x8 N; [: F# E
Replace TABLE-NAME with the name of the given table.% f* E/ K: x f0 D$ ?! e G$ m# }# K$ b5 Z
9 R. m, @5 u0 K4 z. }& {
" D4 H1 ^2 f# k: O1 F
' _" q$ i% x k- C% Q. FREM ==unzip install.zip ======
/ O3 {: [- K: @. M! u4 C Y* ^( |
TC_ROOT\install\install\unzip -o install.zip
g- R7 x: T0 V; U( p, H+ B! I3 j; w% d A, T: j2 w
: y2 V. C% P5 a) y9 U
3 Y$ e. n& N# B' m, |# D3 p6 bREM ===Install patches on a Teamcenter server====! Y; q( c# Q) I; V
! w/ o! P" v6 |0 e4 v& z* U% mTEM--> updates manager
4 Q2 q8 I" u# Y8 d6 j4 r; W- s2 S! z# c& A
REM === Update kit location : product-level_number_platform.zip // Tc11.4_wntx64.zip
! [# z( J8 |* H2 q: a @' ?
6 x: b% \+ R7 S6 P8 r; V7 jAfter the server is successfully patched, you must manually update your TC_DATA directories.
4 b3 f, N. o5 A4 aa. Create backups of your current TC_DATA directories.0 ]0 [4 W0 W, v* a0 l4 n3 W% p
b. Expand the platform\tc\data.zip file from the temporary location you created in step 1.' `0 i$ N9 ]. U- h6 U- }* T. P
c. Copy the expanded contents of the data.zip file to your TC_DATA directories, overwriting
" v4 W" L9 r; }: C9 Z" p2 Y- W' eexisting files.
. H( r+ D' H' M/ ?. O, Ud. Copy the tc_profilevars.bat file from the backup to the TC_DATA directory.6 o# \- O! e' }
N# g4 G$ a) e9 F
0 [/ V* P7 [& k7 e" ^9 ~
/ e7 t9 m c' t: X2 @
" S2 y( m) i6 P
; v/ e' P3 I S6 z& W+ _
! ]" _, v1 S5 M
========Patch the rich client using TEM! D* c4 b+ J1 W* k5 G2 I
========Patch the rich client using the Over-the-Web Installer. I: D5 n* @0 O6 D7 T, r+ L
. f, _1 y9 Y( e' @. s/ X
7 _2 g6 S# E8 j$ ]% D
a. Click Reinstall Solutions.6 Q9 O1 |, b" q, `4 y( c
b. In the Reinstall Solution dialog box, click* k" ?3 v7 [/ @( H0 ~4 ]
OK.1' c7 E* W' p3 J2 s
c. In the Confirm dialog box, click Yes.
' X) \3 }2 C# C4 e# Y I3 e, y* Td. In the Modify Required Context
+ \& L9 s2 j: ]% J* hParameters dialog box, click OK to begin0 w4 O6 G: Y2 c3 e: e
patching.+ j; n8 L( {9 `" |& F4 R
e. After the patch is installed, click OK to8 b3 P& F0 X) V0 K( `) ^
close the Progress dialog box.
: k0 F! J. n, y+ R p: g5 C9. In the Modify Web Application dialog box, click OK.) W& Q% R, i0 n8 f4 q6 T3 w( D1 h# J
10. Exit the Web Application Manager.
d8 `/ j# O v: C' L- F4 B- ^3 n11. Copy the otwweb directory from your WEB_ROOT\staging-location\webapp_root directory8 E, `% ?9 q9 v* T. v
to your web server.8 k. h! j( z( I$ a6 T
12. Restart the distribution server.
' n4 ?+ ^. }' S/ k. b( i$ Z# z* P' e+ I7 d9 ]8 X" U [: \
( G3 x4 f( G$ `3 ]; H=====Patch Lifecycle Visualization====4 R' E6 }+ t! q* @. \
9 h I1 k) n& `5 e+ L0 ~# y
0 D9 p0 a' _: N/ P
# r3 S% X) Y8 Q, B===Patch the web tier======7 X$ @" ^6 k0 l1 ^
3 h5 u+ M( A3 l3 F8 V: S% [4 z7 X& v4 O N9 P4 ] o
) V% _& V4 z" B, ]5 N/ L. g) w
- X$ u7 c6 Y: t4 X& m: s2 K# B
# G7 F( [- x' X- U, `
|
|