|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
Teamcenter11.2 升级到 Teamcenter 11.4 图文教程% Q5 T. Z" Q* r1 R9 }
视频教程请参考plmhome.ke.qq.com
: u6 Y' H) p+ }% x/ `) h) f& [& U1 W. r, \
===Clearlocks======
. V' g( P# O0 b1 L+ J! T) k7 Gclearlocks -assert_all_dead -u=infodba -p=infodba -g=dba8 Y7 h6 s# y2 Z+ e% C) y
clearlocks -verbose# b% Y2 W: i0 _' g# Q
6 o, ^" f# i8 S- k5 f& v
+ W4 y/ q+ m. |9 E3 ~11.4 的升级比较特殊,特殊的两部如下:/ j2 ~$ ]8 k% G
! i" i% v$ z% L- f' \- tREM === Migrate trace links =====
2 [$ n6 R) [9 f$ e- N- N" f9 @$ m3 B8 K7 F, _# N
req_migrate_bomview_tracelinks -u=infodba -p=infodba -g=dba+ E2 D+ {2 G3 d' E
7 W$ G) ~9 R1 x0 ^% `0 u6 h
7 Z6 q4 |7 ?0 C# c+ I====DB =======. B* W4 N1 I7 [1 K8 W1 e1 w
=====backup====# S2 B+ B/ ]* Y& c$ E$ f: ?
/ S# F5 Y5 X Q8 V( z' ~$ t
" D1 d. ^1 d- C" SREM ==Estimate tablespace requirements for update====" Y0 ^: I: \' o5 x+ F1 a8 }
Oracle databases:6 B$ \6 u8 x2 o6 {1 _
1. Back up existing Teamcenter data.
& M/ U0 o7 M4 c6 }" {2. Determine the tables affected by the update to Teamcenter 11.4.0 d2 \0 r' f2 L! ]
a. Enter the following SQL command:
% L2 R. q2 n; E, P; P9 {7 {& O- | {1 U* R# [7 A4 k$ G& ^+ y
SELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 8192) <> 0' u- k0 J P f6 I {7 g
UNION& e2 g1 x( E0 X( l% v
SELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 32768) <> 0;
# J7 h) |2 {9 b5 ~! K6 p& f% d9 B) N/ d7 s' p( i4 c4 r. \
b. To the resulting list of tables, add the PIMANEXPORTRECORD and PPOM_STUB' r) r G3 |/ z" O8 N
tables, which are also affected by the update process.7 A/ ^+ M+ w) x* L( B& J1 P0 q+ L
# s& U. O- P5 Y6 l
Determine the amount of space consumed by each affected table.! d$ ]: ~' v4 s+ M6 {6 t
For each table identified in step 2 (including PIMANEXPORTRECORD and PPOM_STUB),) o E( X0 \% D$ Z( I: H2 M5 \
# c J( B* N5 ^: s
enter the following SQL command: R4 A8 c$ M% ?" Z/ p* h; ~4 B
WITH cte1
/ K% d$ L: b7 eAS (SELECT table_name) c1 W: @8 R7 s/ U) ]& Y& J
FROM user_tables
2 i+ Z8 V+ X/ X' C2 SWHERE table_name = 'TABLE-NAME'),# Q5 \+ }' t- v
cte2/ p1 x* i/ O& h/ C
AS (SELECT SUM(blocks) * 8 / 1024 MB
" r/ ]6 t& b& K$ ]! A2 ?0 {& A6 zFROM dba_extents,
" k6 V9 a' T: b3 fcte16 A4 i3 X- s5 u& ^
WHERE owner = (SELECT SYS_CONTEXT('userenv', 'current_schema')
( ?" D; `! l; j* e1 J3 E8 aFROM dual)
6 S0 P0 Z; m5 ]- i& m/ lAND segment_name = cte1.table_name)1 p% W- o- h8 U# A& |
SELECT ROUND(SUM(mb), 0) || ' MB' AS ESTIMATED_SPACE1 N7 e( _5 {" a) l4 Y
FROM cte2;
8 ?! h$ O" I9 F% ?% W) N3 H% a5 V8 u: Q% M
Replace TABLE-NAME with the name of the given table.
, j6 ?; h* b0 a0 d
8 Y* X8 h" |/ c& f6 ~9 ^! [( _2 w" N: P- q+ t* |9 |$ m
$ ^9 u6 x& a6 P* l S+ ]REM ==unzip install.zip ======- P9 b. e, g8 f: M4 Z" u+ p
/ M. m0 ^4 n& v$ {, c+ i+ uTC_ROOT\install\install\unzip -o install.zip
0 v4 I6 S2 r U
6 `( U5 { J, \% J4 u) U% Z1 L7 Y" `
) f. E3 n6 a. e2 z( @
REM ===Install patches on a Teamcenter server====+ b) ^: X# s- h c9 y* r
, R3 _. I3 x1 ?/ w- iTEM--> updates manager & f, B, t0 c/ I! M( {
5 ^; ]9 ] i% g* S& B2 J# B, C
REM === Update kit location : product-level_number_platform.zip // Tc11.4_wntx64.zip( [- x6 B1 V* N" S
, c8 i9 t- k( C9 Z9 Z3 `* j2 ZAfter the server is successfully patched, you must manually update your TC_DATA directories.) ]; a9 i8 p& k8 b! Y, o, ~& u
a. Create backups of your current TC_DATA directories.* D; n2 O! o d3 w Z, e- \5 o
b. Expand the platform\tc\data.zip file from the temporary location you created in step 1.
0 A2 o6 a4 k# B6 Uc. Copy the expanded contents of the data.zip file to your TC_DATA directories, overwriting
2 C) E, K7 q9 t7 k# Hexisting files.1 Z \5 L9 {; r# h {7 h
d. Copy the tc_profilevars.bat file from the backup to the TC_DATA directory.
/ y. D4 n- ^& N- i1 c3 |" w8 \! P- s: }) o
, r1 N* m& L4 g* |/ b" ?2 @( R+ ^0 T3 A8 j3 D V
4 V" U9 o+ c! ~
, `# i2 w$ c7 i# g7 [
6 B3 C4 j3 E% _& r========Patch the rich client using TEM+ N9 Z0 B5 k6 V) ~
========Patch the rich client using the Over-the-Web Installer# [/ r6 m' |! A$ e0 x
4 M# h) f# A: a: w; Y$ i; |
; a- m4 A& ^$ p' c" F" x7 F
a. Click Reinstall Solutions.
4 S" U2 U; v+ D, F, k) y, Vb. In the Reinstall Solution dialog box, click7 L0 {) _: C( R- z* }' ^0 Z8 @
OK.1
. D2 G/ F0 l* f# ]c. In the Confirm dialog box, click Yes.! I/ R1 v- d" @/ _7 }" v
d. In the Modify Required Context
) Y" a6 l4 i% l; hParameters dialog box, click OK to begin
/ L& G5 g |) S- c) r; s/ Spatching.
6 p0 q0 [! I; A2 q, P, De. After the patch is installed, click OK to
) w5 ]. T8 C# c1 eclose the Progress dialog box.
$ X8 I: e/ ]' c a% ~$ d- F! L1 o$ _% t9. In the Modify Web Application dialog box, click OK./ l% g3 s0 y' [8 d9 F6 D0 u2 g; ?
10. Exit the Web Application Manager.+ b1 R/ J( T) t/ @+ s; h* r
11. Copy the otwweb directory from your WEB_ROOT\staging-location\webapp_root directory
' u N( i& [6 }& Z) ~# y: R! Rto your web server.
% l1 Y$ x3 \: g; D2 ^% t) R12. Restart the distribution server.
# q9 c2 l; T* r' D+ r0 i& d: x' H3 n& C
% k1 D, t( t: S=====Patch Lifecycle Visualization====7 z% M' j# d' G
. S# q* `2 M m0 o! C% Z) @
/ w: ~* y2 s3 r( I' C6 f
8 G3 f. _4 V4 Y
===Patch the web tier======; r5 l& N1 \1 x" i' P. D. i ^
* G2 O6 u; H' b& ^9 S/ q1 N
, y9 T% S7 }: m" g# ^
3 h+ N6 X* K; H' x& Q4 [* p$ `5 j: U4 B6 Q, K) a
; W% V7 v% v) |) }' S7 f$ T |
|