|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
Teamcenter11.2 升级到 Teamcenter 11.4 图文教程& n6 y- ]. [6 ^' @
视频教程请参考plmhome.ke.qq.com' q. L/ z& F- S! D) q& m
+ C0 B1 ~$ N8 `2 x" r# B4 J# z===Clearlocks======% S4 i2 |3 y! ^# `6 V+ X
clearlocks -assert_all_dead -u=infodba -p=infodba -g=dba3 a, {, O% F2 s% v i; i* M3 h/ Q, S
clearlocks -verbose
3 B1 S% h6 o& m) k, r
: Z3 p* x9 `% }4 o1 V/ R7 V5 T% G$ U) G4 r! @
11.4 的升级比较特殊,特殊的两部如下:
6 ]7 J( d+ w- A) _/ v
: X; C8 E- n" d/ [ c7 e+ E7 I& T2 `REM === Migrate trace links =====
: n( x" Y, ~( _ K0 i" d! F- @# j" K7 K/ n, j4 f
req_migrate_bomview_tracelinks -u=infodba -p=infodba -g=dba
8 s! W5 p- v* k' n
0 ~9 O- Z" I, G: u4 X0 r. a) p+ I( q2 G; J9 o
====DB =======
( {( Q2 }( D! o2 G( M' X3 _) x=====backup====
( d! X5 d) C& Q0 \/ ]0 ]+ }& A( V" j' [8 c+ g/ a
5 Z* z1 B; b* {7 b8 t
REM ==Estimate tablespace requirements for update====" ?. I% `7 e; D" R5 m
Oracle databases:% D5 M6 k1 t2 B6 z Q5 R4 y
1. Back up existing Teamcenter data.
& Y D* D3 j- c- X2. Determine the tables affected by the update to Teamcenter 11.4.8 P% ~" g" V$ ^9 {1 ?. J) q" @9 O
a. Enter the following SQL command:
; w' w8 F# z8 v/ f) K2 T4 s
+ y- O* L+ [- \' C4 v: VSELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 8192) <> 0
# y/ X! l3 F6 K! F/ WUNION
% B- W2 E5 w( o5 VSELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 32768) <> 0;1 V9 C4 R# j' n2 T
4 X, M4 ]! Y5 w) ?6 A. _& X
b. To the resulting list of tables, add the PIMANEXPORTRECORD and PPOM_STUB8 ^/ H7 L- d8 e9 m! s. t! I% O
tables, which are also affected by the update process.8 M6 ?1 n Z2 ` K" `
5 K* ]) s( d* j$ s! q9 J8 N Z' I/ U6 @Determine the amount of space consumed by each affected table.
& z) w5 Z# d; B; AFor each table identified in step 2 (including PIMANEXPORTRECORD and PPOM_STUB),
- P! }. _- m# N% r+ ~- K
4 Y; h, B& y4 t+ b Menter the following SQL command:
( a; r* C( H! v- V5 {) r9 e& }WITH cte1* V Z3 g- l2 F
AS (SELECT table_name; ^; L8 @5 z' z4 ^5 l
FROM user_tables
3 j, o9 F/ _. N' h0 K) FWHERE table_name = 'TABLE-NAME'),
M* Q" ?, U/ A+ ~8 Kcte2
5 X0 j0 F! s0 o" B$ a/ eAS (SELECT SUM(blocks) * 8 / 1024 MB
( X# c5 k# u) A! H4 O ^5 c- yFROM dba_extents,
$ Q' S# [' L" }/ @# k6 `% [2 \9 _9 Acte1
C. H6 @4 j" r& J O0 |, L( W" _* }WHERE owner = (SELECT SYS_CONTEXT('userenv', 'current_schema'). |9 s4 V: K8 g$ o0 `/ e
FROM dual)* y0 p$ e5 B7 X/ t# ?# I
AND segment_name = cte1.table_name)
1 e* n, G" c( h" w' USELECT ROUND(SUM(mb), 0) || ' MB' AS ESTIMATED_SPACE1 l( G. }$ N% s
FROM cte2;
* r# K+ J1 Y% ?& @! g1 D
C/ S$ x& I/ B0 R& HReplace TABLE-NAME with the name of the given table.) \/ t# n6 ? x' R
* g; |, t8 I/ m
6 S% {: ~3 Z! {3 Q8 g( V! D1 `# m9 O: \/ h' L: p
REM ==unzip install.zip ======6 q' S, j7 [- \2 O4 A `3 w
' H" @% P9 n. q0 `
TC_ROOT\install\install\unzip -o install.zip
' h1 Y3 Z) {* s% h% Z# H: f* L* w
% s4 x0 S& |9 j' O+ s+ m# K7 b: z) }5 w* ?/ \( B+ O+ x
+ X E( O/ A4 ^: H/ RREM ===Install patches on a Teamcenter server====
& y5 w; _% o, s! p0 T* ?4 K2 e& `, [+ j5 L( `
TEM--> updates manager
4 @6 A5 {" j( o8 r5 S2 v8 J- [0 q' V$ u
REM === Update kit location : product-level_number_platform.zip // Tc11.4_wntx64.zip
6 s: k3 W9 R6 F1 Y6 @; h7 Q0 O) K$ ^' i) E* b+ W
After the server is successfully patched, you must manually update your TC_DATA directories.8 p: m! y" O( k) d
a. Create backups of your current TC_DATA directories.' a$ j0 j# }: g; R( }7 k
b. Expand the platform\tc\data.zip file from the temporary location you created in step 1.& g7 L2 y- {8 W l$ u r1 V
c. Copy the expanded contents of the data.zip file to your TC_DATA directories, overwriting. T, ^& Z7 a' S, e o
existing files.
$ w) \" ]2 e& Gd. Copy the tc_profilevars.bat file from the backup to the TC_DATA directory.9 W7 h) h2 X. j. y9 b4 ~/ T* E+ Q+ N% a
: ?! b$ }7 }; |' V# |. O- f1 g" a
5 ~7 w9 o4 i" R. E
8 O& ^7 I) K$ i( C( _4 q |5 v
( _$ u' H: A+ ]. G; D& M/ |
# q- m7 E# `9 n2 b& R+ u4 H3 M; \7 `/ Y1 E) o) v7 K# I9 Q- B! y
========Patch the rich client using TEM
# _8 I2 l( e, k [9 `- s1 E; K========Patch the rich client using the Over-the-Web Installer
4 y6 v4 }6 A ^* D- x% a9 h7 ~! O8 P5 o/ E
1 {: m" X7 f" |* ?' E2 W; r9 O4 h
a. Click Reinstall Solutions.
% g+ G1 Y' x, { v6 I$ u( Rb. In the Reinstall Solution dialog box, click
+ X- R% s1 D# y7 ?/ x8 yOK.1
8 C5 E" L9 e4 S Jc. In the Confirm dialog box, click Yes.
2 h+ g3 r7 ], Bd. In the Modify Required Context: ]- {# j$ p* _
Parameters dialog box, click OK to begin
) r9 @# m" Q8 _% j2 ]' xpatching.2 M3 |. b, ?2 j: c6 A0 V k8 B& K
e. After the patch is installed, click OK to# `$ w. m' n! m! J! X
close the Progress dialog box.2 r, }9 v* r1 A' d! f: K+ H: C
9. In the Modify Web Application dialog box, click OK.+ G9 \9 n$ c, Z/ m
10. Exit the Web Application Manager.
9 @! J1 ?& ?/ z! N11. Copy the otwweb directory from your WEB_ROOT\staging-location\webapp_root directory+ V- q1 T6 Y! g! U: o
to your web server.
; l8 ~& V8 @* `9 s. @4 ?12. Restart the distribution server.5 k7 q _0 ?$ G3 J8 \% ?! D
& c4 p) G+ g! d" C+ d- P; x
/ e {3 x3 e/ v/ h1 ]$ j+ ~! [: ^2 g& M
=====Patch Lifecycle Visualization====3 ]9 C- ~2 X- c% w6 }2 z$ g4 O1 v
9 W& H% ^2 K$ }# C
1 x* D, Q" ?2 i
3 R+ |' P2 |5 ~5 b" Z! L& I
===Patch the web tier======6 v; s# B4 L6 |
) B# i; K* B, G( \* D8 o
6 L* ? u, u& d/ `
+ }% J9 B% ~& T1 B
8 Z9 @- x& M, W) \+ O7 ~
5 }2 `, I- `, Y& @
|
|