|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
Teamcenter11.2 升级到 Teamcenter 11.4 图文教程$ M9 j/ @" N5 {% a
视频教程请参考plmhome.ke.qq.com; j% G7 F3 p/ C6 z8 \
! k) {( a( ~0 t! }4 t===Clearlocks======, a! O A0 j* t% X9 V# P
clearlocks -assert_all_dead -u=infodba -p=infodba -g=dba
. x, W& d0 o7 K) _( K7 [clearlocks -verbose
; f5 i, V! h* B n3 Z( |+ Y: c& ?! a' Q( A0 @) o1 X. t
" R" J. U+ j! V; ^) h11.4 的升级比较特殊,特殊的两部如下:# T M4 x3 y1 n$ l& i
3 m# U x: S& f+ L6 XREM === Migrate trace links =====
3 G- _4 m" Z8 g9 D! B5 u% f1 n S, ^) D0 C6 d
req_migrate_bomview_tracelinks -u=infodba -p=infodba -g=dba
; A2 h% a9 O" \) K/ I' N
( _3 n; X! n6 m% n. X; L4 r- \/ B& J+ b/ e6 p3 \4 v1 M, z
====DB =======
2 {: P! S$ m/ ` c% z=====backup====3 Y+ A% j) B3 N' X8 z
- h/ z0 _! x" M& D
; j# z6 \# i4 {( Y$ K& l" e$ |
REM ==Estimate tablespace requirements for update====
& `: P+ t6 V8 P* C# G5 ZOracle databases:
/ }; d# e( D2 a- p0 Q+ s- t8 O1. Back up existing Teamcenter data.
$ f. [4 y9 T; Z4 }2. Determine the tables affected by the update to Teamcenter 11.4.
3 h3 s' R' S1 z* x2 ua. Enter the following SQL command:
% k" X% s, J0 T! d+ a4 R/ c( B- ?' ^5 Y
C$ D1 A8 h1 T9 `7 B B8 cSELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 8192) <> 0
# G5 T7 [4 F0 o; rUNION
0 G# j: L0 m; W8 CSELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 32768) <> 0;
0 q& K# l" c; [, w3 G9 M( b/ Q/ \5 B( q9 p9 W# a/ V
b. To the resulting list of tables, add the PIMANEXPORTRECORD and PPOM_STUB+ c0 j- }& B) r+ L* l9 Q! V8 S. s0 \, ]
tables, which are also affected by the update process.: Y; B* k/ k4 {3 N1 E! o8 g
_5 j* V4 [% Y# ?5 A9 l2 Q5 Y1 GDetermine the amount of space consumed by each affected table.$ M( y F# G' \
For each table identified in step 2 (including PIMANEXPORTRECORD and PPOM_STUB),/ G, z' \3 i! B( e" D
7 O: O( t- a2 E* G- k8 ~
enter the following SQL command:
, l5 F8 I5 V" U' u& qWITH cte1
, B( y2 l5 d7 hAS (SELECT table_name
9 [) O& I7 t. D# h! D/ `) NFROM user_tables! u. M- w) Z+ ~
WHERE table_name = 'TABLE-NAME'),
: ~. Z9 G1 ?8 ^( Dcte2
# f! C% x2 X7 e: b( o: IAS (SELECT SUM(blocks) * 8 / 1024 MB
8 n k& ~+ T8 e( e% ^! NFROM dba_extents,0 C/ H, ~( t% F; e0 v7 N
cte1! j& j4 Q% G$ y- E J7 E
WHERE owner = (SELECT SYS_CONTEXT('userenv', 'current_schema')
: R, Z0 [. u! r0 g! w- B; R2 N0 oFROM dual)0 O- Y# G0 V3 w9 y
AND segment_name = cte1.table_name)" x2 f/ Y+ _ F) A( J
SELECT ROUND(SUM(mb), 0) || ' MB' AS ESTIMATED_SPACE
! d0 I' }2 V" J: q% b3 ?0 b6 mFROM cte2;0 z1 K# t7 f7 V/ G8 V, U4 e8 t! b+ k
2 [ W8 e6 y) E& \3 E2 O
Replace TABLE-NAME with the name of the given table.
( a& E" H- v, ]+ k- D$ q. \& R9 l/ G
4 S! B8 }1 F. b& J
( {9 b( V6 R: a, r1 JREM ==unzip install.zip ======/ j% j! ], l$ S: j0 p& q) \* T2 _
$ U2 R" N/ D, K T7 c% bTC_ROOT\install\install\unzip -o install.zip
s: H, ~: P5 m3 i! d! b
- k# d: G7 V' x6 @# D7 S7 @/ t9 @, Q8 i: n
" O8 a7 g' [* zREM ===Install patches on a Teamcenter server====1 Q/ F. a+ G& p) S) w. Y; r1 {
- ?& r6 j2 T: F3 d4 K+ K8 tTEM--> updates manager
/ H: s6 |/ ^8 }7 k) s
& b- r( _3 c! k8 ^ u. BREM === Update kit location : product-level_number_platform.zip // Tc11.4_wntx64.zip$ }1 M0 {+ q1 a9 y
. Z8 x* Z& P% S1 j5 R" [% K nAfter the server is successfully patched, you must manually update your TC_DATA directories.. Y- p9 Y' ?/ b$ O+ T8 \2 c1 H0 E
a. Create backups of your current TC_DATA directories.
; ]( x2 ]+ W. c9 z9 H2 y ^b. Expand the platform\tc\data.zip file from the temporary location you created in step 1.! m; B+ ?: d7 @; g5 r6 a5 K, L
c. Copy the expanded contents of the data.zip file to your TC_DATA directories, overwriting5 r/ A- m" }# B( R' {- T. `
existing files.1 R3 V/ g4 F3 }* |1 L1 ?5 v
d. Copy the tc_profilevars.bat file from the backup to the TC_DATA directory.( O9 D% s1 \& J Y) r
' h/ \/ z- r$ C
6 {- m4 n4 m% h/ o z. I
& b5 J5 ^2 ~1 o/ Q# H+ L9 C
& q" @- v* v3 h, w% T" i! h5 d" z9 Y) S7 p" i0 t8 L2 T
3 v% X4 I* ~, S: z/ t9 B+ }========Patch the rich client using TEM
y8 J, r1 q: u0 e$ c========Patch the rich client using the Over-the-Web Installer) G5 y h5 U* \. y8 e8 \1 x+ j
/ i# b5 L ~+ r1 `) D& I- l0 h
. g& v2 @& W9 J2 sa. Click Reinstall Solutions.
% o: G. S M( c4 F! Qb. In the Reinstall Solution dialog box, click
9 p( Y) [9 J" f+ v3 \3 X% a Y& Q, zOK.1) M+ p+ b( T, C! M1 W, m
c. In the Confirm dialog box, click Yes.
7 U: w& N$ a. S" f7 {d. In the Modify Required Context' M, }. ^# E( p+ r9 y5 n
Parameters dialog box, click OK to begin( V% Y" D4 D4 M& ]- J2 A) L! y
patching.) g( y1 ~$ h# H8 i7 M
e. After the patch is installed, click OK to. Q' c4 }; q4 _9 V& o( z
close the Progress dialog box.
1 n' P% [3 m* I8 M1 j" f- p& w9. In the Modify Web Application dialog box, click OK.
; K \3 M; @$ a8 \" D/ O1 l10. Exit the Web Application Manager.
+ k5 y/ h5 g6 f u11. Copy the otwweb directory from your WEB_ROOT\staging-location\webapp_root directory
' ~/ E) d; Y, {6 E) h) |/ q3 Eto your web server.
/ @; M t, q7 \! q! d12. Restart the distribution server.2 q5 U% v; D# ]5 ] ?6 s) V
7 V0 O" p4 G, a& ]4 \2 ]. r
1 f5 b: q9 `" r8 G
=====Patch Lifecycle Visualization====
. ~; r- u8 `. V3 U5 U2 I& z M. S; n& g: a8 u. K9 f
& p* H) ~3 l3 o6 L) B# o7 k7 u7 t. P. f! F: ?0 C
===Patch the web tier======
( K" b, }7 \% e+ n
8 `4 j4 q+ n2 D- C
s z9 t4 Z( d* }- g% C- G b# w/ i
- O0 o: W+ d, a6 {) @- K* u3 t, k9 Z
+ P2 C/ S) o6 g |
|