|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
Teamcenter11.2 升级到 Teamcenter 11.4 图文教程8 }2 r# c4 K# [6 F; @
视频教程请参考plmhome.ke.qq.com# @, F2 o+ |: m( v& R5 E
* a0 T+ I) K7 B9 U" {: C& o; l===Clearlocks======
0 I) j* I% O J6 D" ]( y8 U) s% _% cclearlocks -assert_all_dead -u=infodba -p=infodba -g=dba
/ y9 o f, E8 pclearlocks -verbose
' ?1 d% Z% x5 i9 ~
% x# }+ |$ y9 c" M' R$ h, s4 L$ C3 W H# @9 Z0 C
11.4 的升级比较特殊,特殊的两部如下:9 {- v! w/ N/ D
8 x! b2 ?2 q( U$ [3 A' C' g2 zREM === Migrate trace links =====. ^& E( D' b# q: J" H6 q6 X0 y
7 d) d/ ?# w3 K3 b. L. u+ {
req_migrate_bomview_tracelinks -u=infodba -p=infodba -g=dba; B$ }& l* y T" [6 ~9 b7 D
3 [0 T) `# V# f6 k9 h1 C' q
X# J- U+ ^' E; n====DB ======= B# P1 E+ |$ c1 ~/ p$ s
=====backup====8 {4 g$ x) ~9 N! c" ~
5 _6 u; c w4 Y- G) i* R' t8 o
( u5 b8 n+ x/ i! I! u1 W' j( }$ {
REM ==Estimate tablespace requirements for update====
" \$ h# f* u2 \Oracle databases:2 z* Q; ^- O0 e
1. Back up existing Teamcenter data.
3 o% S, `9 ^( \2. Determine the tables affected by the update to Teamcenter 11.4. _, O8 G& }2 u" D
a. Enter the following SQL command:
0 I' w2 j/ t6 z' E* x' H2 W5 M4 e
+ l6 ]" G2 f# Z7 E; ]SELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 8192) <> 08 u7 I8 X8 L+ z, a t! P6 {5 R
UNION7 e' w- I# b' ^7 O, G1 W: }8 Z
SELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 32768) <> 0;
3 ~5 i' H O# Z7 h' ~, C5 R3 x. |. @1 H5 P
b. To the resulting list of tables, add the PIMANEXPORTRECORD and PPOM_STUB5 S# Z7 g9 x3 h, I5 ` @
tables, which are also affected by the update process.2 B# l3 \0 b+ q2 B5 \& [
3 o% y j5 ^# }% z. a2 }2 \Determine the amount of space consumed by each affected table.3 K6 L. C u; g& E0 J8 U2 D7 E: f! e
For each table identified in step 2 (including PIMANEXPORTRECORD and PPOM_STUB),
( w: V( `) B; s9 S; q0 r* `+ P
enter the following SQL command:% T$ k7 I) `( D+ I. o
WITH cte1& ?5 h. k8 u% W3 A. O0 p# _
AS (SELECT table_name
6 [ V s4 \% S: U* ]& b' Z) V8 o- NFROM user_tables
% p) q" v$ X. OWHERE table_name = 'TABLE-NAME'),
. } Z% Q2 g% q; Y% hcte2
" o O- X: ^3 u |7 ~AS (SELECT SUM(blocks) * 8 / 1024 MB
" }3 I) I7 N/ r7 n5 C2 |1 @FROM dba_extents,% }6 I# u6 M% S% q, |
cte1
* R+ V# k, j# v' `: BWHERE owner = (SELECT SYS_CONTEXT('userenv', 'current_schema')! j9 s: s# E3 ]/ n- k- T; p4 V
FROM dual)% d+ [7 P! c: e2 l7 K
AND segment_name = cte1.table_name)( l" P' Y7 x" W( P. Y
SELECT ROUND(SUM(mb), 0) || ' MB' AS ESTIMATED_SPACE( F: Q! d1 [7 a
FROM cte2;/ E" w7 E5 ~9 r1 q( `; s8 [
+ l8 O d" r! K M9 L, e
Replace TABLE-NAME with the name of the given table.
; |# h1 P8 e* Q6 k) k1 L$ g
- M1 g( t. b* S4 x3 l7 N: t/ J/ o3 y
& l) Z$ m3 }; g1 z o+ F
REM ==unzip install.zip ======# I5 q, m. ?# F
7 p' p5 _8 L. a7 C
TC_ROOT\install\install\unzip -o install.zip
8 m3 p- [4 {3 t8 F- o8 W# Q# B
; j1 q6 z1 ]2 B9 C' K( p5 s$ {' q# v, f- k! V% t D* e7 V9 {" q
7 Q1 ~' v" F/ g, q$ S4 kREM ===Install patches on a Teamcenter server====4 u8 [4 `, D1 t- I
) K. C& l- P6 o' Y T) ]$ N4 c2 z
TEM--> updates manager / d) M6 _4 c; {& p
+ I1 {% s9 ]4 m5 ], q
REM === Update kit location : product-level_number_platform.zip // Tc11.4_wntx64.zip
3 b1 z+ H" u- i
$ d" `/ ?; L( _6 KAfter the server is successfully patched, you must manually update your TC_DATA directories.) J7 S! A# B$ m4 e( ~
a. Create backups of your current TC_DATA directories.) C7 [; L! n) G8 x, q
b. Expand the platform\tc\data.zip file from the temporary location you created in step 1.2 d( I& e9 k1 k$ b5 i& {
c. Copy the expanded contents of the data.zip file to your TC_DATA directories, overwriting8 d: I; ^, A* p4 R5 P. R0 B8 U2 L
existing files.$ i6 z) y& v- H; k
d. Copy the tc_profilevars.bat file from the backup to the TC_DATA directory.
9 }/ u9 U; \ ~. O' a# r, }' ^( j# E& E1 _1 H H4 h
, F |: y, u% K( \! I; d9 M+ a' _, c2 x$ C& _6 p8 y
: r, p; A1 c% ?: R& V) ~
+ ^+ Q; ~6 j: t/ n
1 \# F- U" ]8 d. H0 ?; n========Patch the rich client using TEM
$ ?5 n4 Q% |0 ~6 o: |1 J' Z ?, y========Patch the rich client using the Over-the-Web Installer( L/ i0 P4 ? B; v
8 q- E' r7 Y; q- ^2 y3 M: b( v0 [3 r/ a; ~3 E
a. Click Reinstall Solutions.
0 w7 |. P1 _1 U" j( |+ Vb. In the Reinstall Solution dialog box, click
1 V* n* _, d& T& J+ k0 @0 \6 q9 P7 }OK.1
. J' Y0 b; s- D2 i2 Y& v: Fc. In the Confirm dialog box, click Yes.( d, P9 A8 c% Q! o. z
d. In the Modify Required Context3 E7 m! F' J) S! Q. J
Parameters dialog box, click OK to begin
* }- p, ]0 B$ L( O% ^. Y# gpatching.- g* j4 R- X4 h/ Y9 ~ y
e. After the patch is installed, click OK to" ?+ E4 `; G, m \) J Q% l- y
close the Progress dialog box.
2 D& d. V' P! K l# j/ c9. In the Modify Web Application dialog box, click OK." Q1 T9 k0 O6 ]9 f" J
10. Exit the Web Application Manager.
/ `8 e- C1 C2 N H* q8 d2 k11. Copy the otwweb directory from your WEB_ROOT\staging-location\webapp_root directory3 P1 C! g* C/ ~ }
to your web server.
, y+ L0 T2 l2 \( c( U12. Restart the distribution server.
0 d# b- S, A9 A
+ `1 E( J% Q' ?1 f) a6 n1 \! b7 W2 w- ?5 s6 |" p9 x' i5 P4 H
=====Patch Lifecycle Visualization====
( }! p" X& R0 P; A) I) d4 R" Y" D/ H/ j
. ~7 h- g9 V) {) p: [1 y% j" k- O+ }9 R& O
===Patch the web tier======
5 r" Q( b0 O, P/ p; _4 v0 }; P5 }1 U `
6 z' n, L- a8 l7 Z
* p: {& b- R7 B6 v6 n5 H+ H- v
8 P7 Y7 U; ~( b. V0 V& A7 ~/ ^& g
6 ?* t% \* `# I5 l/ U
|
|