|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
Teamcenter11.2 升级到 Teamcenter 11.4 图文教程# ^: l# h- |/ e/ ~ F0 t
视频教程请参考plmhome.ke.qq.com6 w3 L3 m6 p+ h1 }/ B+ N) C
' o5 a# a9 ~* }& [* d===Clearlocks======5 s9 g* ^% V+ R0 I7 y
clearlocks -assert_all_dead -u=infodba -p=infodba -g=dba
! b9 |; C: b" D" x Zclearlocks -verbose$ d2 M' E/ q4 a
5 S- r+ e# q5 J) o1 i, m
' ~) F+ I" S( k0 O5 x1 \! U9 g11.4 的升级比较特殊,特殊的两部如下:
1 k. p2 h1 ?: w1 L0 x; ~ N7 ]6 x% ?# P* d
% b8 u+ y4 v0 H* H0 c2 _REM === Migrate trace links =====
* X, J6 b0 g# w9 T
9 a7 a% \9 S; r5 M, E7 sreq_migrate_bomview_tracelinks -u=infodba -p=infodba -g=dba
8 H; f! ^; g0 ]6 T1 F, H3 q
0 T4 n" l! t3 F) @/ j* R3 \; B+ q4 w* ]1 H6 ]7 l z8 V% N' A
====DB =======( [& @- U7 G' R8 H% X( u
=====backup====
; A% F d5 G# V' [* {
1 F' X+ G9 s& C
/ g9 L( q/ V( X" c: S7 _REM ==Estimate tablespace requirements for update====
1 B4 C2 A/ ^+ IOracle databases:$ }: |$ V# e; E6 v; l
1. Back up existing Teamcenter data.* [4 E) ?5 p+ q0 D( V
2. Determine the tables affected by the update to Teamcenter 11.4.* `3 O! g, w. x( W6 @: e
a. Enter the following SQL command:$ d+ ]7 O/ R* _6 A* ~
4 P+ J! T! v1 o+ p$ W4 r3 rSELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 8192) <> 0( y. R! S* f1 P7 g9 x4 {# ]
UNION
# w x1 x: ?2 i/ YSELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 32768) <> 0;( b& z; E% a8 H; z! o# T/ B
: \( L! A5 h0 y9 A$ r. Q3 Yb. To the resulting list of tables, add the PIMANEXPORTRECORD and PPOM_STUB
9 E: V# e4 }( x3 e$ ftables, which are also affected by the update process.8 S7 ?! g6 j* b* S* a
0 M T4 a+ |3 t' D' }4 IDetermine the amount of space consumed by each affected table.0 p* M( [" g! i- y+ \
For each table identified in step 2 (including PIMANEXPORTRECORD and PPOM_STUB)," _( ?: i) e, Z- _
) [3 h% B+ Q/ d
enter the following SQL command:
4 m9 M6 B( i/ z' V& dWITH cte1
0 C, d6 ^7 a+ |4 C# ^AS (SELECT table_name
7 e5 O$ h$ |8 D0 AFROM user_tables4 R- X2 x1 c8 P) k
WHERE table_name = 'TABLE-NAME'),
, E% X y9 v/ b9 \$ Kcte2; S" _1 a; J! v
AS (SELECT SUM(blocks) * 8 / 1024 MB
( o/ `. k [- i5 iFROM dba_extents,
, L% N0 P& e. ^& Q% }9 vcte12 e7 o; d1 _) J5 u: U2 o
WHERE owner = (SELECT SYS_CONTEXT('userenv', 'current_schema')
$ c/ N, T {$ P6 I% Q. dFROM dual)
+ |! J2 P- |/ x" j( b1 w' RAND segment_name = cte1.table_name)3 v, f- Z, f @9 B4 ~: [/ G! d
SELECT ROUND(SUM(mb), 0) || ' MB' AS ESTIMATED_SPACE
' X0 t1 P! F0 H1 N9 |; e+ uFROM cte2;2 U. B7 ^* I6 p* E, g7 v- U
, M3 I- v3 h+ j8 [; x9 VReplace TABLE-NAME with the name of the given table./ |# k" u. X$ X! v w
/ T6 K4 r+ e) P9 O1 F4 F
7 {! U" N2 f8 X' L. H% I4 l* E. d4 ?: s6 O
REM ==unzip install.zip ======
1 g }- I, i! U Z- a+ _) |: z7 B" O: E- l
TC_ROOT\install\install\unzip -o install.zip
- S- T: D+ A0 g' ]" z) j O2 h& K; Q) `$ c. y4 P, u
4 [) O. w: A- M! o+ C: }* O8 i. [
. a {! q+ y- @8 S3 v4 f2 ?REM ===Install patches on a Teamcenter server====
0 x& C, w" D* y: z0 Y' p, y* q. C
TEM--> updates manager `! s3 _+ O7 F. _
% V |" h1 ]8 J
REM === Update kit location : product-level_number_platform.zip // Tc11.4_wntx64.zip- G$ w& ]9 w3 K0 z7 M( }' s1 @
- h% e1 N4 N( p
After the server is successfully patched, you must manually update your TC_DATA directories.* A+ q8 |+ z& D* S; B N0 c
a. Create backups of your current TC_DATA directories.
" |6 Q0 @- ~0 q$ b3 Q% |5 yb. Expand the platform\tc\data.zip file from the temporary location you created in step 1." `0 t1 }0 n* @8 N) W1 S
c. Copy the expanded contents of the data.zip file to your TC_DATA directories, overwriting4 i6 s$ o W: q) f: a
existing files.. o+ j3 q$ ]7 B3 t
d. Copy the tc_profilevars.bat file from the backup to the TC_DATA directory.
3 ?, e& \ ^1 U/ K3 Q% ^5 R- o9 _8 Z8 T$ t5 N# {" N2 Q2 [
. c/ R, H3 N0 A9 u1 ^) m7 u" m! }! y5 h7 `& F! ]
3 F$ D! W8 s% [# ^3 w
, u5 ?4 t0 w9 B; [& s7 i2 l* }6 a( L& S1 V
========Patch the rich client using TEM
; {9 u0 }) N3 {0 @========Patch the rich client using the Over-the-Web Installer
( ^4 d7 Z: G! O \$ X
" _+ B7 ?' |" j' L0 J( r- m ~" m! E* f
a. Click Reinstall Solutions.
, Z$ A ^% ]2 K4 [b. In the Reinstall Solution dialog box, click
9 V0 f @. i5 C. ^% A; j0 H7 d1 UOK.1
" w2 Y) l4 q, r6 c+ p% A8 g Sc. In the Confirm dialog box, click Yes.
0 e6 y& ^- a. W3 G9 Rd. In the Modify Required Context y- V; t) }0 g7 u
Parameters dialog box, click OK to begin9 C. b' u! d8 l. e4 N
patching.
7 N$ w1 P7 ]/ o: }: |6 C2 ke. After the patch is installed, click OK to2 C8 i: ]* I0 W" J$ Q w. Q
close the Progress dialog box.
+ |2 A) ~8 ?" w6 j1 }" e9 O9. In the Modify Web Application dialog box, click OK.
! n7 L& D4 t# Z; G* }+ s10. Exit the Web Application Manager.3 m. z# o* ]( |0 U" d/ u
11. Copy the otwweb directory from your WEB_ROOT\staging-location\webapp_root directory
$ e4 @- m( L+ s5 }to your web server.4 L6 g+ j u/ ?4 q- p0 P) C
12. Restart the distribution server.
7 K7 G% S& r% L# x, f# O" L! N' N$ b3 A- ]* f" v7 U
) e' d5 e% h: x' x2 v1 L=====Patch Lifecycle Visualization====2 C1 \4 m4 G9 v3 D: B7 s5 U
J N& g7 ~' v# V. X# P
7 x' H7 p- \, i3 r7 R2 ?" ^6 e. U/ G$ L4 Q6 a
===Patch the web tier======5 w+ B4 p! a+ c( ?
9 T: z' s# G" v. J! }; ^& W9 a
) G! `6 [; V4 z5 F4 H
" a! W z1 V# H" A3 `# E& t4 R( q# a9 ^! E
5 y0 Y* m/ W/ q) j" r/ v( e |
|