|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
Teamcenter11.2 升级到 Teamcenter 11.4 图文教程
9 b) M2 T) C. q视频教程请参考plmhome.ke.qq.com
" S7 P Z( b: U8 F5 ?, s7 H8 @8 e. C. {$ G3 B- Y) N
===Clearlocks======3 k7 x& z8 _+ a5 X# j" D" Y: Y& D
clearlocks -assert_all_dead -u=infodba -p=infodba -g=dba
' k. h: V8 b' a/ kclearlocks -verbose
% Q6 D- F6 Z8 Z6 D1 M' ]$ E# d: c
9 Q% U& K) c! q! M% y% ]" x: ^7 P! _ Y+ i, D
11.4 的升级比较特殊,特殊的两部如下:9 [# F2 y6 e; k; e6 Y/ X7 V" ?
4 z2 }2 b7 q( F8 z5 F: _
REM === Migrate trace links =====! L( p9 f6 _8 _% z+ U
: U {& t! H- L# s6 [9 creq_migrate_bomview_tracelinks -u=infodba -p=infodba -g=dba, t; f d3 B3 J2 f3 A; {
9 l5 ]7 }+ W% I4 z2 l+ ] T! H a
- h; U& w+ B$ F5 S; ]====DB =======8 t6 v4 \+ s9 m: L
=====backup====$ q" v6 `+ z8 Y+ j
2 T& U5 c8 j3 f. X" j% e
3 x3 S$ Y c8 t. Z7 L( }REM ==Estimate tablespace requirements for update====
& W; Y" u1 x4 b8 y8 [2 {0 h) w5 TOracle databases:
9 G0 M1 c6 P7 }8 p3 j1. Back up existing Teamcenter data.
7 _1 u& y$ m3 d! W& y2. Determine the tables affected by the update to Teamcenter 11.4.; D9 j' I" K# s7 D
a. Enter the following SQL command:( v8 L/ m# ^! }/ c
8 U/ E1 P: k4 O; c( w" H/ U/ E9 d
SELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 8192) <> 02 h; @/ {" ?# e4 i2 Q; B
UNION
+ h' D6 x3 w0 V9 _, a2 DSELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 32768) <> 0;
+ S, L! a' s- b/ N
: w8 ]" c& h$ G; nb. To the resulting list of tables, add the PIMANEXPORTRECORD and PPOM_STUB' h! e @7 ?0 y
tables, which are also affected by the update process.
9 m$ {% b3 x" K9 `# S: I
3 W! S4 X! z sDetermine the amount of space consumed by each affected table., D( \. z- C# Q
For each table identified in step 2 (including PIMANEXPORTRECORD and PPOM_STUB),
0 Y; ^2 K( s! j7 Y( z! ^; m
* d) t# m% z! U3 N5 y* Aenter the following SQL command:3 b6 E5 F% H) [5 C
WITH cte1
- }3 a: R2 A; U0 {% D0 aAS (SELECT table_name# E& `, r; E9 b
FROM user_tables
: u( p) j/ G* I) HWHERE table_name = 'TABLE-NAME'), O/ D1 j l% `3 O2 V; F
cte2$ d. @0 p. }7 B9 q. R' q
AS (SELECT SUM(blocks) * 8 / 1024 MB
1 D2 t7 N G$ f& KFROM dba_extents,
/ U# E4 Y! _7 J% b, R5 octe1
4 F- D: E, H* nWHERE owner = (SELECT SYS_CONTEXT('userenv', 'current_schema') o: ~; ~( o3 V* O/ V, ~# h
FROM dual)
# c1 S- ?% V. _% `% zAND segment_name = cte1.table_name)
# g. V% P2 I5 M& k1 Q1 C' ]SELECT ROUND(SUM(mb), 0) || ' MB' AS ESTIMATED_SPACE
8 T/ q2 H: F9 P! w k! j- ^2 XFROM cte2;8 b/ |/ f9 W2 A; q7 u7 P
7 }# b7 z: T: Q6 i/ T( IReplace TABLE-NAME with the name of the given table.
# Q6 ~# I* S2 ~. u: D8 m; Z# \0 U) k+ X6 Q f
D! J& Z7 Q& `2 A3 H0 Q+ e: R
/ @& O' T7 y$ ^" {8 `5 s1 l1 @9 D: s" cREM ==unzip install.zip ======
4 K0 c) L% K5 K; C3 G
W1 B, R @( @7 L8 ~TC_ROOT\install\install\unzip -o install.zip& e* m$ l+ c% `0 e9 ^0 s1 w
- ?+ U* o, W6 C! z8 P- X0 F+ L3 A( n
$ M3 P1 i* I( _! l
8 s% T7 n! h z( w+ r/ hREM ===Install patches on a Teamcenter server====
& W3 Q: x* ~, a* V5 T) H* j; Y0 y" l& ]9 [1 x' y3 V
TEM--> updates manager x7 D: C4 {& h* ]# y/ n! z
6 _7 S0 X k; t5 }
REM === Update kit location : product-level_number_platform.zip // Tc11.4_wntx64.zip3 ?# Y4 n# t8 u5 U- v
v8 }% Y+ H3 {3 e# D$ {After the server is successfully patched, you must manually update your TC_DATA directories.+ r' G- U I# o" G
a. Create backups of your current TC_DATA directories.( m" h% [8 ^* c# A* ]
b. Expand the platform\tc\data.zip file from the temporary location you created in step 1.
- @1 m8 z5 h- Pc. Copy the expanded contents of the data.zip file to your TC_DATA directories, overwriting3 ?8 a, I3 U" y7 ]
existing files.
, A# R) u. z: w" l* V5 Rd. Copy the tc_profilevars.bat file from the backup to the TC_DATA directory.7 z0 @" w- R: V. I0 x: `
' d0 @$ z: e9 o
( q* o: a8 v: Q- t* n; Y
3 z" {5 n4 t8 y7 h9 E- h5 A( B
" k" N) K. L- j0 S$ \
# O4 Y& t- c5 o1 S
- L2 U! H% G( l" d% g========Patch the rich client using TEM( M% p* c# v% X- m# \+ z
========Patch the rich client using the Over-the-Web Installer
0 ~7 B( \& c% X K
) p3 G P' v( R- r; J- |* k0 G( k6 A% B7 B
a. Click Reinstall Solutions.9 D$ Z' N+ B$ i' i
b. In the Reinstall Solution dialog box, click8 j5 R3 \. e" |( ?5 ]
OK.1. o" O( H/ j: J) g6 Q7 | w
c. In the Confirm dialog box, click Yes.
' u+ d# l4 L' s8 U* B$ qd. In the Modify Required Context' I- J# ?1 I* T
Parameters dialog box, click OK to begin/ u' m8 O: q6 g) h- y
patching.& `2 K: t! q v" x% T) h" g7 R
e. After the patch is installed, click OK to$ \% p0 q* R* s+ X& C
close the Progress dialog box.8 _/ |- d! `3 T& }9 R' j
9. In the Modify Web Application dialog box, click OK.
$ {' ~1 X2 M# F( ]5 o10. Exit the Web Application Manager.
4 g! [& n" E% {( z11. Copy the otwweb directory from your WEB_ROOT\staging-location\webapp_root directory. K( H' h) @ R) d
to your web server.- Q3 ^" E* Z, u7 P" f7 f$ g
12. Restart the distribution server.# `3 F. i( K8 {0 Y/ v: u, y, g
" F# F. y1 h/ g. k* u0 l3 | Z6 V: s/ K
=====Patch Lifecycle Visualization====) x# f$ B( J$ W$ k& W/ ?4 x. B
: S) g+ P" ?/ x$ `" u) {' L1 T y6 i) {& }! i: L' n, @+ O
) H% C+ w* ?- H6 D9 Z8 K
===Patch the web tier======, Y# h% H. r( U5 N' \
0 P/ k8 E. f/ V! B5 n" @; e
; e. `! Z' b. M+ q* w. o0 k7 R1 l
7 T0 e; Y8 a- f' a
/ t2 _. A/ g8 X f9 q. B; q6 S/ B: e6 w$ i: @8 v( Q
|
|