|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
Teamcenter11.2 升级到 Teamcenter 11.4 图文教程5 o, _: [+ a/ [: J+ @
视频教程请参考plmhome.ke.qq.com J) j% t# m0 F% i+ Z8 e
8 d1 p {' [9 K0 I* A" A5 o2 s
===Clearlocks======
4 h. ]7 f. I: vclearlocks -assert_all_dead -u=infodba -p=infodba -g=dba
7 o, Z; o& t9 p: |$ b: o+ S! Pclearlocks -verbose
& Q! I$ d3 n$ r$ d `% S7 L' q9 o
5 T% s; E+ d! G2 ?* z' f6 O) A) _- E7 ^2 V; Y
11.4 的升级比较特殊,特殊的两部如下:
' L7 D6 z1 N8 C9 a1 P; \8 r( x* w3 F* u' O4 ^, ?
REM === Migrate trace links =====
8 H* x `, C! l/ J5 P+ ^
9 \! x3 o% D8 k) i" \& ~req_migrate_bomview_tracelinks -u=infodba -p=infodba -g=dba
) q# @4 U" S$ E/ ^4 n2 y3 T9 h$ M
0 z |" e1 Q) {0 \0 G0 l% F& p====DB =======
+ p- H( M$ }; `6 \# j2 a=====backup====2 \. I. P/ `9 g. \
+ r5 K9 ^# g7 o, { m" F
% R# d2 q# T4 `% AREM ==Estimate tablespace requirements for update====
9 Y9 F# I* S+ ]9 \$ vOracle databases:* P( G$ @6 U# I/ n2 u
1. Back up existing Teamcenter data.8 e6 t8 x2 c3 N
2. Determine the tables affected by the update to Teamcenter 11.4.
2 ~- w. b" L3 H+ x, j( O9 S3 \a. Enter the following SQL command: Y6 t4 Z+ r0 W. Z# @
0 t9 B" d& Y3 F5 ^
SELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 8192) <> 0( n) l& Y$ m: B1 ]
UNION
* g. d$ ?3 u; X |5 ?SELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 32768) <> 0;& J9 i0 s/ D: }% }+ w6 P
/ g/ M' i% S' \2 \& N- ?0 _
b. To the resulting list of tables, add the PIMANEXPORTRECORD and PPOM_STUB9 w: I, d& w2 n8 T) U
tables, which are also affected by the update process.
. x" z, @+ b9 u7 [% q- Z, C
' M @! i2 M4 HDetermine the amount of space consumed by each affected table.% N8 ^7 A' o3 v2 a
For each table identified in step 2 (including PIMANEXPORTRECORD and PPOM_STUB),
) b! D# I8 F: {$ M d- U4 G$ @ C& y' B0 `9 \- x9 n5 |! g
enter the following SQL command:
8 Z, \' c% e! E5 r: ]WITH cte1
- ?% o4 J- l% m1 e+ QAS (SELECT table_name
+ W4 d" v* l/ Y8 e1 B1 [9 {. \: C6 ~FROM user_tables
9 E# O( ?* i% N; v9 U) i1 ZWHERE table_name = 'TABLE-NAME'),( B( M4 J- f( W3 _0 v$ C+ ~2 J
cte23 s6 |) Y2 @% ]5 i/ m
AS (SELECT SUM(blocks) * 8 / 1024 MB. J2 |" c! g+ D# j4 H8 l0 c A
FROM dba_extents,
% }4 u# k t5 hcte1% O2 w: I+ ^/ c% F. G
WHERE owner = (SELECT SYS_CONTEXT('userenv', 'current_schema')8 [& s: Y# @% Y2 H
FROM dual)! Q+ G. B r' Y* i' @' \
AND segment_name = cte1.table_name)
+ u5 T; y) v; e6 TSELECT ROUND(SUM(mb), 0) || ' MB' AS ESTIMATED_SPACE( {" `/ \8 i& H7 P6 [, r
FROM cte2;5 p/ m9 Z" a+ Z7 R# ]2 `" ^
, t$ o6 m; N4 j; t o1 }/ |& r
Replace TABLE-NAME with the name of the given table.
" p# L2 [, {; c$ o
+ i3 R9 O; A3 l# e1 _, V; Y- b( Q! `% i$ B- D
/ Z( v1 T2 T5 h Z7 Y2 T
REM ==unzip install.zip ======
( e, C7 X* M% \/ y
0 x1 j8 s0 T( W( KTC_ROOT\install\install\unzip -o install.zip6 D$ N; h( y! U* W/ o
/ d D" c- H% p+ V
' r0 z5 m6 E- S- N: ^1 d" _
. g3 x- d4 C( ?
REM ===Install patches on a Teamcenter server====
7 V/ ? E$ c" l! R3 F! Z$ ~& R) }: L
. A% h4 `0 W2 C. ?TEM--> updates manager
. d5 s7 O4 k( X! |: a! p7 N3 ?2 H( u# n
REM === Update kit location : product-level_number_platform.zip // Tc11.4_wntx64.zip
, _8 H3 G! N9 s: J
$ C: y$ m% H/ z+ @. ]After the server is successfully patched, you must manually update your TC_DATA directories. a3 g; I8 H0 Z8 D1 p) s5 T+ l* S
a. Create backups of your current TC_DATA directories.
$ O Q: k% |% j4 cb. Expand the platform\tc\data.zip file from the temporary location you created in step 1.
$ j0 X5 |1 F2 W! Z) n# ?6 @c. Copy the expanded contents of the data.zip file to your TC_DATA directories, overwriting# O* h8 B; R" F6 b5 s
existing files.$ P& |+ |' g" \& C3 z) v
d. Copy the tc_profilevars.bat file from the backup to the TC_DATA directory.
# q: h% z: H |) ?
+ C3 j4 z; ~! f. R
: B, V. U2 ?1 {" o8 N' w1 q$ E2 A7 R1 Q$ U/ T
7 H3 h# J! D- X9 G9 S ]: N3 u
+ F; \% L6 T. q0 S4 \" `9 J9 m7 ?! V7 \, T, u& j! ~. a
========Patch the rich client using TEM
* f, [& v9 ~6 O+ \0 F. \========Patch the rich client using the Over-the-Web Installer9 C/ `* _3 {+ Z% T' y
6 [7 X7 w- a7 j
6 b4 x& m' Z Z3 e3 J% r
a. Click Reinstall Solutions.
, I5 v* f0 C4 ?% W' l1 c7 A9 lb. In the Reinstall Solution dialog box, click
# j% |( ?, q1 |0 AOK.1: G, l7 ?3 y* s G Y
c. In the Confirm dialog box, click Yes.( V7 B+ n s; Q0 p5 v
d. In the Modify Required Context
- v* h) W: H" b( }8 z2 [5 m; BParameters dialog box, click OK to begin5 N5 b7 Z3 S2 G/ ^" Q
patching.% I o, K% Q# @0 G; Y6 X+ [
e. After the patch is installed, click OK to
1 x2 V, b8 l9 A- U8 V- dclose the Progress dialog box.
2 l3 J1 g# p2 V; B* ]+ G- L9. In the Modify Web Application dialog box, click OK.
1 \# C1 l7 @2 M10. Exit the Web Application Manager.
) d$ }1 o& ?8 w1 ]& O! r11. Copy the otwweb directory from your WEB_ROOT\staging-location\webapp_root directory/ P3 K$ D, V, c J: D
to your web server.4 x( j$ J: l- w2 x1 j( l
12. Restart the distribution server.( W+ f. O" D" G& s1 k
3 l" t: E/ h0 M8 b$ v
) |( g' h8 u, v2 j
=====Patch Lifecycle Visualization==== v: e8 D( L \& A. Y, ^1 B
, j( e/ ^: y! [: C) U1 F: x$ Z5 q8 w& P# j6 f3 ]1 T& }5 A
: G, B# ` ~: ]* f
===Patch the web tier======
3 z3 j7 ]4 _: c" u% D' G4 A/ f+ E6 p+ y5 [9 X8 d
- G. @4 }& L; {3 J; g! w5 c, A t9 Y7 H. ]+ h
+ _/ x% B' A7 @, {
& U" _7 |+ p7 J; B5 ` |
|