|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
Teamcenter11.2 升级到 Teamcenter 11.4 图文教程
) x G7 V5 D Q) x" q, Z: F视频教程请参考plmhome.ke.qq.com% S( h. m8 V0 h2 c
, d% @0 a) [! J g" G- g
===Clearlocks======
! g6 d) ]+ g, n0 Pclearlocks -assert_all_dead -u=infodba -p=infodba -g=dba
' \( o" e; x" o2 Y4 M. H7 h2 L; v8 Yclearlocks -verbose$ { [" _: k3 r2 u. Z
4 [- B8 Z" n6 W4 d( u( Y# ~
: s8 x- k3 l4 z. J: ^* ]
11.4 的升级比较特殊,特殊的两部如下:/ N* ^5 E& }5 R1 a& [+ z
5 s# l' n; _* F9 k0 ?& m
REM === Migrate trace links =====2 Q6 Z. y) x+ f" D' P* y. Q
# E2 K# }8 [/ p5 R
req_migrate_bomview_tracelinks -u=infodba -p=infodba -g=dba. {- h) h, Z) U6 P- J( g0 d0 W
6 I! z$ g' I, T) V* V% u0 C4 P
[: x- P" c5 o1 o====DB =======
' i# I- Q, \9 n5 Y=====backup====" `+ w, E' X4 g4 }! f
& T6 d7 ~( |# R7 u( g% Z+ @5 f" ?
) v% v5 a) n( s. N" k0 y+ ]REM ==Estimate tablespace requirements for update====0 H; ]+ I$ t1 f$ q! ^ r: {
Oracle databases:
6 m* B7 _" U( K; U6 [9 f5 }1. Back up existing Teamcenter data.2 Q9 G# u& X8 R- Z# G/ E
2. Determine the tables affected by the update to Teamcenter 11.4.- x5 z5 [0 b T: v/ s! ]
a. Enter the following SQL command:0 P9 d2 o+ t( l: |" c) p
1 o/ w8 e0 w9 y6 F; T) K g* ASELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 8192) <> 0
( |1 R- o, Y% s0 x& fUNION
% t% W4 s8 s) J# y4 NSELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 32768) <> 0;7 T6 j, u6 |6 b5 ?2 P6 Q. i
* L) X- S# `* }: F/ z6 d& i
b. To the resulting list of tables, add the PIMANEXPORTRECORD and PPOM_STUB
! ^" p" E! ^& D6 h& ^% qtables, which are also affected by the update process.
2 k7 q% J5 @( m2 y- U! q& q7 m: q1 ~7 ?' f. W x) t
Determine the amount of space consumed by each affected table.6 n- O, |. ?6 O* Y
For each table identified in step 2 (including PIMANEXPORTRECORD and PPOM_STUB),2 |4 y( v/ ^9 k, f9 `# r
- y2 a; g; h0 s4 v4 yenter the following SQL command: n" U! K- l& U3 R2 [& u2 h
WITH cte1
9 Z, e# s: t- v GAS (SELECT table_name
6 z/ ]6 o. ? T9 pFROM user_tables
! N/ z9 Q3 @. _# I3 Z2 ^WHERE table_name = 'TABLE-NAME'),* J; k& Z6 m3 g4 r* s
cte2, M. w% \" m4 U7 J5 P5 I# b; k0 Z
AS (SELECT SUM(blocks) * 8 / 1024 MB* T. j7 c# d6 V1 y
FROM dba_extents,
/ Y4 K0 ^+ h/ y- v- ^cte1* \4 `# q* e1 I- [. D
WHERE owner = (SELECT SYS_CONTEXT('userenv', 'current_schema')
: e5 @$ u! M% }2 N0 NFROM dual)& T, q5 |# p: Q# o2 ~
AND segment_name = cte1.table_name)
5 n4 v W* `- R# ] wSELECT ROUND(SUM(mb), 0) || ' MB' AS ESTIMATED_SPACE
; F! l; m; T9 s: R- L% r0 LFROM cte2;: N8 D, T5 M/ C+ W/ |' U. f- D' E. N9 n
/ s5 l) `. b4 P% ^( n U9 cReplace TABLE-NAME with the name of the given table.- R+ r" h( B2 B
8 j: p" l6 K6 \! w8 n Q' i6 {
3 { \# [* {1 [ [( L6 [+ D9 Q
; h+ W2 p5 ^, {' V* _2 RREM ==unzip install.zip ======1 T% A" z$ D: ~: v
+ ~0 H, l/ g* C9 W# h- m9 dTC_ROOT\install\install\unzip -o install.zip# N/ k8 }4 h; J2 Z5 }) `, O2 s7 e
( E" v m. ]/ Q. i
9 p2 J. j' k4 d5 d5 h% m* e' o
0 g4 M, |3 y: I9 h2 p: d) lREM ===Install patches on a Teamcenter server====- d4 q c! y& g# t4 a# D
% d2 \# R/ u% U$ @, H& I
TEM--> updates manager
5 l Y9 A3 b4 }% w1 ?# q% b: u$ m, z' k
REM === Update kit location : product-level_number_platform.zip // Tc11.4_wntx64.zip
9 S6 L- L2 W% Y. x9 \
3 Y8 {' F! n* z9 b4 cAfter the server is successfully patched, you must manually update your TC_DATA directories.% }) s) [& v4 O9 o) P# q
a. Create backups of your current TC_DATA directories. T3 F0 L: c( l3 m6 u8 {* T7 n
b. Expand the platform\tc\data.zip file from the temporary location you created in step 1.
$ D/ Y* ?" \. x- y5 kc. Copy the expanded contents of the data.zip file to your TC_DATA directories, overwriting
9 [2 r2 s3 f7 F b' @( f* X& Eexisting files.! p1 p: v! G+ N' }/ d9 p
d. Copy the tc_profilevars.bat file from the backup to the TC_DATA directory.
" `. U% i1 C* `) P, R
6 x/ v% V5 r; R( g9 x! Q. Y/ V* h( E1 [$ o" y
6 |" |) {+ f; f$ M% z
0 w3 b( u' a: ^
- t# M7 ]8 V: C
1 y, O+ |8 U9 E7 U0 d4 W8 p: g========Patch the rich client using TEM" }5 F) L% J& w7 z8 C' i
========Patch the rich client using the Over-the-Web Installer) ]# }9 j$ J7 E6 s
+ w8 V+ d& \/ f3 R2 v
4 ~% O2 M1 T/ u+ U$ {" O6 sa. Click Reinstall Solutions.# J& [3 g: M- V+ z# A
b. In the Reinstall Solution dialog box, click
7 d1 X5 @& R$ D$ }$ d" pOK.17 I. @/ B; u2 m" n p9 a
c. In the Confirm dialog box, click Yes.3 B( s/ H, y$ Y
d. In the Modify Required Context
/ G' i/ D& F: Y$ I9 ^Parameters dialog box, click OK to begin3 P# T7 A8 J: x# u
patching.8 {; h# F/ f6 Z9 K5 J& I) B6 \4 f
e. After the patch is installed, click OK to' o1 q! D8 l2 ~1 R! b5 |
close the Progress dialog box.) x! S: ]$ B) A( V0 h& {
9. In the Modify Web Application dialog box, click OK.
. [1 d6 v; H6 ~10. Exit the Web Application Manager.
8 H' e7 h/ x' D! f4 h# r! o11. Copy the otwweb directory from your WEB_ROOT\staging-location\webapp_root directory! Q7 C5 p6 o) M" Z% @
to your web server.9 S7 K$ J& A5 U: T4 X
12. Restart the distribution server.
4 D0 p1 T( G7 s( E$ ^% l2 ?5 r& y
, J ?, T' T9 |! _% ^/ v6 @ Q+ s, K; G2 H% p/ ]4 [* N
=====Patch Lifecycle Visualization====
2 U8 f& A, Z1 S# S
/ }& B; ` J# @/ r) g% p: X# U3 `
3 Q- P0 g/ K; W0 V+ q c( l4 t+ |) q- j* l% S, J
===Patch the web tier======& b9 n u4 J, \
, [* L: u4 N6 m e1 F8 W6 C) E L/ `0 W/ J: H3 ~: C
3 x9 t, C Q/ [' d0 @# C9 `
5 ~$ n. g- H) [ a
+ y# S/ k; B5 i" W
|
|