|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
Teamcenter11.2 升级到 Teamcenter 11.4 图文教程
# p Q7 o% G- R2 \! t. b视频教程请参考plmhome.ke.qq.com
2 d- ?: J+ L- d1 p, D3 W: d/ h) s: @0 _+ s* j: @( [% ^
===Clearlocks======1 f* T" q6 A \2 s6 Z" T$ W+ J4 s
clearlocks -assert_all_dead -u=infodba -p=infodba -g=dba4 ~+ b' U# O' L7 O0 u2 X- w. P
clearlocks -verbose0 l* \5 s9 x% p" y$ H0 C
9 g2 x5 u3 b: a* F3 z& o
# s. l0 Q1 t. p$ l( Z8 `9 A11.4 的升级比较特殊,特殊的两部如下:
* T$ s4 z d* @% _ K/ G7 J- K) g/ ^# u- D7 |
REM === Migrate trace links =====
8 }. |6 Y$ E9 T/ F8 w+ l. O" S) H6 y# ]+ t* n
req_migrate_bomview_tracelinks -u=infodba -p=infodba -g=dba4 k/ D4 y+ f7 B( n/ V
# B2 e% V1 ?& B. A4 `
* B2 {: B4 a; @$ O5 X0 T====DB =======9 y' O$ z2 ~ b- O \
=====backup====
; k. t7 A k9 v2 _+ F* d& ]1 @' o, h3 s: F
9 e, `0 {, Y. _1 hREM ==Estimate tablespace requirements for update====+ R1 g$ i# W; K
Oracle databases:
. q# e3 x& Q; k; d# n4 _' C4 [1. Back up existing Teamcenter data.# }( J/ y- c* I8 Z7 J
2. Determine the tables affected by the update to Teamcenter 11.4.7 Q3 m% V4 O7 W
a. Enter the following SQL command:
2 z: x1 q6 _. \7 K8 ~$ w( b* ~( ~8 y' e4 S6 q# B* ~
SELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 8192) <> 0. P& B" q6 M! M: D/ C
UNION! y+ |; H. x, z+ ?, m. o% Y8 B' \
SELECT ptname FROM PPOM_CLASS WHERE BITAND(pproperties, 32768) <> 0;+ D( w& u* r' O3 c1 S% L- _' ~7 S: O% _
6 ?7 |6 `1 o4 ^( u5 \- r: [; C$ \b. To the resulting list of tables, add the PIMANEXPORTRECORD and PPOM_STUB/ m; x6 @8 ?& z1 Y
tables, which are also affected by the update process.
: F/ N0 L+ N( \" }
5 K# R& H! [( B9 U, E1 xDetermine the amount of space consumed by each affected table.; M% U' ?# k8 t8 a
For each table identified in step 2 (including PIMANEXPORTRECORD and PPOM_STUB),
9 L; l+ ~4 n: v" H! N
3 ~/ z7 j" F, l% I9 y& M+ b; {7 D6 {enter the following SQL command:' \4 f, G6 ?5 N3 K D0 w
WITH cte1. b1 L" y! c6 Y6 @+ f
AS (SELECT table_name( `3 e. m$ d% Z) {( x; r( o) h% n1 X
FROM user_tables* L7 P2 k! ?4 _' d7 d
WHERE table_name = 'TABLE-NAME'),
: q0 j# X' ?3 H" fcte2
8 T9 a+ A* n; IAS (SELECT SUM(blocks) * 8 / 1024 MB
& F! V) p1 X& Q/ m6 Q4 X0 N) G+ TFROM dba_extents,, S. L' q9 r- X: D2 R% e
cte1
/ t- B4 J9 R' O/ y6 [$ k5 w ]! eWHERE owner = (SELECT SYS_CONTEXT('userenv', 'current_schema')
7 k( ^* M1 Q2 t0 k7 `/ oFROM dual), R j4 c5 m; }% X- r4 z- w9 E; W
AND segment_name = cte1.table_name)4 }0 t% J! u: c5 Y
SELECT ROUND(SUM(mb), 0) || ' MB' AS ESTIMATED_SPACE
$ l8 Q% Q& ~5 a2 S8 WFROM cte2;
5 Y0 D: z: ]" [- w& r* L# ]$ r' ~3 g* a) [1 x( V7 r& \
Replace TABLE-NAME with the name of the given table.: M) B9 o% U4 S# M3 j2 @
m( @' i7 J: q
/ b# P7 {7 h7 n. x* J
6 ^7 Q$ ~$ y" @, YREM ==unzip install.zip ======
/ _) X4 t; {! k8 t8 y, |
9 n* _; }7 n) {; I( {TC_ROOT\install\install\unzip -o install.zip6 i, a/ x F# t X4 L1 H
& Z; [0 s! L y) `; P% E) ~$ U5 e5 J& X% }. Z8 P4 s+ G
/ P- ^1 Y. `, Z$ [
REM ===Install patches on a Teamcenter server====
! E7 X9 G1 m5 P8 \4 b$ A" \ A% w* t
TEM--> updates manager
+ f, _! l" v8 t Y2 S
3 g; W# f( n& _! L K' y& ~: S; QREM === Update kit location : product-level_number_platform.zip // Tc11.4_wntx64.zip, {, C' ]" N% \* j! `
6 ]. ~' ^- J$ N& `/ Q
After the server is successfully patched, you must manually update your TC_DATA directories.
) j. l2 }6 j2 L6 V' Y4 }a. Create backups of your current TC_DATA directories.$ o( _- }7 j) S7 ~$ i
b. Expand the platform\tc\data.zip file from the temporary location you created in step 1.+ g' i6 v9 @9 w8 Z! F' \+ o
c. Copy the expanded contents of the data.zip file to your TC_DATA directories, overwriting4 f2 i2 Z1 L; r: G6 d4 r
existing files.
# k+ j7 r& Y( p; o/ vd. Copy the tc_profilevars.bat file from the backup to the TC_DATA directory.
- e+ E( D8 b% m9 L5 V. H4 f
5 o$ ^6 v4 s' G+ {
+ ^0 W% j g/ C0 M9 I( E) e& q# h: m8 L6 Y* A
, R0 e: K. u, g! k& u; Z5 b
, A. L/ j! s) r4 g( {1 s& Y
: u* L9 E3 ~. F
========Patch the rich client using TEM
# B5 `: `, Q! Y2 Y! X9 Q========Patch the rich client using the Over-the-Web Installer5 g h4 R, s6 N9 m- [
( p7 @; q& V B s n% E9 f' | C
: H5 M0 _( P2 U0 g0 a1 ya. Click Reinstall Solutions.
, \ k1 P. m" ~! O% c% @3 p0 s% `b. In the Reinstall Solution dialog box, click
- s) ^/ c s; b9 N& n7 m" C' YOK.1
4 y' ?; c' U* K; \c. In the Confirm dialog box, click Yes.
" }& m# x! i9 p3 e5 C! dd. In the Modify Required Context2 T) |; P: A; J |, l% P& j0 [
Parameters dialog box, click OK to begin; q8 D0 `% t+ m3 b
patching.8 E! U: Z$ N7 X& e" _. U2 A
e. After the patch is installed, click OK to7 K4 A) R/ q5 G
close the Progress dialog box.& j7 I; _- z1 p9 K6 p+ s
9. In the Modify Web Application dialog box, click OK.4 |8 H8 A8 w7 n* t) v" v; M
10. Exit the Web Application Manager.8 t. _7 ]6 ]- e [
11. Copy the otwweb directory from your WEB_ROOT\staging-location\webapp_root directory4 b7 x' e* O S+ S. q
to your web server.
, t- }& s2 b/ o- c5 Y12. Restart the distribution server.# F% `# Q6 Y! ~
: @7 i' h: @* d/ b& D% m
" `+ g: E3 j" \% H=====Patch Lifecycle Visualization====
& F# B7 b" \- E1 [+ M
4 d- V( M; ?& B) y2 C4 @2 {5 V" Y
. D: z: S3 z5 J- b8 Q3 H* [
% j! y) _. y3 z===Patch the web tier======
P# P U' |5 o; F: |
1 ~2 L$ a' ?5 M
. K# H4 @2 I0 W e" @9 S5 P- n P
7 T+ N+ V8 `" L" l8 Y0 r- X5 r6 [1 d% G: I; c8 q
5 x1 X; k+ M! [5 \! z
|
|