|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
Teamcenter11.2 升级到 Teamcenter 11.4 图文教程
& Y0 |% D0 f( I9 ^; z视频教程请参考plmhome.ke.qq.com
- \7 C& B$ F6 q4 u# r" p7 ?: g" L6 d. N1 d+ Z& ]. m
===Clearlocks======
1 c' O4 Q9 R P3 F y$ ?! Dclearlocks -assert_all_dead -u=infodba -p=infodba -g=dba# w( I) w5 l0 E5 p. N g; D
clearlocks -verbose2 u2 M& F2 T Z' d) {% f: {2 [) ?
2 Z" O( S3 i6 ~6 Y0 o& B6 q! T
" T: r' u+ d# n& O6 Z11.4 的升级比较特殊,特殊的两部如下:3 a0 }$ H% M C
# L' Z ]2 u! ^: A( r6 OREM === Migrate trace links =====
, e3 ^% ?0 ~) B- d- m1 Q6 u( ?$ d) p" u7 w" K! p5 w9 U; T
req_migrate_bomview_tracelinks -u=infodba -p=infodba -g=dba
- w- N2 T+ k+ y% A# P# a1 s: ~! d$ c, z* I4 f C2 y9 J0 k& s
% | L, e( \' A1 k d
====DB =======
1 L* u4 W) W. O2 ]; U! p) ^3 c=====backup====
( u# _6 o3 Z a, q2 q! I, D" t; c8 h! A/ J" P
5 d! P! r, t* g' Z; d
REM ==Estimate tablespace requirements for update====: x" f+ v m# e4 `2 [, b1 j% c
Oracle databases: g8 _' W9 H% R5 K
1. Back up existing Teamcenter data.
; i4 S0 H6 B9 K2. Determine the tables affected by the update to Teamcenter 11.4.% a& K+ s/ _: O# Z7 m. `
a. Enter the following SQL command:7 o" f8 \1 [; U) g( S9 x
- o, H H" w& O: q5 F- P4 c, B( f
SELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 8192) <> 03 a* ~" t2 Y# ^1 @
UNION
5 \/ h1 O$ f7 {8 [! o9 T# \SELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 32768) <> 0;
" {- _/ k, h, [2 v" A! o% T# F. x# s! U7 l+ ~9 K% U5 A
b. To the resulting list of tables, add the PIMANEXPORTRECORD and PPOM_STUB2 H- A% w& v# c1 ^- e/ L
tables, which are also affected by the update process.
$ a( p. s* W0 C# V' S8 ~- b* l" [, i( Q4 V! K. F1 _
Determine the amount of space consumed by each affected table.4 z7 `9 ]$ S2 B! D1 K
For each table identified in step 2 (including PIMANEXPORTRECORD and PPOM_STUB),; |& L! t) x) {, l3 E) t
7 T* p. d! {. D* r2 b; genter the following SQL command:" G1 p8 i3 S9 f! k4 v' c! X
WITH cte19 a5 R$ l7 H3 Y' u, G5 a, V
AS (SELECT table_name
4 m% i; t' {- n5 @; R# t% tFROM user_tables$ F+ `2 i7 k3 R5 B
WHERE table_name = 'TABLE-NAME'),
8 B8 l% _3 Y+ r2 ?. l/ dcte2' M. X. m i! o3 M
AS (SELECT SUM(blocks) * 8 / 1024 MB2 |' {( A6 U; w8 F5 w
FROM dba_extents,( {$ x- m% i9 l, K' t
cte1
: E9 Q7 ~. x2 A% [. {: I( |0 `WHERE owner = (SELECT SYS_CONTEXT('userenv', 'current_schema')9 o: X0 e( }3 d
FROM dual). i: E5 M# N+ p# F5 \
AND segment_name = cte1.table_name)
, H( A: H" `- }% F% q. TSELECT ROUND(SUM(mb), 0) || ' MB' AS ESTIMATED_SPACE( s5 P0 m8 y: ?( T3 y8 Y7 D L
FROM cte2;
% }$ N+ E5 F5 G* m, V+ E) ~' \7 k( ^: a5 H9 J, ~
Replace TABLE-NAME with the name of the given table.
^- W: {! f* O2 M4 a9 ^* h
7 W, N! X5 j& Y+ x5 m0 N+ s W% [4 x
n$ r7 g' T/ x+ M! R$ v7 _% z
REM ==unzip install.zip ======
2 y' \, ^- c% e% K( J9 b) X* z& K. X1 u+ M" o
TC_ROOT\install\install\unzip -o install.zip
! f, I j" o, m$ |' V. T5 z8 b) }3 C6 Z R
& ?1 \# R$ \/ ?: W# z
( s; }( F) }2 P- f; H3 AREM ===Install patches on a Teamcenter server====+ l4 k$ h o6 W% O: ~9 B9 Z
0 L. b9 C7 g" S* c: y
TEM--> updates manager , i, a7 n8 D( Z G2 ?4 r
5 p+ R6 s2 n; P4 v3 T; O4 g _ O* q/ }REM === Update kit location : product-level_number_platform.zip // Tc11.4_wntx64.zip
2 L- k; x# B/ u* `+ ]
$ a! a2 K$ H x6 Y( s0 OAfter the server is successfully patched, you must manually update your TC_DATA directories.& z- r H: h$ o
a. Create backups of your current TC_DATA directories.: D: H" n# I7 Y$ K0 s/ }0 Q" i
b. Expand the platform\tc\data.zip file from the temporary location you created in step 1.
% R) r! ~' m6 w( Z5 N9 i; }c. Copy the expanded contents of the data.zip file to your TC_DATA directories, overwriting
3 n7 X/ I: I a/ N+ M1 @3 C+ qexisting files.1 \' c7 ~. y# E# D* s
d. Copy the tc_profilevars.bat file from the backup to the TC_DATA directory.* c _- a5 l1 j$ l0 A9 }" b7 C
6 u' A! D; d7 R& l3 W; n8 Q: B
2 |: c2 }9 j/ ]. o
% \9 t! e9 h& }/ J9 ^; C+ X% S' n# o1 D
+ ` h+ X( ?% s1 c: J# q: R" k2 t! e: n
========Patch the rich client using TEM
& ]: F7 z2 Z! g" |8 ^========Patch the rich client using the Over-the-Web Installer. J# k2 T; w; T# @1 B/ H
: \9 i8 w0 F9 J4 R! e) x
8 i" p9 c7 R# }9 `7 g8 o: Sa. Click Reinstall Solutions.
) a% L: l: R' A7 r# u; eb. In the Reinstall Solution dialog box, click
, w o/ o8 ~ V1 ]+ xOK.1
$ J0 _% G F8 G. f2 rc. In the Confirm dialog box, click Yes.6 J8 M% p2 w+ {- j) O$ o! A
d. In the Modify Required Context
0 N8 e+ f+ U$ G: O/ C# }+ UParameters dialog box, click OK to begin
( c) R( g" ]: Epatching.& u, ]# b1 @& @# L
e. After the patch is installed, click OK to
. x- ~" f. j$ a7 Rclose the Progress dialog box., ` B2 E; b0 y2 W; h5 L
9. In the Modify Web Application dialog box, click OK.
1 Z9 ?$ n6 o5 Y, W u$ Q10. Exit the Web Application Manager.6 |2 S! W2 W+ ^' s
11. Copy the otwweb directory from your WEB_ROOT\staging-location\webapp_root directory
& Q) ]- g& I. w% @) N& Zto your web server.0 [& X2 _1 f6 z6 d6 R9 ]
12. Restart the distribution server.
8 F: E" }/ [) n7 E% Z" N+ X6 _% o" g% `3 N# B2 L
! V+ [% O4 x# E8 O/ k i. j; O=====Patch Lifecycle Visualization====. _: j8 x! N7 s& W# V- Y
$ y* }2 B4 C9 d, I& ^6 [# n# @
C, o! x- b) ]3 s6 J6 O4 ]" c
9 W R9 T* m- k! M6 v===Patch the web tier======
! T9 q b: w$ `1 Q# E7 a( ~3 V2 l- L9 m1 y3 y; ?8 b9 n: D
) N/ f$ g$ F( g# U
s; e* i/ k; j+ `: s( A E& a: |& Z, n: P
2 K6 }5 {( G0 \& P1 [6 u |
|