|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
Teamcenter11.2 升级到 Teamcenter 11.4 图文教程
$ O# j& l: V. n* {" A视频教程请参考plmhome.ke.qq.com# I3 |$ A5 n& V& s) a9 [
: @) m/ ?8 n y( {4 T1 j
===Clearlocks======9 z% _/ r8 k& w9 I* T
clearlocks -assert_all_dead -u=infodba -p=infodba -g=dba* v/ R2 h2 N; r" v, Q0 F/ r# R9 l2 C7 W
clearlocks -verbose; a: M1 ?% {# G3 {
( D, r2 B5 p- L
" G! g5 `5 [8 O11.4 的升级比较特殊,特殊的两部如下:5 _: \* _8 o' u
0 r; D4 w. T: Y& Y+ pREM === Migrate trace links =====; ^% P# U# P9 ^+ e& Z
: A3 w: F+ p0 S, L" Ireq_migrate_bomview_tracelinks -u=infodba -p=infodba -g=dba
2 `3 u+ C8 }7 x+ m( T1 ]' V
6 ?# u9 @1 l' v0 x) U4 C2 o4 \( B
! u9 V8 U9 g9 _, b6 o \====DB =======
, Z1 a. B( r% ]) f=====backup====
( d. R2 S) Q; f1 X8 k1 @! ^
+ p, h& r& ^( U+ {1 |. T4 e0 o& b( w4 T: _
REM ==Estimate tablespace requirements for update====$ }' [1 H2 z" }9 i' q, s8 D( K" f# q
Oracle databases:
& u2 R6 I1 _; n' }) j2 e1. Back up existing Teamcenter data.
) }( B- `8 e* k5 R$ w4 T2. Determine the tables affected by the update to Teamcenter 11.4.
+ z7 Z. Y/ b/ u8 U8 v0 pa. Enter the following SQL command:
0 K# \8 e# _9 S6 l! l
! j) W% H: J) e# ISELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 8192) <> 0
) D/ i3 d' [; sUNION
6 Z2 |- o0 d7 D$ N+ T" i# N" PSELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 32768) <> 0; t9 e4 I/ s* M" M) T
2 S% P! _/ V0 l/ ^9 |b. To the resulting list of tables, add the PIMANEXPORTRECORD and PPOM_STUB" Q4 R/ _( I$ \( s
tables, which are also affected by the update process.
! m ]$ u0 S! ~8 g6 t" l) `# x1 k1 [# e6 R
Determine the amount of space consumed by each affected table.- k- G% y7 h/ B2 i, ]
For each table identified in step 2 (including PIMANEXPORTRECORD and PPOM_STUB),
* y; e. J! M4 L! g7 M5 J
4 h) [( V0 j) {6 ?" X5 q" penter the following SQL command:& q4 h& W, Y; O( r( D
WITH cte1; a* R, o9 p3 T( o: f3 L
AS (SELECT table_name0 J6 E$ F+ a) |) g( P, D3 _
FROM user_tables
2 O) V5 K3 J' n3 o' u" b. BWHERE table_name = 'TABLE-NAME'),
3 s& R3 h1 M/ ~0 t# @* x; ccte2& [0 a& a1 a) \/ p7 a
AS (SELECT SUM(blocks) * 8 / 1024 MB7 T3 W3 l t' q8 t
FROM dba_extents,- Q+ y+ Y3 Z$ X" D
cte16 ^: C4 v$ V" W$ F% Y8 z
WHERE owner = (SELECT SYS_CONTEXT('userenv', 'current_schema'): `* Q1 J5 o; B- a
FROM dual). |$ E" v, c* w. ], L! m/ K
AND segment_name = cte1.table_name)
( j+ A4 q3 Z3 aSELECT ROUND(SUM(mb), 0) || ' MB' AS ESTIMATED_SPACE
6 O! D- ]! c; c7 P& }FROM cte2;
2 v: D) n- G( g
, l0 M' w3 W; I( fReplace TABLE-NAME with the name of the given table./ X) J7 o8 S' i2 P7 x- B# h' d# B" }
* F, E5 v, o; {' A) T# I% C* u3 @& g3 P0 r+ L% r
: q1 I) e1 V; VREM ==unzip install.zip ======0 f8 G0 G. ~6 b. G
. c0 y- n3 ]: Y& E( K
TC_ROOT\install\install\unzip -o install.zip# r; t! R$ O4 l: {- q4 `
" {# B! N% E* `" e- o* [+ W+ R. t
1 o' ?! h; Q" a: ]. O. O) U- N, H$ [$ s% \% \! l
REM ===Install patches on a Teamcenter server====
( V( B( k, f+ [7 b6 q! v+ w' [3 N! k. U+ p2 h- F
TEM--> updates manager : e) c' m5 J; `+ S1 a' l
/ z1 [6 M; G1 J# F/ `REM === Update kit location : product-level_number_platform.zip // Tc11.4_wntx64.zip
2 j( F! t' g! Z+ k+ j9 a. {: K; t& z- `5 j8 a* t5 B# }
After the server is successfully patched, you must manually update your TC_DATA directories.7 O. z- a& X0 E5 T
a. Create backups of your current TC_DATA directories.
+ }% u% n; f2 H6 V( [b. Expand the platform\tc\data.zip file from the temporary location you created in step 1.5 {- g5 y% v+ T" K2 o
c. Copy the expanded contents of the data.zip file to your TC_DATA directories, overwriting; u. S* y, r2 K2 F: ^9 \6 o) D
existing files.) d! ]: D" V1 F
d. Copy the tc_profilevars.bat file from the backup to the TC_DATA directory.
) {# r ?* \" e' Q0 ?1 s% j0 ?+ |
& l4 D4 ?; o5 t) z9 F" U
6 d5 F& ]: N1 y! C, A6 x; d4 x8 [! i$ [5 z5 n2 j, [$ J0 A. J
' g) H4 r0 f9 [% q
- Z! W' T _" J* i/ o
) n5 ~! b s0 z! d$ O0 t========Patch the rich client using TEM
% X, g! r; V# E6 L5 B4 A========Patch the rich client using the Over-the-Web Installer
2 p9 ]# Z. E0 W h8 I2 x2 D& W5 x$ h0 v5 k! g
4 } W2 {, ^" q; D. ]a. Click Reinstall Solutions.2 S& c: t; H4 g
b. In the Reinstall Solution dialog box, click% }9 }; p8 m3 D" a
OK.1
7 |3 |7 y2 K' |( c% Qc. In the Confirm dialog box, click Yes.
3 @, G) x8 Y3 C& Od. In the Modify Required Context
6 I6 S& J, x' k6 s7 tParameters dialog box, click OK to begin9 S7 V7 x R! j8 ~6 f
patching.
r1 Y9 L4 R! b8 X9 D( S* Ee. After the patch is installed, click OK to0 ~2 S( w3 ~# W" s4 ?# `
close the Progress dialog box.
9 ^7 b2 D, m( W( l9. In the Modify Web Application dialog box, click OK.$ |: Z4 d) @- n+ G/ {/ z
10. Exit the Web Application Manager.
- c3 M; R# D2 @11. Copy the otwweb directory from your WEB_ROOT\staging-location\webapp_root directory. N, B, B" Y/ d& c
to your web server.
) j5 A' W) H/ X! f8 m, j12. Restart the distribution server.
0 O9 ^9 _6 b' j- \4 W! R% K7 d/ |
( N% _7 v/ P$ R. [" S
=====Patch Lifecycle Visualization====
- e& s, f, ^/ U5 [8 x( M7 N' T' d; }& m1 C7 t* ^
- m' X* c- [! b Z2 M# S
3 `, `. P. b5 j- Y4 O" [
===Patch the web tier======
4 }1 w/ @6 H$ x
2 X0 b$ d7 u! Q, r7 _. v' j' I- L y
1 B% x; @7 B4 [* w0 n( l, Q; T# n
$ J: P5 ?9 H5 K! ? |
|