|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
×
Teamcenter11.2 升级到 Teamcenter 11.4 图文教程
2 W6 H: l: x: v! ?& N6 x视频教程请参考plmhome.ke.qq.com% h5 W, Z, b! }) }2 t* Z
8 U! m' F) P' W+ w===Clearlocks======( X3 X% H+ d: S
clearlocks -assert_all_dead -u=infodba -p=infodba -g=dba
6 s$ u/ k$ t/ P* F i5 a2 j6 Dclearlocks -verbose; |, n1 Z# \$ l" n
2 C: J9 W6 b% u; H7 @! |8 n
5 w$ ~3 N0 _# f* Y9 X# D5 H
11.4 的升级比较特殊,特殊的两部如下:
+ ~; C8 f a4 f# s: p( f$ D% F2 ^! D. ?6 U L3 ]. v
REM === Migrate trace links =====
/ l+ g$ Y' H1 q# N
, }. R7 F% a/ J) ]( | Xreq_migrate_bomview_tracelinks -u=infodba -p=infodba -g=dba
) m, @; J) z$ t' u
5 k K4 [1 U q- `* h6 ]7 @$ u& U$ d- _: S! ~) ^ i2 e
====DB =======1 t, p6 {/ @: n( b
=====backup====, Q2 c& a1 P) F/ @
+ C, m! p# a/ R5 b
/ B* J5 }" e0 x" IREM ==Estimate tablespace requirements for update====9 E% Z, h1 |9 r; M/ T) ]1 X
Oracle databases:/ U, v! T9 {! G) z
1. Back up existing Teamcenter data.
i c6 q, I* a4 Q) O8 V* c6 x2. Determine the tables affected by the update to Teamcenter 11.4.
8 c! ]4 c0 f2 \$ H. g8 ra. Enter the following SQL command:
3 F- T1 z4 n! m2 x5 v5 P' O6 P/ { E3 I
SELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 8192) <> 0: y0 y; b2 {8 v2 G# w
UNION
8 @# D% c3 [6 ~! ]+ H+ F4 H* NSELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 32768) <> 0;
: r/ k+ Y, B3 P/ G4 k7 E9 ~" G- G: x8 U5 L) L; V
b. To the resulting list of tables, add the PIMANEXPORTRECORD and PPOM_STUB
2 ~# C. s0 f! Mtables, which are also affected by the update process.
" M! I( H7 k7 C. l: G# `) S+ v' u9 F8 p& {$ {5 H2 R
Determine the amount of space consumed by each affected table.# x. k( B; ?) M7 a& x7 s
For each table identified in step 2 (including PIMANEXPORTRECORD and PPOM_STUB),* \1 l" U+ J* v. X
" ^; ~4 F: B- ?) ?1 z
enter the following SQL command:
- K4 i C% c6 a& T2 A4 K/ ~WITH cte1
/ V9 L1 ~, [# f+ H- _; X$ @AS (SELECT table_name
z+ X$ \. B1 ]/ L0 JFROM user_tables$ x: _& O0 p9 I. E9 ?7 B
WHERE table_name = 'TABLE-NAME'),& _5 q, c! p$ s7 G& A
cte2
, Z- ~7 S% p( H# s# k. dAS (SELECT SUM(blocks) * 8 / 1024 MB
1 _2 v! T7 n2 M# E! i( [, u* x/ GFROM dba_extents,$ n& G# y$ q& @' a( D6 N) i' h4 z
cte1
: ~7 \/ v0 f6 J$ o9 a/ R3 X9 SWHERE owner = (SELECT SYS_CONTEXT('userenv', 'current_schema')
( E) c) |# _0 F) E# b8 NFROM dual), n7 ~/ P: ^, R
AND segment_name = cte1.table_name)- S5 m5 [; n6 S6 d G" {
SELECT ROUND(SUM(mb), 0) || ' MB' AS ESTIMATED_SPACE& j3 k5 v% J* e; _
FROM cte2;3 N0 H$ r' K. i& D
$ U0 A+ z. p' {% c3 l; N
Replace TABLE-NAME with the name of the given table.4 t5 B+ j+ x( C( Z
/ U6 L2 r8 G' k: m. A) r: M) f
9 D6 G" M" H' h4 U0 }8 X. N" P8 z/ b8 Z6 y! y
REM ==unzip install.zip ======, u3 v5 ?; X8 R4 z. Y1 G/ F1 t
: S( r+ }2 j9 {TC_ROOT\install\install\unzip -o install.zip
" m- C! l5 j2 x: `& U6 p* s+ v/ e* I5 h- o9 w8 \! Z! J
: s, c3 a1 Q* x3 g: J% p9 X: W, u' q$ q
REM ===Install patches on a Teamcenter server====; B6 y( ?) e' ^: O6 T* b4 ]4 T
0 N3 }# n. @0 E# PTEM--> updates manager
+ B4 |' v' h( ^& o* H4 U$ x7 w+ U6 s% }1 d1 y
REM === Update kit location : product-level_number_platform.zip // Tc11.4_wntx64.zip3 _; I+ c! i0 y+ \( o8 E( `
0 o' e+ ^) L$ i# d
After the server is successfully patched, you must manually update your TC_DATA directories.- E+ G* S! e3 y3 \
a. Create backups of your current TC_DATA directories.$ N$ Y, w2 z# g# H P5 G
b. Expand the platform\tc\data.zip file from the temporary location you created in step 1.
0 W$ P" h, Q9 v; f8 t8 Mc. Copy the expanded contents of the data.zip file to your TC_DATA directories, overwriting9 q4 ~/ _7 Z& R9 Q
existing files.( j+ J9 R0 B+ O0 z/ @) J
d. Copy the tc_profilevars.bat file from the backup to the TC_DATA directory.: i: Q. i0 l; M. T. ?; Z& j% K
' L `' N+ A1 Q, k* n0 H9 ^
E6 f- I4 t/ _1 b* b. h
" G o, f) t$ o9 L8 E3 l4 Z3 e! ?" k0 _! K5 m/ U: j( Y5 _% E" M3 I
$ p% g; O' _6 w3 S" K
9 v+ _8 C' _: S: x5 o4 Y$ z) \========Patch the rich client using TEM/ t( A0 H4 q0 o6 t6 t
========Patch the rich client using the Over-the-Web Installer
% V' t. E' A) X8 M. R$ i% Y" u: C
2 N6 J; j7 |- G7 j4 n, p6 I6 c- s
a. Click Reinstall Solutions.
* G0 x$ \6 y$ Q' }( ub. In the Reinstall Solution dialog box, click
5 T4 o5 C4 t, H8 d/ D/ K* l9 HOK.1
" D7 m( B) O. a0 `4 f! mc. In the Confirm dialog box, click Yes.3 ~9 t& G+ u, K0 W; s
d. In the Modify Required Context/ u- v9 B' q( ^3 ^; x7 |% c
Parameters dialog box, click OK to begin; e( I5 N7 x$ |
patching.( G/ N" O$ B2 H" S
e. After the patch is installed, click OK to
3 N4 a5 v9 V0 q' F- f, u- b, h/ {close the Progress dialog box.7 u0 c3 ^! O) Q/ Q: V b. Y
9. In the Modify Web Application dialog box, click OK.
3 K& `1 n1 H6 q& u' w4 x10. Exit the Web Application Manager.
- @$ _% t, }' H! l11. Copy the otwweb directory from your WEB_ROOT\staging-location\webapp_root directory7 S% {. k; M* c: Y0 m2 a+ m* V& ]& [# n
to your web server.! \+ m* r( X2 w+ N& Q
12. Restart the distribution server.6 \$ m M+ a+ K
$ V1 a# \; K8 Q* @# J& N" X) z$ W
- v* C1 ?! @' O; K- k5 ]" h+ ]=====Patch Lifecycle Visualization====
! @6 i7 a1 s) T% R* f6 l3 D# u9 B* q; i
9 e0 D0 _( Y$ q$ p3 ?3 E0 B
: ~, J$ K! a! T5 |8 _! ~===Patch the web tier======
' M' L1 E8 C% g& v1 W
7 _9 l7 e' ]; J2 c1 A6 t
, e3 r1 c% R O) Y+ @( k9 R. z6 Q3 T% j/ ]" S/ R# x( |( o R0 |
1 z$ M( ]& x# q' c4 y5 U
' t2 L6 t8 m* j* ~2 { |
|