|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
Teamcenter11.2 升级到 Teamcenter 11.4 图文教程
8 C2 ]- P) U2 \ O8 z视频教程请参考plmhome.ke.qq.com: } z8 k# n; Z; N
9 ^6 j: I- G4 j===Clearlocks======5 I9 P* J4 w( F* b1 o% p2 @" \
clearlocks -assert_all_dead -u=infodba -p=infodba -g=dba
9 s! m2 j( m3 ~7 n cclearlocks -verbose. m+ D! O% D, t% Y! S
0 L; B+ H8 k7 [4 ?9 ^( _
- y& j7 l$ r& A' E8 _+ I4 W& x+ Z
11.4 的升级比较特殊,特殊的两部如下:
/ [# p. G5 W: p' X/ B
+ f# ~( Q6 r" w( i$ c' p3 A4 _9 Z4 xREM === Migrate trace links =====
) c8 |. I7 G7 h4 g- M, b9 ]
2 }& _0 ^5 r2 w' h t) Yreq_migrate_bomview_tracelinks -u=infodba -p=infodba -g=dba
; O0 `* X" Z3 E# o+ A3 f# \7 s
# d1 i% g4 E8 T
( z7 F4 R5 P- I: E( u$ I6 {====DB =======6 B6 [" L3 \2 s3 J& g+ R
=====backup====
6 {$ D& p! {! w! p {; i+ @0 X1 @
% I$ U1 e$ T9 S# X+ ]9 C; p
REM ==Estimate tablespace requirements for update====
, K. w2 m6 L5 m* H) H) qOracle databases:" w% s5 w @2 x# v" ]! |5 p' j) Y
1. Back up existing Teamcenter data.0 A* f f( L* m" G$ i. }3 A0 ^; H
2. Determine the tables affected by the update to Teamcenter 11.4.# `, s/ i/ u6 T
a. Enter the following SQL command:' y4 f1 R O' l- M& Y/ U+ K, r
6 J# T. S( O7 }. F3 Q6 F2 s3 A2 qSELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 8192) <> 0
+ k9 }/ p- x& v6 _ pUNION
, J6 k8 H% c, w' hSELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 32768) <> 0;
( k3 X: F% s3 v0 i7 O8 L% D
; u$ W+ c5 ?* _: u* q' C& Ub. To the resulting list of tables, add the PIMANEXPORTRECORD and PPOM_STUB+ y1 H& b# Q6 S5 ]- @( X
tables, which are also affected by the update process.
) \! f, S& n7 Q: D) j7 s2 z
8 G: ^/ u) d# N" L! z2 \9 jDetermine the amount of space consumed by each affected table.
$ e h' D4 d, z1 ?* J' qFor each table identified in step 2 (including PIMANEXPORTRECORD and PPOM_STUB),
6 M( k0 g3 _8 ?0 a9 o& h% t$ |- S
9 G1 U# u; E. C6 {& W+ B+ w! m( |enter the following SQL command:3 z+ P% Q" C9 G" p1 F
WITH cte16 o1 M; u9 H% m' V
AS (SELECT table_name
2 R/ {$ Q2 U9 c! w) rFROM user_tables
" u# C4 u: M- t3 S$ z$ ZWHERE table_name = 'TABLE-NAME'),. n( E' n$ t' p, Y) c1 G" w
cte20 J% G5 Y }" N
AS (SELECT SUM(blocks) * 8 / 1024 MB
! W! d$ t8 W% u/ qFROM dba_extents,
$ N) j& C! |* ^4 ^1 Xcte11 i) P1 j/ g0 P# L2 I% |
WHERE owner = (SELECT SYS_CONTEXT('userenv', 'current_schema')5 K7 C* Z# `* T+ ?& O& _1 u8 V
FROM dual)+ e+ y+ H# r9 a4 ]
AND segment_name = cte1.table_name)2 ^6 E2 L. S% E
SELECT ROUND(SUM(mb), 0) || ' MB' AS ESTIMATED_SPACE; X& \/ k2 @+ O- ?
FROM cte2;
7 ^/ d7 r5 c9 j, h: G: C* R; L
v3 V! K& [' Q+ k* N5 dReplace TABLE-NAME with the name of the given table.
9 a: U$ H' {8 f7 J% F. ]
5 z+ Q, a5 U& P% L4 C( L, S9 v
" i7 J6 T$ }) ]3 v) b S# [( F. S2 v( S& j% `* ?
REM ==unzip install.zip ======; X9 K+ K0 q3 S* W5 M5 j& x1 i1 ~
: V7 ]. {( t A$ q/ f6 i5 J
TC_ROOT\install\install\unzip -o install.zip& l( Q# F9 u4 z4 ?& ?
: @, M2 @ R/ ?) ^6 B8 \
7 } ]+ k# v3 A% \1 N, g
; _% q7 Y1 i6 ~2 h% aREM ===Install patches on a Teamcenter server====# A9 i0 R: U% c7 Z
' A* f0 K% |' \, R+ Z/ k) B% wTEM--> updates manager " R% i( R7 y' _# y
+ q' k) N' \- T7 `$ F6 V. M
REM === Update kit location : product-level_number_platform.zip // Tc11.4_wntx64.zip
: w2 d, o: s- `! ?) u0 \2 o3 j0 c8 v" z6 B+ \- P% W
After the server is successfully patched, you must manually update your TC_DATA directories.5 O. `+ i! o0 H8 B. r- |
a. Create backups of your current TC_DATA directories.. Y6 _& x: o' a" B. v
b. Expand the platform\tc\data.zip file from the temporary location you created in step 1.
2 M( i2 a/ t! u& ` Z. Z; rc. Copy the expanded contents of the data.zip file to your TC_DATA directories, overwriting
* C% B" d p4 ?. Lexisting files.4 D6 G# b1 A$ C: X
d. Copy the tc_profilevars.bat file from the backup to the TC_DATA directory.
+ g1 L' u7 G) z' |# }1 k, Y( B5 ^ r9 n
0 c2 _: U& C/ l& K8 n( F
9 H ~& V( k# E- C, X) o8 g' C: Q1 @+ y
. _( q4 ^1 ~& P% u- t
% p B! F- t% I( w4 z. i2 H* X* r
========Patch the rich client using TEM& g/ X5 l9 W# s8 ]
========Patch the rich client using the Over-the-Web Installer
3 @2 q+ ~) p( q0 Y
! \ l- K. |& \$ w; F# J* b3 K% {5 X; K9 p8 |
a. Click Reinstall Solutions.. G) B) o; j. T( C
b. In the Reinstall Solution dialog box, click
$ ^' T) C/ e- N9 }, A" cOK.1
) o, B p; k) f y/ o j! Ac. In the Confirm dialog box, click Yes.
, k6 w( y/ Z! F$ p% }d. In the Modify Required Context
7 |5 D! U& t7 ]2 NParameters dialog box, click OK to begin
& n, T) _- Y( qpatching.2 E- h# g: b# N8 j
e. After the patch is installed, click OK to
" ~% G6 R# u- T# E# ?close the Progress dialog box." n) v/ q& P3 E4 v$ l) @
9. In the Modify Web Application dialog box, click OK.; D$ P8 G: X% o
10. Exit the Web Application Manager.) o1 w0 s2 s& ~- Z( H, b
11. Copy the otwweb directory from your WEB_ROOT\staging-location\webapp_root directory
: h8 T) C3 Z k1 g$ vto your web server.
4 j, A* y }3 o& ^* L; H; I5 y12. Restart the distribution server.
4 @) [) A5 o6 V, i
5 T' f1 o/ @. ~1 }3 w2 m( c6 S
1 o+ b1 u, |: G' g p4 y' n- k=====Patch Lifecycle Visualization==== X' y8 g: W' @3 G a
, o4 ?8 m. o/ L4 _) z4 y+ E
- ]8 H. l1 Y, q3 K' ^, ^3 p
$ S0 e5 e/ z! [2 ?9 G( k===Patch the web tier======5 h: B* K8 [, Z |, ]( H9 p0 P
. n& H8 j; l' q0 u U% Z/ Y
( i! o9 e+ w2 A9 l! g# W/ f! _ @' J" v" U T
* T* v$ P( B& i- N5 y1 ~% ^
7 V4 Q) H9 D9 u* J |
|