|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
Teamcenter11.2 升级到 Teamcenter 11.4 图文教程
! W& r' t0 O) [. q J4 a. S视频教程请参考plmhome.ke.qq.com
0 f. m' B) N6 s! ]. z* v1 }$ u5 c. H/ |
===Clearlocks======3 I) d0 ~1 O% w0 z. m1 d2 o
clearlocks -assert_all_dead -u=infodba -p=infodba -g=dba" k0 v: ]1 g; b* ?* m
clearlocks -verbose
; ]3 o( w# ^: O1 T0 t# k# j9 l! ~( d% H& Q# i
1 q5 E I$ Z- x4 o' D1 g. J
11.4 的升级比较特殊,特殊的两部如下:5 z; V2 `4 G/ P9 V% y
1 E* w- A" [, PREM === Migrate trace links =====1 S' P: r1 o2 Q1 F) p
9 u9 T! w) e2 D ~( A* ]req_migrate_bomview_tracelinks -u=infodba -p=infodba -g=dba
' \0 m, E) a/ r5 K6 z% E$ Z' y4 n* |
" B/ [7 H; s/ k4 T% m====DB =======
7 C1 a2 k3 ~# w( X) X=====backup====# h8 ?3 S) N# y, T% z
8 k' H5 ~0 t# H! v& g0 _7 p$ s1 E5 i
REM ==Estimate tablespace requirements for update====
. O' u6 q$ F" F/ B( ^/ F6 C0 ?Oracle databases:% \8 n4 ]! I* g" s( u2 y& @
1. Back up existing Teamcenter data.5 f$ k/ G0 Y# n8 V8 W' ~& ^
2. Determine the tables affected by the update to Teamcenter 11.4.0 D& L: ? {6 y: `# ^
a. Enter the following SQL command:
8 w( b- w* H9 n9 W: ~; [4 ^- Q9 r& c T
SELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 8192) <> 0
1 G" ~ F4 T0 j/ q+ M, i' b0 KUNION* Z- z. }5 B% R$ o7 f P
SELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 32768) <> 0;) n8 d) z z; R8 S3 i7 u
9 H; @" r8 \( H- n/ R' w. W
b. To the resulting list of tables, add the PIMANEXPORTRECORD and PPOM_STUB
( O1 E) e1 \- r: B A9 ytables, which are also affected by the update process.
: E* G, m8 n8 K) y7 r A8 _* x. C; w5 L
Determine the amount of space consumed by each affected table.9 Y2 y$ e( ?3 E4 R- L9 `
For each table identified in step 2 (including PIMANEXPORTRECORD and PPOM_STUB),7 n* ^$ V6 Z+ M) }/ |5 `
! m6 ~" S! N a+ i7 L+ y
enter the following SQL command:
' r% c+ U* M9 F" E+ Z) r& C5 XWITH cte1/ b1 y, e: U! M+ G- e- a
AS (SELECT table_name5 F: ?2 `* H% `# N. x9 W2 s- R, L* W
FROM user_tables
7 A6 }* E2 S9 r2 pWHERE table_name = 'TABLE-NAME'),
" |; _ O f5 g+ zcte21 i+ M9 | G! _
AS (SELECT SUM(blocks) * 8 / 1024 MB
$ Z- b0 ^* U: z' s/ }FROM dba_extents,
! b# J) t" D+ P8 ?9 \3 a& ecte1
2 \0 Q H$ W! K) ZWHERE owner = (SELECT SYS_CONTEXT('userenv', 'current_schema')1 u# F! e8 E: g2 S% ^; ~
FROM dual)4 X; W, S# A3 L
AND segment_name = cte1.table_name), t& z4 g7 x$ Q$ U/ Z! ?
SELECT ROUND(SUM(mb), 0) || ' MB' AS ESTIMATED_SPACE# z$ {3 ~3 Z5 b" g+ b: _
FROM cte2;( X! m. K- H k
6 s" N* p+ D q9 V% aReplace TABLE-NAME with the name of the given table.
' G3 V, L! A/ X! U' k# m! Y* W. }6 y6 B9 I3 o6 m& M4 d
; l& |0 k! U* z$ H
. U: R7 |' ?8 Q9 EREM ==unzip install.zip ======3 `) j5 g/ j+ }5 E* R/ V$ i
' J- o6 v* s' e/ M5 h
TC_ROOT\install\install\unzip -o install.zip
' t7 j8 ~) z) d
5 b; W! K% O5 H/ S$ R: s
5 J, p% T/ Q! s3 b7 ~
- o: X& @7 V# SREM ===Install patches on a Teamcenter server====& O; D1 }8 G8 W- R
. R* F0 K- N! cTEM--> updates manager 8 @1 {1 ?( D3 [) P9 ?: s
2 z, p, [6 z) Y. J: i7 S
REM === Update kit location : product-level_number_platform.zip // Tc11.4_wntx64.zip
; ^! a. q* ]; K( i d* n) G
% M" L4 G7 E r& ^After the server is successfully patched, you must manually update your TC_DATA directories.
) N9 S. L' O3 S) da. Create backups of your current TC_DATA directories.) ~) N0 f. z5 ?* R7 @: y4 C
b. Expand the platform\tc\data.zip file from the temporary location you created in step 1.; w# W, f- [% e
c. Copy the expanded contents of the data.zip file to your TC_DATA directories, overwriting1 c9 t( _0 V8 Q6 D$ M# r% H
existing files.3 `# s" m) u) S' _9 _# P, h/ x
d. Copy the tc_profilevars.bat file from the backup to the TC_DATA directory.
6 ?' y; [" n! ?8 J* l9 o( x
z* s' |2 {) A+ l8 t& a- p
$ l) r$ i" g$ p I7 l+ k9 O( q
8 s. W, @! N- \' o
9 K5 {$ u- \# \0 J1 |. m# d0 }' g8 x4 }
1 J1 ?: @+ s4 }/ a: L! J9 \========Patch the rich client using TEM0 U% L0 b9 i( {7 u
========Patch the rich client using the Over-the-Web Installer
/ B( b! D, Z- b: E( h9 T% D
5 e, J5 v. _( M( E- o4 t: B; r; F B: L5 {- I1 M
a. Click Reinstall Solutions.
0 R" }5 z( f) k% D4 z( @+ l/ b' Bb. In the Reinstall Solution dialog box, click- o. \! r J x
OK.14 ^' b, l" a0 @6 p" e
c. In the Confirm dialog box, click Yes.4 v# y( ^5 ^2 [! f
d. In the Modify Required Context- s: b1 A6 g- R) l
Parameters dialog box, click OK to begin
9 X$ v/ H$ K" v& I0 a' c+ Vpatching.
! b5 y2 D, w5 x) @2 Me. After the patch is installed, click OK to
0 g- _# a9 d9 Y( U0 H0 [& \close the Progress dialog box.
, a+ e9 a. {- n9. In the Modify Web Application dialog box, click OK.9 N: B) C$ ~! o" W9 n7 t! p" T) Q& ^4 ?
10. Exit the Web Application Manager.
' W! ~& b, }. v; D! v11. Copy the otwweb directory from your WEB_ROOT\staging-location\webapp_root directory
2 D3 ?4 `. K9 j) gto your web server.- y. c' g" x+ }0 S6 t2 s
12. Restart the distribution server.% x S4 P* {& }/ U* ]* f
5 j. Z1 o6 [$ L3 [! m* m9 j) S
- O; C6 B$ K& c) V0 ]=====Patch Lifecycle Visualization====. V8 V+ v6 D3 `8 E# ^
7 l0 F' p" Z. M) V* Y: L U5 e' N+ l! F* B
. {% _. h9 w/ K6 n" o3 p5 Q
===Patch the web tier======1 ]- F# E/ B: F( [ x# `0 V% b! K
7 t1 E, P6 ?; E1 Z$ l1 V% D( `. b3 c7 t7 W( l0 H8 X+ u
q8 l' _0 X! q3 k) i [4 P
2 r9 ^* b: M- a! q% K% q/ @/ V4 t! h0 T
|
|