|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
Teamcenter11.2 升级到 Teamcenter 11.4 图文教程
5 n P% ]3 z3 U视频教程请参考plmhome.ke.qq.com
+ _6 `8 k+ @0 W7 E7 @8 H- v6 |5 U1 j) | c2 v
===Clearlocks======; O! C% i3 M5 n$ w. x- N4 I# m1 i" n3 b
clearlocks -assert_all_dead -u=infodba -p=infodba -g=dba8 B8 M$ J* Y8 L/ x4 i* Z
clearlocks -verbose
0 A3 ]( l) U( i5 n/ Y1 c2 | c2 o; p' {% a! w
$ r" L6 [3 _, z* P) T& u" b9 U; C11.4 的升级比较特殊,特殊的两部如下:
- ?5 B$ O! B$ q% T
X. y/ }# K" {% O kREM === Migrate trace links =====9 w) M/ O( F# |$ j' K
! n. w6 u7 Q0 |0 j# L" ureq_migrate_bomview_tracelinks -u=infodba -p=infodba -g=dba
5 c$ E6 g0 x& H* Y- d! k) Q& }& Q( J2 f, e2 k/ e& f$ [" l
4 A9 w& I* ^" P/ o( M( X4 ^" r
====DB =======6 a7 l' |, t: b" F. F: \9 u6 Y
=====backup====+ D& x9 w' Y$ r# }* C) ]
* h1 K; Z2 u# j& l- K2 [
8 q3 h/ s3 j ~9 w# BREM ==Estimate tablespace requirements for update====
/ _+ x4 d0 Q# t4 a: ?Oracle databases:
2 u ? y1 g; T, D* G' {0 q1. Back up existing Teamcenter data.; l @2 u8 M ] ~: G
2. Determine the tables affected by the update to Teamcenter 11.4.
7 f1 L. g1 X: Y" Q, M8 Aa. Enter the following SQL command:* V5 M( \$ [) H5 W2 l {6 m5 {
; z8 K8 M0 ?* p6 W/ {; i. b) W
SELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 8192) <> 0
& x/ S# k5 l1 u" X1 ]8 L& w, P" O8 vUNION) V- a+ A2 \. w1 {9 }" T6 P
SELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 32768) <> 0;
3 s3 g7 _; ^3 `# E, I. _
+ C; g C4 J) kb. To the resulting list of tables, add the PIMANEXPORTRECORD and PPOM_STUB7 p) P2 `) T; R( B6 v
tables, which are also affected by the update process.
* d, K7 D, x! A$ G
6 e( p3 l9 F% J/ R- bDetermine the amount of space consumed by each affected table.
7 }6 j2 J* H. P) [For each table identified in step 2 (including PIMANEXPORTRECORD and PPOM_STUB), k7 O _/ e1 ^ s8 `) U- D
z: r2 H6 h' b
enter the following SQL command:
, J. ~+ ]: F8 WWITH cte1
2 |( K% g% N& W- s; ?2 LAS (SELECT table_name2 e A6 | h+ T) ]" j! Y
FROM user_tables
6 S' h- w: P; c' N w/ gWHERE table_name = 'TABLE-NAME'),
% Y& ~& S, F% q9 H' h5 Gcte2
" i( g# y8 }* X0 i4 W% LAS (SELECT SUM(blocks) * 8 / 1024 MB+ [# U+ l8 T$ \7 D! J V8 E2 }0 w0 U' k
FROM dba_extents,
( x. N7 [% g: m0 v& Kcte10 O/ P8 k" Q7 h/ N! B
WHERE owner = (SELECT SYS_CONTEXT('userenv', 'current_schema')
7 h( B" }' [# k' p; R: Y% [FROM dual)7 O/ E1 p5 M6 J1 C
AND segment_name = cte1.table_name)
. Y. P& k% X- a! j3 |1 W, rSELECT ROUND(SUM(mb), 0) || ' MB' AS ESTIMATED_SPACE
3 u8 i# L4 ^# g4 QFROM cte2;
, ?/ I9 F1 ~5 ]; S. r U! A+ m+ z# ]; n% h* q; @
Replace TABLE-NAME with the name of the given table.
5 b1 U: Q3 z" _
' q- l. R7 g( h1 b# ?" d0 a2 h
$ g: _! Y/ ~" b; ~/ e- y, v9 F: z% y5 {
REM ==unzip install.zip ======" B" s& R- i+ K- A) o0 s) F. v
, |) C. J- {- M$ ?0 h5 Z. \TC_ROOT\install\install\unzip -o install.zip* l, y: z2 o5 p2 V
. i7 I8 T$ y Z8 y( S& D' o. v
% `/ Y' X" Q# X7 }6 a( c! G
6 [. U$ ]5 S) `; Y9 r; M! PREM ===Install patches on a Teamcenter server====+ i; U* ]+ N6 y( G- A+ v
1 Z1 a4 m: f1 c. S1 a" `' }/ Z7 A! JTEM--> updates manager ! ]' l' z. p6 m( ?+ {9 I2 j
* Y1 _, R+ J/ u( e9 ?1 z3 q
REM === Update kit location : product-level_number_platform.zip // Tc11.4_wntx64.zip9 z9 u* _! N- f4 c! [
9 F) x( E; B; a+ E
After the server is successfully patched, you must manually update your TC_DATA directories.
# Z3 ^2 D; h7 R/ M3 Va. Create backups of your current TC_DATA directories.6 m0 H# g' u5 a; ^) t& `
b. Expand the platform\tc\data.zip file from the temporary location you created in step 1.3 C8 m/ M2 O7 Q& v, i7 C1 r
c. Copy the expanded contents of the data.zip file to your TC_DATA directories, overwriting7 ~$ D3 w6 u% K2 D" I3 E
existing files.' J3 U; R o! q% }
d. Copy the tc_profilevars.bat file from the backup to the TC_DATA directory.
( r. c0 s) v! y0 V
, L6 R& ~3 \2 e2 T. b1 W" v1 `8 @( X. Y' G
: x: P9 p7 \6 L/ L7 W
( R7 A" A5 U4 w, g; n
! [& Y+ h8 I& C* ^! w
* I2 a8 ^, W( G8 @' x6 I- m6 p6 z# x
========Patch the rich client using TEM" \# E" |3 }. ]
========Patch the rich client using the Over-the-Web Installer
3 ^# O" h0 s% h$ d" M3 A9 {5 `) O& o1 z
7 S9 l5 r2 s& O# x4 ua. Click Reinstall Solutions.7 T( ^, ~1 }' E9 @$ G9 v' k. m
b. In the Reinstall Solution dialog box, click, r9 V3 ~ O' I- H" Q7 O& ^$ w. q# g6 W
OK.1
9 x1 j4 p. l3 S' H% Bc. In the Confirm dialog box, click Yes., g9 ~4 Z5 H; s8 T7 Q2 a
d. In the Modify Required Context
* a) a( `. Y7 i, m7 I" eParameters dialog box, click OK to begin
: k7 R7 `, C; _# z7 a" Cpatching.- M4 o# D0 v" D8 ^# i
e. After the patch is installed, click OK to
4 ^+ ?2 o9 q8 W4 Dclose the Progress dialog box.4 N6 g# t x( S4 j7 K* V
9. In the Modify Web Application dialog box, click OK.
3 d) b& l2 b( R, G) B U: U10. Exit the Web Application Manager.
3 n: \% T8 Y3 h5 @: A6 A: y8 x# ]11. Copy the otwweb directory from your WEB_ROOT\staging-location\webapp_root directory
& L# r0 H5 g# Xto your web server.) h( ]/ t3 H8 ]5 f$ f1 B: A3 m/ C$ b
12. Restart the distribution server.5 V# I0 C$ u8 w! E
7 p; ^% | ?* t0 `" f3 i* \
4 Q& @" j4 a$ T3 m. X+ U=====Patch Lifecycle Visualization==== U9 T/ Q- e& C( f7 ?1 m" p* _
! I; P. ^3 g, g2 W9 `
% N8 N' T* D2 \% g; C( A" m1 o1 h8 q
===Patch the web tier======
. E% U; H Y ?( X% {5 v6 {' B* l/ `1 C) Y% s6 [
# y/ u) C& r4 m3 G: A
! x' { K) d6 I* B1 {) {
1 H' `2 M3 F5 a
* _3 e% {: G1 V$ Z: j4 v# @; }. }. @
|
|