|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
×
Teamcenter11.2 升级到 Teamcenter 11.4 图文教程
% G* E7 R* {% O6 T视频教程请参考plmhome.ke.qq.com
6 Y0 \' J/ D4 [; }, u {$ h7 e. f1 c2 b* O
===Clearlocks======8 J+ b0 m1 F; q9 o
clearlocks -assert_all_dead -u=infodba -p=infodba -g=dba
5 v/ c( y; P! G: @. B x3 v! m+ uclearlocks -verbose& B' P9 }% ` a4 b! @
* r6 d+ o1 g% o3 J3 r/ O& d; X) F
, L) s7 j! w$ m1 s
11.4 的升级比较特殊,特殊的两部如下:& O, {- B8 g5 a0 l! {9 y( b5 b
' m% H# B$ m4 b0 Z
REM === Migrate trace links =====
) r) p$ ?6 t- @, p4 \, q
' c. E" E% g( j) a2 r+ H) [. Sreq_migrate_bomview_tracelinks -u=infodba -p=infodba -g=dba
6 m: {. O) H: j; s9 \0 f0 Q. G( y; q4 C
A+ M, t0 V6 S$ A l1 }====DB =======
; }) b" t) D+ `5 L3 R% `" S=====backup====) c9 V4 L+ y2 \& |1 H* B! I5 b$ }
8 e2 U+ ~, N, T% S1 o
. }+ C: {! V, C( J
REM ==Estimate tablespace requirements for update====: L7 j, I( V0 L' G
Oracle databases:7 A8 X# n5 i9 m7 ~- r
1. Back up existing Teamcenter data.! j# O4 c. v! e: @& Y
2. Determine the tables affected by the update to Teamcenter 11.4.; h5 h: G2 ]/ w
a. Enter the following SQL command:" V, ]" P+ s. `' ~% T
! m0 E& Z% e) \& dSELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 8192) <> 0
8 l+ W. n" k4 ?+ U3 dUNION
* T: d- J o: l d+ bSELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 32768) <> 0;
7 X( I" w* Y- o2 f, j/ K" @) M4 e
0 B% p$ J$ j" _4 F+ x+ m$ ^- tb. To the resulting list of tables, add the PIMANEXPORTRECORD and PPOM_STUB
" n8 d0 n6 g2 V9 Ktables, which are also affected by the update process.0 ^1 ]- y2 f; z& c
9 A q: e0 B# ]2 @0 o8 v: Z
Determine the amount of space consumed by each affected table.
: I5 O0 U' b! Y$ l- G/ |4 {& SFor each table identified in step 2 (including PIMANEXPORTRECORD and PPOM_STUB),& `9 R* k9 ^- |6 q/ L
9 ?1 U% B1 G2 J5 n7 g- Venter the following SQL command:0 c; t9 @/ s2 a8 @+ g1 }: q
WITH cte15 `6 U, ]& {/ }* ^: |$ z
AS (SELECT table_name
) e" W# b0 Z4 BFROM user_tables9 H* X, Y- A' o' a
WHERE table_name = 'TABLE-NAME'),8 n, H! [5 g2 h5 l" ^
cte22 X5 m9 X& k) L% q. @- t
AS (SELECT SUM(blocks) * 8 / 1024 MB
8 Z$ c( \/ O/ p% R( IFROM dba_extents,1 D- E; [6 |% k) Y5 j# x- D
cte1
. U* @6 G/ [3 d5 \/ d! d$ a3 SWHERE owner = (SELECT SYS_CONTEXT('userenv', 'current_schema')
- t8 n% \6 N3 B7 o' z% \, A) ^FROM dual)
8 T4 K3 L' }0 }% o, `. f: `: eAND segment_name = cte1.table_name)# T8 e5 T* O6 D3 q% I* X5 y
SELECT ROUND(SUM(mb), 0) || ' MB' AS ESTIMATED_SPACE
% | u4 R5 q& J6 G# D8 l3 ]/ MFROM cte2;% }5 C$ r+ R6 p8 g
~" a( U2 K- |3 {/ ~: r
Replace TABLE-NAME with the name of the given table.
. @3 [' U( s$ z0 x2 v
" j* ~4 r! U) B2 m* G" A/ M1 [ |0 }: b1 U l5 f
, x2 u9 G" L7 k/ Q$ g$ G
REM ==unzip install.zip ======
9 N" o0 D: V) s% X$ X& f! Y, d2 t/ ^
TC_ROOT\install\install\unzip -o install.zip
+ }) u) X) c" r0 T) `
1 c5 M: q. l- u% z7 c* X" \7 V7 ?4 {8 j7 K( S
4 x7 L% G( \1 _0 C9 C- dREM ===Install patches on a Teamcenter server====
: _: B, d a r+ S8 h
1 L* e3 N- c2 X1 \2 Z2 `4 lTEM--> updates manager
* Q3 Y5 O+ A6 J; p0 T$ W
7 x# `( Z* t5 Q+ IREM === Update kit location : product-level_number_platform.zip // Tc11.4_wntx64.zip4 X' Y! S+ s' c1 d9 N* O+ q
. ?/ } x2 p& t0 q, N
After the server is successfully patched, you must manually update your TC_DATA directories.6 |/ G) L! s. c. u% m' O* ~ {
a. Create backups of your current TC_DATA directories.
& G7 a) v1 g$ E/ |) \3 Pb. Expand the platform\tc\data.zip file from the temporary location you created in step 1.
% G7 p$ {. b" Wc. Copy the expanded contents of the data.zip file to your TC_DATA directories, overwriting
g4 }8 l0 Y# X7 ^6 V. G. Cexisting files.
* h; s& H ?, C6 Y) M g- Id. Copy the tc_profilevars.bat file from the backup to the TC_DATA directory.2 J1 l$ U$ u: u$ y9 W6 W
! [! G, K( v! G$ Y$ O/ F) m/ N8 ?- G+ z: x* T
1 h7 }! ?; P& A4 a) u
# E+ p2 r) M. O8 l' A2 i
. o: }+ `# P. r, H
, \5 N4 M( r2 w3 O/ N( l: z========Patch the rich client using TEM
4 p2 ]# s6 W5 ~0 j" H+ u========Patch the rich client using the Over-the-Web Installer
7 H3 s) j# c: G4 \ t2 T
( B; W. l7 B. ^# I, i5 [2 o- g, d/ H, j- t
a. Click Reinstall Solutions.5 u8 S) M- k5 Y- U$ k
b. In the Reinstall Solution dialog box, click" {" N* m3 \* Y# _( @
OK.1) _! f8 ]8 P6 `/ m3 g9 Z9 n
c. In the Confirm dialog box, click Yes.+ L9 U) O' }5 y% v. G! t) S3 I# n
d. In the Modify Required Context+ Y1 v$ C4 [! ~8 D
Parameters dialog box, click OK to begin
1 a8 F; Z2 g$ @. E5 opatching.+ y% b. v0 M% `# q, [
e. After the patch is installed, click OK to
: Z. `0 e8 m; d+ x+ e8 a1 pclose the Progress dialog box.* P E$ l& i) V
9. In the Modify Web Application dialog box, click OK.
6 | Z% O6 g7 }( x3 n# Y) B2 l3 Z10. Exit the Web Application Manager.3 h. Y+ v* M3 P- }5 N+ k
11. Copy the otwweb directory from your WEB_ROOT\staging-location\webapp_root directory
! Q6 s1 D% H! g* ~to your web server.( M2 i1 D1 Q( z& @' S* ~* H
12. Restart the distribution server.6 ^2 e$ `3 `. P' G
+ Y. ~2 I: M5 }3 _
* Y7 d7 F$ e. X. k1 ]) @; z=====Patch Lifecycle Visualization====0 F: \9 _/ G) _! N. ?* V
4 G* Y v# y: Z
4 J+ U) H6 o% B% | Q
) _, i1 i2 h) ?===Patch the web tier======8 Y: q, I6 x- {% `+ Z
! J, N) @! w+ u$ k0 H* a2 J" [1 [! x
) |# Q O( U* q% @& E/ W# x
5 x3 Y o2 C( ? v: R2 q# s K8 I! `# Q) L/ W8 T3 [
|
|