|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
Teamcenter11.2 升级到 Teamcenter 11.4 图文教程1 i! q H- a- I; }/ X
视频教程请参考plmhome.ke.qq.com
! E L" K7 x, |) c0 I2 B2 O3 ^( `' f R9 S8 u/ b* \/ q
===Clearlocks======
# b( O$ D- V6 K2 [clearlocks -assert_all_dead -u=infodba -p=infodba -g=dba
+ }# Z% c% v% ]2 |" f$ \3 lclearlocks -verbose) n$ m5 i, k* V5 q" b. F
- ]6 l3 U: ? O, A; G9 Y' O; v7 f& T0 y: o9 Y0 Y! l7 r6 B% |3 C M6 J
11.4 的升级比较特殊,特殊的两部如下: }& G7 b. v o8 n' z
; U! u- H" r' o! ~4 A
REM === Migrate trace links =====
* f/ l/ ]4 Y5 H2 E2 s2 M7 P& `. M; {4 e# P2 [
req_migrate_bomview_tracelinks -u=infodba -p=infodba -g=dba
( o; b! m# d1 s* }' m
" |+ _+ l, I, z% D6 |: b4 V2 H: q, [
====DB =======
3 Y6 [) K7 w0 E( _! t0 P3 R=====backup====. c7 E5 M' C r. t! ?
: | S7 V+ f; D& {
' _. |- i7 D4 H# H% d/ L3 D! L( FREM ==Estimate tablespace requirements for update====4 U$ _) H: Z/ e) {3 M
Oracle databases:! O7 T( w7 o$ P( r& Y
1. Back up existing Teamcenter data.9 ]9 G1 q$ g% e( F, X
2. Determine the tables affected by the update to Teamcenter 11.4.
6 s% W, |0 n6 Ya. Enter the following SQL command:
) ^/ r# u1 \: f. l$ C& @4 Q
( {% e8 j+ o& g+ S0 S7 I. U. {( T0 MSELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 8192) <> 0" a) {% R: L1 D. g
UNION0 T* L0 ], R6 _/ R1 H7 @8 K
SELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 32768) <> 0;
r h' d$ @7 `( Z* \0 i- _2 h6 p% X! `
b. To the resulting list of tables, add the PIMANEXPORTRECORD and PPOM_STUB
4 e. l3 R5 a2 ]' t9 B' o. N/ N" ktables, which are also affected by the update process., u! }3 _2 b' Z- d7 W
9 `7 a/ r# w! LDetermine the amount of space consumed by each affected table.7 D, u% o9 ~/ g/ T
For each table identified in step 2 (including PIMANEXPORTRECORD and PPOM_STUB),! i+ j4 G# K4 c1 b5 r& n
& E) t% Y( P9 Lenter the following SQL command:9 c8 t: K. U8 J; T
WITH cte1
6 x' c, j4 k7 g) f( T0 XAS (SELECT table_name
0 Q, b: `( s6 Z7 w, q9 _. ~FROM user_tables
2 \" \/ E+ h$ W& N ]2 kWHERE table_name = 'TABLE-NAME'),% P1 j6 ?8 |: o3 C) \" \* E1 ^- S: N
cte2
* A4 X0 q2 G, Q+ q9 Q2 H: {AS (SELECT SUM(blocks) * 8 / 1024 MB
4 M! |( L; l1 m7 h2 n1 kFROM dba_extents,
1 s4 ]/ K. H: t4 J% a9 pcte1
7 `) O/ I2 j. [6 F# k9 B% F! R* qWHERE owner = (SELECT SYS_CONTEXT('userenv', 'current_schema')
5 G" i' r3 H6 l' V0 r! v( L2 F$ nFROM dual)! W( Z" D( o- V) D% r
AND segment_name = cte1.table_name)
% c' ?! ~$ l: ^& w8 KSELECT ROUND(SUM(mb), 0) || ' MB' AS ESTIMATED_SPACE2 t+ J& B/ U! I3 t
FROM cte2;
0 |3 n5 K+ _" H. x, D2 b" G# Y$ J6 a* s2 G& l* K' O
Replace TABLE-NAME with the name of the given table.
: U* e" B3 B" |/ f( v# }3 Z5 |& Q4 {1 v8 ]0 e8 a
4 V( G( o+ a* z7 P& M* K
( v2 B: c' U0 N0 y
REM ==unzip install.zip ======
. n/ i' {$ M, J! s& ?6 S
# E" X" P) q _% Z! Y {TC_ROOT\install\install\unzip -o install.zip
( B; k7 o/ L$ D. L, l* s1 U+ z0 ?% ]- H% P
0 t! t. B# B9 \* c6 t2 d `$ g
' A2 ^$ v/ |' gREM ===Install patches on a Teamcenter server====
8 [) G z0 |* }6 u! @) {# ?- ] m" i+ Q) C/ j. k6 x% ^
TEM--> updates manager
8 v( l4 T; W$ l1 I7 X1 }( n1 f, F" d. Y! c% ?4 @; C2 G
REM === Update kit location : product-level_number_platform.zip // Tc11.4_wntx64.zip
- n; W% m* Q2 k1 D
0 w' n+ J1 z6 q; G- I3 `After the server is successfully patched, you must manually update your TC_DATA directories." `. ^( y5 Z3 |0 t
a. Create backups of your current TC_DATA directories. G5 P" z$ T8 @# t4 u
b. Expand the platform\tc\data.zip file from the temporary location you created in step 1.
0 `! c% R3 n7 K% j! gc. Copy the expanded contents of the data.zip file to your TC_DATA directories, overwriting
9 r Y% a' z) J o4 N3 Xexisting files.
& r) z4 G0 h @# }+ p, K- R: gd. Copy the tc_profilevars.bat file from the backup to the TC_DATA directory.
& g8 ?7 H0 H) Q! W! q
2 l) Y8 h* f2 x( \2 r- |# t0 z2 c
7 p: T& }. {9 C s6 d0 Y) d8 f/ s, j/ B
9 ~8 F, n0 ~6 C4 J5 T
; ?9 Z" _" h# _0 q
========Patch the rich client using TEM+ g4 [6 H) ^/ I9 f
========Patch the rich client using the Over-the-Web Installer% h' C" n2 x9 [0 m7 c7 h
) L# L8 Q$ [/ Z8 k- ]' O+ Y
. c( \) x) B ea. Click Reinstall Solutions.6 [! E& K9 |' O1 W; ^, q
b. In the Reinstall Solution dialog box, click1 @7 [$ l, c, q' u( S
OK.1
5 E K7 y. o2 [( Hc. In the Confirm dialog box, click Yes.4 V8 E8 d& S0 n
d. In the Modify Required Context/ p; h" B9 |0 L% U& | h
Parameters dialog box, click OK to begin1 I! o$ m3 I# d& ~ m. k7 n+ J7 d/ E
patching.8 L1 l5 h9 R5 d5 S, g0 |0 `6 {6 L3 U
e. After the patch is installed, click OK to
9 n3 W! F& X# m$ ^0 [5 b' `* M) C' Xclose the Progress dialog box.7 b) R ]! n; J1 |6 A& q$ g
9. In the Modify Web Application dialog box, click OK.2 J! [5 |2 z. ~$ j9 [9 @8 Z* Z
10. Exit the Web Application Manager. G- X+ J% x# S5 ]# c* x
11. Copy the otwweb directory from your WEB_ROOT\staging-location\webapp_root directory
( T" {+ o8 ?& R0 u1 W" K. Cto your web server.
, y# q/ v, T7 i- e3 j8 B* W$ r12. Restart the distribution server.# z. E7 w, ^( _9 [/ o! d
) l, k1 y3 U4 i# ^0 D, O' Z. j& I
% d v2 s5 j6 N) f* T K. r% m
=====Patch Lifecycle Visualization====# X" W% U, E v8 @" ?
% P9 z# I+ D+ U% K$ v
& C6 [0 G7 k+ O% c0 a/ N5 V+ W/ U+ C0 e) B
===Patch the web tier======# X3 d" h& J5 S. I- F3 `
( e5 [% H X2 |; b& T6 ~# |2 y/ g6 u8 j* P. u. e
& B3 a" c, v2 I; A" m/ j5 J: S
1 Q& B5 B5 p6 w- i3 b
4 o- g5 s& Q9 _- Z5 Q) i |
|