|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
Teamcenter11.2 升级到 Teamcenter 11.4 图文教程0 t8 h2 s( ^. v9 S% H+ C+ R1 [
视频教程请参考plmhome.ke.qq.com* r* b$ J3 a$ J7 z
' w' x# r- P6 o' q4 d===Clearlocks======5 q$ I+ ^' l2 r3 s
clearlocks -assert_all_dead -u=infodba -p=infodba -g=dba
' x8 _" s {1 z4 z- b& qclearlocks -verbose6 w+ O$ V4 f/ i) N0 {
+ `. n7 e1 {6 `4 s4 G, V1 {3 ~
9 H4 B) R; P, E, @5 \# V% F$ i11.4 的升级比较特殊,特殊的两部如下:. ^. ^( N _5 V' g. U
% ?/ r4 j. q r9 [) b; b) dREM === Migrate trace links =====
7 a" ^ `3 ]) W9 v9 t% S" a4 N4 g! S. b1 E: \, q3 P
req_migrate_bomview_tracelinks -u=infodba -p=infodba -g=dba
3 @: O6 v. ^( u2 I5 g) X' p" Z
" o# V3 E( I4 m6 [4 b! t% {9 N' @& U, K; @ U7 m4 `! r
====DB =======7 Y6 S) f$ l' z5 I: @5 e2 T
=====backup====- J2 `$ I- w/ u% U
/ ~0 ~5 z8 h( U4 f2 Q& K8 t/ B. M$ O+ `: e1 |3 Q
REM ==Estimate tablespace requirements for update====
. _4 c7 | v- mOracle databases:
. ^* e7 f- h5 x4 R1. Back up existing Teamcenter data.6 B! I2 f- b4 X5 H) O8 e
2. Determine the tables affected by the update to Teamcenter 11.4.$ e6 q3 a2 T( z' A: k6 R y7 w
a. Enter the following SQL command:. ~" ~$ `1 f3 x. e/ F
. u, D1 ]. j, H- ~0 q# H
SELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 8192) <> 0
J. Q/ J' X# r+ J& U' qUNION
- p" t j1 b5 ySELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 32768) <> 0;
9 p H- Z, {$ d3 s
( n6 Z5 D+ X& x5 s/ lb. To the resulting list of tables, add the PIMANEXPORTRECORD and PPOM_STUB
& Y0 C* F, O' Wtables, which are also affected by the update process.9 C( s, V0 i7 [, W- Z
/ E% L6 `+ X: d5 I9 l* ]0 A
Determine the amount of space consumed by each affected table.
8 v L: |& a( j4 Y1 L% \( r& hFor each table identified in step 2 (including PIMANEXPORTRECORD and PPOM_STUB),
/ T4 u) m3 Y" M1 j4 L/ q' s! e. V' _
enter the following SQL command:. H) z% \2 o9 a( c
WITH cte10 r f! y+ y6 U0 u1 |5 I5 y9 d
AS (SELECT table_name" y6 B. |( q+ d
FROM user_tables$ d: J- _3 A L1 N% S ` S
WHERE table_name = 'TABLE-NAME'), ~8 s! l8 i9 J2 p; s
cte28 ^$ e2 w; @, z% Z/ C R
AS (SELECT SUM(blocks) * 8 / 1024 MB
+ s* |8 e6 S3 v6 ?5 hFROM dba_extents,) |0 J. ~; Z1 x t9 p# r2 k
cte1& S' ~9 {( o* E. \ n
WHERE owner = (SELECT SYS_CONTEXT('userenv', 'current_schema')6 ?8 {% ], d0 T: e
FROM dual)6 t) `6 |$ |: x. S
AND segment_name = cte1.table_name)4 \ A" w7 i, f* O- V3 H6 S1 g
SELECT ROUND(SUM(mb), 0) || ' MB' AS ESTIMATED_SPACE2 Y# w' @, r* d: M* d/ U
FROM cte2;4 N+ |* h' S- z6 ]+ {
1 z7 M! a; s: }/ O0 M- kReplace TABLE-NAME with the name of the given table.
" S# A9 V: l W/ }% `" M
+ u( y4 b R/ g) _: N$ i( Y; |: R6 y$ W+ l9 }/ p$ _$ g
" F. b/ ~: t# j6 N3 s9 TREM ==unzip install.zip ======
0 z1 Q7 F8 l0 l; y# N$ S8 x0 N0 s2 D) x2 q3 `" ]% |
TC_ROOT\install\install\unzip -o install.zip
* F: \0 p8 e2 R% v: T& ~6 }& T, t8 R. X+ I: S+ j* W
* q5 S6 s; \5 b, N: Q2 f9 ^2 u& w$ {/ g8 r& ?+ k9 s
REM ===Install patches on a Teamcenter server====
% r4 T. d, m/ G. j. N2 C; }4 ]( E5 U" I# D: G8 W
TEM--> updates manager
4 ?6 l2 N8 U7 K: N) r+ {" c/ o
5 n) g9 c( z; _" u" R3 |( D; g4 ]REM === Update kit location : product-level_number_platform.zip // Tc11.4_wntx64.zip
: F( z$ K1 V0 H8 y/ C
& y2 [6 u' i- U3 UAfter the server is successfully patched, you must manually update your TC_DATA directories.
; ?# Y+ M" t4 y$ N; }: u7 W( Ka. Create backups of your current TC_DATA directories.9 u' `9 H5 C8 d0 e* @
b. Expand the platform\tc\data.zip file from the temporary location you created in step 1.; Q3 k: [- J+ k# v; g5 p/ v" a
c. Copy the expanded contents of the data.zip file to your TC_DATA directories, overwriting# V, P, p5 B& A9 w7 i9 m
existing files.# _: A5 N2 Y, L
d. Copy the tc_profilevars.bat file from the backup to the TC_DATA directory.
/ L3 Q5 j* e: M X+ Y: [& W& Y
: F! e) e; C+ @$ N+ T1 z& L
# J$ {2 Q5 }( g+ o. h% c
% P7 q% _3 S9 Q9 v
. ~- C$ D9 b4 u2 }8 L9 Y, K' J. T' Q1 R8 d- a. C5 X7 g7 n
6 c5 |1 m( V6 V/ d; | H========Patch the rich client using TEM
0 u5 `& y6 d. ^# k========Patch the rich client using the Over-the-Web Installer
( X" B6 e4 H3 j4 J# `
# v6 F: a& f* V' b6 @6 R2 z
1 @: D4 L4 D' \2 y& J' z: oa. Click Reinstall Solutions.
5 A: |! p4 b. h- i2 i+ Rb. In the Reinstall Solution dialog box, click
% U0 b3 X- R1 J8 h! _, }OK.1
% E; O: J$ e! G( X& qc. In the Confirm dialog box, click Yes.7 k8 {3 p) K y) @* _
d. In the Modify Required Context
5 Z" F3 {' O( ]- E& mParameters dialog box, click OK to begin6 j! G2 B3 k; C+ K
patching.6 l$ w9 a; A$ d9 r
e. After the patch is installed, click OK to6 ]3 [1 D9 Z* w, m5 K
close the Progress dialog box.0 F P8 D$ g5 e' Q1 c" O/ d
9. In the Modify Web Application dialog box, click OK., y" b0 G3 e, q: O+ H9 b' l
10. Exit the Web Application Manager.
% z" R7 Y& E7 X/ u9 A1 S N11. Copy the otwweb directory from your WEB_ROOT\staging-location\webapp_root directory
* B( }: e" i# y# `to your web server.
- H7 v9 A9 }" Q4 n12. Restart the distribution server.# t/ G2 z/ {7 {8 l
7 R- O" A+ q" x
/ u$ h/ A: a2 l1 s+ Y6 q! x# s=====Patch Lifecycle Visualization====
$ s/ y+ j- o+ r; S- e
1 M9 _. y1 Q! G% `; _: n6 k& A! k3 z
& x/ E0 K( j) A5 i* y; X" w===Patch the web tier======
* B4 L* m' d" w D/ N4 Q! U0 V8 \9 a' v5 c+ M8 I: \8 @0 J0 y
, L3 b$ h- Z( E* r% P: U6 W7 Z
2 ]% [. W, o! T: d* `9 a: ]. i6 F
, E; P* u9 A* W' n5 |1 w2 A8 g5 C( C3 @6 \: Y# z7 P! f
|
|