|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
Teamcenter11.2 升级到 Teamcenter 11.4 图文教程 D; P( F# J% [2 x& T6 m# I
视频教程请参考plmhome.ke.qq.com1 F! z" w# o& ^3 D% B: n0 d
' H. ?2 I' {- T3 e7 V1 e===Clearlocks======0 S2 U8 G. N7 e3 i$ _/ Q1 U# z
clearlocks -assert_all_dead -u=infodba -p=infodba -g=dba# R& E( N" z5 L& H# H
clearlocks -verbose
& P0 t4 H* g( h* M0 s1 r1 k5 B }" e( q9 z! {# g6 `5 w
' W3 w! n) [5 |9 V( p1 D11.4 的升级比较特殊,特殊的两部如下:3 X: Z R- v. F) R
+ ]3 ]8 d$ T6 l3 K# I# z, @/ N6 WREM === Migrate trace links =====2 P/ F9 k0 i9 X
+ E* X Q' L0 i1 n, V) Oreq_migrate_bomview_tracelinks -u=infodba -p=infodba -g=dba( o( e! o' i1 c6 M
) g" U$ U) @" B
7 j5 C: S3 i N& c====DB =======) T% F0 K6 X, _" H+ K. b
=====backup====$ Z+ b3 a/ w2 z& K
4 T' a" p `2 s$ H/ C: @0 g8 G9 f1 v- z$ L7 }# q5 L& L
REM ==Estimate tablespace requirements for update====
- {# R( P3 A0 xOracle databases:, K/ q+ t" F; Y5 U$ o& W0 k. t+ p
1. Back up existing Teamcenter data.: S9 W! z. x+ }6 m
2. Determine the tables affected by the update to Teamcenter 11.4.+ y3 ?8 ~7 P- t9 g$ h8 @
a. Enter the following SQL command:
0 B- |5 b, F5 P' q4 B: G' D) s+ k- [
SELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 8192) <> 0
8 V/ Z; ^2 E% i( f1 |: h0 OUNION: _2 C2 f% g0 E3 Y: j6 O: n
SELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 32768) <> 0;8 G) r$ P& F. Z6 I6 u# G7 r$ z! S
( U/ r7 }2 r) C% T; s
b. To the resulting list of tables, add the PIMANEXPORTRECORD and PPOM_STUB
9 H, s$ n# p% w/ s. }: ytables, which are also affected by the update process.
8 X; g- O, ]: M6 b% x! S( ~. I/ n9 ?5 ^5 p, g2 h" P4 g" n2 g+ u7 j) D" l
Determine the amount of space consumed by each affected table.( j2 E; F" K7 \0 U! t0 M7 o
For each table identified in step 2 (including PIMANEXPORTRECORD and PPOM_STUB),
3 O3 H1 t; S" K) G/ S9 C7 ]% }) i: | v6 r
enter the following SQL command:5 n) ?$ I' [* u$ X
WITH cte1+ A. u |, b* c( ^# {' ~
AS (SELECT table_name5 a- G) M3 c: w
FROM user_tables
& |: A( S, U# e ^4 O1 h0 KWHERE table_name = 'TABLE-NAME'),
' P. k& D- y$ D, R- D9 R- X( `0 ^+ Ncte2
! F* i. n: r2 ]8 y* }/ {5 VAS (SELECT SUM(blocks) * 8 / 1024 MB2 X8 | h. N" @; h3 _
FROM dba_extents,
7 B7 G: j1 m& u+ S2 i! _ v8 L% zcte1% _7 {( U: i4 ~7 S, l- z, ?
WHERE owner = (SELECT SYS_CONTEXT('userenv', 'current_schema')
$ y; g/ ]* L. H6 B2 KFROM dual)
! h7 y* |& B: IAND segment_name = cte1.table_name)
4 Q" ?. m$ L) a5 A) SSELECT ROUND(SUM(mb), 0) || ' MB' AS ESTIMATED_SPACE
, D4 m0 Z2 b, ] P% ?! LFROM cte2;3 x: K: X4 E3 |( P
+ z% ^' N. Y: B* e$ p0 m& C1 r
Replace TABLE-NAME with the name of the given table.
5 K' z" J' s* e) A) w) n$ T- E) e; J3 j: G8 x) u
* g% Q3 Y9 u- I6 h2 q( H2 f1 P
! D4 l! E- \, iREM ==unzip install.zip ======
( m- t1 b- V: s r7 J) p% g2 g
. m. O: p1 y( J2 o* X" hTC_ROOT\install\install\unzip -o install.zip
/ X+ l0 B- U6 F' }/ B- N, C7 h6 t( h( [7 V) ?" x
1 w+ D, G/ g! g1 O0 d- B) K( I! q# m3 v4 U, @# q, r/ Q. V
REM ===Install patches on a Teamcenter server====/ H" { v R8 `: M) F D
3 I2 z; N+ V6 X: ?TEM--> updates manager
' K# c* w# y- [; U3 F1 I# x! h, g% z# e
REM === Update kit location : product-level_number_platform.zip // Tc11.4_wntx64.zip
& @ d. g, j. X' H. N' N2 ^2 {) c( d# W% k
After the server is successfully patched, you must manually update your TC_DATA directories.
; N, t( n( I, L. V6 Q. Ga. Create backups of your current TC_DATA directories.
3 B- i' [3 ^7 A# u2 @& ob. Expand the platform\tc\data.zip file from the temporary location you created in step 1.
2 \- ]! Z. v* D5 Mc. Copy the expanded contents of the data.zip file to your TC_DATA directories, overwriting4 J# S1 n6 C0 b: s5 x
existing files.9 _% [& i4 ?) n' {
d. Copy the tc_profilevars.bat file from the backup to the TC_DATA directory.5 ]+ i6 a% v) H. l& v
1 I6 U4 L+ H9 h
6 m% @7 w3 c& q3 X" W
3 Y& F, V2 b* f5 u
; p- [* B, r: k6 r3 F, w+ v. @+ Z* E' w
5 i: |# ~# b. G6 m6 \- f/ I9 L0 O
========Patch the rich client using TEM/ \7 _+ k5 m/ E, o) J
========Patch the rich client using the Over-the-Web Installer; v# v/ O1 y" o3 K( ], g+ ?* `
6 |/ k! ?) |: Z: L0 @& c/ P/ F0 {' v
a. Click Reinstall Solutions.% `( v) ?$ w5 }+ r/ g" y
b. In the Reinstall Solution dialog box, click
5 T: }# B; y" f! ]+ W1 GOK.18 D. X- I2 }4 g$ f
c. In the Confirm dialog box, click Yes.! @6 d+ P5 D9 z. T
d. In the Modify Required Context' q7 z Z, Q, u' }" q
Parameters dialog box, click OK to begin
3 a( v: V9 N- V, x# y& mpatching.
9 X. _& N: ^7 i7 s& o2 Z: N6 S' de. After the patch is installed, click OK to+ [" a7 _( [1 ` _. X
close the Progress dialog box.
! O4 H& M. e- H: ^' p1 q! S9. In the Modify Web Application dialog box, click OK.
. E+ Y. y+ m, k8 j8 [* w) p7 z6 |& u' @10. Exit the Web Application Manager.0 R7 r2 ?) d6 X. J! x1 G1 ?
11. Copy the otwweb directory from your WEB_ROOT\staging-location\webapp_root directory A: y; w; x; @: @$ E
to your web server.! a" d; M* F. _: ~3 I6 e6 r! D q
12. Restart the distribution server.4 S/ _! J: q' h' \) n% w, _
& t: l( `9 c' i* \0 Y& r$ |" B" |. {! @1 i2 D& s: u) s
=====Patch Lifecycle Visualization====
' I) f q L( f4 s& X, Y5 u2 p B$ Q c! b0 B* B. [' g1 r
4 }" I& \% p6 x0 F' d( G8 k" k+ t; O; d) f4 j3 L; M
===Patch the web tier======7 e/ ]! U; j. F' |3 D* D0 {; \7 F
" J/ R' K2 {% i* D" N6 T
5 U# |: F: o' y0 V2 }' p8 y, i( {# |7 T" B+ l, w
9 l9 o( v8 O! c2 F
6 @& i- l a( J$ t( t1 e& p' y |
|