|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
Teamcenter11.2 升级到 Teamcenter 11.4 图文教程: Q8 U+ y8 k4 Y$ O V5 h
视频教程请参考plmhome.ke.qq.com$ _+ M8 Q3 Z# a. d/ I4 @, e# i
4 @ V5 b! X" l1 z
===Clearlocks======
+ y* ]( O- I7 X2 Q- O! @6 r2 uclearlocks -assert_all_dead -u=infodba -p=infodba -g=dba: ~0 V; @" S' o( ]7 G7 M& R3 ?
clearlocks -verbose, S' Q A/ R8 K. m1 @
0 W" X" I: h3 m
- D- H6 n* V6 n# J& L6 `% m
11.4 的升级比较特殊,特殊的两部如下:
4 S* K/ `( @$ G B1 E. S7 _
% a# c$ x5 {2 E" k: \8 HREM === Migrate trace links =====. j$ {6 B, t5 e; B, q
. p% [2 L ^6 c0 Y# @req_migrate_bomview_tracelinks -u=infodba -p=infodba -g=dba( _% `" a. y8 ~& B( j* w& X
$ [) P( x* i- E9 r T! T1 p+ f7 n# s3 J# H) n4 k B
====DB =======
& n. p$ M% u+ ?=====backup====
J+ n5 w/ I }5 b
2 Z( l# ~; @$ R4 Z* \( l5 H" _0 ]& J
REM ==Estimate tablespace requirements for update====4 z9 f1 Z0 M4 v
Oracle databases:& l d4 m, Q1 p9 {" _& i0 l
1. Back up existing Teamcenter data.
+ K# P& ^( w* |$ d; v2. Determine the tables affected by the update to Teamcenter 11.4.
- p Z! ?7 [" Ca. Enter the following SQL command:+ E' k& O) ^/ W! {7 ?/ g- V! e1 [
|3 l6 X5 [4 _4 H, l6 D
SELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 8192) <> 0/ u& c @8 Q/ o# W
UNION: c* [7 v, D/ d v' \+ V
SELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 32768) <> 0;
2 [% N; I2 y5 ~% i1 B4 k' e
& \7 f; q5 w# t; bb. To the resulting list of tables, add the PIMANEXPORTRECORD and PPOM_STUB9 Q/ z) u( D A s& F# c
tables, which are also affected by the update process.
# l( I* n: q- y; s3 R8 V; o. y$ u% w
Determine the amount of space consumed by each affected table.5 n6 P2 X1 ~/ @/ q
For each table identified in step 2 (including PIMANEXPORTRECORD and PPOM_STUB),
: W% S0 ~& v- u' h
) I* m9 V, A7 Y8 Y% O: t, Eenter the following SQL command:: m1 R7 n3 ^5 N2 I! q5 T9 H# h
WITH cte1# N6 d; K8 R+ y$ w- H
AS (SELECT table_name
+ p! ?! T. K) ^1 \/ f1 P9 SFROM user_tables0 a8 D& u* G* R9 k6 o0 A
WHERE table_name = 'TABLE-NAME'),) T& _# M) W7 R; S+ s: R
cte2, k3 U6 V+ i% J( R, Y }
AS (SELECT SUM(blocks) * 8 / 1024 MB9 J: M) v0 { P% Y7 [2 b
FROM dba_extents,( D" T, R0 i) x9 w! b
cte14 S" y! }) m" x" P5 {4 @" P0 X
WHERE owner = (SELECT SYS_CONTEXT('userenv', 'current_schema')- m* n) B$ m6 t- A' a
FROM dual)
* Z+ E. G1 y' b( d# o9 n4 e+ F5 JAND segment_name = cte1.table_name)& p( x: v6 s' H& U5 W
SELECT ROUND(SUM(mb), 0) || ' MB' AS ESTIMATED_SPACE
I- c5 v$ M9 P" d6 ?! F$ C- `FROM cte2;
% N! L4 T1 y! \5 D6 {- _6 L5 ~: {# T, O. z
Replace TABLE-NAME with the name of the given table.
8 c2 i$ T7 O: A) R. j% Z5 N# r, S1 [
# t! L/ A0 J) D% e$ i* D( l
- S; \1 {+ y8 y/ R5 ZREM ==unzip install.zip ======4 K- n; q% c2 w- s
" s2 l* s7 d% q/ p$ r* I; ?TC_ROOT\install\install\unzip -o install.zip9 j' H. H0 b0 L* S2 Z/ O& J
. E i: L$ Y1 ], l+ E0 @
, u5 B0 Q7 \! K, s3 e+ k3 z
2 Y: a0 m% A: q7 L8 p" l3 WREM ===Install patches on a Teamcenter server====
: Y* n7 o; j; ^; s# v: E+ f$ h! [8 X2 q* N; d( ]" j6 d
TEM--> updates manager
: T$ M3 Q$ n) V' l0 g8 n, W0 W6 Q! c
REM === Update kit location : product-level_number_platform.zip // Tc11.4_wntx64.zip
# E, o3 N& b2 k( V+ M$ K1 v8 C* r: o4 V% V8 K3 J$ B
After the server is successfully patched, you must manually update your TC_DATA directories.6 k; o' j& ]2 t, J3 ]
a. Create backups of your current TC_DATA directories.
. r2 S! l# |' Mb. Expand the platform\tc\data.zip file from the temporary location you created in step 1.
1 S' Y8 n7 e( C3 `: r5 ?c. Copy the expanded contents of the data.zip file to your TC_DATA directories, overwriting
5 A( J7 I5 ~4 s2 f8 P# cexisting files.3 K& O/ R# P/ ], T j9 q/ `
d. Copy the tc_profilevars.bat file from the backup to the TC_DATA directory.& T2 C& H% O( f# d: f. } [; g/ @! K
6 M+ N+ f) [0 r7 |1 l5 X/ Y& `5 U/ z& v4 y! r- i
: S4 k' K' D- V O
/ Q [% ]# k# f/ S& O. P I
/ \* ~4 }4 Z0 g3 v
& @. o. F" z6 [$ F
========Patch the rich client using TEM
3 E2 O5 E/ L9 l! ~6 T$ J& [========Patch the rich client using the Over-the-Web Installer, e# b5 N( I! f& [: n w
" t! z5 i+ U: q; |6 O0 S# p) f& i
2 {; W+ Q4 s# |2 Ma. Click Reinstall Solutions.1 i* k9 |" F) ^0 Y+ p3 ~: L
b. In the Reinstall Solution dialog box, click0 w6 a; B g. x) S
OK.1( W; g$ z) j- a" G
c. In the Confirm dialog box, click Yes.8 Q& i- y5 f* C/ H4 N0 E# \
d. In the Modify Required Context
. B& e) Y% w7 n+ I4 j& n& ]Parameters dialog box, click OK to begin: u/ s+ \* g3 q. ~" v# K
patching.
$ J2 n0 T+ L# B1 a2 Ze. After the patch is installed, click OK to* d# `6 J' `& f5 h5 Y+ K Q
close the Progress dialog box.% x: p5 X3 T# ~! T1 v5 [) L
9. In the Modify Web Application dialog box, click OK.
+ `7 C& ^. \7 L Q( a10. Exit the Web Application Manager.
/ Q) G& i& \* i. J+ H11. Copy the otwweb directory from your WEB_ROOT\staging-location\webapp_root directory
. O: m5 O: z% _! a4 k9 _3 O, Ato your web server. J" _2 }+ A0 F# c
12. Restart the distribution server.
+ [1 P) m ~9 O+ z* s
8 d) ]- Z5 k& A4 s8 [* _! @' s# `6 v" R
=====Patch Lifecycle Visualization====
: k& L' K2 L( ]) w1 W5 ^
) Z' C$ O: A7 A |1 p
2 u9 w7 H% V3 Y& `' v) }! A Z9 j' _0 n1 w% i. i/ @5 X3 G; p
===Patch the web tier======
/ U3 d* L, E& v- J x& _+ C5 x' ~ K0 s
9 ]( W/ Y- ~9 ^, U
- f( v! |, E* h" e7 n8 {! @9 s# r- {# |9 D4 q
' |, Q9 c, [$ V5 R- n8 Z |
|