|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
×
Teamcenter11.2 升级到 Teamcenter 11.4 图文教程
0 A4 J# @1 @* z1 d' s视频教程请参考plmhome.ke.qq.com
) Y% m" K7 ^5 _# R3 Y. _4 A$ p I* o2 T/ I: U3 \7 O
===Clearlocks======7 W5 w/ e- a n$ K4 Q5 g5 t
clearlocks -assert_all_dead -u=infodba -p=infodba -g=dba, M3 ~& m; v; w+ u. |$ Z
clearlocks -verbose
0 ?1 C: G( ?$ u7 S# g. q6 t1 Z" ~
* }% |+ H# i* B) Z( j- {
11.4 的升级比较特殊,特殊的两部如下:
) u5 f4 ^* a: i' V( O2 l' A' P& P6 O, S$ t/ e9 Y2 @
REM === Migrate trace links =====% b- x1 Z3 ^. h7 {; f* M; |5 s& w
9 A$ F6 c" V( T# I4 z1 _req_migrate_bomview_tracelinks -u=infodba -p=infodba -g=dba- T( I$ }/ x. ?
4 O$ G. A7 q6 K, _
0 @" B7 e; V0 v2 v. F+ B
====DB =======
$ [) V% @ R( c; G& l! y=====backup====% ~5 O0 I9 u3 P+ u9 e$ l- ~9 r; ]9 Z
/ k" p2 x" d/ F& |' S' s
# p+ ~+ Y6 n: m& z DREM ==Estimate tablespace requirements for update====
3 B3 [! q7 z' |/ j& aOracle databases:1 @* S0 ?& o/ S% k5 D' q
1. Back up existing Teamcenter data.
% b0 |& M4 Q( u7 @3 H9 T2. Determine the tables affected by the update to Teamcenter 11.4.% k+ A' P8 J+ w5 O r
a. Enter the following SQL command:
* F; P/ S- `7 [* y9 ~! x; z
* D, Z) h$ l lSELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 8192) <> 08 K, L( N# W0 Q% u9 s9 D; M
UNION
4 P U# F4 K8 F$ L1 L; u: _" }SELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 32768) <> 0;
$ W, o. e4 U, b; `. ?' {9 m
, ]" m& z( e2 `, Fb. To the resulting list of tables, add the PIMANEXPORTRECORD and PPOM_STUB
- I* r& E2 Q# T% V2 Q2 btables, which are also affected by the update process.
. j1 ?" \+ Z! X3 G! _! W! n2 r, S- R& u0 O) q% n( O# e
Determine the amount of space consumed by each affected table.. B2 U$ k& A( s, N+ u0 o+ d
For each table identified in step 2 (including PIMANEXPORTRECORD and PPOM_STUB),( O" E$ s' D6 ?& P+ k3 d. G
2 I9 A' {3 U4 u+ r: H: _enter the following SQL command:) a# D7 E" s% Z; ~* Y% E$ Q% S, |
WITH cte14 p' ]0 ] ?8 f- V0 H p; @
AS (SELECT table_name
v) h# ^2 ?& S3 }: @! V8 ]0 SFROM user_tables6 Q) O" b# j/ E* B# m3 `. z" U
WHERE table_name = 'TABLE-NAME'),
9 K0 h5 U F# i; |( Lcte2( Q' a, C) |; w
AS (SELECT SUM(blocks) * 8 / 1024 MB- D# O0 z9 k \- d
FROM dba_extents,
, {$ a# r- t4 z8 p" m& n% I3 icte14 X) O' T \; L7 _
WHERE owner = (SELECT SYS_CONTEXT('userenv', 'current_schema')- i+ m# q5 w' O1 B( |
FROM dual)
6 _ z/ R) N/ A9 _AND segment_name = cte1.table_name)
/ {9 p. a/ Q( {. p) A" k$ A. O1 g) Y hSELECT ROUND(SUM(mb), 0) || ' MB' AS ESTIMATED_SPACE/ N# g" h; I5 I# y2 m
FROM cte2;1 { n+ r3 }% X+ \# s3 }
' ~! I: C6 W1 u0 `Replace TABLE-NAME with the name of the given table.) f% a" A0 O8 V8 }) M5 m
0 S4 s. B. J& w& v
- G/ x8 l0 G* V8 h4 M- I, E+ H( P% Q6 R6 u$ t
REM ==unzip install.zip ======" a' p; m* D5 a4 J. p: K7 Z' p
( i- h: i# }: n" @# }9 S6 t! ^2 C; U
TC_ROOT\install\install\unzip -o install.zip5 w5 j& p+ U3 q" c! O
+ q: D3 {' i" A% e7 P6 `* q
- ^0 F2 {9 i" @7 S+ Y. a9 T
' S" w. z% u- @/ _REM ===Install patches on a Teamcenter server====
6 w1 X; s$ ?3 o; f8 D
6 \, W! S& E# t3 |0 K& ?TEM--> updates manager
7 C& v3 ~6 {/ o) O& p" ]' Y# G; z. l
REM === Update kit location : product-level_number_platform.zip // Tc11.4_wntx64.zip9 [, a% y' ?! n
" U1 I* \; M5 F( AAfter the server is successfully patched, you must manually update your TC_DATA directories.
+ u% d' x& p& }- ^a. Create backups of your current TC_DATA directories./ u3 g: r: w' D
b. Expand the platform\tc\data.zip file from the temporary location you created in step 1.
8 v5 G9 O- j* w% ~: Pc. Copy the expanded contents of the data.zip file to your TC_DATA directories, overwriting, { d* ~8 Y2 p8 J
existing files., h/ D: C. k) [
d. Copy the tc_profilevars.bat file from the backup to the TC_DATA directory.' u" L4 S9 ]8 S+ r/ L7 g' \
8 o t; R7 l" V( G- ]0 J
, z) A5 S' }$ V y+ M3 _3 |9 b, X w1 N6 u+ ]7 L# S
2 J5 w0 v" p$ [* A2 o- g+ s
. C$ Y& D1 D. v0 M
3 b1 c: I) j( y z- }; V========Patch the rich client using TEM
, P4 j# J% G* |2 Y+ G, [& N========Patch the rich client using the Over-the-Web Installer- R8 e' }/ B6 p; r8 C
3 { w7 K; k7 V
5 V6 q1 f& p! L% Z; o. w. xa. Click Reinstall Solutions.4 N$ t& W9 c/ U& r& q) D/ t
b. In the Reinstall Solution dialog box, click
# _. C! {+ [8 j' BOK.1
% r9 E1 K, y. O( Nc. In the Confirm dialog box, click Yes.
% y& J1 x' ?8 `; S" [d. In the Modify Required Context
$ ]! R! n) r, \. rParameters dialog box, click OK to begin/ G3 e: B. s7 r0 Z X
patching.7 ]7 X. @/ K# k/ I& I# q' W7 g
e. After the patch is installed, click OK to
: r0 V) v( s: T8 uclose the Progress dialog box.
, u6 f; F4 v0 I1 r9. In the Modify Web Application dialog box, click OK.
8 C& g& R$ U4 i) M& W10. Exit the Web Application Manager.2 s1 D- B. z" d5 n& h$ ^" U
11. Copy the otwweb directory from your WEB_ROOT\staging-location\webapp_root directory/ f! |3 ]% G* K( }- z+ i( t1 {& X5 b
to your web server.* e+ R( J. X* q
12. Restart the distribution server.$ w# H( z5 j' e: y% H- {
9 x3 B6 k+ J( ]4 P/ H/ u$ }0 d
1 P" D) t5 g- t1 M=====Patch Lifecycle Visualization====
9 d) k$ j# k( _& G6 _* t
9 I$ J4 c8 O0 N5 d, M+ ~
( n1 p/ t% q( w$ ?- i1 H$ S; a5 V8 k! Z- V9 r; h9 ^: }8 c4 t
===Patch the web tier======
* X D1 q; d. K2 f$ V
7 X& H6 o* L- o8 ~0 x4 ?3 l- A
$ |* H, Z: J6 _! U6 v
2 l' o/ W: @, E$ z. _9 X' h# R: Z, ? w5 }% S
) P) ?* o+ f$ W |
|