|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
Teamcenter11.2 升级到 Teamcenter 11.4 图文教程# K2 h9 H# |6 B7 C4 E3 x
视频教程请参考plmhome.ke.qq.com
8 X5 b! H" V4 y, h0 S, z, p) ^$ e- J' o% ?9 K4 t4 ^3 o! O
===Clearlocks======( t9 K' O' c- q% T6 v
clearlocks -assert_all_dead -u=infodba -p=infodba -g=dba
8 H" O) b3 h6 y5 E0 Y& V0 Iclearlocks -verbose
' k4 W; M0 W( U1 O8 G/ h& `2 m' B5 n
! d% K) x, N8 x6 u7 w3 K- I
8 J8 |# F, C9 a' i11.4 的升级比较特殊,特殊的两部如下:
5 {9 r- T) ~6 P1 [ ]3 E3 h7 M. { F; H$ P, Y) a' Z7 y. D
REM === Migrate trace links =====
$ L" i% M6 q( ^( ?8 V; @
[0 l2 {7 _' o+ B. areq_migrate_bomview_tracelinks -u=infodba -p=infodba -g=dba
4 s$ L6 t5 {, r5 E5 c& E- U) e5 u& d0 D* i+ L) t( _
* A! I' [& M6 C s& n# T
====DB =======
1 F- o5 C5 T' t+ B: d3 Z8 R=====backup====
) r' A3 o+ i5 A) O8 E' u: ?$ P; i' v+ Y* C
$ d' u7 a3 m8 n0 FREM ==Estimate tablespace requirements for update====
9 A$ @+ Y) D: N! { `: NOracle databases:$ M8 g; ]& s$ O9 y% y
1. Back up existing Teamcenter data.$ u- h2 i5 f7 b1 \ q7 W3 ~: D s
2. Determine the tables affected by the update to Teamcenter 11.4.
0 K. p: H" z* v9 K. x% E* g$ ~a. Enter the following SQL command:, `# t9 _5 q6 {& r5 r- L5 g- H
& @) O$ y: R6 U9 O( ySELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 8192) <> 0
* |( p/ q3 _4 t4 _ ~4 ~0 j h! C3 ~UNION* w5 |* h+ V1 z9 V8 T) U: t
SELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 32768) <> 0;
0 r# a, o: g2 }8 T" `- d9 E
, w, @. Q2 s5 V( E8 G6 Fb. To the resulting list of tables, add the PIMANEXPORTRECORD and PPOM_STUB
8 \' _2 S/ |( `, B+ Utables, which are also affected by the update process.6 d9 w0 v% ~ k* ?- K
) C& t3 n; l8 J) EDetermine the amount of space consumed by each affected table.2 V: {$ K: I6 r
For each table identified in step 2 (including PIMANEXPORTRECORD and PPOM_STUB),7 k2 {3 c* I0 t
' Y) n" N) v( T/ O3 z
enter the following SQL command:
1 V+ l" k6 J3 J0 g# r$ ?WITH cte19 M% e5 { z7 T9 b$ ^; ~
AS (SELECT table_name
- g2 l1 C: E7 u7 g/ ~* x9 t) w1 ZFROM user_tables
, _6 O0 ~0 G$ QWHERE table_name = 'TABLE-NAME'),
" s6 \- O: [- t |' j y- kcte2
0 ]4 H* y9 H' h }AS (SELECT SUM(blocks) * 8 / 1024 MB5 Z8 ^/ x: q! c$ U) W9 N
FROM dba_extents,) @4 _- q' r: f( Q, L
cte12 ? \3 L1 D0 T( A& a. _/ c1 T) N+ q2 R
WHERE owner = (SELECT SYS_CONTEXT('userenv', 'current_schema')* f$ ]! J/ D' R5 J3 Z) Q
FROM dual)4 h# `3 R, _3 _- I. C3 @8 }( p! K
AND segment_name = cte1.table_name)2 t# i5 O/ C& ]
SELECT ROUND(SUM(mb), 0) || ' MB' AS ESTIMATED_SPACE% V' I6 O' c( a
FROM cte2;
+ e9 C9 q5 o7 L, }; W6 V
; q7 R1 s! c0 H& G t% s/ sReplace TABLE-NAME with the name of the given table.
* I9 Z1 h7 \3 \: ^+ V" N+ B7 E. Y6 B% H1 P9 e3 N) V& {
# q. ~9 f$ e* C. q. p& t/ Z5 A
4 C) o* _( |+ vREM ==unzip install.zip ======
# ?/ z% v2 s# E
8 x3 b3 d/ A) P8 x2 z8 ITC_ROOT\install\install\unzip -o install.zip' I% O5 W9 A* @$ X* W1 b' M
2 @& v6 E1 I, z" f" \; \/ v# }4 r* \/ a% |4 G j" d7 w
% G. e) t/ N9 aREM ===Install patches on a Teamcenter server====. I, S& t/ R9 R& R& z9 o4 K# y
) n, ?" @- ?& C) z M
TEM--> updates manager 9 ?/ P/ {7 d/ O5 a3 F+ s/ V
- d1 x' }* ~- a+ s* N
REM === Update kit location : product-level_number_platform.zip // Tc11.4_wntx64.zip
3 y. N6 r& ~: c O# l" q" }& \% \- Y: u+ M3 F& l1 ?* H
After the server is successfully patched, you must manually update your TC_DATA directories.5 [5 q2 D. W* N# c
a. Create backups of your current TC_DATA directories.
. Y5 m$ [5 Q, F; n+ Xb. Expand the platform\tc\data.zip file from the temporary location you created in step 1.) S" B0 k: u" G7 n
c. Copy the expanded contents of the data.zip file to your TC_DATA directories, overwriting
9 g) X* ?* R: Zexisting files.
) G! Q( C V% z- E: T: n; rd. Copy the tc_profilevars.bat file from the backup to the TC_DATA directory.( t9 g* F- |3 Y) w' E
% ~) P' Z' r; Z; k _$ n) t# S; n
, i7 \+ {; D' E5 I5 }3 I+ m+ b. s2 ?. \
- f9 l+ g+ m, u! M! v5 [/ Q, _% B9 J+ n! P8 t% l
4 Y$ u5 B6 A* c7 e7 _- M z
========Patch the rich client using TEM
% o- D& d0 ^" y# o========Patch the rich client using the Over-the-Web Installer0 K0 e' d) A: d7 I) Z Q
/ O8 o/ P# p4 m5 F0 C: H$ j0 k: K* L1 V2 ^( y5 f. k
a. Click Reinstall Solutions.
/ t4 h9 g+ S1 H& xb. In the Reinstall Solution dialog box, click
6 E9 W7 ^/ d' D3 e& lOK.1
% g% L8 p6 E7 c* Ic. In the Confirm dialog box, click Yes.. S5 P) f, b5 i, B+ Z
d. In the Modify Required Context' S# C$ a& T! v4 k4 g
Parameters dialog box, click OK to begin
6 W# q. `( F6 n. a" C5 q! K. lpatching.
# o' e1 Q6 ?' Y* A& ke. After the patch is installed, click OK to
( B' y% o. X5 i C: kclose the Progress dialog box.9 T( I' \( G' Q& M% Y2 y9 ?$ P2 e
9. In the Modify Web Application dialog box, click OK.
" F S0 w) D+ F0 g10. Exit the Web Application Manager.
* Q: H! Y, Z3 c7 s6 L# ?6 x( ~" L11. Copy the otwweb directory from your WEB_ROOT\staging-location\webapp_root directory! v6 B4 ^; G \) q
to your web server./ v, ^' C. v/ y$ t. ?6 A
12. Restart the distribution server.
( e( R- [# U4 C8 B7 d6 \; g* O
9 ]- \" [! D/ e! w. z5 ]9 _* y. u u6 `# m j/ d; B1 }6 r- `2 A
=====Patch Lifecycle Visualization====/ p! F% k- q! z. w) }9 z
$ y: b/ b3 E: a. c0 h# M$ D: p, u
# p) T3 ~% m% S/ w5 J* C$ r% a
2 W1 b: s2 L4 E/ @1 z2 X% T===Patch the web tier======
1 f$ j; E3 ~, q
# L3 p6 [- P! V7 z1 i+ _# L% H; H7 I; B$ L! |6 n. M2 l3 Z
8 j4 r( ?, |7 e5 b0 [, v8 D
. s0 K, S0 m* t. w" y# B3 ?4 G* b8 F1 b; n/ u0 h! o
|
|