|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
Teamcenter11.2 升级到 Teamcenter 11.4 图文教程
2 V" Y# W$ C/ L1 _: N$ [视频教程请参考plmhome.ke.qq.com
8 _; n; v' H e1 ~ q% v5 ~, L$ y0 l B$ h. r Y/ P9 e
===Clearlocks======
+ J A5 U0 c' \' O: Uclearlocks -assert_all_dead -u=infodba -p=infodba -g=dba8 Q9 E, d) Y) U- [0 {/ r
clearlocks -verbose8 Q% ^% D+ K) f
4 {4 Y/ `3 t/ i, n- t' Y! E
' b; m0 e: z2 a8 ?0 W11.4 的升级比较特殊,特殊的两部如下:
. z! a1 ~1 H+ T' n$ E. c
+ B6 } c* s |% MREM === Migrate trace links =====
+ J8 u5 ^6 N% L2 Y5 b3 B# I4 i
4 s" R: Q2 F/ r0 x4 ?req_migrate_bomview_tracelinks -u=infodba -p=infodba -g=dba8 y( Q e6 T0 R3 Z4 _
* S3 i# W% M1 A4 o2 {6 t
/ u' q$ y: W4 T8 J$ _====DB =======
' D! M0 n6 E7 G$ b; y4 _1 a) @9 X1 g1 q=====backup====4 i9 }! t; p2 `3 X7 ]
8 I' I7 F& h, B
" |2 {4 m) z. M+ x- x; AREM ==Estimate tablespace requirements for update====
6 e6 y3 b1 A- GOracle databases:
( b4 S& K/ r/ m$ o1 h' ^% ~1. Back up existing Teamcenter data.. G( ^2 R8 `, W
2. Determine the tables affected by the update to Teamcenter 11.4.
1 r5 M; C: x! l0 Z6 c) u, la. Enter the following SQL command:+ n) {3 i& V I. [% ]( {7 @% y) S
* K* ?; ?( m' U" P6 [3 sSELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 8192) <> 0" h& ]' m, e, x6 R0 t3 R+ `0 ?- T5 i
UNION+ a; B% @7 z' F& O2 S! h8 P
SELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 32768) <> 0;" B2 v, Z5 @8 \. [. l; p7 Y
~3 {4 W/ L, ^b. To the resulting list of tables, add the PIMANEXPORTRECORD and PPOM_STUB
; }# c2 H0 _/ \( btables, which are also affected by the update process.4 ~8 z* r: ^; L/ }+ j
* M5 n) ]1 e" E; y8 Y. lDetermine the amount of space consumed by each affected table.
) K( \$ h2 Z- i& XFor each table identified in step 2 (including PIMANEXPORTRECORD and PPOM_STUB),1 X- L, M" w& O3 n2 T
5 ]. G( W2 \9 L9 ?enter the following SQL command: J: o# R1 m$ N& |3 p
WITH cte1
: ?. X ^/ N8 B* O: r' f0 rAS (SELECT table_name
8 I1 K/ r% T' [9 n) bFROM user_tables
, y- u4 p' s! j( A/ kWHERE table_name = 'TABLE-NAME'),
' ~$ m2 G* I$ P% z7 a% a5 wcte2
. S% Y T/ ?( ?' A! P. KAS (SELECT SUM(blocks) * 8 / 1024 MB, c3 d9 e2 a+ O. }2 o: x5 c6 L
FROM dba_extents,
& N- ^, l' Q( |* l0 J+ \- vcte19 |4 I I- D- F# B8 `5 A
WHERE owner = (SELECT SYS_CONTEXT('userenv', 'current_schema')
+ S" u9 F% [8 L q2 u. Z; |% H" rFROM dual)" L, r0 Y$ Q G" r* E& e5 S; k3 h6 n
AND segment_name = cte1.table_name)
7 `, h8 S6 |- `' I% ~! j" HSELECT ROUND(SUM(mb), 0) || ' MB' AS ESTIMATED_SPACE
5 ^! w$ u! |' i" ?, tFROM cte2;
~- ? Z1 _2 R. l+ ^
$ A* h3 |! m- ^7 m3 _4 N# uReplace TABLE-NAME with the name of the given table.* C; o d: k w) c
0 E% w$ C) ^1 y. ^0 r
- a% v K3 b& w$ J0 L1 w4 B' j) J' Z9 I
REM ==unzip install.zip ======
. ~ \7 ]; M7 w* Z6 r' M
, \) l3 Y N& g# Y5 W& `. x* O& ^TC_ROOT\install\install\unzip -o install.zip
$ r+ m* M: B C+ l1 z- W4 b, v9 O
" n3 n# Q- Q0 I& d: j4 M1 M4 j5 ^% ]- Q0 z ]- R9 Y) m
REM ===Install patches on a Teamcenter server====
$ h* p, _, p- D/ C3 Z
: U+ I( a$ a* a+ ^" H$ X. t8 F; HTEM--> updates manager
( e" a6 P+ K. w ?$ D9 Y$ C/ h5 d' q! a6 k
REM === Update kit location : product-level_number_platform.zip // Tc11.4_wntx64.zip6 B3 l1 f0 u K+ I0 |- U
. S4 B; z; u8 |0 E {
After the server is successfully patched, you must manually update your TC_DATA directories.3 N$ P: n( h: I8 p9 V# X
a. Create backups of your current TC_DATA directories.8 M0 `9 p2 a4 y9 p" }
b. Expand the platform\tc\data.zip file from the temporary location you created in step 1., T+ z& f$ X: \
c. Copy the expanded contents of the data.zip file to your TC_DATA directories, overwriting
1 I( ] G4 O3 Z3 ?+ q: Hexisting files.
8 U& H0 s$ l! B A3 C O9 {0 U2 z1 ld. Copy the tc_profilevars.bat file from the backup to the TC_DATA directory.
; m) d( g6 y4 K
; \: m. s# R- f& z! c/ D* h0 Z9 N8 k& e
3 T$ g0 ~9 {0 L! f% m+ Q$ g9 a. c2 g% M; V. b% j
$ ^4 @( Q2 [; B( Y/ L9 g+ J$ X6 F
9 a) a: ] v3 Z3 n/ ]: s========Patch the rich client using TEM. _* W3 [9 k3 `9 Z/ A
========Patch the rich client using the Over-the-Web Installer: f, J3 s9 l: k: H+ y
- N, H6 w8 [( k. |/ }: I& Z* n0 G
a. Click Reinstall Solutions.
$ n9 {2 v) d+ wb. In the Reinstall Solution dialog box, click
& D, ]& c- I/ X- t0 ?3 ^3 q5 k$ p0 _OK.1
5 g; ?& A7 n: D/ {4 |c. In the Confirm dialog box, click Yes.
" _, q0 H$ C5 H( i5 ]' gd. In the Modify Required Context8 @2 b4 C! E- V+ b" a9 d
Parameters dialog box, click OK to begin1 T3 T' R9 h; u( k
patching.
& ]: r# ]- X9 }# r: Ee. After the patch is installed, click OK to
F: M" R7 E3 \, D: Eclose the Progress dialog box.' L9 J1 i1 w# {* P R
9. In the Modify Web Application dialog box, click OK.' _1 W6 b6 b4 f8 @4 T+ H$ o3 c
10. Exit the Web Application Manager., {; L( ^+ ]0 F& D0 E
11. Copy the otwweb directory from your WEB_ROOT\staging-location\webapp_root directory
2 x- D% [. F# h4 u- eto your web server. h1 z" @( f6 _$ R! E
12. Restart the distribution server.0 J! i& \ `! W- V; f& `5 }
/ `) k2 g) n. p/ [( B. f
" S0 e. P, Y9 d F4 M: Y! B" X3 _=====Patch Lifecycle Visualization====
+ V! [& v3 \, Y% z5 S) c/ d) X
4 x! ?$ @# R5 u- E1 ]! A$ }8 I+ Z2 E4 S+ x+ @+ v0 p) W9 X# J
1 o V7 g4 U0 k. d
===Patch the web tier======
1 M K3 V) q1 P' [3 Z
$ S6 m# q H. G1 s6 H* {" s+ B0 Q: D V; O& u0 i* C
s" b1 l+ V& p& a" [
& H! r) b$ h7 P
! i" W* c6 b% C% V
|
|