|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
×
Teamcenter11.2 升级到 Teamcenter 11.4 图文教程
9 u/ Y5 o( |& u9 u3 m( d0 p视频教程请参考plmhome.ke.qq.com4 R( Q3 q/ }1 l: T6 _+ V
& v7 C! p- l* n9 n
===Clearlocks======
4 }0 k6 a( \. ]* ?4 K$ f L2 P$ Eclearlocks -assert_all_dead -u=infodba -p=infodba -g=dba7 @4 j+ W/ \( V/ z6 B& |; W
clearlocks -verbose
, h3 N, ?2 g$ T
. ~. z% E* m3 D! K7 W8 u& q) P5 r7 ?3 ^: q$ W, |4 Q) r% |; w
11.4 的升级比较特殊,特殊的两部如下:: o& Q. c; d0 T. `' Q9 j
' l, I, G0 ~ J0 \3 S
REM === Migrate trace links =====
1 x( U' {1 @: _: z3 J# P+ S* M, f% u
# S" W' v! I2 y* ?- I treq_migrate_bomview_tracelinks -u=infodba -p=infodba -g=dba; s, m9 ~; K) Q, y( N; H! M5 N
( }/ U+ J8 H \5 L
- f) u- z1 s i) [2 ^ i
====DB =======
4 e1 }! N( E. B! w- R=====backup====# q' L" c$ B; ^+ c' F- O, \
+ B2 z$ d& d/ ]8 h2 J/ S/ I
9 ?( X4 m, B* hREM ==Estimate tablespace requirements for update====
% Y1 B2 V1 }5 d1 y4 S! yOracle databases:" p7 p! i0 ^! d
1. Back up existing Teamcenter data.
! q" G, W. J4 D2. Determine the tables affected by the update to Teamcenter 11.4.1 m" _8 T4 X' N9 h
a. Enter the following SQL command:+ N& D# x3 D% v% B$ \
; F3 I/ |6 a% R. ~; iSELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 8192) <> 00 c% ]2 }) D; k+ f
UNION
3 x! {4 v. j3 ~" e! P7 P. ~) q2 CSELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 32768) <> 0;
& h W! ?2 F l
' g/ e) o" K6 T. s: q0 }b. To the resulting list of tables, add the PIMANEXPORTRECORD and PPOM_STUB9 }$ Z9 ]& H( O* a
tables, which are also affected by the update process.
! X6 d( e- o5 m- F' V3 P3 } E# [/ X0 ^3 N. q
Determine the amount of space consumed by each affected table.8 `' O6 S1 r9 r+ ^6 v$ _
For each table identified in step 2 (including PIMANEXPORTRECORD and PPOM_STUB),. c: N# Z9 c6 @6 a
0 A q2 d4 l' oenter the following SQL command:8 z! n& _0 v& m
WITH cte1
) q4 o8 Y' O7 v/ ~$ qAS (SELECT table_name- R3 N: O4 g8 H; G
FROM user_tables; g' ^7 v2 g& d& d4 O \) G
WHERE table_name = 'TABLE-NAME'),2 Y. D! K7 f9 e9 D' g. t8 @3 I
cte2
" h1 u" q8 f: `8 x( D6 ?AS (SELECT SUM(blocks) * 8 / 1024 MB7 R* U% u: o& O
FROM dba_extents,5 S! H* X! g. t- i% @
cte1
' c' I' J3 i( c! S6 ?6 HWHERE owner = (SELECT SYS_CONTEXT('userenv', 'current_schema')
3 S! |# B3 I5 x0 mFROM dual)- F( B: R9 y- b) u
AND segment_name = cte1.table_name)9 y1 {+ f) l- o0 G0 T
SELECT ROUND(SUM(mb), 0) || ' MB' AS ESTIMATED_SPACE) r P0 |% @, }, X% j
FROM cte2;. b& K d: I$ S: v2 m' q& [
9 K" V8 T+ v. O; K! q: c2 t) j& `
Replace TABLE-NAME with the name of the given table.% W1 W" Q3 b6 D' F" @" u
3 J) k* }5 {+ C8 o3 g9 j; f1 b: i; ~$ L. t: f8 E4 K1 g1 h
F- A- ]; k% l; \* G& Q$ s
REM ==unzip install.zip ======, c- Q9 c1 p5 e0 H* p/ z6 \
0 R; n9 d5 B7 A8 i9 e xTC_ROOT\install\install\unzip -o install.zip+ {% W& S' @( N
+ G" Z, s3 d1 y% a1 H" q4 E- ?: l) }5 w* n
& L+ K {% P, `
REM ===Install patches on a Teamcenter server====
0 O7 T3 H0 Q' g1 }6 q5 \$ L& A/ M2 U2 V. d1 ?
TEM--> updates manager ' U2 C3 T* l: p5 T! l0 Q" r
3 I, O' V+ z3 x9 v4 W+ O" f
REM === Update kit location : product-level_number_platform.zip // Tc11.4_wntx64.zip& q0 A, K* N# s8 B4 o8 Z7 s
* w) R$ s0 e, YAfter the server is successfully patched, you must manually update your TC_DATA directories.( E0 }. q7 J! U3 j( b0 s
a. Create backups of your current TC_DATA directories.' y6 q0 o2 z8 j8 [9 k9 k
b. Expand the platform\tc\data.zip file from the temporary location you created in step 1.- a. E) A8 r, }' B8 G" G& |
c. Copy the expanded contents of the data.zip file to your TC_DATA directories, overwriting+ N) x8 P1 C# R1 I5 x
existing files.
- ?- ~# \6 d; t/ _d. Copy the tc_profilevars.bat file from the backup to the TC_DATA directory.- L% Y3 ]) m2 k8 y" z( G
( y. b2 o7 u4 a" M
! ~' z* ~' l& z2 Y' k( P8 [' X6 G) p% x1 q, B2 T) E% e
2 w" x4 @2 I5 y1 ?9 R8 D
/ ^! B4 i$ N- i$ f8 F! y/ l
# a) i8 G7 \/ g# j
========Patch the rich client using TEM
X+ h6 |3 J2 |7 P========Patch the rich client using the Over-the-Web Installer
# g8 W$ q( a. X2 C% Z# `4 v6 g
$ P7 I# ?6 i! c) F+ B6 h& h) ~: l! J Z: |
a. Click Reinstall Solutions.
: O9 ?1 Q8 R% o$ k5 ]% C0 D, P7 pb. In the Reinstall Solution dialog box, click
/ N0 C4 A; ^ C7 K5 B% aOK.1
+ {( e+ o& O9 J: p! i" H9 b7 ec. In the Confirm dialog box, click Yes.
; R* O; D& |4 i- C4 O8 t8 nd. In the Modify Required Context
0 g9 U6 S8 c. h% Q9 W6 bParameters dialog box, click OK to begin' n1 A" U9 w7 K2 Q
patching.
" c; W; S$ M" P, I9 O, le. After the patch is installed, click OK to
; \) X3 A4 q( `* X9 V- eclose the Progress dialog box.
- U c" L& P7 l8 O: ^! ]- ]/ o9. In the Modify Web Application dialog box, click OK.0 s" h5 j& {* u& s# v2 Q7 o
10. Exit the Web Application Manager.$ w" X5 ?1 H/ |$ P) Y3 ]- b$ P- z
11. Copy the otwweb directory from your WEB_ROOT\staging-location\webapp_root directory
- S# ~' X6 e/ ~0 J* N5 q0 cto your web server.' @8 @6 n& ]9 o1 i/ I. ~: [
12. Restart the distribution server.
* N0 p3 F& i8 w. T S8 N( O: w8 |! |1 f0 N% N7 r4 c+ P
: s" Q( \* R. A
=====Patch Lifecycle Visualization====
' O5 F1 E1 w4 a% L9 ?
, }' {& p4 C4 X' W: C, \* f& D$ R. k( b" w- [1 f) y' U
9 [. f; k z: y$ _& L+ h===Patch the web tier======
/ ^& j1 p9 q5 a9 T ]8 A/ X! Q4 Z- F" J0 S4 ]4 {
% z* h6 z8 L" m4 q" J7 C. J! b. X1 W' `$ Y9 E
" u3 q' M8 S# \1 W
8 g/ _, I. R! } |
|