|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
Teamcenter11.2 升级到 Teamcenter 11.4 图文教程- v; ^/ _6 f0 @0 J4 h
视频教程请参考plmhome.ke.qq.com& |. n, \; g1 ]- }# ?+ n: Y2 s3 y
" K- i0 W3 h7 U0 `& H
===Clearlocks======
/ L9 p: ~7 T1 O8 [" k8 s4 Fclearlocks -assert_all_dead -u=infodba -p=infodba -g=dba' ]! h5 ~% b0 q; y
clearlocks -verbose
. E$ D" E* B+ j0 }+ u5 k+ G9 R) s: K& }$ K# w
: G3 L% F* ~, p2 W! P: D11.4 的升级比较特殊,特殊的两部如下:
& H' R9 e! b6 Y7 Q: W* L+ Z$ |
7 s9 T- p# h$ f$ p# aREM === Migrate trace links =====
$ A: V+ j+ |; c% q$ Q% S( Y- O2 {5 j% ]& G8 u0 K- T* j% R# o9 t
req_migrate_bomview_tracelinks -u=infodba -p=infodba -g=dba
& K0 |/ D, `. Y9 T- J; F6 R+ P3 [. I
* ]( Q) H7 H0 f% E0 r0 q' D" O
====DB =======) D& O( }: @9 G7 w) C2 a# U; m2 p
=====backup====- e# e9 ~' c; Z) |5 K. ^" I
; ^% o& u# M: l( S
: c( J2 l3 E+ F5 K0 k( X: HREM ==Estimate tablespace requirements for update====: N' i+ G7 d Q
Oracle databases:
6 C; K) S& F5 u1 v: I" O1. Back up existing Teamcenter data.
3 [8 |& m; u7 C5 _- [" M V: l2. Determine the tables affected by the update to Teamcenter 11.4.3 A, E/ n+ U% K* j
a. Enter the following SQL command:7 S |0 _3 n, w' P5 {; e
* y u' W# f$ ^ R& @
SELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 8192) <> 0* M0 c9 R# o8 ]8 ]6 d3 U% u; }
UNION# R* \# H" F; [; Y! K
SELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 32768) <> 0;# s; [( Q& \* p$ M3 D2 {7 O+ _
. J- l; Z" Q0 n: U A4 F4 o& tb. To the resulting list of tables, add the PIMANEXPORTRECORD and PPOM_STUB; ]$ ?% ]. i! o0 D1 X
tables, which are also affected by the update process.8 W9 g3 Q0 g# s7 A
0 x2 l5 l4 A1 H, P, @" eDetermine the amount of space consumed by each affected table.
2 p- w, A* X7 vFor each table identified in step 2 (including PIMANEXPORTRECORD and PPOM_STUB),
% r5 g4 X. y8 z
$ G& v7 l# W. E. Q4 R' Zenter the following SQL command:
0 L; z' J: }- M T1 F8 ~! ]! |( nWITH cte1
0 g# p: Q4 E! W9 |) ]AS (SELECT table_name
+ [; J m* F6 H/ `. c) OFROM user_tables
8 O3 k; z/ `3 e- [% U- iWHERE table_name = 'TABLE-NAME'),2 Q S& Y/ g) f; q7 n. u, E
cte29 c* D2 b# l3 L E
AS (SELECT SUM(blocks) * 8 / 1024 MB
& }- k- w' d9 K8 c$ b# D" u3 | TFROM dba_extents,
N6 l2 a0 n1 acte1
0 e! v9 `4 f3 {# s3 Z: TWHERE owner = (SELECT SYS_CONTEXT('userenv', 'current_schema')0 ?, n B2 i, E1 h/ s# @
FROM dual)- R. h9 N" n9 G% H6 j
AND segment_name = cte1.table_name)
; a' w7 x0 [2 kSELECT ROUND(SUM(mb), 0) || ' MB' AS ESTIMATED_SPACE
1 |8 |, n8 n, tFROM cte2;) x( i( \5 Z( Y: H* q
' R4 D' z( s, X. H8 DReplace TABLE-NAME with the name of the given table.
3 ], L" v7 O' u: l0 {# L5 f% k7 m/ d) b- q! @( K- r! c; ^
8 o6 C/ Y2 e! I; p, o
/ q* R" d* g) L/ m( w! o, bREM ==unzip install.zip ======. O+ n: X1 A H1 h7 [
: n8 B5 n# n: z; ^TC_ROOT\install\install\unzip -o install.zip
2 G/ i! L/ z1 y. H* F1 e. B$ R6 N5 ^9 `3 x, D1 s
4 x% J- v9 C& @6 Y. k1 ~, J% d4 y. g5 }( F/ ~( K
REM ===Install patches on a Teamcenter server====
$ K+ v9 d" `& [/ c- g
) ~2 n7 s9 {2 ~3 A1 a4 n3 mTEM--> updates manager 2 N) b* [- k8 w
7 w* C' Q. g. l
REM === Update kit location : product-level_number_platform.zip // Tc11.4_wntx64.zip
8 q: u, f- x/ M) }3 a$ D3 I
) z! r" U7 k9 X3 k# ~8 IAfter the server is successfully patched, you must manually update your TC_DATA directories.
( n2 d6 d R8 l$ h0 qa. Create backups of your current TC_DATA directories.5 K; p N1 Q- H' Y( @( [
b. Expand the platform\tc\data.zip file from the temporary location you created in step 1.; h1 A4 U: {! N7 d
c. Copy the expanded contents of the data.zip file to your TC_DATA directories, overwriting+ r8 Y+ ^5 d7 |0 D4 t% t/ W: S
existing files.& g4 T( d- a V! R) ]7 U
d. Copy the tc_profilevars.bat file from the backup to the TC_DATA directory.5 |; }* _. V- a7 D9 J/ N: K( |
! A! t7 j1 E4 J
8 A2 }, y2 g K2 j) h0 b4 n) |
" p, z+ T) M/ l
& Y! g3 h! k6 f& [
; w: n b6 u6 u8 ~/ |7 O/ ~( s, z9 W9 W, \ _$ a
========Patch the rich client using TEM4 _. g+ ^5 {. ~/ l' n: ]
========Patch the rich client using the Over-the-Web Installer& `- {- w* x$ i# G \0 M( l
( c4 I$ h' d9 k2 B% ?6 h
0 o7 F2 B: ?3 v) Ua. Click Reinstall Solutions.
4 P& i5 |, u# n- D# p2 [1 {b. In the Reinstall Solution dialog box, click- Z% ] b/ _9 d. _
OK.1
% a h+ O* I& zc. In the Confirm dialog box, click Yes.; d: B b" ]! p6 q, d# |* x
d. In the Modify Required Context
% m! I p# h, p( fParameters dialog box, click OK to begin, }9 b$ g; w, f" \* u- V
patching.5 b1 T b7 \, c3 ]( s. L
e. After the patch is installed, click OK to
! B) S, ]; \: Y- M/ l Zclose the Progress dialog box.
( r: {0 q- c2 \" ]5 x9. In the Modify Web Application dialog box, click OK." F2 |. n! @5 n; |' P( O3 A
10. Exit the Web Application Manager.6 @# [6 [$ A1 l
11. Copy the otwweb directory from your WEB_ROOT\staging-location\webapp_root directory' M1 y; s& b& C& Z; Y+ U
to your web server.
2 _1 \: {6 i. C i/ {/ _12. Restart the distribution server.+ {. ?9 o" o# ~" I0 ?% D( N
: A; ^7 o. G/ R8 Z2 M1 S$ D* v* B
2 s; D6 _; M0 M' F% S; v- D% c X=====Patch Lifecycle Visualization====9 u! S& Z" d% d
$ v! C; I8 h! Q X/ c
' T. C+ R2 t+ M
# A: h' E# |# Y" S. a" a===Patch the web tier======
# \8 Q. U* E g- q2 B
* Z/ y5 E" c3 ?6 K
* t1 A; I' J2 q, Q* J3 I& C( y7 T" H) {8 N5 k
- T9 ~' V2 N: ?% u0 ]) w+ k! _" L! h. ^5 A6 W( ?
|
|