|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
Teamcenter11.2 升级到 Teamcenter 11.4 图文教程
% A$ \2 H q+ Y( B视频教程请参考plmhome.ke.qq.com
4 B3 Z4 |5 ~, G0 ?9 ? [: m& |" n
===Clearlocks======7 o( o; _& C, b, f
clearlocks -assert_all_dead -u=infodba -p=infodba -g=dba; ^+ _4 ~" v, r, b' p8 K
clearlocks -verbose% E6 u' P$ r, @$ ~0 `$ a
|% b, y9 Y6 d6 q" Z9 b9 \' q* Q
$ r4 O$ d0 g: V4 {11.4 的升级比较特殊,特殊的两部如下:& l, I' v4 N, \9 o# O
, o. J5 q& r: M
REM === Migrate trace links =====7 g5 b' U9 z7 W5 l$ E" [
* E I7 t% Z. l- Z2 ereq_migrate_bomview_tracelinks -u=infodba -p=infodba -g=dba
/ l9 @. W. t, y6 S, q# s. @9 n9 H/ Z* C1 ~
# Z% k( i) W, R/ P# e5 U
====DB =======
- [2 I9 W h2 F" {. f=====backup====6 ^0 g) B+ O. O m( j: ^
7 O7 u; d6 A' `4 n. }' h8 q
7 \# {' X% f0 D. L$ Q/ EREM ==Estimate tablespace requirements for update====
% p( F: Z3 D3 z: D0 p [. ]Oracle databases:
* o( V$ I$ O- g1. Back up existing Teamcenter data.
k" u8 M f0 L2. Determine the tables affected by the update to Teamcenter 11.4.
8 U9 J* {, R$ l- W' ?a. Enter the following SQL command:
# P0 u" D* @! t7 P+ Z' b6 K: I) g5 Z% V+ |8 c3 ?+ \# u
SELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 8192) <> 0" U; W7 [. T. q( ?% W
UNION2 Z, B5 k8 V+ V% P" _9 W
SELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 32768) <> 0;* Z$ [+ G- Y- b& B. v5 Y5 P& ]* X
* W3 M% ^# ` ^* D
b. To the resulting list of tables, add the PIMANEXPORTRECORD and PPOM_STUB* y+ h. q" o& {7 Z0 @
tables, which are also affected by the update process.
+ a( R9 c+ x1 d x# d! b
, L/ H% o) |* bDetermine the amount of space consumed by each affected table.
+ b# K# _' S* A3 GFor each table identified in step 2 (including PIMANEXPORTRECORD and PPOM_STUB),0 c, _4 d i; e# C A
# }- ~, C4 P: R6 q3 N3 c$ K; wenter the following SQL command:
1 T8 X; q5 ?0 ~, [2 B: r- \ R5 HWITH cte1
0 a5 H) b6 y/ GAS (SELECT table_name
6 u6 W9 B. j8 B4 Q& ?* V' `FROM user_tables
3 ? C2 A2 [4 fWHERE table_name = 'TABLE-NAME'),
- N/ q0 |8 W8 u" e5 icte2
5 Q* t |5 l5 L. c2 \AS (SELECT SUM(blocks) * 8 / 1024 MB/ @" \* }. p) K4 W
FROM dba_extents,
7 U( ?( _: i* C" C5 q- N- ccte1
2 f e, @8 L6 g0 T+ Q& YWHERE owner = (SELECT SYS_CONTEXT('userenv', 'current_schema')
/ }, \" d' H& CFROM dual); H7 ~5 ]# V* r7 T2 z+ u6 g1 f
AND segment_name = cte1.table_name)5 m2 |2 I) u) g. L t
SELECT ROUND(SUM(mb), 0) || ' MB' AS ESTIMATED_SPACE
. v4 R* j0 _, M7 [4 j5 Q! @1 Z, VFROM cte2;
& F9 y) Y3 Z% o1 |1 \# C1 K0 s( }: \% ?- o: k1 z8 S" K2 T& G
Replace TABLE-NAME with the name of the given table.
* b. t# ]* H. r; b! L* r( e7 `& Q X$ G {/ A
& e+ |3 O- I7 N9 r( K' G
3 Z- _6 f& b+ V$ G8 k- }REM ==unzip install.zip ======3 _! c2 J2 L( p. e& y0 _
5 M( _0 p9 r1 z7 D9 ?TC_ROOT\install\install\unzip -o install.zip0 I U' ?( r* l
v/ ` d/ E( L% Z7 u. L$ u4 z
0 i- H! a! D! D/ A* x$ G
1 g2 N6 X% n( W v% ?* f1 ^8 kREM ===Install patches on a Teamcenter server====
+ q; h9 M5 @% P
7 n9 e9 T) l" a5 d: O% V9 PTEM--> updates manager 3 q, f' n" g' T2 T
; G* v* s$ w* e, i! P- ]$ g2 Y! @
REM === Update kit location : product-level_number_platform.zip // Tc11.4_wntx64.zip
' p3 L {9 ^4 M; c: e' ^/ ~ D5 t4 Z+ W
After the server is successfully patched, you must manually update your TC_DATA directories.) e- J9 |3 [- `* d! g- l! C
a. Create backups of your current TC_DATA directories.5 H4 n# j' K* U% O
b. Expand the platform\tc\data.zip file from the temporary location you created in step 1.
: }: E( H. T& @# d, _, h+ j( J: i* nc. Copy the expanded contents of the data.zip file to your TC_DATA directories, overwriting
3 g1 \/ u" q$ I/ u' i. xexisting files.8 j% g. E( b8 M% i: N1 `/ A
d. Copy the tc_profilevars.bat file from the backup to the TC_DATA directory." e( {) V" [2 c" U! h9 x
6 O5 \2 e1 L* a1 u
0 a+ \) c% ^. O+ v
! `% g3 Q1 r- ?9 A$ \5 @* w4 Y* h1 ^9 ~; `* }" N& M# ^
! Y& S; C" f5 c: r6 p# @4 W( J& P! I- `6 B- e- L& _& v; u0 n7 \ {
========Patch the rich client using TEM
8 v2 ?' H* D7 O& C( M========Patch the rich client using the Over-the-Web Installer# k9 a$ D) H9 b) `, C
9 t2 k) B2 v* z, k/ t+ M3 b
: k9 l4 Z" O* O! k/ l6 B$ Pa. Click Reinstall Solutions.! `; A8 K5 R- a" \" d
b. In the Reinstall Solution dialog box, click6 f! k% I7 i* y. n
OK.1
/ H: M' E6 d: i5 U0 e7 B# K* `8 Kc. In the Confirm dialog box, click Yes." q+ d1 P* P g
d. In the Modify Required Context
5 v* t+ {0 d3 `! q, M; Q( HParameters dialog box, click OK to begin
0 B' M. g B7 Z1 x; P/ H# opatching.
! P6 l& }3 X: V2 F- ve. After the patch is installed, click OK to
, S H' y; e5 K" L9 Lclose the Progress dialog box.
+ m: N' q2 d5 z1 r' G6 a9. In the Modify Web Application dialog box, click OK.
# |4 \' x% S U D% X10. Exit the Web Application Manager.
1 Q# v' s- o: G Z2 Z11. Copy the otwweb directory from your WEB_ROOT\staging-location\webapp_root directory* L0 V/ A) T% m7 U/ Z7 y7 `0 O9 v6 `
to your web server.2 f, D4 X: g+ `, A
12. Restart the distribution server.4 y% i, T4 \4 N) ], t' V; v
+ f! e0 q8 g4 ~1 R- s7 p; U) U" O* ^. P% I
=====Patch Lifecycle Visualization====" m; S" {! I; E" N
# S5 `3 ]3 F5 x. ?- @! h4 W
; v' E8 j4 y* n4 o! w8 `9 A7 O7 W8 I8 H4 f* G6 N
===Patch the web tier======& z! ^" y4 h5 Y, ^$ J# n
# g' g# |+ x( x* a# k2 l* Q* Z0 V" R) |8 S" B; i2 H
% `" Y; G6 T8 S1 _/ F
7 ?1 [4 X& H$ A% Q+ n' d6 k% n, n2 w9 h* l: i$ q" C
|
|