...

PDF版

by user

on
Category: Documents
56

views

Report

Comments

Description

Transcript

PDF版
®
™
IBM DB2 Universal Database
򔻐򗗠򙳰
DB2 5<P<!=
5b*hS$s9H<k
P<8gs 8
GC88-9148-00
(Q865'GC09-4836-00)
®
™
IBM DB2 Universal Database
򔻐򗗠򙳰
DB2 5<P<!=
5b*hS$s9H<k
P<8gs 8
GC88-9148-00
(Q865'GC09-4836-00)
4mU!
\q*hS\qGRp9k=Jr4HQKJk0K"C-v` K-\5lF$kpsr*I_/@5$#
\^Ke"kKX9k4U+d46[O"!N URL +i*wj/@5$##eN2MK5;F$?@-^9#
http://www.ibm.com/jp/manuals/main/mail.html
J*"|\ IBM /TN^Ke"kO$s?<MCHP3Gb4X~$?@1^9#\7/O
http://www.ibm.com/jp/manuals/
NV4m8KD$FWr4w/@5$#
(URL O"Q9KJklg,"j^9)
!6 5'
GC09-4836-00
IBM® DB2 Universal Database™
Quick Beginnings for DB2 Servers
Version 8
!/ T'
|\"$&S<&(`t0qR
!4 v'
J7gJk&is2<8&5]<H
h1~ 2002.10
3N8qGO"?.@+N™W3"?.@+N™W9"?.Q47C/N™W3"?.Q47C/N™W5"*hS?.Q4
7C/N™W7rHQ7F$^9#3N(qN*)O"(b) |\,J(qHHQ@sryk7HQ7F$kbNG9#U)
sHH7F5G#=9k3HOX_5lF$^9#
m* ?.@+N™W3"?.@+N™W9"?.Q47C/N™W3"
?.Q47C/N™W5"?.Q47C/N™W7
© Copyright International Business Machines Corporation 1993-2002. All rights reserved.
© Copyright IBM Japan 2002
\!
h 1 t DB2 5<P<KD$F . . . 1
h 1 O DB2 5<P< . . . . . . . . 3
DB2 Enterprise Server Edition . . . . . . . 3
DB2 Workgroup Server Edition . . . . . . 4
h 2 O Windows eN DB2 5<P< . . . 5
DB2 5<P<N$s9H<kN5W (Windows) 5
Q<F#7gs DB2 5<P<N$s9H<k
N5W (Windows) . . . . . . . . . . 7
h 3 O UNIX eN DB2 5<P< . . . . 11
DB2 5<P<N$s9H<kN5W (UNIX) 11
Q<F#7gs DB2 5<P<N$s9H<k
N5W (UNIX) . . . . . . . . . . . 13
h 2 t DB2 5<P<N\T . . . 17
h 4 O \TGNM8v` . . . . . . .
\TNmU@. . . . . . . . . . . .
\TKX9kd)v`. . . . . . . . .
DB2 N\TN0NG<?Y<9NPC/"C
W . . . . . . . . . . . . . . .
DB2 \TN9Z<9NmU@ . . . . . .
DB2 N\T0N79F`=._jN-? . .
DB2 \T0NGG(i<&lYkNQ9 . .
G<?Y<9,\TG-kuVK"k3HN
N'. . . . . . . . . . . . . . .
DB2 \TN?aK V6 ^?O V7 DB2 5<
P<r*Ui$sK9k . . . . . . . .
19
19
21
22
23
24
25
26
27
h 5 O DB2 5<P<N\T (Windows). . 29
DB2 N\T (Windows) . . . . . . . . 29
G<?Y<9N\T . . . . . . . . . 30
h 6 O DB2 5<P<N\T (UNIX) . . . 33
DB2 N\T (UNIX) . . . . . . . . . 33
$s9?s9N\T (UNIX). . . . . . . 34
DB2 Administration Server (DAS) N\T . . 36
G<?Y<9N\T . . . . . . . . . 37
© Copyright IBM Corp. 1993-2002
h 3 t DB2 5<P<N$s9H<
k . . . . . . . . . . . . . . . 41
h 7 O DB2 5<P<N$s9H<k
(Windows) . . . . . . . . . . . .
Windows eGN DB2 5<P<N$s9H<
k . . . . . . . . . . . . . . .
Wo. . . . . . . . . . . . . . .
DB2 5<P<N$s9H<kWo
(Windows) . . . . . . . . . . . .
DB2 5<P<Nabj<Wo (Windows)
DB2 5<P<NG#9/Wo (Windows)
G#l/Hj<&9-<^ (Windows 2000 *
hS Windows .NET) NH% . . . . . .
DB2 5<P<N$s9H<kK,WJf<6
<&"+&sH (Windows) . . . . . . .
DB2 5<P<r$s9H<k9k?aN DB2
;CH"CW&&#6<IN+O (Windows) .
G7NU#C/9QC/N,Q. . . . . .
3^sITWm;C5< (CLP) rHQ7?$
s9H<kN!: . . . . . . . . . .
DB2 *si$sqAN$s9H<k
(Windows) . . . . . . . . . . . . .
h 8 O DB2 5<P<N$s9H<k
(UNIX) . . . . . . . . . . . . . .
$s9H<kN`w (AIX) . . . . . . .
AIX GN DB2 5<P<N$s9H<k
Wo. . . . . . . . . . . . . .
DB2 CD-ROM N^&sH (AIX) . . . .
$s9H<kN`w (HP-UX) . . . . . .
HP-UX eGN DB2 5<P<N$s9H<
k . . . . . . . . . . . . . .
Wo. . . . . . . . . . . . . .
+<Mk&Qia<?<NQ9 (HP-UX)
HP-UX eGN CD-ROM N^&sH . . .
$s9H<kN`w (Linux) . . . . . . .
Linux eGN DB2 5<P<N$s9H<
k . . . . . . . . . . . . . .
Wo. . . . . . . . . . . . . .
+<Mk&Qia<?<NQ9 (Linux) . .
43
43
44
44
47
47
48
49
51
54
54
55
59
59
59
60
63
63
63
64
67
68
69
69
70
73
iii
DB2 CD-ROM (Linux) N^&sH . . .
$s9H<kN`w (Solaris *Zl<F#s
0D-). . . . . . . . . . . . . .
Solaris eGN DB2 5<P<N$s9H<
k . . . . . . . . . . . . . .
Wo. . . . . . . . . . . . . .
+<Mk&Qia<?<NQ9 (Solaris). .
CD-ROM N^&sH (Solaris) . . . . .
DB2 5<P<N$s9H<k*hS;CH"
CW (UNIX) . . . . . . . . . . . .
DB2 5<P<r$s9H<k9k?aN
DB2 ;CH"CW&&#6<IN+O
(UNIX) . . . . . . . . . . . . .
G7NU#C/9QC/N,Q. . . . .
3^sITWm;C5< (CLP) rHQ7?
$s9H<kN!: . . . . . . . .
DB2 *si$sqAN$s9H<k
(UNIX) . . . . . . . . . . . . .
74
75
75
76
79
80
81
81
83
84
85
h 4 t Q<F#7gs DB2 5<
P<N$s9H<k . . . . . . . 87
h 9 O Q<F#7gs DB2 5<P<N$
s9H<k (Windows) . . . . . . . . 89
Q<F#7gs DB2 5<P<N$s9H<k
(Windows) . . . . . . . . . . . . . 89
Wo. . . . . . . . . . . . . . . 90
Q<F#7gs DB2 5<P<N$s9H
<kWo (Windows) . . . . . . . . 90
Q<F#7gs DB2 5<P<Nabj<
Wo (Windows) . . . . . . . . . . 93
Q<F#7gs DB2 5<P<NG#9/
Wo (Windows) . . . . . . . . . . 94
Q<F#7gs DB2 5<P<ND-N`w
(Windows) . . . . . . . . . . . . . 95
G#l/Hj<&9-<^ (Windows 2000 *
hS Windows .NET) NH% . . . . . . 97
$s9?s9j-G<?Y<9&Q<F#7
gs&5<P<N$s9H<k (Windows) . . 98
2C3sTe<?<eN]<HOONDQN!: . . . . . . . . . . . . . 103
2C3sTe<?<eGNG<?Y<9&Q
<F#7gs&5<P<N$s9H<k
(Windows) . . . . . . . . . . . . 104
G7NU#C/9QC/N,Q . . . . . 108
iv
DB2 5<P<!= 5b*hS$s9H<k
Q<F#7gs&G<?Y<9&5<P<N
$s9H<kN!: (Windows) . . . . . 108
DB2 *si$sqAN$s9H<k
(Windows) . . . . . . . . . . . . 109
h 10 O Q<F#7gs DB2 5<P<N
$s9H<k (UNIX) . . . . . . . .
$s9H<kN`w (AIX) . . . . . . .
Q<F#7gs DB2 5<P<N$s9H
<k (AIX) . . . . . . . . . . .
Wo . . . . . . . . . . . . .
Q<F#7gs DB2 $s9H<kN?a
N AIX D-_jN97. . . . . . .
NFS T/N!: (AIX) . . . . . . .
Q<F#7gs&G<?Y<9&79F`
QN DB2 [<`&U!$k&79F`N
n. (AIX) . . . . . . . . . . .
Q<F#7gs DB2 5<P<N$s9H
<kK,WJf<6<Nn. (AIX) . . .
DB2 CD-ROM N^&sH (AIX). . . .
4HQN3sTe<?<XN DB2 =J
CD-ROM NbFN3T< . . . . . .
$s9H<kN`w (HP-UX) . . . . . .
Q<F#7gs DB2 5<P<N$s9H
<k (HP-UX) . . . . . . . . . .
Wo . . . . . . . . . . . . .
+<Mk&Qia<?<NQ9 (HP-UX)
NFS T/N!: (HP-UX) . . . . . .
Q<F#7gs&G<?Y<9&79F`
QN DB2 [<`&U!$k&79F`N
n. (HP-UX) . . . . . . . . . .
Q<F#7gs DB2 N$s9H<kK,
WJf<6<Nn. (HP-UX) . . . . .
DB2 CD-ROM N^&sH (HP-UX). . .
4HQN3sTe<?<XN DB2 =J
CD-ROM NbFN3T< . . . . . .
$s9H<kN`w (Linux) . . . . . .
Q<F#7gs DB2 5<P<N$s9H
<k (Linux) . . . . . . . . . .
Wo . . . . . . . . . . . . .
+<Mk&Qia<?<NQ9 (Linux)
NFS T/N!: (Linux) . . . . . .
Q<F#7gs DB2 5<P<QNU!$
k&79F`Nn. (Linux) . . . . .
Q<F#7gs DB2 5<P<K,WJf
<6<Nn. (Linux) . . . . . . .
113
113
113
115
118
121
121
124
126
127
127
127
129
132
133
134
136
138
139
140
140
141
145
146
147
149
DB2 CD-ROM (Linux) N^&sH . . .
4HQN3sTe<?<XN DB2 =J
CD-ROM NbFN3T< . . . . . .
$s9H<kN`w (Solaris *Zl<F#s
0D-) . . . . . . . . . . . . .
Q<F#7gs DB2 5<P<N$s9H
<k (Solaris) . . . . . . . . . .
Wo . . . . . . . . . . . . .
+<Mk&Qia<?<NQ9 (Solaris)
NFS T/N!: (Solaris) . . . . . .
Q<F#7gs DB2 5<P<QU!$
k&79F`Nn. (Solaris *Zl<F#
s0D-) . . . . . . . . . . .
Q<F#7gs DB2 5<P<K,WJf
<6<Nn. (Solaris) . . . . . . .
CD-ROM N^&sH (Solaris). . . . .
4HQN3sTe<?<XN DB2 =J
CD-ROM NbFN3T< . . . . . .
Q<F#7gs DB2 5<P<N$s9H<
k*hS;CH"CW (UNIX) . . . . .
DB2 ;CH"CW&&#6<IrHQ7
?"p\3sTe<?<XNG<?Y<
9&Q<F#7gs&5<P<N$s9H
<k (UNIX) . . . . . . . . . .
~zU!$krHQ7?"2C3sTe<
?<eGNG<?Y<9&Q<F#7g
s&5<P<N$s9H<k (UNIX) . .
N<I=.U!$kN97 (UNIX) . . .
G<?Y<9&Q<F#7gs&5<P<
Nj_L.NHQD== . . . . . .
jb<H&3^sIBTNHQD==
(UNIX) . . . . . . . . . . . .
3sHm<k&;s?<I}NHQD==
(UNIX) . . . . . . . . . . . .
G7NU#C/9QC/N,Q . . . .
Q<F#7gs&G<?Y<9&5<P<
N$s9H<kN!: (UNIX) . . . .
DB2 *si$sqAN$s9H<k
(UNIX) . . . . . . . . . . . .
150
151
152
152
154
157
158
159
161
163
164
164
164
172
173
175
176
178
178
179
180
h 5 t DB2 /i$"sHN$s
9H<k . . . . . . . . . . . 183
h 11 O DB2 /i$"sHN5W . . . 185
DB2 /i$"sH . . . . . . . . . 185
/i$"sHN?$W . . . . . . . . 185
DB2 Run-Time Client. . . . . .
DB2 Administration Client . . . .
DB2 Application Development Client .
.
.
.
. 185
. 186
. 187
h 12 O Windows eGN DB2 /i$"
sHN$s9H<k . . . . . . . . .
/i$"sHWo . . . . . . . . . .
DB2 /i$"sHN$s9H<kWo
(Windows) . . . . . . . . . . .
DB2 /i$"sHNabj<Wo . . .
DB2 /i$"sHNG#9/Wo . . .
Windows *Zl<F#s0&79F`eGN
DB2 /i$"sHN$s9H<k . . . .
h 13 O UNIX eGN DB2 /i$"sH
N$s9H<k . . . . . . . . . .
/i$"sHWo . . . . . . . . . .
DB2 /i$"sHN$s9H<kWo
(HP-UX) . . . . . . . . . . . .
DB2 /i$"sHN$s9H<kWo
(Linux) . . . . . . . . . . . .
DB2 /i$"sHN$s9H<kWo
(Solaris) . . . . . . . . . . . .
DB2 /i$"sHN$s9H<kWo
(AIX) . . . . . . . . . . . . .
DB2 /i$"sHNabj<Wo . . .
DB2 /i$"sHNG#9/Wo . . .
UNIX eGN DB2 /i$"sHN$s9H
<k . . . . . . . . . . . . . .
189
189
189
190
191
192
195
195
195
196
198
199
200
201
202
h 6 t /i$"sH+i5<P<
XN\3N=. . . . . . . . . . 205
h 14 O CA NHQKhk\3N=. . .
=."79?sH (CA) rHQ7?"/i$
"sH+i5<P<XN\3N=. . . . .
G<?Y<9\3N=. . . . . . . .
=."79?sH (CA) KhkG<?Y<
9\3N=. . . . . . . . . . .
WmU!$kKhkG<?Y<9\3N=
. . . . . . . . . . . . . . .
G#9+Pj<KhkG<?Y<9\3N
=. . . . . . . . . . . . . .
207
207
208
208
209
210
h 15 O 3^sITWm;C5<NHQK
hk\3N=. . . . . . . . . . . 213
\!
v
3^sITWm;C5<rHQ7?"/i$
"sH+i5<P<XN\3N=. . . . .
N<IN+?m0 . . . . . . . . . .
/i$"sHGN TCP/IP N<IN+?m
0 . . . . . . . . . . . . . .
DB2 /i$"sHGN NetBIOS N<IN
+?m0 . . . . . . . . . . . .
DB2 /i$"sHGN APPC N<IN+
?m0 . . . . . . . . . . . .
/i$"sHGN>0U-Q$W&N<I
N+?m0 . . . . . . . . . . .
G<?Y<9N+?m0H\3NF9H . .
CLP KhkG<?Y<9N+?m0 . .
CLP Khk/i$"sH&5<P<\3
NF9H . . . . . . . . . . . .
h 7 t 2H
213
214
214
216
217
217
218
218
220
. . . . . . . . . 223
h 16 O DB2 i$;s9&]j7<N_j 225
db2licm 3^sIKhk DB2 i$;s9&
]j7<N_j . . . . . . . . . . 225
i$;s9&;s?<Khk DB2 i$;s
9&]j7<N_j . . . . . . . . . 226
h 17 O ICN2HHTC/ . . . . .
DB2 N?aN$s9H<k&a=CI . . .
S/390 eGN DB2 for Linux N$s9H<k
N`w . . . . . . . . . . . . .
DB2 N<I=.U!$k (db2nodes.cfg) . .
d) HP-UX +<Mk=.Qia<?< . .
d) Solaris +<Mk=.Qia<?< . .
NIS $s9H<kNmU@. . . . . . .
>[$s?<U'<9&"<-F/Ac<
Windows GN DB2 No| . . . . . .
UNIX +iN DB2 No| . . . . . . .
UNIX +iN DB2 No| . . . . . .
DB2 Administration Server (DAS) Nd_
DB2 Administration Server (DAS) No|
DB2 $s9?s9Nd_ . . . . . .
DB2 $s9?s9No| . . . . . .
UNIX GN DB2 =JNo| . . . . .
b.3_eK1<7gs&^M<8c<
(UNIX) . . . . . . . . . . . . .
b.3_eK1<7gs&^M<8c<
(Windows) . . . . . . . . . . . .
vi
DB2 5<P<!= 5b*hS$s9H<k
227
227
229
230
233
234
235
236
236
237
237
238
238
239
240
241
242
243
ESE o</9F<7gsK3^sIr[[9
klgnHN_j (AIX) . . . . . . .
U!<9H&9FCWrHQ7? DB2 5<
P<N$s9H<kN!: . . . . . . .
db2setup - DB2 N$s9H<k . . . . .
Explain =N\T . . . . . . . . . .
f<6<"BNU? (Windows) . . . . .
DB2 $s9H<kN?aN0k<W*hSf
<6< ID Nn. . . . . . . . . . .
DB2 79F`I}T0k<W (Windows) . .
h 8 t U?
243
244
246
247
248
250
252
. . . . . . . . . 253
U? A. @l5]<H . . . . . . . .
DB2 $s?<U'<9@lNQ9 (Windows)
DB2 $s?<U'<9@lNQ9 (UNIX)
5]<H5lk DB2 $s?<U'<9@
l"m1<k"*hS3<I&Z<8 . . .
@l ID (LN@lG DB2 ;CH"CW&&
#6<IrBT9klg) . . . . . . .
P}~ CCSID 5]<H . . . . . . .
8zG<?NQ9 . . . . . . . . . .
255
255
256
U? B. ?>,' . . . . . . . . .
?>,' . . . . . . . . . . . . .
DB2 *V8'/H?>,' . . . . . .
hZj ID *hS*V8'/H> . . . .
f<6<"f<6< ID"*hS0k<WN
?>,' . . . . . . . . . . . . .
"gG<?Y<9&*V8'/HN?>,'
9-<^>NICps . . . . . . . .
ICNQ9o<Ips . . . . . . . .
o</9F<7gs?>,' . . . . . .
NLS D-GN?>,' . . . . . . . .
Unicode D-GN?>,' . . . . . . .
269
269
269
271
U? C. DB2 Universal Database N;Q
psN5W . . . . . . . . . . . .
DB2 Universal Database N;QpsN5W
DB2 I-easF<7gs&U#C/9
QC/ . . . . . . . . . . . .
DB2 ;QpsN+F4j< . . . . .
PDF U!$k+iN DB2 qANu~}!
DB2 Nu~qANm8}! . . . . . .
*si$s&XkWNHQ! . . . . . .
257
261
262
265
272
273
273
274
274
276
277
279
279
279
279
288
289
290
Vi&6<+i DB2 $sU)a<7gs&
;s?<K"/;97FHTC/r!w9k .
I}D<k+i DB2 $sU)a<7gs&
;s?<K"/;97F"=Jpsr!w9
k . . . . . . . . . . . . . . .
DB2 HTML I-easF<7gs CD +i
;QqAr>\2H9k . . . . . . .
^7sK$s9H<k5lF$k HTML q
Ar"CWG<H9k . . . . . . . .
DB2 HTML I-easF<7gs CD +i
Web 5<P<XU!$kr3T<9k . . .
Netscape 4.x rHCF DB2 qAr!w9k
lgNHiVk7e<F#s0 . . . . .
DB2 8qN!w . . . . . . . . . .
DB2 *si$s&HiVk7e<F#s0p
s . . . . . . . . . . . . . . .
"/;9Yg . . . . . . . . . . .
291
294
295
296
-<\<IKhk~O*hSJS2<7g
s . . . . . . . . . . . . . .
"/;97d9$=( . . . . . . .
*rD=J"i<H . . . . . . . .
Assistive Technology HN_9- . . . .
"/;97d9$qA . . . . . . .
DB2 Ae<Hj"k . . . . . . . . .
Vi&6<+i"/;99k DB2 $sU)
a<7gs&;s?< . . . . . . . .
301
301
302
302
302
302
303
297
U? D. C-v` . . . . . . . . . 305
&8 . . . . . . . . . . . . . . 308
298
299
wz .
300
301
.
.
.
.
.
.
.
.
.
.
.
.
. 311
IBM H"mrHk . . . . . . . . . 317
=Jps . . . . . . . . . . . . . 317
\!
vii
viii
DB2 5<P<!= 5b*hS$s9H<k
h 1 t DB2 5<P<KD$F
© Copyright IBM Corp. 1993-2002
1
2
DB2 5<P<!= 5b*hS$s9H<k
h 1 O DB2 5<P<
DB2 Enterprise Server Edition
DB2® Enterprise Server Edition O"DB2 N^kAf<6<&P<8gsG"j"3lK
hCF"sQ<F#7gs^?OQ<F#7gs&G<?Y<9D-rn.7FI}9
k3H,G-^9#Q<F#7gs&G<?Y<9&79F`O"g\je<`NG<
?rI}9k3H,G-"QU)<^s9N~e"bDQ-"*hSU'$k*<P
<&5]<HH$C?x@,"j^9#=N>N DB2 Enterprise Server Edition N!=
O"!NH*jG9#
v G<?&'"O&9&5<P<*hSX"3s]<MsH#
v DB2 Connect™ !=#3lKhj"DB2 for iSeries™ ^?O DB2 for z/OS™ and
OS/390 H$C?"_CIls8*hSa$sUl<`&G<?Y<9&79F`K
]I5l?G<?K"/;99k3H,G-^9# DB2 Enterprise Server Edition
O"m<+k*hSjb<H>}N DB2 /i$"sHN?aN5]<Hrs!7^
9#
v 5Fi$HI}!=#3lKhj DB2 ESE O"5Fi$HH7F=.5l?"
DB2 Personal Edition *hS DB2 Workgroup Server Edition NG<?Y<9&5<P
<rjb<H&GI}9k3H,G-^9#5Fi$H!=KD$F\7/O"5F
i$HI}KX9kqAr2H7F/@5$#
IBM O DB2 Universal Database P<8gs 8 G<?Y<9KP7Fn09k" DB2
Query Patroller P<8gs 8 rjj<99k=jG9# DB2 Query Patroller P<8g
s 8 O"Hq5V_CHN9YFNILGhjI$I}H)frT(kH%!=rs!
7^9# DB2 Query Patroller P<8gs 7.2 J0bNO DB2 Universal Database P<
8gs 8 G<?Y<9GO0n7^;s# DB2 Query Patroller P<8gs 7.2 (DB2
Warehouse Manager P<8gs 7.2 HHbKPY) O" DB2 Universal Database P<
8gs 7.2 G<?Y<9GHQG-^9#
X"?9/:
v 43 Z<8NXWindows eGN DB2 5<P<N$s9H<kY
v 89 Z<8NXQ<F#7gs DB2 5<P<N$s9H<k (Windows)Y
v 59 Z<8NXAIX GN DB2 5<P<N$s9H<kY
v 63 Z<8NXHP-UX eGN DB2 5<P<N$s9H<kY
v 69 Z<8NXLinux eGN DB2 5<P<N$s9H<kY
v 75 Z<8NXSolaris eGN DB2 5<P<N$s9H<kY
v 113 Z<8NXQ<F#7gs DB2 5<P<N$s9H<k (AIX)Y
© Copyright IBM Corp. 1993-2002
3
v 127 Z<8NXQ<F#7gs DB2 5<P<N$s9H<k (HP-UX)Y
v 140 Z<8NXQ<F#7gs DB2 5<P<N$s9H<k (Linux)Y
v 152 Z<8NXQ<F#7gs DB2 5<P<N$s9H<k (Solaris)Y
DB2 Workgroup Server Edition
DB2® Workgroup Server Edition O"DB2 N^kAf<6<&P<8gsG9#3lO
m<+k&(j"&MCHo</ (LAN) D-GHQ9k?aK_W5lF*j"m<
+k*hSjb<H>}N DB2 /i$"sHN5]<Hrs!7^9# DB2
Workgroup Server Editon O^?"G<?&'"O&9!=rw(F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P<N$s9H<kN5W (UNIX)Y
X"?9/:
v G<?&'"O&9&;s?< I},$I NX$s9H<k~N&'"O&9&3
sHm<k&G<?Y<9Ni|=Y
v I},$I: $sWjasF<7gs NXD<k&+?m0&G<?Y<9"DAS
918e<i<N;CH"CW"*hS=.Y
v I},$I: $sWjasF<7gs NXLN""mhj9HN;CH"CW"*h
S=.Y
v 113 Z<8NXQ<F#7gs DB2 5<P<N$s9H<k (AIX)Y
v 127 Z<8NXQ<F#7gs DB2 5<P<N$s9H<k (HP-UX)Y
v 140 Z<8NXQ<F#7gs DB2 5<P<N$s9H<k (Linux)Y
v 152 Z<8NXQ<F#7gs DB2 5<P<N$s9H<k (Solaris)Y
X"qA:
v 3^sI&jU!ls9 NXUPDATE HEALTH NOTIFICATION CONTACT LIST
3^sIY
h 3 O UNIX eN DB2 5<P<
15
16
DB2 5<P<!= 5b*hS$s9H<k
h 2 t DB2 5<P<N\T
© Copyright IBM Corp. 1993-2002
17
18
DB2 5<P<!= 5b*hS$s9H<k
h 4 O \TGNM8v`
\TNmU@
DB2 P<8gs 8 K\T9k0K"!N)sv`K1U7F/@5$#
v \TO!NbN+iN_5]<H5l^9#
– DB2 P<8gs 6.x ^?OP<8gs 7.x#(P<8gs 6.x *hSP<8gs
7.x G5]<H5lF$k9YFNWiCHU)<`#Linux OP<8gs 6 U#
C/9QC/ 2 GJ1lPJj^;s#)
– DB2 DataJoiner V2.1.1 (32 SCH) (AIX"Windows NT"*hS Solaris *Zl<
F#s0D-)
v DB2 P<8gs 8 /i$"sH+i migrate database 3^sIr/T7F"G<
?Y<9r DB2 P<8gs 8 5<P<K\T9k3H,G-^9#?@7"DB2
P<8gs 6 ^?OP<8gs 7 /i$"sH+i\T3^sIr/T7F"G<
?Y<9r DB2 P<8gs 8 5<P<K\T9k3HOG-^;s#
v DB2 DataJoiner V2.1.1 +i\T9klgO" IBM J0NG<?&=<9r5]<H
9k?aN DB2 Relational Connect ,,WG9#
v WiCHU)<`VN\TO5]<H5lF$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
iSeries G<?Y<9&5<P<KbX"7^;s#{NN)sv`H)Bv`
rsr9k?aK"9YFN DB2 5<P<rP<8gs 8 K\T7F+i"
DB2 /i$"sHrP<8gs 8 K\T7F/@5$#
YsA^</ DB2 QU)<^s9
DB2 r\T9k0K"$/D+NF9HHqrBT7"Hq,BT5l?HN5NJD-ror-?7F/@5$#^?"=l>lNF9HHq4HN
db2expln 3^sIPON-?r]87F*-"\T0eNkLrfS7F/
@5$#3N3HO"-=c<r1L7$59kNKr)A^9#
\TrPC/"&H9kWisNMF
\TrUT5;k?aNf<F#jF#<O"j^;s#\TrPC/"&H
9k,W,"klgKO"79F`+i DB2 P<8gs 8 3<Ir|n7"
J0NP<8gsN DB2 rF$s9H<k7F"PC/lYkN$s9?s
9rFn.7"G<?Y<9&PC/"CWrj9H"9k,W,"j^9#
\TrPC/"&H9k,W,"klgKO"=TNG<?Y<9&PC/"
CW*hSG<?Y<9HG<?Y<9=._jMN@Yl3<I,TDgG
9#
F9HD-GN DB2 P<8gs 8 N\T
BT/D-G\TrT&0K"F9HD-G DB2 P<8gs 8 K\T7F/
@5$#3lrT&3HKhj"BT/D-r\TWm;9K3_CH9k0
K"\TNc2r!P7""Wj1<7gs*hSD<k,NBK,5Kn0
9kh&K7F*/3H,G-^9#
DataJoiner $s9?s9N\T
DB2 DataPropagator QN-cWAc<^?O"Wi$&Wm0i`rBT7F
$k DataJoiner"DB2 for UNIX"^?O DB2 for Windows N$s9?s9r
\T9k0K" DB2 DataPropagator P<8gs 8 QN\TKX9kqAr*
h 4 O \TGNM8v`
21
I_/@5$# DB2 ^?O DataJoiner $s9?s9r\T9k0K"#=D
-N\TN`wrT&,W,"j^9# DB2 ^?O DataJoiner $s9?s9
N\TeK>AKBT7J1lPJiJ$9FCWb"j^9# DB2
DataPropagator P<8gs 8 QN\TKX9kqAO"
http://www.ibm.com/software/data/dpropr/library.html N Web 5$HK"j^9#
X"50:
v I},$I: QU)<^s9 NXYsA^</&F9HY
v I},$I: QU)<^s9 NXExplain D<kY
X"?9/:
v 29 Z<8NXDB2 N\T (Windows)Y
v 33 Z<8NXDB2 N\T (UNIX)Y
X"qA:
v 3^sI&jU!ls9 NXdb2expln - DB2 SQL Explain D<k&3^sIY
v I},$I: WisKs0 NXDB2 Universal Database GWh5lF$ks_9-Y
v I},$I: WisKs0 NXP<8gs 8 Njj<9VNs_9-Y
v I},$I: WisKs0 NXP<8gs 7 Njj<9VNs_9-Y
DB2 N\TN0NG<?Y<9NPC/"CW
\TWm;9rO09k0K"4HQNG<?Y<9N*Ui$s &PC/"CWrB
T9k3Hr*+a7^9#\TWm;9fK(i<,/87?lgKO"j+Pj<
N?aG<?Y<9&PC/"CW,,WG9#
3NHTC/GO"PC/"CW&3^sIN04J=8Os!7F$^;s#04J
=8KD$FO"3NHTC/NvxK"kX"psr4w/@5$#
0sro:
v G<?Y<9rPC/"CW9k?aK"SYSADM"SYSCTRL"^?O SYSMAINT
"B,,WG9#
v G<?Y<9O+?m05lF$J1lPJj^;s#=_N$s9?s9G+?m
05lF$k9YFNG<?Y<9Nj9Hr=(9kKO"!N3^sIr~O7
^9#
db2 list database directory
jg:
PC/"CW&G<?Y<9&3^sIrHQ7F"m<+k&G<?Y<9N=l>
lrPC/"CW7^9#
22
DB2 5<P<!= 5b*hS$s9H<k
BACKUP 3^sI
""
BACKUP
DATABASE
DB
database-alias
USER
username
"1
USING
password
33G"
DATABASE database-alias
PC/"CW9kG<?Y<9NL>rXj7^9#
USER username
G<?Y<9r=N<KPC/"CW9kf<6<>rXj7^9#
USING password
f<6<>r'Z9k?aKHQ9kQ9o<IG9#Q9o<IrJ,7?
lg"=lr~O9kh&WmsWH,P5l^9#
X"50:
v I},$I: $sWjasF<7gs NX79F`I}"B (SYSADM)Y
X"qA:
v 3^sI&jU!ls9 NXBACKUP DATABASE 3^sIY
v 23 Z<8NXDB2 \TN9Z<9NmU@Y
DB2 \TN9Z<9NmU@
3NHTC/O"DB2 \TN9Z<9WoKD$FNpsrs!7^9#
=9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3HrN'9kh&*+a7^9#
3NHTC/GO"$/D+NG<?Y<9&3^sIrj9H7^9#3^sI=8
r0.5;k?aK"3NHTC/NvxK"k"X"2H;/7gsr2H7F/@
5$#
jg:
1. 4HQNG<?Y<9=._jN3T<r]I7^9#G<?Y<9N=.Qia<
?<O"Q<F#7gs&G<?Y<9&79F`bN=l>lN3sTe<?<G
18G"kO:G9#=&GJ1lP"=l>lNQ<F#7gsNG<?Y<9=
._jN3T<r]I7^9#\TN0eN=._jrfS7F"\T,5oKBT
5l?+rN'9k3H,G-^9#G<?Y<9=._jr!w9klgO"
24
DB2 5<P<!= 5b*hS$s9H<k
db2 get database configuration for database_alias 3^sIrHQ7^9#3N
?9/O"\T9k=l>lNG<?Y<94HKBT7^9#
2. 4HQNG<?Y<9&^M<8c<=._jN3T<r]I7^9#G<?Y<
9&^M<8c<=._jr!w9klgO" db2 get database manager
configuration 3^sIrHQ7^9#
3. \T9k=l>lNG<?Y<94HK"=9Z<9Nl3<Ir]I7^9#=9
Z<9Nj9HO"db2 list tablespaces 3^sIrHQ7F!w9k3H,G^9#
4. \T9k=l>lNG<?Y<94HK"QC1<8Nj9Hr]I7^9#QC1
<8Nj9HO"db2 list packages 3^sIrHQ7F!w9k3H,G-^
9#
X"qA:
v 3^sI&jU!ls9 NXGET DATABASE CONFIGURATION 3^sIY
v 3^sI&jU!ls9 NXGET DATABASE MANAGER CONFIGURATION 3^
sIY
v 3^sI&jU!ls9 NXLIST PACKAGES/TABLES 3^sIY
v 3^sI&jU!ls9 NXLIST TABLESPACES 3^sIY
DB2 \T0NGG(i<&lYkNQ9
\T"/F#SF#<fK"GG(i<&lYkr 4 KQ97F/@5$#GG(i
<&lYk 4 O"9YFN(i<"Yp"*hSLNaC;<8r-?7^9#3Np
sO"\TeN(i<,88?lgK"dj=LKHQ9k3H,G-^9# diagpath
=.Qia<?<rHQ7F"diaglevel Qia<?<NMKpE$F8.5lk"(i
<&U!$k"$YsH&m0&U!$k (Windows N_)""i<H&m0&U!$
k"*hS@sW&U!$kr~lkG#l/Hj<rXj7^9#
jg:
GG(i<&lYkO"!N3^sIrHQ7F"G<?Y<9&^M<8c<=.U
!$kbG_j9k3H,G-^9#
db2 update dbm configuration using diaglevel 4
diagpath Qia<?<O"!N3^sIrHQ7F"G<?Y<9&^M<8c<=.
U!$kbG_j9k3H,G-^9#
db2 update dbm configuration using diagpath directory
directory O"4HQNm0&U!$kr]I9k?aKf<6<,*r7?m1<7g
sG9#
h 4 O \TGNM8v`
25
G<?Y<9,\TG-kuVK"k3HNN'
3N?9/O"db2ckmig 3^sIrHQ7F"G<?Y<9,\TG-kuVK"k
3HrN'9k}!KD$Fb@7^9#
0sro:
$s9?s9j-TN[<`&G#l/Hj<K"k migration.log K Version of
DB2CKMIG being run: VERSION 8 H$&F-9H,^^lF$k3HrN'7F/@5
$#
jg:
db2ckmig 3^sIr~O7"=T$s9?s9KhCFj-5lkG<?Y<9,"
\TG-kuVK"k3HrN'7^9# db2ckmig 3^sIO"!NvArN'7
^9#
v G<?Y<9,T0gJuVKJ$3H
v G<?Y<9,PC/"CW&ZsG#s0uVKJ$3H
v G<?Y<9,m<kU)o<I&ZsG#s0uVKJ$3H
v =9Z<9,LoNuVK"k3H
DB2CKMIG 3^sI
""
"
db2ckmig
database_alias
/e
/u
/p
userid
password
/l
drive:¥path¥filename
"
"1
33G"
database_alias
\T!:5lkG<?Y<9N database_alias >rXj7^9#3NQia<
?<,,\KJkNO" /e Qia<?<,Xj5lF$J$lgG9#
/e
+?m05l?G<?Y<99YF,\T!:5lk3HrXj7^9#3N
Qia<?<,,\KJkNO" database_alias Qia<?<,Xj5lF$
J$lgG9#
/l drive:¥path¥filename
9-cs5l?G<?Y<9KD$F8.5l?(i<*hSYpNj9Hr
~lF*/"Ii$V"8hQ9"*hSU!$k>rXj7^9# path Q
tO$UXjG9#Q9rXj7J$lg" db2ckmig 3^sIrBT9k
H-NQ9,Hol^9# filename OXj7J1lPJj^;s#
26
DB2 5<P<!= 5b*hS$s9H<k
/u userid
G<?Y<9X\39kH-KH&f<6<&"+&sHrXj7^9#
CONNECT "BJ7Nf<6<H7Fm0*s9klgK"3NQia<?<
rXj9k,W,"j^9#
/p password
G<?Y<9X\39kH-KH&f<6<&"+&sHNQ9o<IrXj
7^9#
db2ckmig 3^sIO" DB2 P<8gs 8 N=J CD-ROM eN
¥db2¥Windows¥utilities G#l/Hj<KV+lF$^9#
X"?9/:
v 33 Z<8NXDB2 N\T (UNIX)Y
DB2 \TN?aK V6 ^?O V7 DB2 5<P<r*Ui$sK9k
3N?9/O"DB2 \TN?aK DB2 P<8gs 6 ^?O P<8gs 7 5<P<
r*Ui$sK9k}!rb@7^9#\TWm;9rQ39k0K" DB2 i$;s
9&5<S9rd_7"9YFN3^sITWm;C5<&;C7gsrd_7""W
j1<7gs*hSf<6<rZG7"G<?Y<9&^M<8c<rd_9k,W,
"j^9#
0sro:
!N3HrN'7F/@5$#
v \TWm;9r+O9k0K"4HQN79F`, DB2 P<8gs 8 N$s9H<
kWor~?7F$k3H#
v SYSADM "B,"k3H#
jg:
!Nh&K7F"4HQN79F`r*Ui$sK7^9#
1. db2licd -end 3^sIr~O7" DB2 i$;s9&5<S9rd_7^9#
2. Windows 2000 GO"5<S9Kc2,/-?lgK=lrFO09kh&K"5<
S9NWmQF#<r_j9k3H,G-^9#Vc2~NFO0 (restart on
failure)W*W7gs,$UN DB2 5<S9K_j5lF$klgKO"!NJ`0
K"=lrd_9k,W,"j^9#
3. 3^sITWm;C5<rBT7F$?F;C7gsG db2 terminate 3^sIr
~O7F"9YFN3^sITWm;C5<&;C7gsrd_7^9#
h 4 O \TGNM8v`
27
4. 9YFN"Wj1<7gs*hSf<6<rZG7^9# db2 list applications 3
^sIr~O7F"=TN$s9?s9N9YFNG<?Y<9\3Nj9Hrh@
7^9#9YFN"Wj1<7gs,ZG5l?i"3N3^sIKhj"!NaC
;<8,a5l^9#
SQL1611W No data was returned by the Database System Monitor.
SQLSTATE=00000
db2 force applications 3^sIr/T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2 \TN`w,G-F$k3HNN'rT$^9#
5. 4HQNG<?Y<9NPC/"CWrT$^9#
6. *W7gs: lWj1<7gsrHQ9klgKO"9YFN DB2 m0&U!$k
r"<+$V9k,W,"j^9#
7. DB2 5<P<r$s9H<k7^9#
v Workgroup Server Edition ^?O DB2 Enterprise Server Edition (1lQ<F#7
gs)
v Enterprise Server Edition (Q<F#7gs)
8. G<?Y<9N\T
9. *W7gs: DB2 Explain =N\T
X"50:
v I},$I: $sWjasF<7gs NX79F`I}"B (SYSADM)Y
v 21 Z<8NX\TKX9kd)v`Y
X"?9/:
© Copyright IBM Corp. 1993-2002
29
v 24 Z<8NXDB2 N\T0N79F`=._jN-?Y
v 25 Z<8NXDB2 \T0NGG(i<&lYkNQ9Y
v 27 Z<8NXDB2 \TN?aK V6 ^?O V7 DB2 5<P<r*Ui$sK9
kY
v 26 Z<8NXG<?Y<9,\TG-kuVK"k3HNN'Y
v 22 Z<8NXDB2 N\TN0NG<?Y<9NPC/"CWY
v 43 Z<8NXWindows eGN DB2 5<P<N$s9H<kY
v 89 Z<8NXQ<F#7gs DB2 5<P<N$s9H<k (Windows)Y
v 30 Z<8NXG<?Y<9N\TY
v 247 Z<8NXExplain =N\TY
X"qA:
v 3^sI&jU!ls9 NXARCHIVE LOG 3^sIY
v 23 Z<8NXDB2 \TN9Z<9NmU@Y
v 19 Z<8NX\TNmU@Y
G<?Y<9N\T
3N?9/O"a$s?9/G"k DB2 N\T NltG9#
0sro:
SYSADM "B,,WG9#
mU@:
\TO!NbN+iN_5]<H5l^9#
v DB2 P<8gs 6.x ^?OP<8gs 7.x#(P<8gs 6.x *hSP<8gs 7.x
G5]<H5lF$k9YFNWiCHU)<`#)
v DB2 DataJoiner V2.1.1 (AIX"Windows NT"*hS Solaris *Zl<F#s0D-)
jg:
!Nh&K7F"DB2 G<?Y<9r\T7^9#
1. db2 migrate database 3^sIrHQ7"G<?Y<9r\T7^9#
DB2 MIGRATE DATABASE 3^sI
""
30
MIGRATE
DATAB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3H,G-^9#!NvArN'7^
9#
v G<?Y<9=.Qia<?<N_j
v G<?Y<9&^M<8c<=.Qia<?<N_j
v =9Z<9&l3<I
v QC1<8&l3<I
h 5 O DB2 5<P<N\T (Windows)
31
X"?9/:
v 24 Z<8NXDB2 N\T0N79F`=._jN-?Y
v 247 Z<8NXExplain =N\TY
X"qA:
v 3^sI&jU!ls9 NXMIGRATE DATABASE 3^sIY
v 3^sI&jU!ls9 NXLIST DATABASE DIRECTORY 3^sIY
v 3^sI&jU!ls9 NXdb2rbind - 9YFNQC1<8NFP$sI&3^s
IY
32
DB2 5<P<!= 5b*hS$s9H<k
h 6 O DB2 5<P<N\T (UNIX)
DB2 N\T (UNIX)
3NHTC/GO"UNIX eG DB2 P<8gs 8 K\T9k?aN9FCWrj9H
7^9#
DB2 P<8gs 8 GHQ7?$" DB2 P<8gs 8 hj0N$s9?s9*hSG
<?Y<9,"klgO"\T,,WG9#
0sro:
!Nv`rN'7F/@5$#
v \TKX9kd)v`
v \TNmU@
v DB2 \TN9Z<9NmU@
jg:
!Nh&K7F"DB2 r\T7^9#
1.
DB2 \T0N=._jN-?rT$^9#
2. GG(i<&lYkNQ9rBT7^9#
3.
DB2 \TN?aK DB2 5<P<r*Ui$sK7^9#
4. 4HQNG<?Y<9NPC/"CWrT$^9#
5. *W7gs: lWj1<7gsrHQ9klgKO"9YFN DB2 m0&U!$k
r"<+$V9k,W,"j^9#
6. DB2 5<P<r$s9H<k7^9#
v Workgroup Server Edition ^?O DB2 Enterprise Server Edition (1lQ<F#7
gs):
– AIX
– HP-UX
– Linux
– Solaris *Zl<F#s0Dv Enterprise Server Edition (Q<F#7gs):
– AIX
– HP-UX
– Linux
© Copyright IBM Corp. 1993-2002
33
– Solaris *Zl<F#s0D7. $s9?s9N\T
8. *W7gs: DB2 D<k&+?m0rn.7"{8NP<8gs 8 hj0N9/j
WH*hS918e<k (3sHm<k&;s?<Q) rHQ7?$lgKO" DB2
Administration Server N\TrT$^9#
9. G<?Y<9N\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hj<r"P<8gs 8 U)<
^CHK977^9#
v DB2 P<8gs 8 hj0NG<?Y<9&^M<8c<=.H" DB2 P<8gs
8 G<?Y<9&^M<8c<=.r^<87^9#
0sro:
root "Br}Df<6<H7Fm0$s9k,W,"j^9#
db2imigr 3^sIrBT9k0K"!NvA,+ailF$^9#
v /tmp NUj<&9Z<9,Gg 70 % G"k3H#$s9?s9\THl<9&U
!$k, /tmp Kq-~^l^9#
v db2imigr rBT9k0K"=lrj0GBT7F_F"dj,"lPrh7F*/3
H# db2imigr O db2ckmig ,djr!P9kBj"\TrBT7^;s#
mU@:
\TO!NbN+iN_5]<H5l^9#
v DB2 P<8gs 6.x ^?OP<8gs 7.x#(P<8gs 6.x *hSP<8gs 7.x
G5]<H5lF$k9YFNWiCHU)<`#Linux OP<8gs 6 U#C/9
QC/ 2 GJ1lPJj^;s#)
v DB2 DataJoiner V2.1.1 (AIX"Windows NT"*hS Solaris *Zl<F#s0D-)
jg:
J<rTCF"$s9?s9r\T7^9#
1. db2imigr 3^sIrHQ7F"$s9?s9r\T7^9#
DB2DIR/instance/db2imigr [-u fencedID] InstName
33G"
DB2DIR
AIX GO /usr/opt/db2_08_01" UNIX Y<9N*Zl<F#s0&79
F`J0GO /opt/IBM/db2/V8.1 G9#
-u fencedID
,%f<6<jAXt (UDF) *hS9H"<I&Wm7<8c<,T/9
h 6 O DB2 5<P<N\T (UNIX)
35
kf<6<#3NQia<?<,,WJNO"/i$"sH&$s9?s9
+i5<P<K\T9klg@1G9#
InstName
$s9?s9j-TNm0$s>G9#
DB2 NsQ<F#7gs&P<8gs+i Enterprise Server Edition NQ<F#7g
s&P<8gsX\T7?lgO" db2iupdt 3^sIrHQ7F"$s9?s9rQ
<F#7gs&U)<^CHK979k,W,"j^9#
UNIX GN DB2 N\TN!N9FCWO"{8G<?Y<9N\TG9#
X"qA:
v 3^sI&jU!ls9 NXdb2ckmig - G<?Y<9v0\TD<k&3^sIY
v 3^sI&jU!ls9 NXdb2imigr - $s9?s9N\T3^sIY
v 3^sI&jU!ls9 NXdb2icrt - $s9?s9Nn.3^sIY
v 3^sI&jU!ls9 NXdb2iupdt - $s9?s9N973^sIY
DB2 Administration Server (DAS) N\T
3N?9/O"hjg-J?9/G"k DB2 N\TNltG9#4HQN DB2 P<
8gs 8 79F`G DB2 D<k&+?m0rn.7"P<8gs 8 hj0N DB2
Administration Server (DAS) Gn.7?P<8gs 8 hj0N{89/jWH*hS9
18e<k (3sHm<k&;s?<Q) rHQ7?$lgKO" DAS rP<8gs
8 K\T9k,W,"j^9#
Windows Nlg"P<8gs 8 N$s9H<kfK DB2 D<k&+?m0rn.7
F$lP"3N\TO+0*KTol^9#$s9H<keK DB2 D<k&+?m0
rn.7?lgO"3N\TOj0GToJ1lPJj^;s#
UNIX Nlg"3N\TO"$s9H<kf^?O=N"HG DB2 D<k&+?m0
,n.5l?eKj0GT&,W,"j^9#
0sro:
!,,WG9#
v {8N DB2 D<k&+?m0#
v P<8gs 8 hj0Npsr DB2 D<k&+?m0K\T9k?aN DASADM
"B#
jg:
!N3^sIr~O7F"P<8gs 8 hj0N DAS r DB2 D<k&+?m0K\
T7^9#
36
DB2 5<P<!= 5b*hS$s9H<k
dasmigr previous_das_name new_das_name
previous_das_name OP<8gs 8 hj0N DAS $s9?s9N>0r"
new_das_name O7,P<8gs 8 DAS N>0r=7^9#
X"?9/:
v 29 Z<8NXDB2 N\T (Windows)Y
v DB2 Universal Database Personal Edition 5b*hS$s9H<k NXDB2 Personal
Edition N\T (Windows)Y
v DB2 Universal Database Personal Edition 5b*hS$s9H<k NXDB2 Personal
Edition N\T (Linux)Y
X"qA:
v 3^sI&jU!ls9 NXdasmigr - DB2 Administration Server N\T3^sIY
G<?Y<9N\T
3N?9/O"a$s?9/G"k DB2 N\T NltG9#
0sro:
SYSADM "B,,WG9#
mU@:
\TO!NbN+iN_5]<H5l^9#
v DB2 P<8gs 6.x ^?OP<8gs 7.x. (P<8gs 6.x *hSP<8gs 7.x
G5]<H5lF$k9YFNWiCHU)<`)
v DB2 DataJoiner V2.1.1 (AIX"Windows NT"*hS Solaris *Zl<F#s0D-)
jg:
!Nh&K7F"DB2 G<?Y<9r\T7^9#
1. db2 migrate database 3^sIrHQ7"G<?Y<9r\T7^9#
DB2 MIGRATE DATABASE 3^sI
""
"
MIGRATE
USER
DATABASE
DB
username
database-alias
"
"1
USING
password
33G"
h 6 O DB2 5<P<N\T (UNIX)
37
DATABASE database-alias
=_$s9H<k5lF$kP<8gsNG<?Y<9&^M<8c<K\
T9k"G<?Y<9NL>rXj7^9#
USER username
G<?Y<9N\TKHQ9kf<6<>r1L7^9#
USING password
f<6<>r'Z9kNKHQ9kQ9o<I#f<6<>OXj7?1l
IbQ9o<IrJ,7?lg"~O9kh&WmsWHGX(5l^9#
2. *W7gs: }Wr977^9#G<?Y<9\TN0;~K"HqNQU)<^s
9rG,=9kNKHQ5lF$?l}WO"+?m0bK]85lF$^9#?@
7"DB2 P<8gs 8 KO"~I5l?}Wd DB2 P<8gs 6 ^?O DB2
P<8gs 7 KOJ+C?}Wb"j^9#3liN}WNx@rhQ9kKO"
=KP7F runstats 3^sIrBT9kHI$G7g&# SQL HqNQU)<^
s9KP7FEgJFAN"k=NlgOCK=&G9#
3. *W7gs: QC1<8rFP$sI7^9#G<?Y<9r\T9kH"{8NQ
C1<8O9YF5zKJj^9#\TnHe"FQC1<8O" DB2 P<8gs
8 G<?Y<9&^M<8c<KhCFGiKHQ5lkH-KFn.5l^9#
db2rbind 3^sIrBT7"G<?Y<9KJ<5lF$k9YFNQC1<8r
Fn.9k3H,G-^9#
4. *W7gs: PUBLIC +iN SQL G<?&"/;9rw(?0t9H"<I&Wm
7<8c<G" EXECUTE C"rhjC7^9#G<?Y<9N\T~K"9YF
NXt"a=CI"*hS0t9H"<I&Wm7<8c<N EXECUTE C",
PUBLIC KP7F'D5l^9#3Nlg"SQL G<?&"/;9N~C?0t9
H"<I&Wm7<8c<G!)3l,88k3HKJj^9#3N0t9H"<
I&Wm7<8c<rH(P"f<6<O\hJiC"NP]KOJj(J$ SQL
*V8'/HK"/;9G-kh&KJk+iG9#C"rhjC9KO"
db2undgp - r 3^sIr~O7^9#
5. *W7gs: DB2 Explain =N\T
6. *W7gs: \T0K=._jr-?7F*1P"\T0N=._jr=_N=._
jHfS7F"\T,.y7?+rN'9k3H,G-^9#!NvArN'7^
9#
v G<?Y<9=.Qia<?<N_j
v G<?Y<9&^M<8c<=.Qia<?<N_j
v =9Z<9&l3<I
v QC1<8&l3<I
X"?9/:
v 24 Z<8NXDB2 N\T0N79F`=._jN-?Y
v 247 Z<8NXExplain =N\TY
38
DB2 5<P<!= 5b*hS$s9H<k
X"qA:
v 3^sI&jU!ls9 NXMIGRATE DATABASE 3^sIY
v 3^sI&jU!ls9 NXLIST DATABASE DIRECTORY 3^sIY
v 3^sI&jU!ls9 NXdb2rbind - 9YFNQC1<8NFP$sI&3^s
IY
h 6 O DB2 5<P<N\T (UNIX)
39
40
DB2 5<P<!= 5b*hS$s9H<k
h 3 t DB2 5<P<N$s9H<k
© Copyright IBM Corp. 1993-2002
41
42
DB2 5<P<!= 5b*hS$s9H<k
h 7 O DB2 5<P<N$s9H<k (Windows)
Windows eGN DB2 5<P<N$s9H<k
3NHTC/GO"Windows eGN" DB2 Enterprise Server Edition ^?O Workgroup
Server Edition N"1lQ<F#7gs&G<?Y<9&5<P<N$s9H<kKD$
FN9FCWr5b7^9#
0sro:
4HQN3sTe<?<,!NWoKg&3HrN'7F/@5$#
v DB2 5<P<N$s9H<kWo
v DB2 5<P<Nabj<Wo
v DB2 5<P<NG#9/Wo
v DB2 5<P<N$s9H<k*hS;CH"CWQNf<6<&"+&sH
\7/O"X"psr2H7F/@5$#
jg:
$s9H<kKh)CF" XDB2 5<P<N$s9H<kN5WYr*I_KJkh
&*+a7^9#
!Nh&K7F"Windows eG DB2 Enterprise Server Edition ^?O Workgroup
Server Edition r$s9H<k7^9#
1. Windows 2000 ^?O Windows .NET eG$s9H<k7" Lightweight Directory
Access Protocol (LDAP) rHQ7F DB2 5<P<r"/F#V&G#l/Hj<K
P?9kDbjG"lP"G#l/Hj<&9-<^NH%rT&,W,"j^9#
2. DB2 ;CH"CW&&#6<IN+OrBT7^9#
3. *W7gs: G7N$5QC1<8N,QrBT7^9#
4. *W7gs: 3^sITWm;C5< (CLP) rHQ7?$s9H<kN!:rBT
7^9#
5. *W7gs: DB2 *si$sqAN$s9H<krBT7^9#
X"50:
v 5 Z<8NXDB2 5<P<N$s9H<kN5W (Windows)Y
X"?9/:
v 48 Z<8NXG#l/Hj<&9-<^ (Windows 2000 *hS Windows .NET) N
H%Y
© Copyright IBM Corp. 1993-2002
43
v 51 Z<8NXDB2 5<P<r$s9H<k9k?aN DB2 ;CH"CW&&#6
<IN+O (Windows)Y
v 54 Z<8NXG7NU#C/9QC/N,QY
v 54 Z<8NX3^sITWm;C5< (CLP) rHQ7?$s9H<kN!:Y
v 55 Z<8NXDB2 *si$sqAN$s9H<k (Windows)Y
v I},$I: $sWjasF<7gs NXD<k&+?m0&G<?Y<9"DAS
918e<i<N;CH"CW"*hS=.Y
v I},$I: $sWjasF<7gs NXLN""mhj9HN;CH"CW"*h
S=.Y
X"qA:
v 3^sI&jU!ls9 NXUPDATE ADMIN CONFIGURATION 3^sIY
v 44 Z<8NXDB2 5<P<N$s9H<kWo (Windows)Y
v 49 Z<8NXDB2 5<P<N$s9H<kK,WJf<6<&"+&sH
(Windows)Y
v 47 Z<8NXDB2 5<P<Nabj<Wo (Windows)Y
v 47 Z<8NXDB2 5<P<NG#9/Wo (Windows)Y
Wo
DB2 5<P<N$s9H<kWo (Windows)
DB2 r$s9H<k9klg"!N*Zl<F#s0&79F`"=UH&'""*h
SL.WoK,g7F$J1lPJj^;s#
*Zl<F#s0&79F`Wo
DB2 Workgroup Server Edition O"!N*Zl<F#s0&79F`GT/7
^9#
v Windows NT P<8gs 4"Service Pack 6a J_
v Windows 2000#Windows ?<_Jk&5<P<KO Service Pack 2 ,,W
G9#
v Windows XP (32 SCH)
v Windows .NET (32 SCH)
DB2 Enterprise Server Edition O"!N*Zl<F#s0&79F`GT/7^
9#
v Windows NT P<8gs 4"Service Pack 6a J_
v Windows 2000#Windows ?<_Jk&5<P<KO Service Pack 2 ,,W
G9#
v Windows .NET (32 SCH*hS 64 SCH)
44
DB2 5<P<!= 5b*hS$s9H<k
O<I&'"Wo
32 SCH DB2 =JGO"Pentium ^?O Pentium _9 CPU ,,WG9#
64 SCH DB2 =JGO"Itanium ^?O Itanium _9 CPU ,,WG9#
=UH&'"Wo
v G<?Y<9NPC/"CWHj9H"K Tivoli Storage Manager !=rH
&lgKO" Tivoli Storage Manager Client P<8gs 4.2.0 J_,,WG
9# 64 SCHD-GBT9klgO" Tivoli Storage Manager Client P<
8gs 5.1 J_,,WKJj^9#
v DB2 5<P<"*hS3sHm<k&;s?<Nh&J DB2 N Java Y<
9ND<krBT9kKO" Java Runtime Environment (JRE) P<8gs
1.3.1 ,,WKJj^9# DB2 Java Y<9ND<kN$s9H<kr*r
7?lg" DB2 ;CH"CW&&#6<I, Java Runtime Environment
(JRE) P<8gs 1.3.1 r$s9H<k7^9#
v *si$s&XkWr=(9k?aKVi&6<,,WG9#
L.Wo
APPC"TCP/IP"MPTN (TCP/IP rp7? APPC)">0U-Q$W"*hS
NetBIOS rHQ9k3H,G-^9#P<8gs 8 N DB2 G<?Y<9r
jb<H&GI}9k?aKO" TCP/IP rHQ7F\39k,W,"j^
9# DB2 P<8gs 8 5<P<O DB2 Connect 5<P<&5]<H!=r
HQ7F""&HP&sIN/i$"sH APPC WaN_5]<H7^9#$
sP&sIN/i$"sH APPC WaN5]<HO"j^;s#
v TCP/IP">0U-Q$W"*hS NetBIOS \3Nlg"IC=UH&'"
O,W"j^;s#
v DB2 Connect 5<P<&5]<H!=rp7? APPC (CPI-C) \3Nlg
O"!NL.=JN$:l+,,WG9#
= 2. 5]<H5lk SNA (APPC) =J
*Zl<F#s0&
79F`
SNA (APPC) L.=J
Windows NT
– IBM Communications Server P<8gs
6.1.1 J_
– IBM Q<=Jk&3_eK1<7gs
: for Windows P<8gs 5.0"CSD
3 U– Microsoft SNA Server P<8gs 3
Service Pack 3 J_
h 7 O DB2 5<P<N$s9H<k (Windows)
45
= 2. 5]<H5lk SNA (APPC) =J (3-)
*Zl<F#s0&
79F`
SNA (APPC) L.=J
Windows 2000
– IBM Communications Server P<8gs
6.1.1 J_
– IBM Q<=Jk&3_eK1<7gs
: for Windows P<8gs 5.0"CSD
3 U– Microsoft SNA Server P<8gs 4
Service Pack 3 J_
Windows XP
– IBM Q<=Jk&3_eK1<7gs
: for Windows P<8gs 5.5"
APAR IC23490 U-
Windows .NET
5]<H5lF$^;s#
v LDAP (Lightweight Directory Access Protocol) rH&lgKO" Microsoft
LDAP /i$"sH^?O IBM SecureWay LDAP /i$"sH V3.1.1 N
$:l+,,WKJj^9#
v 7sWk&MCHo</I}WmH3k (SNMP) 5V(<8'sHrH&l
gKO" IBM SystemView Agent ,s!9k DPI 2.0 ,,WG9# SNMP
O Windows 64 SCH&WiCHU)<`eN DB2 *U!js0GO5]
<H5l^;s#
Windows (64 SCH) M8v`
v m<+k 32 SCH&"Wj1<7gsO5]<H5l^;s#
v 32 SCH UDF *hS9H"<I&Wm7<8c<O5]<H5l^;
s#
v jb<H 32 SCH<LlYk&/i$"sH+iN SQL WaO5]<H
5l^;s#
v DB2 P<8gs 8 Windows 64 SCH&5<P<O"SQL WaN?a@1
K" DB2 P<8gs 6 *hSP<8gs 7 N 32 SCH&/i$"sH
+iN\3r5]<H7^9#P<8gs 7 N 64 SCH&/i$"sH
+iN\3O5]<H5l^;s#
Windows 2000 ?<_Jk&5<P<GN$s9H<kN)B:
Windows 2000 ?<_Jk&5<P<&(G#7gseNjb<H&;C7gsrHC
F"MCHo</K^CW5l?Ii$V+i DB2 P<8gs 8 r$s9H<k9k
3HOG-^;s#-zJ=wjJH7FO"FQ?>,' (UNC) NQ9rHCF$
s9H<kr)Ae2k+"3s=<k&;C7gs+i$s9H<krBT7^9#
46
DB2 5<P<!= 5b*hS$s9H<k
?H(P"serverA eNG#l/Hj< c:¥pathA¥pathB¥...¥pathN , serverdir H7
F&-5lF$klgO" ¥¥serverA¥serverdir¥filename.ext r+$F"5<P<e
NU!$k c:¥pathA¥pathB¥...pathN¥filename.ext K"/;97^9#
X"?9/:
v 43 Z<8NXWindows eGN DB2 5<P<N$s9H<kY
DB2 5<P<Nabj<Wo (Windows)
DB2 GO/J/Hb 256 MB N RAM ,,WG9#ICabj<,,WJlgb"j
^9#
abj<Wor=L9k]KO"!NvAKmU7F/@5$#
v 4HQN79F`G DB2 J0N=UH&'",BT5lklg"ICabj<,,
WHJk+b7l^;s#
v G<?Y<9&/i$"sHr5]<H9k?aKO"ICabj<,,WG9#
v CjNQU)<^s9Wo,",WJabj<NLrhj9k3H,"j^9#
v abj<WoO"4HQNG<?Y<9&79F`N5$:*hS#(5KhCF8
&5l^9#
v abj<WoO"G<?Y<9&"/F#SF#<N(/9FsH"*hS4HQN
79F`K"/;99k/i$"sHNtKhCF8&5l^9#
X"?9/:
v 43 Z<8NXWindows eGN DB2 5<P<N$s9H<kY
DB2 5<P<NG#9/Wo (Windows)
DB2 Enterprise Server Edition (ESE) (1lQ<F#7gs) ^?O Workgroup Server
Edition (WSE) K,WJG#9/&9Z<9O"*r9k$s9H<kN?$WKhC
F[Jj^9# DB2 ;CH"CW&&#6<I,s!9k$s9H<k&?$WO"
lL"3sQ/H"*hS+9?`G9#!N=O"=l>lN$s9H<k&?$W
4HN"**h=NG#9/&9Z<9Wor(7F$^9#
= 3. DB2 ESE (1lQ<F#7gs) *hS DB2 WSE G#9/Wo
$s9H<k&?$W
G.G#9/&9Z<9
lL
350 MB
3sQ/H
100 MB
+9?`
100 MB
5NJG#9/&9Z<9jWLO"$s9H<k5lk!=*hSG#9/&Ii$
VN?$WKhCF[Jj^9#/i9?<&5$:Ng-J FAT Ii$VGO"5
iK+JjN9Z<9,,WHJk3H,"j^9#
h 7 O DB2 5<P<N$s9H<k (Windows)
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setup /i language
FWGNU#OJ<NH*jG9#
v x: OHQ9k CD-ROM Ii$Vr=7^9#
v language O"4HQN@lNOh ID G9 (?H(PQlO EN)#
52
DB2 5<P<!= 5b*hS$s9H<k
/i Ui0,Xj5lF$J$lgKO"$s9H<k&Wm0i`O*Zl<F
#s0&79F`NGU)kHN@lGBT5l^9#
c. VOKWr/jC/7^9#
5. $s9H<kr+O7?i";CH"CW&Wm0i`NX(K>CFJaF$-^
9#DjN9FCWKD$Fb@7F$k*si$s&XkWrxQG-^9#*s
i$s&XkWrFSP9KO"VXkW (Help)Wr/jC/9k+"F1 r!7^
9#V-cs;k (Cancel)Wr/jC/9lP"$DGb$s9H<kr*;G^9# DB2 ;CH"CW&&#6<INGeN$s9H<k&QMkGV0;
(Finish)Wr/jC/9kH" DB2 U!$k,4HQN3sTe<?<K3T<5
l^9#
5sWk&G<?Y<9rHQ7F$s9H<kr!:9klgKO",:~g
(Getting Started) 3s]<MsH&0k<WK"k5sWk&G<?Y<9&3s]
<MsHr$s9H<k7F/@5$#8`$s9H<kGO"5sWk&G<?Y
<9OQ<DH7FH_~^lF$^9#
$s9H<k~K!P5lk(i<N\YKD$FO" db2.log U!$kr2H7F/
@5$# db2.log U!$kO"$s9H<k&"/F#SF#<*hS"s$s9H<
k&"/F#SF#<+i88?lLpsH(i<&aC;<8r]I7F$^9#G
U)kHGO"db2.log U!$kO" V^$ I-easHWN ¥DB2LOG¥ G#l/H
j<K"j^9# V^$ I-easHW G#l/Hj<Nm1<7gsO"4HQN
3sTe<?<N_jKhCF[Jj^9#
X"?9/:
v DB2 Universal Database Personal Edition 5b*hS$s9H<k NXDB2 Personal
Edition N$s9H<k (Windows)Y
v 104 Z<8NX2C3sTe<?<eGNG<?Y<9&Q<F#7gs&5<P<
N$s9H<k (Windows)Y
v I},$I: $sWjasF<7gs NXD<k&+?m0&G<?Y<9"DAS
918e<i<N;CH"CW"*hS=.Y
v I},$I: $sWjasF<7gs NXLN""mhj9HN;CH"CW"*h
S=.Y
X"qA:
v 3^sI&jU!ls9 NXUPDATE ADMIN CONFIGURATION 3^sIY
v 44 Z<8NXDB2 5<P<N$s9H<kWo (Windows)Y
v 261 Z<8NX@l ID (LN@lG DB2 ;CH"CW&&#6<IrBT9kl
g)Y
v 47 Z<8NXDB2 5<P<Nabj<Wo (Windows)Y
v 47 Z<8NXDB2 5<P<NG#9/Wo (Windows)Y
h 7 O DB2 5<P<N$s9H<k (Windows)
53
G7NU#C/9QC/N,Q
G7NU#C/9QC/N,Q O"hjg-J?9/G"k DB2 =JN$s9H<k
NltH7FN*W7gsG9#
DB2 U#C/9QC/O"IBM GNF9HN]K!P5l?P0KP9kU#C/9
(Wm0i`GGMjq (APAR)) H"\R+isp5l?P0NU#C/9+i.j^
9#INU#C/9QC/Kb"P0&U#C/9NbFrb@7? APARLIST.TXT
H$&=jNqA,:U5lF$^9#
U#C/9QC/O_Q5l^9#=NU#O""k$UNP<8gsN DB2 NG7
NU#C/9QC/KO"18P<8gsN DB2 N=l^GNU#C/9QC/r9
77?bF,9YF~CF$kH$&3HG9# DB2 NBTD-rG7NU#C/9
QC/&lYkK]CF"`nGdj,88J$h&K9k3Hr*+a7^9#
Q<F#7gs ESE 79F`KU#C/9QC/r$s9H<k9kH-O"79F
`r*Ui$sK7F"9YFN2C3sTe<?<K18U#C/9QC/r$s9
H<k9k,W,"j^9#
0sro:
FU#C/9QC/KO=l>lG-N0sro,"j^9#\YO"U#C/9QC
/KU07F$k FixPak README r2H7F/@5$#
jg:
1. G7N DB2 U#C/9QC/O"
http://www.ibm.com/software/data/db2/udb/winos2unix/support K"k IBM DB2 UDB
and DB2 Connect *si$s&5]<H+i@&sm<I7F/@5$#
2. FU#C/9QC/KO"jj<9&N<HH README ,~CF$^9#
README KO"U#C/9QC/N$s9H<k}!Nrb,RYilF$^9#
3^sITWm;C5< (CLP) rHQ7?$s9H<kN!:
3^sITWm;C5< (CLP) rHQ7?$s9H<kN!: O*W7gsG9,"
=NeLN DB2 N$s9H<k&?9/Nltr.7^9#
DB2 N$s9H<kr0;7?i"5sWk&G<?Y<9rn.7F+i SQL 3^
sIrBT7F5sWk&G<?rhjP93HG"$s9H<kbFr!:9k3H
,G-^9#
0sro:
54
DB2 5<P<!= 5b*hS$s9H<k
v 5sWk&G<?Y<9&3s]<MsHO"79F`K$s9H<k7J1lPJ
j^;s#5sWk&G<?Y<9&3s]<MsHO"8`$s9H<kNltr
.7^9#
v 3Nlg"SYSADM "BrbC?f<6<,,WG9#
jg:
$s9H<kbFr!:9kKO"!Nh&K7^9#
1. SYSADM "Br}Df<6<H7F79F`Km0*s7^9#
2. db2sampl 3^sIr~O7F" SAMPLE G<?Y<9rn.7^9#
3N3^sINh}KO"t,V++k3H,"j^9#3^sI0;~NaC;<
8O"j^;s#3^sI&WmsWHKaC?~@G"3Nh}O0;7F$^
9#
SAMPLE G<?Y<9,n.5lkH"+0*KG<?Y<9L> SAMPLE H7F+
?m05l^9#
3. db2start 3^sIr~O7F"G<?Y<9&^M<8c<r+O7^9#
4. DB2 3^sI&&#sI&G!N DB2 3^sIr~O7F SAMPLE G<?Y<9
K\37"tg 20 G/$F$k9YFN>HwNj9Hr!w7F+i"G<?Y
<9\3rj;CH7^9#
db2 connect to sample
db2 "select * from staff where dept = 20"
db2 connect reset
$s9H<kr!:7*oC?i" SAMPLE G<?Y<9r|n7FG#9/&9Z<
9rr|9k3H,G-^9# SAMPLE G<?Y<9rImCW9kKO" db2 drop
database sample 3^sIr~O7^9#
X"?9/:
v 244 Z<8NXU!<9H&9FCWrHQ7? DB2 5<P<N$s9H<kN!
:Y
DB2 *si$sqAN$s9H<k (Windows)
3N?9/GO"Windows eG DB2 ;CH"CW&&#6<IrHQ7F" DB2 *
si$sqAr$s9H<k9k}!rb@7^9# DB2 *si$sqAO">N
DB2 =JHOLDK"=lH+N CD-ROM +i$s9H<k7^9#
0sro:
VDB2 ;CH"CW (DB2 Setup)W&#6<Ir+O9k0KJ<rTCF/@5$#
v 4HQN79F`,$s9H<k"abj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hCF[Jj^9#
!Nh&K7F"DB2 ;CH"CW&&#6<Irj0G+O7^9#
1. V9?<HWr/jC/7"VU!$k>rXj7FBTW*W7gsr*r7^
9#
2. V+/WU#<kIG"!N3^sIr~O7^9#
x:¥setup /i language
FWGNU#OJ<NH*jG9#
v x: OHQ9k CD-ROM Ii$Vr=7^9#
v language O"4HQN@lNOh ID G9 (?H(PQlO EN)#
/i language Qia<?<O*W7gsG9#3lrXj7J$lgKO" DB2 ;
CH"CW&&#6<IO"*Zl<F#s0&79F`H18@lGT/7^9#
3. VOKWr/jC/7^9#
h 7 O DB2 5<P<N$s9H<k (Windows)
57
58
DB2 5<P<!= 5b*hS$s9H<k
h 8 O DB2 5<P<N$s9H<k (UNIX)
$s9H<kN`w (AIX)
AIX GN DB2 5<P<N$s9H<k
3NHTC/GO" AIX eGN DB2 Enterprise Server Edition (1lQ<F#7gs)
^?O DB2 Workgroup Server Edition N$s9H<k&9FCWr5b7^9#
0sro:
4HQN3sTe<?<,!NWoKg&3HrN'7F/@5$#
1. DB2 5<P<N$s9H<kWo
2. DB2 5<P<Nabj<Wo
3. DB2 5<P<NG#9/Wo
4. DB2 $s9H<kN?aN0k<W&"+&sH*hSf<6<&"+&sH
\7/O"X"psr2H7F/@5$#
jg:
$s9H<kKh)CF" XDB2 5<P<N$s9H<kN5WYr*I_KJkh
&*+a7^9#
!Nh&K7F"AIX K DB2 r$s9H<k7^9#
1. DB2 $s9H<k CD-ROM N^&sHrT$^9#
2. DB2 r$s9H<k9k?aN DB2 ;CH"CW&&#6<IN+OrT$^
9#
3. *W7gs: G7N$5QC1<8N,QrT$^9#
4. *W7gs: 3^sITWm;C5< (CLP) rHQ7?$s9H<kN!:rT$
^9#
5. *W7gs: DB2 *si$sqAN$s9H<krT$^9#
X"50:
v 11 Z<8NXDB2 5<P<N$s9H<kN5W (UNIX)Y
X"?9/:
v 63 Z<8NXDB2 CD-ROM N^&sH (AIX)Y
v 81 Z<8NXDB2 5<P<r$s9H<k9k?aN DB2 ;CH"CW&&#6
<IN+O (UNIX)Y
© Copyright IBM Corp. 1993-2002
59
v 54 Z<8NXG7NU#C/9QC/N,QY
v 54 Z<8NX3^sITWm;C5< (CLP) rHQ7?$s9H<kN!:Y
v 85 Z<8NXDB2 *si$sqAN$s9H<k (UNIX)Y
v 250 Z<8NXDB2 $s9H<kN?aN0k<W*hSf<6< ID Nn.Y
X"qA:
v 60 Z<8NXDB2 5<P<N$s9H<kWo (AIX)Y
v 61 Z<8NX5<P<Nabj<Wo (UNIX)Y
v 62 Z<8NXDB2 5<P<NG#9/Wo (UNIX)Y
Wo
DB2 5<P<N$s9H<kWo (AIX)
3NHTC/GO"DB2 Enterprise Server Edition *hS DB2 Workgroup Server
Edition NO<I&'""*Zl<F#s0&79F`"=UH&'""*hSL.KX
9kWorj9H7^9#
O<I&'"Wo
!N$:l+,,WG9#
v IBM RISC/6000
v eServer pSeries
*Zl<F#s0&79F`Wo
DB2 Enterprise Server Edition O"!N*Zl<F#s0&79F`GHQD=
G9#
v AIX P<8gs 4.3.3 (]ilYk 9 J_rHQ) (32 SCH)
v AIX P<8gs 5.1.0 (]ilYk 2 J_rHQ) (32 SCH*hS 64 S
CH)
DB2 Workgroup Server Edition O"!N*Zl<F#s0&79F`GHQD
=G9#
v AIX P<8gs 4.3.3.0 (]ilYk 9 J_rHQ) (32 SCH)
v AIX P<8gs 5L (]ilYk 2 J_rHQ) (32 SCH)
=UH&'"Wo
v DB2 5<P<"*hS3sHm<k&;s?<Nh&J DB2 N Java Y<
9ND<krBT9kKO" Java Runtime Environment (JRE) P<8gs
1.3.1 ,,WKJj^9#
v G<?Y<9NPC/"CWHj9H"K Tivoli Storage Manager !=rH
&lgKO" Tivoli Storage Manager /i$"sHNP<8gs 4.2.0 J_
,,WG9#
60
DB2 5<P<!= 5b*hS$s9H<k
v *si$s&XkWr=(9k?aKVi&6<,,WG9#
L.Wo
APPC"TCP/IP"^?O MPTN (TCP/IP rp7? APPC) rHQ9k3H,G
-^9# DB2 P<8gs 8 5<P<O DB2 Connect 5<P<&5]<H!
=rHQ7F""&HP&sIN/i$"sH APPC WaN_5]<H7^
9#$sP&sIN/i$"sH APPC WaN5]<HO"j^;s#G<?
Y<9rjb<H&GI}9kH-KHQG-kNO"TCP/IP N_G9#
v TCP/IP \3Nlg"IC=UH&'"O,W"j^;s#
v DB2 Connect 5<P<&5]<H!=rp7? APPC (CPI-C) \3Nlg
O"!NL.=JN$:l+,,WG9#
– IBM eNetwork Communications Server for AIX V5.0.3
– Bull DPX/20 SNA/20
v LDAP (Lightweight Directory Access Protocol) 5]<HrHQ9kKO"
IBM SecureWay Directory Client V3.1.1 ,,WG9#
v 7sWk&MCHo</I}WmH3k (SNMP) 5V(<8'sHrH&l
gKO" IBM SystemView Agent ,s!9k DPI 2.0 ,,WG9#
NFS eXN DB2 =JN$s9H<k^?O$s9?s9&G#l/Hj<N&=~@GO NFS eXN DB2 =JN$s9H<kO5]<H5lF$^;
s# NFS eK DB2 r$s9H<k9k (?H(P NFS K
/usr/opt/db2_08_01 ^?O /opt/IBM/db2/V8.1 r^&sH9k) H(i<,/3
jd9/"=N(i<OGG,$qG9#
!N=.O5]<H5lF$^;s#
v U!$k&79F`eK$s9?s9r;CH"CW9k#
v NFS K#tN^7s+iNU!$k&79F`r^&sH7F"=liN^
7seG=N18$s9?s9rHQ7F DB2 rBT9k#
3N=.OU!$k&mC/HQU)<^s9eNdjrz-/37^9#
X"?9/:
v 59 Z<8NXAIX GN DB2 5<P<N$s9H<kY
5<P<Nabj<Wo (UNIX)
DB2 GO/J/Hb 256 MB N RAM ,,WG9#ICabj<,,WJlgb"j
^9#
abj<Wor=L9k]KO"!NvAKmU7F/@5$#
v 4HQN79F`G DB2 J0N=UH&'",BT5lk3H,"klgKO"I
Cabj<,,WHJk+b7l^;s#
v G<?Y<9&/i$"sHr5]<H9k?aKO"ICabj<,,WG9#
h 8 O DB2 5<P<N$s9H<k (UNIX)
61
v CjNQU)<^s9Wo,",WJabj<NLrhj9k3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9H<krT$^9#
X"50:
v 11 Z<8NXDB2 5<P<N$s9H<kN5W (UNIX)Y
X"?9/:
v 67 Z<8NX+<Mk&Qia<?<NQ9 (HP-UX)Y
v 138 Z<8NXDB2 CD-ROM N^&sH (HP-UX)Y
v 81 Z<8NXDB2 5<P<r$s9H<k9k?aN DB2 ;CH"CW&&#6
<IN+O (UNIX)Y
v 54 Z<8NXG7NU#C/9QC/N,QY
v 54 Z<8NX3^sITWm;C5< (CLP) rHQ7?$s9H<kN!:Y
v 85 Z<8NXDB2 *si$sqAN$s9H<k (UNIX)Y
v 250 Z<8NXDB2 $s9H<kN?aN0k<W*hSf<6< ID Nn.Y
X"qA:
v 61 Z<8NX5<P<Nabj<Wo (UNIX)Y
v 62 Z<8NXDB2 5<P<NG#9/Wo (UNIX)Y
v 64 Z<8NXDB2 5<P<N$s9H<kWo (HP-UX)Y
Wo
DB2 5<P<N$s9H<kWo (HP-UX)
3NHTC/GO"DB2 5<P< (HP-UX) N?aNO<I&'""*Zl<F#s
0&79F`"=UH&'""*hSL.Worj9H7^9#
64
DB2 5<P<!= 5b*hS$s9H<k
O<I&'"Wo
HP 9000 7j<: 700 ^?O 800 79F`#
*Zl<F#s0&79F`Wo
DB2 Workgroup Server Edition *hS DB2 Enterprise Server Edition O"!N
*Zl<F#s0&79F`GT/9k3H,G-^9#
v HP-UX 11i (2001 / 12 nU1N GOLDBASE11i *hS 2001 / 11 nU
1N GOLDAPPS11i PsIk,QQ_)
=UH&'"Wo
v 3sHm<k&;s?<Nh&J DB2 N Java Y<9ND<krBT9k
KO" Java Runtime Environment (JRE) P<8gs 1.3.1 ,,WKJj^
9# 64 SCHD-GBT9klgO"JRE P<8gs 1.4 ,,WKJj^
9#
v G<?Y<9NPC/"CWHj9H"K Tivoli Storage Manager !=rH
&lgKO" Tivoli Storage Manager /i$"sHNP<8gs 4.2.0 J_
,,WG9#
v *si$s&XkWr=(9k?aKVi&6<,,WG9#
L.Wo
APPC ^?O TCP/IP#G<?Y<9r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<P<N$s9H<kY
v 69 Z<8NXLinux eGN DB2 5<P<N$s9H<kY
v 75 Z<8NXSolaris eGN DB2 5<P<N$s9H<kY
+<Mk&Qia<?<NQ9 (HP-UX)
DB2 for HP-UX =Jr$s9H<k9k0K"79F`N+<Mk=.Qia<?<
r979k,W,"k+b7l^;s#+<Mk=.Qia<?<r977?e"3s
Te<?<rFO09k,W,"j^9#
0sro:
+<Mk&Qia<?<rQ99kKO"root "B,,WG9#
jg:
MrQ99kKO"!Nh&K7^9#
v sam 3^sIr~O7F"79F`I}^M<8c< (SAM) Wm0i`r+O7^
9#
v V+<Mk=. (Kernel Configuration)W"$3sr@Vk/jC/7^9#
h 8 O DB2 5<P<N$s9H<k (UNIX)
67
v V=.Qia<?< (Configurable Parameters)W"$3sr@Vk/jC/7^
9#
v Q97?$Qia<?<r@Vk/jC/7"77$MrV0/M (Formula/Value)W
U#<kIK~O7^9#
v VOKWr/jC/7^9#
v Q97?$+<Mk=.Qia<?<N9YFKD$F"3N9FCWr+jV7^
9#
v +<Mk=.Qia<?<N_j,9YF*;7?i""/7gs&aKe<&P<
+iV"/7gs (Action)W --> V77$+<MkNh} (Process New
Kernel)Wr*r7^9#
HP-UX *Zl<F#s0&79F`O"+<Mk=.Qia<?<NM,Q95lkH
+0*KFO07^9#
X"qA:
v 233 Z<8NXd) HP-UX +<Mk=.Qia<?<Y
HP-UX eGN CD-ROM N^&sH
DB2 P<8gs 8.1 (HP-UX G) KO"9$U!$k>,$/Db"k?a"^&s
H&3^sI,:T9kD=-,"j^9#J<N9FCWKhj"DB2 (HP-UX G)
=J CD-ROM ,5oK^&sHG-kh&KJj^9#
0sro:
3NnHKO"root "B,,WG9#
jg:
DB2 (HP-UX G) =J CD-ROM r^&sH9kKO"
1. root "BrU?5l?f<6<H7Fm0$s7^9#
2. /etc G#l/Hj<G" pfs_fstab U!$kKJ<NTrIC7^9#
/dev/dsk/c0t2d0 mount_point pfs-rrip ro,hard
33G"mount_point O"CD-ROM N^&sH&]$sHr=7F$^9#
3. J<N3^sIr~O7F pfs G<bsr+O7^9 (^@+O7F$J$lg)#
/usr/sbin/pfs_mountd &
/usr/sbin/pfsd 4 &
4. CD-ROM rIi$VK^~7"!N3^sIr~O7^9#
mkdir /cdrom
/usr/sbin/pfs_mount /cdrom
33G"/cdrom O"CD-ROM N^&sH&]$sHr=7F$^9#
68
DB2 5<P<!= 5b*hS$s9H<k
5. m0"&H7^9#
CD-ROM U!$k&79F`,^&sH5l^9# CD-ROM NbFr=(9kKO"
CD rIi$VK^~7"cd /cdrom 3^sIr~O7F/@5$#33G"cdrom
O"CD-ROM ^&sH&]$sH&G#l/Hj<G9#
$s9H<kN`w (Linux)
Linux eGN DB2 5<P<N$s9H<k
3NHTC/GO" Linux eGN DB2 Enterprise Server Edition (1lQ<F#7gs)
^?O DB2 Workgroup Server Edition N$s9H<k&9FCWr5b7^9#
0sro:
4HQN3sTe<?<,!NWoKg&3HrN'7F/@5$#
1. DB2 5<P<N$s9H<kWo
2. DB2 5<P<Nabj<Wo
3. DB2 5<P<NG#9/Wo
4. DB2 $s9H<kN?aN0k<W&"+&sH*hSf<6<&"+&sH
\7/O"X"psr2H7F/@5$#
jg:
$s9H<kKh)CF" XDB2 5<P<N$s9H<kN5WYr*I_KJkh
&*+a7^9#
!Nh&K7F"Linux K DB2 r$s9H<k7^9#
1. DB2 N?aN+<Mk&Qia<?<NQ9rT$^9#
2. DB2 $s9H<k CD-ROM N^&sHrT$^9#
3. DB2 r$s9H<k9k?aN DB2 ;CH"CW&&#6<IN+OrT$^
9#
4. *W7gs: G7N$5QC1<8N,QrT$^9#
5. *W7gs: 3^sITWm;C5< (CLP) rHQ7?$s9H<kN!:rT$
^9#
6. *W7gs: DB2 *si$sqAN$s9H<krT$^9#
X"50:
v 11 Z<8NXDB2 5<P<N$s9H<kN5W (UNIX)Y
X"?9/:
v 73 Z<8NX+<Mk&Qia<?<NQ9 (Linux)Y
h 8 O DB2 5<P<N$s9H<k (UNIX)
69
v 74 Z<8NXDB2 CD-ROM (Linux) N^&sHY
v 81 Z<8NXDB2 5<P<r$s9H<k9k?aN DB2 ;CH"CW&&#6
<IN+O (UNIX)Y
v 54 Z<8NXG7NU#C/9QC/N,QY
v 54 Z<8NX3^sITWm;C5< (CLP) rHQ7?$s9H<kN!:Y
v 85 Z<8NXDB2 *si$sqAN$s9H<k (UNIX)Y
v 250 Z<8NXDB2 $s9H<kN?aN0k<W*hSf<6< ID Nn.Y
X"qA:
v 61 Z<8NX5<P<Nabj<Wo (UNIX)Y
v 62 Z<8NXDB2 5<P<NG#9/Wo (UNIX)Y
v 70 Z<8NXDB2 5<P<N$s9H<kWo (Linux)Y
Wo
DB2 5<P<N$s9H<kWo (Linux)
3NHTC/GO"DB2 Enterprise Server Edition *hS Workgroup Server Edition
(Linux) NO<I&'""[["=UH&'""*hSL.KX9kWorj9H7^
9#
O<I&'"Wo
DB2 Workgroup Server Edition O"Intel 32 SCH&^7seG5]<H5l
^9#
DB2 Enterprise Server Edition O"!NlgKHQD=G9#
v Intel 32 SCH
v Intel 64 SCH
v S/390 9672 Generation 5 Je"Multiprise 3000"^?O eServer z-Series
[[Wo
Intel 32 SCH&"<-F/Ac<Nlg"!NbNr<C?"GaN Linux
*Zl<F#s0&79F`[[,,WG9#
v +<Mk&lYk 2.4.9 J_
v glibc 2.2.4 J_
v RPM 3 J_
Intel 64 SCH&"<-F/Ac<Nlg"!N Linux *Zl<F#s0&7
9F`[[N$:l+,,WG9#
v Red Hat Linux 7.2
v SuSE Linux SLES-7
70
DB2 5<P<!= 5b*hS$s9H<k
Intel 64 SCH&"<-F/Ac<Nlg"!N=UH&'",,WG9#
v gcc 3.0.2
v gcc3 libstdc++ is?$`&i$Vij<
z-Series "<-F/Ac<Nlg"!N Linux *Zl<F#s0&79F`[
[N$:l+,,WG9#
v Red Hat Linux 7.2
v SuSE Linux SLES-7
=UH&'"Wo
v DB2 5<P<, DB2 3sHm<k&;s?<rHQ7?j"9H"<I&
Wm7<8c<df<6<jAXtr^` Java "Wj1<7gsrn.*
hSBT7?j9kKO" IBM Developer Kit for Java 1.3.1 ,,WG9#
IBM JDK @1,5]<H5l^9#
v G<?Y<9NPC/"CWHj9H"K Tivoli Storage Manager !=rH
&lgKO" Tivoli Storage Manager Client P<8gs 4.2.0 J_,,WG
9#
v *si$s&XkWr=(9k?aKVi&6<,,WG9#
L.Wo
jb<H&G<?Y<9K"/;99kKO TCP/IP ,,WG9#
NFS eXN DB2 =JN$s9H<k^?O$s9?s9&G#l/Hj<N&=~@GO NFS eXN DB2 =JN$s9H<kO5]<H5lF$^;
s# NFS eK DB2 r$s9H<k9k (?H(P NFS K
/usr/opt/db2_08_01 ^?O /opt/IBM/db2/V8.1 r^&sH9k) H(i<,/3
jd9/"=N(i<OGG,$qG9#
!N=.O5]<H5lF$^;s#
v U!$k&79F`eK$s9?s9r;CH"CW9k#
v NFS K#tN^7s+iNU!$k&79F`r^&sH7F"=liN^
7seG=N18$s9?s9rHQ7F DB2 rBT9k#
3N=.OU!$k&mC/HQU)<^s9eNdjrz-/37^9#
X"?9/:
v 69 Z<8NXLinux eGN DB2 5<P<N$s9H<kY
5<P<Nabj<Wo (UNIX)
DB2 GO/J/Hb 256 MB N RAM ,,WG9#ICabj<,,WJlgb"j
^9#
abj<Wor=L9k]KO"!NvAKmU7F/@5$#
h 8 O DB2 5<P<N$s9H<k (UNIX)
71
v 4HQN79F`G DB2 J0N=UH&'"rBT9k?aK"ICabj<,,
WHJk+b7l^;s#
v G<?Y<9&/i$"sHr5]<H9k?aKO"ICabj<,,WG9#
v CjNQU)<^s9Wo,",WJabj<NLrhj9k3H,"j^9#
v abj<WoO"4HQNG<?Y<9&79F`N5$:*hS#(5KhCF8
&5l^9#
v abj<WoO"G<?Y<9&"/F#SF#<N(/9FsH"*hS4HQN
79F`K"/;99k/i$"sHNtKhCF8&5l^9#
X"?9/:
v 59 Z<8NXAIX GN DB2 5<P<N$s9H<kY
v 63 Z<8NXHP-UX eGN DB2 5<P<N$s9H<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3H,G-^
9# DB2 O,WG"lP"+0*K IPC B&rz-e2^9#=lGbJ*"f<6
<NCjN,WK~8F"3liNB&rz-e2k3H,G-^9#
0sro:
+<Mk&Qia<?<rQ99kKO"root "B,,WG9#
jg:
!Nh&K7F"+<Mk&Qia<?<r977^9#
RedHat *hS SuSE
2.4.x 7j<:N+<MkrHQ7F$k79F`GO"aC;<8&-e<&
Qia<?<NGU)kHM (msgmni) ,"j^9#3lO"1~Ko:+J
t@1N DB2 XN\3,vD5lkMG9# DB2 r5oKBT9k?aK
O";^U)<[sQia<?<bQ99k,W,"j^9# ipcs -l 3^s
Ir/T7F"&Qabj<&;0asH";^U)<[s"*hSaC;<
8&-e<NB&rA'C/7^9#
ipcs -l 3^sINPOO!Nh&KJj^9#
# ipcs -l
------ Shared Memory Limits -------max number of segments = 4096
// SHMMNI
max seg size (kbytes) = 32768
max total shared memory (kbytes) = 8388608
min seg size (bytes) = 1
------ Semaphore Limits -------max number of arrays = 1024
// SEMMNI
h 8 O DB2 5<P<N$s9H<k (UNIX)
73
max semaphores per array = 250
max semaphores system wide = 128000
max ops per semop call = 32
semaphore max value = 32767
------ Messages: Limits -------max queues system wide = 1024
// MSGMNI
max size of message (bytes) = 65536
default max size of queue (bytes) = 16384 // MSGMAX
GU)kHN79F`)f=.U!$k /etc/sysctl.conf K!N`\rIC
9k3HKhCF"+<Mk&Qia<?<rQ97F/@5$#
kernel.msgmni = 512
kernel.sem = 250 128000
32 1024
33G max semaphores system wide = max number of arrays x max
semaphores per array G9# sysctl r -p Qia<?<rXj7FBT7"
GU)kHNU!$k /etc/sysctl.conf +i sysctl _jKm<I7^9#
sysctl -p
MCHo</i|_j9/jWHKhkO0~K" sysctl.conf U!$k+i
`\,I_hil^9#
[[KhCFO"79F`i|_jU!$kN 1 D (?H(P rc.local) K
sysctl -p rIC7F"jV<H5lk?SK+<Mk&Qia<?<,_j
5lkh&K7J1lPJiJ$3H,"j^9#
DB2 CD-ROM (Linux) N^&sH
DB2 CD-ROM (Linux) N^&sH O"=NeLN DB2 N$s9H<k&?9/Nlt
r.7^9#
VDB2 ;CH"CW (DB2 Setup)W&#6<IrBT9kKO"$s9H<k
CD-ROM rv0K^&sH7J1lPJj^;s#
0sro:
root "BrbDf<6< ID Gm0*s9k,W,"j^9#
jg:
g>N Linux [[O"3N CD r+0*K^&sH7^9#?/Nlg"^&sH&
]$sHO /mnt/cdrom ^?O /media/cdrom G9#^&sH&]$sH, /mnt/cdrom
G"klg"!Nh&J3^sIr~O7^9#
mount /mnt/cdrom
74
DB2 5<P<!= 5b*hS$s9H<k
[[KhCFO"CD-ROM uVKP9kBTC"OGU)kHGHQTDKJCF$^
9#BTvDrp7F^&sH&]$sH /mnt/cdrom K^&sH9kKO" root G!
Nh&J3^sIr/T7^9#
mount -o exec /mnt/cdrom
CD-ROM ,+0*K^&sH5lJ$lg"J<r~O7^9#
mount -t iso9660 -o ro /dev/cdrom /mnt/cdrom
?@7"/mnt/cdrom O CD-ROM N^&sH&]$sHr=7^9#
X"?9/:
v DB2 Universal Database Personal Edition 5b*hS$s9H<k NXVDB2 ;C
H"CW (DB2 Setup)W&#6<IN+O (Linux)Y
$s9H<kN`w (Solaris *Zl<F#s0D-)
Solaris eGN DB2 5<P<N$s9H<k
3NHTC/GO" Solaris *Zl<F#s0D-GN DB2 Enterprise Server Edition
(1lQ<F#7gs) ^?O DB2 Workgroup Server Edition N$s9H<k&9FC
Wr5b7^9#
0sro:
4HQN3sTe<?<,!NWoKg&3HrN'7F/@5$#
v DB2 5<P<N$s9H<kWo
v DB2 5<P<Nabj<Wo
v DB2 5<P<NG#9/Wo
v DB2 $s9H<kN?aN0k<W&"+&sH*hSf<6<&"+&sH
v (=UH&'"&G#9/WoKC(F) tar.Z U!$kHr`eN$s9H<k&$
a<8r}ak?aN 2 GB NUj<&9Z<9,"kU!$k&79F`,,WG
9#
\7/O"X"psr2H7F/@5$#
jg:
$s9H<kKh)CF" XDB2 5<P<N$s9H<kN5WYr*I_KJkh
&*+a7^9#
!Nh&K7F"Solaris K DB2 r$s9H<k7^9#
1. DB2 N?aN+<Mk&Qia<?<NQ9rT$^9#
2. DB2 $s9H<k CD-ROM N^&sHrT$^9#
h 8 O DB2 5<P<N$s9H<k (UNIX)
75
3. DB2 r$s9H<k9k?aN DB2 ;CH"CW&&#6<IN+OrT$^
9#
4. *W7gs: G7N$5QC1<8N,QrT$^9#
5. *W7gs: 3^sITWm;C5< (CLP) rHQ7?$s9H<kN!:rT$
^9#
6. *W7gs: DB2 *si$sqAN$s9H<krT$^9#
X"50:
v 11 Z<8NXDB2 5<P<N$s9H<kN5W (UNIX)Y
X"?9/:
v 79 Z<8NX+<Mk&Qia<?<NQ9 (Solaris)Y
v 80 Z<8NXCD-ROM N^&sH (Solaris)Y
v 81 Z<8NXDB2 5<P<r$s9H<k9k?aN DB2 ;CH"CW&&#6
<IN+O (UNIX)Y
v 54 Z<8NXG7NU#C/9QC/N,QY
v 54 Z<8NX3^sITWm;C5< (CLP) rHQ7?$s9H<kN!:Y
v 85 Z<8NXDB2 *si$sqAN$s9H<k (UNIX)Y
v 250 Z<8NXDB2 $s9H<kN?aN0k<W*hSf<6< ID Nn.Y
X"qA:
v 61 Z<8NX5<P<Nabj<Wo (UNIX)Y
v 62 Z<8NXDB2 5<P<NG#9/Wo (UNIX)Y
v 76 Z<8NXDB2 5<P<N$s9H<kWo (Solaris)Y
Wo
DB2 5<P<N$s9H<kWo (Solaris)
3NHTC/GO"DB2 Enterprise Server Edition ^?O Workgroup Server Edition
(Solaris *Zl<F#s0D-) NO<I&'""*Zl<F#s0&79F`"=UH
&'""*hSL.KX9kWorj9H7^9#
O<I&'"Wo
Solaris UltraSPARC Y<9N3sTe<?<
*Zl<F#s0&79F`Wo
DB2 Workgroup Server Edition O"!N Solaris *Zl<F#s0&79F
`&P<8gsG5]<H5l^9#
v Solaris 7 (32 SCH) QCA 106327-10
v Solaris 8 (32 SCH) QCA 108434-03 *hS 108528-12
v Solaris 9 (32 SCH)
76
DB2 5<P<!= 5b*hS$s9H<k
DB2 Enterprise Server Edition O"!N Solaris *Zl<F#s0&79F`&
P<8gsG5]<H5l^9#
v Solaris 7 (32 SCH) QCA 106327-10
v Solaris 7 (64 SCH) QCA 106300-11
v Solaris 8 (32 SCH) QCA 108434-03 *hS 108528-12
v Solaris 8 (64 SCH) QCA 108435-03 *hS 108528-12
v Solaris 9 (32 SCH)
v Solaris 9 (64 SCH)
Java r5]<H9k?aK"!NQCAb,WG9#
v Solaris 7 ″d) & ;-ejF#<&QCA″ + 107226-17 + 107153-01
v Solaris 8 ″d) & ;-ejF#<&QCA″ + 108921-12 + 108940-24
=UH&'"Wo
v 3sHm<k&;s?<Nh&J DB2 N Java Y<9ND<krBT9k
KO" Java Runtime Environment (JRE) P<8gs 1.3.1 ,,WKJj^
9# 64 SCHD-GBT9klgO"JRE P<8gs 1.4 ,,WKJj^
9#
v G<?Y<9NPC/"CWHj9H"K Tivoli Storage Manager !=rH
&lgKO" Tivoli Storage Manager Client P<8gs 4.2.0 J_,,WG
9# 64 SCHD-GBT9klgO" Tivoli Storage Manager Client P<
8gs 4.2.1 J_,,WKJj^9#
v *si$s&XkWr=(9k?aKVi&6<,,WG9#
L.Wo
APPC ^?O TCP/IP# DB2 P<8gs 8 5<P<O DB2 Connect 5<P
<&5]<H!=rHQ7F""&HP&sIN/i$"sH APPC WaN_
5]<H7^9#$sP&sIN/i$"sH APPC WaN5]<HO"j^
;s#G<?Y<9rjb<H&GI}9kH-KHQG-kNO"TCP/IP N
_G9#
v TCP/IP \3Nlg"IC=UH&'"O,W"j^;s#
v DB2 Connect 5<P<&5]<H!=rp7? APPC (CPI-C) \3Nlg
O" SunLink SNA 9.1 J_*hS SNAP-IX for Solaris V7.02 ,,WG
9#
NFS eXN DB2 =JN$s9H<k^?O$s9?s9&G#l/Hj<N&=~@GO NFS eXN DB2 =JN$s9H<kO5]<H5lF$^;
s# NFS eK DB2 r$s9H<k9k (?H(P NFS K
/usr/opt/db2_08_01 ^?O /opt/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 65535
/etc/system U!$kr977?e"79F`rFO07^9#
X"50:
v 3^sI&jU!ls9 NXdb2osconf - +<Mk&Qia<?<MN?aNf<F
#jF#<&3^sIY
X"qA:
v 234 Z<8NXd) Solaris +<Mk=.Qia<?<Y
CD-ROM N^&sH (Solaris)
0sro:
NFS rHQ7Fjb<H&79F`+i CD-ROM Ii$Vr^&sH9klgO"j
b<H&3sTe<?<eN CD-ROM U!$k&79F`r root "/;9KhCF
(/9]<H9k,W,"j^9#m<+k&3sTe<?<K CD-ROM U!$k&
79F`r^&sH9klgb"dOj root "/;9rHQ7J1lPJj^;s#
jg:
Solaris *Zl<F#s0D-K CD-ROM r^&sH9kKO"J<K(99FCWr
BT7^9#
1. root "Br}Df<6<H7Fm0$s7^9#
2. CD-ROM rIi$VK^~7^9#
3. \je<`&^M<8c<r79F`GBT7F$J$lgKO"!Nh&J3^s
Ir~O7F CD-ROM r^&sH7F/@5$#
mkdir -p /cdrom/unnamed_cdrom
mount -F hsfs -o ro /dev/dsk/c0t6d0s2 /cdrom/unnamed_cdrom
33G"/cdrom/unnamed_cdrom O CD-ROM ^&sH&G#l/Hj<r"
/dev/dsk/c0t6d0s2 O CD-ROM Ii$VuVr=7F$^9#
\je<`&^M<8c< (vold) ,BT5lF$k79F`Nlg"!Nh&K9
kH"CD-ROM O+0*K^&sH5l^9#
/cdrom/unnamed_cdrom
4. m0"&H7^9#
80
DB2 5<P<!= 5b*hS$s9H<k
CD-ROM U!$k&79F`,^&sH5l^9# CD-ROM NbFr=(9kKO"
G#9/rIi$VK^~7"cd /cdrom 3^sIr~O7F/@5$#33G"
cdrom O"CD-ROM ^&sH&]$sH&G#l/Hj<G9#
DB2 5<P<N$s9H<k*hS;CH"CW (UNIX)
DB2 5<P<r$s9H<k9k?aN DB2 ;CH"CW&&#6<IN+
O (UNIX)
3N?9/GO"UNIX 79F`eG DB2 ;CH"CW&&#6<Ir+O9k}!
rb@7^9# DB2 ;CH"CW&&#6<IrHQ7F"$s9H<k_jrjA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9#
b. !N3^sIr~O7F DB2 ;CH"CW&&#6<Ir+O7^
9#
zcat product.tar.Z | tar -xf - ; ./product/db2setup command
?H(P DB2 Enterprise Server Edition N=J>, ese NlgO"!N
3^sIr~O7^9#
zcat ese.tar.Z | tar -xf - ; ./ese/db2setup
5. 7Pi/9kH"IBM DB2 ;CH"CW&isAQCI,+-^9#
3N&#sI&G"$s9H<kN0sro*hSjj<9psr=(G-^97"
/$C/&D"<rBT7F DB2 Universal Database P<8gs 8 N!=rNk3
82
DB2 5<P<!= 5b*hS$s9H<k
H,G-^9#^?"=N^^$s9H<krBTG-^9#eGIC5l?$s9
H<k0sro*hSjj<9psr2H9k3HbG-^9#
$s9H<kr+O7?Ji" DB2 ;CH"CW&&#6<IN$s9H<k&Q
MkK>CF"*rrTCF/@5$#DjN9FCWKD$Fb@7F$k$s9
H<k`nNXkWrxQG-^9#$s9H<k`nNXkWrFSP9KO"
VXkW (Help)Wr/jC/9k+"^?O F1 r!7^9#V-cs;k
(Cancel)Wr/jC/9lP"$DGb$s9H<kr*;G-^9# DB2 ;CH
"CW&&#6<INGeN$s9H<k&QMkGV0; (Finish)Wr/jC/
9kH" DB2 U!$k,4HQN79F`K3T<5l^9#
$s9H<k,0;7?JiP" DB2 O!NG#l/Hj<N$:l+K$s9H
<k5lF$^9#
AIX
/usr/opt/db2_08_01
HP-UX"Linux"Solaris *Zl<F#s0D/opt/IBM/db2/V8.1
X"?9/:
v I},$I: $sWjasF<7gs NXD<k&+?m0&G<?Y<9"DAS
918e<i<N;CH"CW"*hS=.Y
v I},$I: $sWjasF<7gs NXLN""mhj9HN;CH"CW"*h
S=.Y
X"qA:
v 3^sI&jU!ls9 NXUPDATE ADMIN CONFIGURATION 3^sIY
v 246 Z<8NXdb2setup - DB2 N$s9H<kY
G7NU#C/9QC/N,Q
G7NU#C/9QC/N,Q O"hjg-J?9/G"k DB2 =JN$s9H<k
NltH7FN*W7gsG9#
DB2 U#C/9QC/O"IBM GNF9HN]K!P5l?P0KP9kU#C/9
(Wm0i`GGMjq (APAR)) H"\R+isp5l?P0NU#C/9+i.j^
9#INU#C/9QC/Kb"P0&U#C/9NbFrb@7? APARLIST.TXT
H$&=jNqA,:U5lF$^9#
U#C/9QC/O_Q5l^9#=NU#O""k$UNP<8gsN DB2 NG7
NU#C/9QC/KO"18P<8gsN DB2 N=l^GNU#C/9QC/r9
77?bF,9YF~CF$kH$&3HG9# DB2 NBTD-rG7NU#C/9
QC/&lYkK]CF"`nGdj,88J$h&K9k3Hr*+a7^9#
h 8 O DB2 5<P<N$s9H<k (UNIX)
83
Q<F#7gs ESE 79F`KU#C/9QC/r$s9H<k9kH-O"79F
`r*Ui$sK7F"9YFN2C3sTe<?<K18U#C/9QC/r$s9
H<k9k,W,"j^9#
0sro:
FU#C/9QC/KO=l>lG-N0sro,"j^9#\YO"U#C/9QC
/KU07F$k FixPak README r2H7F/@5$#
jg:
1. G7N DB2 U#C/9QC/O"
http://www.ibm.com/software/data/db2/udb/winos2unix/support K"k IBM DB2 UDB
and DB2 Connect *si$s&5]<H+i@&sm<I7F/@5$#
2. FU#C/9QC/KO"jj<9&N<HH README ,~CF$^9#
README KO"U#C/9QC/N$s9H<k}!Nrb,RYilF$^9#
3^sITWm;C5< (CLP) rHQ7?$s9H<kN!:
3^sITWm;C5< (CLP) rHQ7?$s9H<kN!: O*W7gsG9,"
=NeLN DB2 N$s9H<k&?9/Nltr.7^9#
DB2 N$s9H<kr0;7?i"5sWk&G<?Y<9rn.7F+i SQL 3^
sIrBT7F5sWk&G<?rhjP93HG"$s9H<kbFr!:9k3H
,G-^9#
0sro:
v 5sWk&G<?Y<9&3s]<MsHO"79F`K$s9H<k7J1lPJ
j^;s#5sWk&G<?Y<9&3s]<MsHO"8`$s9H<kNltr
.7^9#
v 3Nlg"SYSADM "BrbC?f<6<,,WG9#
jg:
!Nh&K7F"$s9H<kr!:7^9#
1. SYSADM "Br}Df<6<H7F79F`Km0*s7^9#
2. db2sampl 3^sIr~O7F" SAMPLE G<?Y<9rn.7^9#
3N3^sIO"h}Kt,++k3H,"j^9#0;aC;<8O"j^;s#
3^sI&WmsWH,akH"Wm;9O0;G9#
SAMPLE G<?Y<9,n.5lkH"+0*KG<?Y<9L> SAMPLE H7F+
?m05l^9#
3. db2start 3^sIr~O7F"G<?Y<9&^M<8c<r+O7^9#
84
DB2 5<P<!= 5b*hS$s9H<k
4. DB2 3^sI&&#sI&G!N DB2 3^sIr~O7F SAMPLE G<?Y<9
K\37"tg 20 G/$F$k9YFN>HwNj9Hr!w7F+i"G<?Y
<9\3rj;CH7^9#
db2 connect to sample
db2 "select * from staff where dept = 20"
db2 connect reset
$s9H<kr!:7*oC?i" SAMPLE G<?Y<9r|n7FG#9/&9Z<
9ru1k3H,G-^9# SAMPLE G<?Y<9rImCW9kKO" db2 drop
database sample 3^sIr~O7^9#
X"?9/:
v 244 Z<8NXU!<9H&9FCWrHQ7? DB2 5<P<N$s9H<kN!
:Y
DB2 *si$sqAN$s9H<k (UNIX)
3N?9/GO"UNIX eG DB2 ;CH"CW&&#6<IrHQ7F"DB2 *si
$sqAr$s9H<k9k}!rb@7^9# DB2 *si$sqAO">N DB2
=JHOLDK"=lH+N CD-ROM +i$s9H<k7^9#
0sro:
VDB2 ;CH"CW (DB2 Setup)W&#6<Ir+O9k0KJ<rTCF/@5$#
v $s9H<krBT9k?aK"root "B,,WG9#
v DB2 =JN CD-ROM ,"4HQN79F`K^&sH5lF$J1lPJj^;
s#
v DB2 ;CH"CW&&#6<IO"0iU#C/&$s9H<i<G9#4HQN^
7sG=l,T09k?aK"0iU#+k&f<6<&$s?<U'<9r==9
k=ON"k Xwindow =UH&'",,WG9#
v Java Runtime Environment (JRE) ,9GK$s9H<kQ_GJ1lPJj^;s#
jg:
!Nh&K7F"DB2 ;CH"CW&&#6<IrHQ7F DB2 *si$spsr$
s9H<k7^9#
1. root "Br}Df<6<H7F79F`Km0*s7^9#
2. !N3^sIr~O9k3HKhCF" CD-ROM ,^&sH5lF$kG#l/H
j<K\07^9#
cd /cdrom
33G"/cdrom O"CD-ROM N^&sH&]$sHr=7F$^9#
h 8 O DB2 5<P<N$s9H<k (UNIX)
85
3. ./db2setup 3^sIr~O7F" DB2 ;CH"CW&&#6<Ir+O7^9#
t,eK"IBM DB2 ;CH"CWNisAQCI,+-^9#
3N&#sI&G"$s9H<kN0sro*hSjj<9psr=(G-^97"
/$C/&D"<rBT7F DB2 Universal Database P<8gs 8 N!=rNk3
H,G-^9#^?"=N^^$s9H<krBTG-^9#eGIC5l?$s9
H<k0sro*hSjj<9psr2H9k3HbG-^9#
$s9H<kr+O7?Ji" DB2 ;CH"CW&&#6<IN$s9H<k&Q
MkK>CF"*rrTCF/@5$#DjN9FCWKD$Fb@7F$k$s9
H<k`nNXkWrxQG-^9#VXkW (Help)Wr/jC/9k+"F1 r!
7F"$s9H<k`nNXkWrFSP7^9#V-cs;k (Cancel)Wr/j
C/9lP"$DGb$s9H<kr*;G-^9# DB2 ;CH"CW&&#6<
INGeN$s9H<k&QMkGV0; (Finish)Wr/jC/9kH" DB2 U!
$kO4HQN79F`K3T<5l^9#
X"50:
v 11 Z<8NXDB2 5<P<N$s9H<kN5W (UNIX)Y
v 13 Z<8NXQ<F#7gs DB2 5<P<N$s9H<kN5W (UNIX)Y
v DB2 Universal Database Personal Edition 5b*hS$s9H<k NXDB2 Personal
Edition N$s9H<kN5W (Linux)Y
86
DB2 5<P<!= 5b*hS$s9H<k
h 4 t Q<F#7gs DB2 5<P<N$s9H<k
© Copyright IBM Corp. 1993-2002
87
88
DB2 5<P<!= 5b*hS$s9H<k
h 9 O Q<F#7gs DB2 5<P<N$s9H<k
(Windows)
Q<F#7gs DB2 5<P<N$s9H<k (Windows)
3NHTC/GO"Windows eGN"Q<F#7gs DB2 Enterprise Server Edition G
<?Y<9&5<P<N$s9H<kKD$FN9FCWr5b7^9#
0sro:
4HQN3sTe<?<,!NWoKg&3HrN'7F/@5$#
1. Q<F#7gs DB2 5<P<N$s9H<kWo
2. Q<F#7gs DB2 5<P<Nabj<Wo
3. Q<F#7gs DB2 5<P<NG#9/Wo
4. DB2 5<P<N$s9H<k*hS;CH"CWQNf<6<&"+&sH
\7/O"X"psr2H7F/@5$#
jg:
$s9H<kKh)CF"XQ<F#7gs DB2 5<P<N$s9H<kN5WYr
*I_KJkh&*+a7^9#
Q<F#7gs DB2 5<P<r$s9H<k9kKO"!Nh&K7^9#
1. Windows NT NlgO"Service Pack 6a Jer$s9H<k7^9# Windows
2000 Nlg" Windows ?<_Jk&5<P<rHQ9klgO Service Pack 2 J
er$s9H<k7^9#
2. Q<F#7gs DB2 ESE N$s9H<kN?aND-N`wrT$^9#
3. Windows 2000 ^?O Windows .NET eG$s9H<k7" Lightweight Directory
Access Protocol (LDAP) rHQ7F DB2 5<P<r"/F#V&G#l/Hj<K
P?9kDbjG"lP"G#l/Hj<&9-<^NH%rT&,W,"j^9#
4. $s9?s9j-G<?Y<9&Q<F#7gs&5<P<N$s9H<krT$^
9#
5. 2C3sTe<?<eGHQD=J]<HOON!:rT$^9#
6. ~zU!$krHQ7?"2C3sTe<?<eXNG<?Y<9&Q<F#7g
s&5<P<N$s9H<krT$^9#
7. *W7gs: G7N$5QC1<8N,QrT$^9#
© Copyright IBM Corp. 1993-2002
89
8. *W7gs : Q<F#7gs&G<?Y<9&5<P<N$s9H<kN!:rT
$^9#
9. *W7gs: DB2 *si$sqAN$s9H<krT$^9#
X"50:
v 7 Z<8NXQ<F#7gs DB2 5<P<N$s9H<kN5W (Windows)Y
X"?9/:
v 95 Z<8NXQ<F#7gs DB2 5<P<ND-N`w (Windows)Y
v 48 Z<8NXG#l/Hj<&9-<^ (Windows 2000 *hS Windows .NET) N
H%Y
v 98 Z<8NX$s9?s9j-G<?Y<9&Q<F#7gs&5<P<N$s9
H<k (Windows)Y
v 103 Z<8NX2C3sTe<?<eN]<HOONDQ-N!:Y
v 104 Z<8NX2C3sTe<?<eGNG<?Y<9&Q<F#7gs&5<P<
N$s9H<k (Windows)Y
v 54 Z<8NXG7NU#C/9QC/N,QY
v 108 Z<8NXQ<F#7gs&G<?Y<9&5<P<N$s9H<kN!:
(Windows)Y
v 55 Z<8NXDB2 *si$sqAN$s9H<k (Windows)Y
X"qA:
v 49 Z<8NXDB2 5<P<N$s9H<kK,WJf<6<&"+&sH
(Windows)Y
v 94 Z<8NXQ<F#7gs DB2 5<P<NG#9/Wo (Windows)Y
v 90 Z<8NXQ<F#7gs DB2 5<P<N$s9H<kWo (Windows)Y
v 93 Z<8NXQ<F#7gs DB2 5<P<Nabj<Wo (Windows)Y
Wo
Q<F#7gs DB2 5<P<N$s9H<kWo (Windows)
3NHTC/GO"Windows eNQ<F#7gs DB2 5<P<N$s9H<kWor
j9H7^9#
*Zl<F#s0&79F`Wo
DB2 Enterprise Server Edition O"!N*Zl<F#s0&79F`GT/7^
9#
v Windows NT P<8gs 4 Service Pack 6a J_ (32 SCH*hS 64 SC
H)
90
DB2 5<P<!= 5b*hS$s9H<k
v Windows 2000#Windows ?<_Jk&5<P<KO Service Pack 2 ,,W
G9#
v Windows .NET (32 SCH*hS 64 SCH)
O<I&'"Wo
32 SCH DB2 =JGO"Pentium ^?O Pentium _9 CPU ,,WG9#
64 SCH DB2 =JGO"Itanium ^?O Itanium _9 CPU ,,WG9#
=UH&'"Wo
v G<?Y<9NPC/"CWHj9H"K Tivoli Storage Manager !=rH
&lgKO" Tivoli Storage Manager Client P<8gs 4.2.0 J_,,WG
9# 64 SCHD-GBT9klgO" Tivoli Storage Manager Client P<
8gs 5.1 J_,,WKJj^9#
v 3sHm<k&;s?<Nh&J DB2 N Java Y<9ND<krBT9k
KO" Java Runtime Environment (JRE) P<8gs 1.3.1 ,,WKJj^
9# DB2 Java Y<9ND<kN$s9H<kr*r7?lg" DB2 ;C
H"CW&&#6<I, Java Runtime Environment (JRE) P<8gs 1.3.1
r$s9H<k7^9#
v DB2 ESE O"[9H\3N5]<Hrs!7^9#
v *si$s&XkWr=(9k?aKVi&6<,,WG9#
L.Wo
TCP/IP">0U-Q$W"NetBIOS"*hS MPTN (TCP/IP rp7? APPC)
rHQG-^9#P<8gs 8 N DB2 G<?Y<9rjb<H&GI}9k
?aKO" TCP/IP rHQ7F\39k,W,"j^9# DB2 P<8gs 8
5<P<O DB2 Connect 5<P<&5]<H!=rHQ7F""&HP&s
IN/i$"sH APPC WaN_5]<H7^9#$sP&sIN/i$"s
H APPC WaN5]<HO"j^;s#
v TCP/IP">0U-Q$W"*hS NetBIOS \3Nlg"IC=UH&'"
O,W"j^;s#
v DB2 Connect 5<P<&5]<H!=rp7? APPC (CPI-C) \3Nlg
O"!NL.=JN$:l+,,WG9#
h 9 O Q<F#7gs DB2 5<P<N$s9H<k (Windows)
91
= 8. 5]<H5lk SNA (APPC) =J
*Zl<F#s0&
79F`
SNA (APPC) L.=J
Windows NT
– IBM Communications Server P<8gs
6.1.1 J_
– IBM Q<=Jk&3_eK1<7gs
: for Windows P<8gs 5.0"CSD
3 U– Microsoft SNA Server P<8gs 3
Service Pack 3 J_
Windows 2000
– IBM Communications Server P<8gs
6.1.1 J_
– IBM Q<=Jk&3_eK1<7gs
: for Windows P<8gs 5.0"CSD
3 U– Microsoft SNA Server P<8gs 4
Service Pack 3 J_
Windows .NET
5]<H5lF$^;s#
v LDAP (Lightweight Directory Access Protocol) rH&lgKO" Microsoft
LDAP /i$"sH^?O IBM SecureWay LDAP /i$"sH V3.1.1 N
$:l+,,WKJj^9#
v 7sWk&MCHo</I}WmH3k (SNMP) 5V(<8'sHrH&l
gKO" IBM SystemView Agent ,s!9k DPI 2.0 ,,WG9# SNMP
O Windows 64 SCH&WiCHU)<`eN DB2 *U!js0GO5]
<H5l^;s#
Windows (64 SCH) M8v`
v m<+k 32 SCH&"Wj1<7gsO5]<H5l^;s#
v 32 SCH UDF *hS9H"<I&Wm7<8c<O5]<H5l^;
s#
v jb<H 32 SCH<LlYk&/i$"sH+iN SQL WaO5]<H
5l^;s#
v DB2 P<8gs 8 Windows 64 SCH&5<P<O"SQL WaN?a@1
K" DB2 P<8gs 6 *hSP<8gs 7"32 SCH&/i$"sH+
iN\3r5]<H7^9#P<8gs 7"64 SCH&/i$"sH+i
N\3O5]<H5l^;s#
92
DB2 5<P<!= 5b*hS$s9H<k
DB2 Administration Server (DAS) NWo
3sHm<k&;s?<*hS?9/&;s?<QNF*}^7sK" DAS
,57/0n9kh&Kn.5lJ1lPJj^;s#
Windows 2000 ?<_Jk&5<P<GN$s9H<kN)B
Windows 2000 ?<_Jk&5<P<&(G#7gseNjb<H&;C7g
srHCF"MCHo</K^CW5l?Ii$V+i DB2 P<8gs 8 r
$s9H<k9k3HOG-^;s#-zJ=wjJH7FO"FQ?>,'
(UNC) NQ9rHCF$s9H<kr)Ae2k+"3s=<k&;C7gs
+i$s9H<krBT7^9#
?H(P"serverA eNG#l/Hj< c:¥pathA¥pathB¥...¥pathN ,
serverdir H7F&-5lF$klgO" ¥¥serverA¥serverdir¥filename.ext
r+$F"5<P<eNU!$k c:¥pathA¥pathB¥...pathN¥filename.ext K
"/;97^9#
X"?9/:
v 89 Z<8NXQ<F#7gs DB2 5<P<N$s9H<k (Windows)Y
Q<F#7gs DB2 5<P<Nabj<Wo (Windows)
DB2 GO/J/Hb 256 MB N RAM ,,WG9#ICabj<,,WJlgb"j
^9#Q<F#7gs&G<?Y<9D-GO"=l>lNG<?Y<9&Q<F#7
gs&5<P<K,WJabj<NLO"4HQN=.KhCF+Jj8&5l^9#
abj<Wor=L9k]KO"!NvAKmU7F/@5$#
v 4HQN79F`G DB2 J0N=UH&'"rBT9k?aK"ICabj<,,
WHJk+b7l^;s#
v G<?Y<9&/i$"sHr5]<H9k?aKO"ICabj<,,WG9#
v CjNQU)<^s9Wo,",WJabj<NLrhj9k3H,"j^9#
v abj<WoO"4HQNG<?Y<9&79F`N5$:*hS#(5KhCF8
&5l^9#
v abj<WoO"G<?Y<9&"/F#SF#<N(/9FsH"*hS4HQN
79F`K"/;99k/i$"sHNtKhCF8&5l^9#
v Q<F#7gsD-Nabj<WoO"79F`_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5b*hS$s9H<k
Q<F#7gs DB2 5<P<ND-N`w (Windows)
3NHTC/GO"DB2 Enterprise Server Edition NQ<F#7gs&$s9H<kN?
aN Windows D-r`w9k?aK,WJ9FCWrb@7^9#
mU@:
=l>lN2C3sTe<?<KO"18*Zl<F#s0&79F`,,WG9#?
H(P"Q<F#7gs&G<?Y<9&79F`K" Windows NT *hS Windows
2000 N>}N*Zl<F#s0&79F`rH_~`3HOG-^;s#
jg:
!Nh&K7F"$s9H<kN?aK Windows D-r`w7^9#
1. 2C3sTe<?<*hS2C3sTe<?<,18 Windows Ia$sK07F$
k3HrN'7^9#
Windows NT
V3sHm<k QMkW+i"/;9G-kVMCHo</W@$"m0
rHQ7F"3sTe<?<,09kIa$sr4Yk3H,G-^9#
Windows 2000 ^?O Windows .NET
V3sHm<k QMkW+i"/;9G-kV79F` WmQF#W@$
"m0rHQ7F"3sTe<?<,09kIa$sr4Yk3H,G-^
9#
2. p\3sTe<?<H2C3sTe<?<N~oH|UN_j,0g7F$k3Hr
N'7F/@5$#0g7F$kH+J9?aKO"9YFN3sTe<?<N
GMT (0jKC88`~) ~oN9, 1 ~VJbGJ1lPJj^;s#
79F`|UH~oO"V3sHm<k QMkW+i"/;9G-kV|UH~
oW@$"m0rHQ7FQ99k3H,G-^9# max_time_diff =.Qia<
?<rH(P"3N)BrQ99k3H,D=G9#3NGU)kHO
max_time_diff = 60 KJCF*j"3NlgKvF5lk9O 60 ,$~G9#
3. 9YFN2C3sTe<?<, TCP/IP rHQ7Fj_KL.G-k3HrN'7^
9#
a. 1 DN2C3sTe<?<eG hostname 3^sIr~O7^9#3N3^s
IO=N3sTe<?<N[9H>ra7^9#
b. LN2C3sTe<?<G"!N3^sIr~O7^9#
ping hostname
hostname O"p\3sTe<?<N[9H>r=7^9#F9H,.y7?lg
O"!Nh&JPOru1hj^9#
h 9 O Q<F#7gs DB2 5<P<N$s9H<k (Windows)
95
Pinging ServerA.ibm.com [9.21.27.230] with 32 bytes of data:
Reply from 9.21.27.230: bytes=32 time<10ms TTL=128
Reply from 9.21.27.230: bytes=32 time<10ms TTL=128
Reply from 9.21.27.230: bytes=32 time<10ms TTL=128
9YFN2C3sTe<?<, TCP/IP rp7Fj_KL.G-k3HrN'G
-k^G"JeN9FCWr+jV7^9#=l>lN3sTe<?<KE* IP
"Il9,J1lPJj^;s#
#tNMCHo</&"@W?<rHQ9k=jG"lP"G<?Y<9&Q<
F#7gs&5<P<Nj_L.KHQ9k"@W?<rXj9k3H,G-^
9#$s9H<k0;eK"db2nchg 3^sIrHQ7F" db2nodes.cfg U
!$kN netname U#<kIrXj7^9#
4. $s9H<kfK"m<+k^?OIa$s&f<6<&"+&sHr~O9kh&
KX(5l^9#3Nf<6<&"+&sHO"DB2 Administration Server (DAS)
,79F`Km0*s7?j" DB2 Administration Server r5<S9H7F+O7
?j9kH-KHol^9#33Gf<6<rjA9k3HbG-^97" DB2 ;
CH"CW&&#6<IKn.5;k3HbG-^9# DB2 ;CH"CW&&#6
<IK7,Ia$s&f<6<rn.5;?$lgKO"$s9H<krBT9k?
aKHQ9k"+&sH,"Ia$s&f<6<rn.9k"Br}CF$k,W,
"j^9#
5. p\3sTe<?<G"$s9?s9j-NG<?Y<9&Q<F#7gs&5<P
<r$s9H<k9klgKO"m<+kI}T 0k<WK09kIa$s&f<
6<&"+&sH,,WG9#18f<6<&"+&sHO"=l>lN2C3sT
e<?<eNm<+kI}T 0k<WKbIC9k,W,"j^9#3Nf<6<
KO"V*Zl<F#s0 79F`NltH7F!=9kW H$&f<6<"Bb
_j9k,W,"j^9# DB2 N$s9H<k~KO"3Nf<6<H7Fm0*
s7^9#
6. DB2 rF2C3sTe<?<eN18Ii$VK$s9H<k9kh&K7F/@
5$#?H(P DB2 r"$s9?s9j-G<?Y<9&5<P<KO c: Ii$
VK""kG<?Y<9&Q<F#7gs&5<P<KO d: Ii$VK"=7FL
NG<?Y<9&Q<F#7gs&5<P<KO j: Ii$VK$s9H<k9kh
&J3HO7J$G/@5$#$s9?s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,G-^9#
runas /user:MyDomain¥Administrator x:¥db2¥Windows¥utilities¥db2schex.exe
x: O CD-ROM Ii$V>G9#
db2schex.exe N0;eO=N^^$s9H<kr3TG-^9#
h 9 O Q<F#7gs DB2 5<P<N$s9H<k (Windows)
97
X"qA:
v 44 Z<8NXDB2 5<P<N$s9H<kWo (Windows)Y
$s9?s9j-G<?Y<9&Q<F#7gs&5<P<N$s9H<k
(Windows)
3N?9/GO"DB2 ;CH"CW&&#6<IrHQ7F"p\3sTe<?<eK
$s9?s9j-NG<?Y<9&Q<F#7gs&5<P<r$s9H<k9k}!
rb@7^9#
0sro:
$s9?s9j-NG<?Y<9&Q<F#7gs&5<P<r$s9H<k9k0
K"J<NvArTCF*-^9#
v 4HQN79F`,$s9H<k"abj<"*hSG#9/NFWoKg&3Hr
N'7^9#
v Windows 2000 ^?O Windows .NET G LDAP rHQ7F DB2 5<P<r"/F
#V&G#l/Hj<KP?9klgKO"$s9H<k0K"G#l/Hj<&9
-<^rH%9k,W,"j^9#
v $s9H<krBT9k?aKd)5lkf<6<"Br}D"m<+kI}T f
<6<&"+&sHr}CF$k,W,"j^9#
v $s9?s9n.~K"$s9?s9,5]<HD=J@}N<INtKy7$tN
]<H, /etc/services K=s5l^9#3liN]<HOb.3_eK1<7g
s&^M<8c<KhCFHQ5l^9#=s5l?]<HO!NA0KJj^9#
DB2_InstanceName
DB2_InstanceName_1
DB2_InstanceName_2
DB2_InstanceName_END
,\N(sHj<O"+O (DB2_InstanceName) *hS*;
(DB2_InstanceName_END) N]<HN_G9#>N(sHj<O">N"Wj1<7
gs,=liN]<HrHQ7J$h&K5<S9&U!$kK=s5l^9#
jg:
!Nh&K7F"$s9?s9j-NG<?Y<9&Q<F#7gs&5<P<r$s
9H<k7^9#
1. $s9H<krBT9k?aKHQ9kIa$s&f<6<&"+&sHG"79F
`Km0*s7^9#3lO"=l>lN3sTe<?<eNm<+kI}T 0k
<WKIC7?"Ia$s&f<6<&"+&sHG9#
2. 9YFNWm0i`r/m<:7F",WG"lP$s9H<k&Wm0i`,U!
$kr97G-kh&K7^9#
98
DB2 5<P<!= 5b*hS$s9H<k
3. CD-ROM rIi$VK^~7^9#+0BT!=rHQD=K7F$klgKO"
=l, DB2 ;CH"CW&isAQCIr+0*K+O7^9#
3N&#sI&G"$s9H<kN0sro*hSjj<9psr=(G-^97"
DB2 /$C/&D"<rBT7F DB2 Universal Database P<8gs 8 NU#<
Ac<rNk3H,G-^9#^?"=N^^$s9H<krBTG-^9#eGI
C5l?$s9H<k0sro*hSjj<9psr2H9k3HbG-^9#V=
JN$s9H<k (Install Products)Wr*r7F" DB2 =JN$s9H<kr*
r7^9#
4. DB2 ;CH"CW&&#6<IO"79F`@lr=L7F+i"=N@lQN;
CH"CW&Wm0i`r)Ae2^9#;CH"CW&Wm0i`rLN@lGB
T7?$lgd";CH"CW&Wm0i`,+0O0K:T7?lgKO" DB2
;CH"CW&&#6<IrHQ7Fj0G+O9k3H,G-^9#
!Nh&K7F"DB2 ;CH"CW&&#6<Irj0G+O7^9#
a. V9?<HWr/jC/7"VU!$k>rXj7FBTW*W7gsr*r7
^9#
b. V+/WU#<kIG"!N3^sIr~O7^9#
x:¥setup /i language
FWGNU#OJ<NH*jG9#
v x: OHQ9k CD-ROM Ii$Vr=7^9#
v language O"4HQN@lNOh ID G9 (?H(PQlO EN)#
h 9 O Q<F#7gs DB2 5<P<N$s9H<k (Windows)
99
/i Ui0,Xj5lF$J$lgKO"$s9H<k&Wm0i`O*Zl<F
#s0&79F`NGU)kHN@lGBT5l^9#
c. VOKWr/jC/7^9#
5. isAQCINpsr2H7*(?JiP"$s9H<krJa^9#J<K"DB2
;CH"CW&&#6<IN$s9H<k&QMk"*hSp\3sTe<?<eK
$s9?s9j-NG<?Y<9&Q<F#7gs&5<P<r,5K$s9H<k
9k?aKT&,WN"k*rKD$Fb@7^9#
3N^7sNHQ}!N*r (Select how this computer will be used)
V3N^7sNHQ}!N*r (Select how this computer will be used)WQ
MkG"VQ<F#7gs&G<?Y<9D- (Partitioned database
environment)Wi8*&\?sHV$s9?s9j-G<?Y<9&Q<
F#7gs&5<P< (Instance-owning database partition server)Wi
8*&\?sr*r7F/@5$#
I}"mhj9HN;CH"CW (Set up the administration contact list)
VI}"mhj9HN;CH"CW (Set up the administration contact
list)WQMkG"Vm<+k (Local)Wr*r7^9#3N*rO"4HQ
N79F`N"mhpsr]I9k?a"p\3sTe<?<eNU!$k
rn.7^9#
"mhpsO"DB2 ,79F`I}TK"LN*hS"i<Hrw.9k
?aKHQ7^9#LNO8gV,0;7?3HrNi;^9#"i<H
O"79F`7-$M,c?5l?3HrNi;^9#;CH"CW0;e
K"LNQia<?<*hS"i<H&Qia<?<rXj9k3H,G^9#
100
DB2 5<P<!= 5b*hS$s9H<k
2C3sTe<?<O"3N3sTe<?<eN"mhj9HKjb<H&
G"/;97^9#
DB2 $s9?s9j-TNf<6<psN_j (Set user information for the
DB2 instance)
VDB2 $s9?s9j-TNf<6<psN_j (Set user information for
the DB2 instance)WQMkG" DB2 $s9?s9NIa$sH"3sTe
<?<eK}D3HNG-kG<?Y<9&Q<F#7gsNGgtrXj
9k3H,G-^9#
Q<F#7gs&G<?Y<9,V+lkIa$sr"ImCW@&s&\
C/9+i*r7^9#VIa$s (Domain)WU#<kIKIa$s&M
<`r~O7FIa$s&M<`rXj9k3HbG-^9#
3sTe<?<"?jNGU)kHNGg@}hhtO 4 G9#3sTe
<?<KG<?Y<9&Q<F#7gs&5<P<, 1 D"klgKO"
]<HO 1 D@1,WG9#GU)kHMN 4 r]}9klgKO" 4
DN]<H,G<?Y<9&Q<F#7gs&5<P<L.N?aK=s5
l^9#2C3sTe<?<KG<?Y<9&Q<F#7gs&5<P<r
$s9H<k9k]K" DB2 O1lN]<HVfN=srnT7^9#
h 9 O Q<F#7gs DB2 5<P<N$s9H<k (Windows)
101
DjN9FCWKD$Fb@7F$k*si$s&XkWrxQG-^9#*si$
s&XkWrFSP9KO"VXkW (Help)Wr/jC/9k+"^?O F1 r!
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7J1lPJj
^;s#3N"+&sHrHQ7F"$s9H<krBT7^9#
jg:
!Nh&K7F"DB2 ;CH"CW&&#6<Ir+O7^9#
1. $s9H<krBT9k?aKHQ9kIa$s&f<6<&"+&sHG"79F
`Km0*s7^9#3lO"=l>lN3sTe<?<eNm<+kI}T 0k
<WKIC7?"Ia$s&f<6<&"+&sHG9#
2. 9YFNWm0i`r/m<:7F",WG"lP$s9H<k&Wm0i`,U!
$kr97G-kh&K7^9#
104
DB2 5<P<!= 5b*hS$s9H<k
3. CD-ROM rIi$VK^~7^9#+0BT!=rHQD=K7F$klgKO"
=l, DB2 ;CH"CW&isAQCIr+0*K+O7^9#
3N&#sI&G"$s9H<kN0sro*hSjj<9psr2HG-^97"
DB2 /$C/&D"<rBT7F DB2 Universal Database P<8gs 8 NU#<
Ac<rNk3H,G-^9#^?"=N^^$s9H<krBTG-^9#eGI
C5l?$s9H<k0sro*hSjj<9psr2H9k3H,G-^9#V=
JN$s9H<k (Install Products)Wr*r7F" DB2 =JN$s9H<kr*
r7^9#
4. DB2 ;CH"CW&&#6<IO"79F`@lr=L7F+i"=N@lQN;
CH"CW&Wm0i`r)Ae2^9#;CH"CW&Wm0i`rLN@lGB
T7?$lgd";CH"CW&Wm0i`,+0O0K:T7?lgKO" DB2
;CH"CW&&#6<IrHQ7Fj0GO09k3H,G-^9# DB2 ;CH
"CW&&#6<Ir+O9k?aN=8O"3NjgNGeK-R5lF$^9#
5. !Nj9HO"CjN DB2 ;CH"CW&&#6<IN$s9H<k&QMk"*
hS2C3sTe<?<eKG<?Y<9&Q<F#7gs&5<P<r,5K$s
9H<k9k?aKT&,WN"k*rKD$FNpsrs!7F$^9#
3N^7sNHQ}!N*r (Select how this computer will be used)
V3N^7sNHQ}!N*r (Select how this computer will be used)WQ
MkG"VQ<F#7gs&G<?Y<9D- (Partitioned database
environment)Wi8*&\?sHV7,G<?Y<9&Q<F#7gs&
5<P< (New database partition server)Wi8*&\?sr*r7F/
h 9 O Q<F#7gs DB2 5<P<N$s9H<k (Windows)
105
@5$#
I}"mhj9HN;CH"CW (Set up the administration contact list)
VI}"mhj9HN;CH"CW (Set up the administration contact
list)WQMkG"Vjb<H (Remote)Wr*r7^9#$s9?s9jG<?Y<9&Q<F#7gs&5<P<r$s9H<k7?p\3sTe
<?<N[9H>rXj7""mhj9Hr;CH"CW7^9#
7,G<?Y<9&Q<F#7gs&5<P<NIC (Add a new database
partition server)
V7,G<?Y<9&Q<F#7gs&5<P<NIC (Add a new
database partition server)WQMkG"!N3HrT$^9#
v $s9?s9j-G<?Y<9&Q<F#7gs&5<P<r$s9H
<k7?p\3sTe<?< ($s9?s9j-3sTe<?<) N[9
H>rXj7^9#
v ImCW@&s&\C/9G"$s9?s9j-NG<?Y<9&Q<
F#7gs&5<P<N$s9H<k~Kn.7?$s9?s9N>0
r*r7^9#GU)kHN$s9?s9>O DB2 G9#
106
DB2 5<P<!= 5b*hS$s9H<k
v Q<F#7gsVfKO"1A999 NG-MrXj7^9#3l,$s9
H<k9k7,G<?Y<9&Q<F#7gs&5<P<NGiNbN
G"lP" 1 NMr~lk3Hr*+a7^9#!NG<?Y<9&Q
<F#7gs&5<P<KD$FO"2 r~O9k"H$C?qgK3
1^9#$s9?s9j-NQ<F#7gs&5<P<KO,:"0 ,
djvFil^9#MO:gGJ1lPJj^;s,"trHP7F.
cCWr~lFb+^$^;s#
DjN9FCWKD$Fb@7F$k*si$s&XkWrxQG-^9#*si$
s&XkWrFSP9KO"VXkW (Help)Wr/jC/9k+"^?O F1 r!
7^9#V-cs;k (Cancel)Wr/jC/9lP"$DGb$s9H<kr*;
G-^9# DB2 ;CH"CW&&#6<INGeN$s9H<k&QMkGV0;
(Finish)Wr/jC/9kH" DB2 U!$kO4HQN79F`K3T<5l^
9#
$s9H<k~K!P5lk(i<N\YKD$FO" db2.log U!$kr2H7F/
@5$# db2.log U!$kO"$s9H<k&"/F#SF#<*hS"s$s9H<
k&"/F#SF#<+i88?lLpsH(i<&aC;<8r]I7F$^9#G
U)kHGO"db2.log U!$kO" V^$ I-easHWN ¥DB2LOG¥ G#l/H
j<K"j^9# V^$ I-easHW G#l/Hj<Nm1<7gsO"4HQN
3sTe<?<N_jKhCF[Jj^9#
!Nh&K7F"DB2 ;CH"CW&&#6<Irj0G+O7^9#
1. V9?<HWr/jC/7"VU!$k>rXj7FBTW*W7gsr*r7^
9#
2. V+/WU#<kIG"!N3^sIr~O7^9#
x:¥setup /i language
FWGNU#OJ<NH*jG9#
v x: OHQ9k CD-ROM Ii$Vr=7^9#
h 9 O Q<F#7gs DB2 5<P<N$s9H<k (Windows)
107
v language O"4HQN@lNOh ID G9 (?H(PQlO EN)#
3. VOKWr/jC/7^9#
G7NU#C/9QC/N,Q
G7NU#C/9QC/N,Q O"hjg-J?9/G"k DB2 =JN$s9H<k
NltH7FN*W7gsG9#
DB2 U#C/9QC/O"IBM GNF9HN]K!P5l?P0KP9kU#C/9
(Wm0i`GGMjq (APAR)) H"\R+isp5l?P0NU#C/9+i.j^
9#INU#C/9QC/Kb"P0&U#C/9NbFrb@7? APARLIST.TXT
H$&=jNqA,:U5lF$^9#
U#C/9QC/O_Q5l^9#=NU#O""k$UNP<8gsN DB2 NG7
NU#C/9QC/KO"18P<8gsN DB2 N=l^GNU#C/9QC/r9
77?bF,9YF~CF$kH$&3HG9# DB2 NBTD-rG7NU#C/9
QC/&lYkK]CF"`nGdj,88J$h&K9k3Hr*+a7^9#
Q<F#7gs ESE 79F`KU#C/9QC/r$s9H<k9kH-O"79F
`r*Ui$sK7F"9YFN2C3sTe<?<K18U#C/9QC/r$s9
H<k9k,W,"j^9#
0sro:
FU#C/9QC/KO=l>lG-N0sro,"j^9#\YO"U#C/9QC
/KU07F$k FixPak README r2H7F/@5$#
jg:
1. G7N DB2 U#C/9QC/O"
http://www.ibm.com/software/data/db2/udb/winos2unix/support K"k IBM DB2 UDB
and DB2 Connect *si$s&5]<H+i@&sm<I7F/@5$#
2. FU#C/9QC/KO"jj<9&N<HH README ,~CF$^9#
README KO"U#C/9QC/N$s9H<k}!Nrb,RYilF$^9#
Q<F#7gs&G<?Y<9&5<P<N$s9H<kN!: (Windows)
DB2 5<P<N$s9H<k,.y7?+r!:9k?aKO"5sWk&G<?Y<
9rn.7"SQL 3^sIrBT7F5sWk&G<?r!w7"G<?,9YFN2
CG<?Y<9&Q<F#7gs&5<P<K,65lk+rN'7^9#
0sro:
9YFN$s9H<k&9FCWr0;7F$k3H#
108
DB2 5<P<!= 5b*hS$s9H<k
jg:
!Nh&K7F"SAMPLE G<?Y<9rn.7^9#
1. p\3sTe<?< (ServerA) K"SYSADM "Br}Df<6<H7Fm0*s7
^9#
2. db2sampl 3^sIr~O7F" SAMPLE G<?Y<9rn.7^9#
3N3^sIO"h}Kt,++k3H,"j^9#0;aC;<8O"j^;s#
3^sI&WmsWH,akH"Wm;9O0;G9#
SAMPLE G<?Y<9,n.5lkH"+0*KG<?Y<9L> SAMPLE H7F+
?m05l^9#
3. db2start 3^sIr~O7F"G<?Y<9&^M<8c<r+O7^9#
4. !N DB2 3^sIr DB2 3^sI&&#sI&+i~O7F" SAMPLE G<?Y
<9K\37"tg 20 GnH7F$k9YFN>HwNj9Hr!w7^9#
db2 connect to sample
db2 "select * from staff where dept = 20"
5. 9YFNG<?Y<9&Q<F#7gs&5<P<KG<?,,65l?3HrN'
9k?a" DB2 3^sI&&#sI&+i!N3^sIr~O7^9#
select distinct dbpartitionnum(empno) from employee;
POGO employee =KhCFHQ5lkG<?Y<9&Q<F#7gsrj9H7
^9#G<?Y<9bNQ<F#7gsNtH" employee =,n.5l?=9Z<
9KhCFHQ5lkQ<F#7gs&0k<WbNQ<F#7gsNtKhCF"
=l>lNPOO[Jj^9#
$s9H<kr!:7*oC?i" SAMPLE G<?Y<9r|n7FG#9/&9Z<
9ru1k3H,G-^9# SAMPLE G<?Y<9rImCW9kKO" db2 drop
database sample 3^sIr~O7^9#
DB2 *si$sqAN$s9H<k (Windows)
3N?9/GO"Windows eG DB2 ;CH"CW&&#6<Ir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^?O MPTN (TCP/IP rp7? APPC) rHQ9k3H,G
-^9#P<8gs 8 N DB2 G<?Y<9rjb<H&GI}9k?aK
O" TCP/IP rHQ7F\39k,W,"j^9# DB2 P<8gs 8 5<P
<O DB2 Connect 5<P<&5]<H!=rHQ7F""&HP&sIN/
i$"sH APPC WaN_5]<H7^9#$sP&sIN/i$"sH
APPC WaN5]<HO"j^;s#
v TCP/IP \3Nlg"IC=UH&'"O,W"j^;s#
v DB2 Connect 5<P<&5]<H!=rp7? APPC (CPI-C) \3Nlg
O"!NL.=JN$:l+,,WG9#
– IBM eNetwork Communications Server for AIX V5.0.3
h 10 O Q<F#7gs DB2 5<P<N$s9H<k (UNIX)
115
– Bull DPX/20 SNA/20
v LDAP (Lightweight Directory Access Protocol) 5]<HrHQ9kKO"
IBM SecureWay Directory Client V3.1.1 ,,WG9#
v 7sWk&MCHo</I}WmH3k (SNMP) 5V(<8'sHrH&l
gKO" IBM SystemView Agent ,s!9k DPI 2.0 ,,WG9#
DB2 Administration Server (DAS) NWo
J<NWor~?9,W,"j^9#
v 3sHm<k&;s?<*hS?9/&;s?<QNF*}^7sK"
DAS ,57/0n9kh&Kn.5lJ1lPJj^;s#
v F DAS O ($s9?s9H18) f<6< ID NbHGn.5lJ1lP
Jj^;s#
v 9YFN*}^7sG18f<6< ID rHQ9klgO"=Nf<6<
ID N[<`&G#l/Hj<O>N^7sH&- (/m9&^&sH) G^;s#
v DAS 4HK[Jkf<6< ID rHQ9klgO"HQ5lkf<6< ID
N[<`&G#l/Hj<r&- (/m9&^&sH) G-^9#
v DAS ,F^7seKn.5lF$lP"!N$:lGb+^$^;s#
– DAS 4HK[Jkf<6< ID rHQ9k#^?O
– 18f<6< ID rHQ7"=Nf<6< ID N[<`&G#l/Hj<
r&-7J$#
NFS eXN DB2 =JN$s9H<k^?O$s9?s9&G#l/Hj<N&=~@GO NFS eXN DB2 =JN$s9H<kO5]<H5lF$^;
s# NFS eK DB2 r$s9H<k9k (?H(P NFS K
/usr/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?Y<9&79F`K2C9k9YFNo</9F<7gs
G" TCP/IP MCHo</&Qia<?<r!Nh&JMK_j7^9#
thewall
sb_max
rfc1323
tcp_sendspace
tcp_recvspace
118
=
=
=
=
=
65536
1310720
1
221184
221184
DB2 5<P<!= 5b*hS$s9H<k
udp_sendspace
udp_recvspace
ipqmaxlen
somaxconn
=
=
=
=
65536
65536
250
1024
MCHo</X"NQia<?<N=T_jMr9YFj9H=(9kKO"!N3
^sIr~O7^9#
no -a | more
Qia<?<r_j9kKO"!Nh&J3^sIr~O7^9#
no -o parameter_name =value
FWGNU#OJ<NH*jG9#
v parameter_name O"_j7?$Qia<?<r=7^9#
v value O"3NQia<?<K_j7?$Mr=7^9#
?H(P" tcp_sendspace Qia<?<r 221184 K_j9kKO"!Nh&J3
^sIr~O7^9#
no -o tcp_sendspace=221184
e-NMO"3liNQia<?<NG.MG9#MCHo</X"Qia<?<,
9GKbCHb$MK_j5lF$klgKO"=lrQ97J$G/@5$#
4. b.j_\3rH&lgO" css0 N spoolsize H rpoolsize r!Nh&JMK_j9
k,W,"j^9#
spoolsize
rpoolsize
16777216
16777216
3liNQia<?<N=T_jMrj9H=(9kKO"!N3^sIr~O7^
9#
lsattr -l css0 -E
3liNQia<?<r_j9kKO"!N3^sIr~O7^9#
/usr/lpp/ssp/css/chgcss -l css0 -a spoolsize=16777216
/usr/lpp/ssp/css/chgcss -l css0 -a rpoolsize=16777216
79F`r409k?aK /tftpboot/tuning.cst U!$krHQ7J$lg"$s
9H<keK /opt/lpp/db2_08_01/misc/rc.local.sample 5sWk&9/jWH&
U!$krHCF"MCHo</X"Qia<?<r979k3H,G-^9#$s
9H<keK5sWk&9/jWH&U!$krHCFMCHo</X"Qia<?
<r979kKO"!N9FCWGT$^9#
a. !Nh&J3^sIr~O7F"3N9/jWH&U!$kr /etc G#l/H
j<K3T<7" root KhCF=lrBTD=K7^9#
h 10 O Q<F#7gs DB2 5<P<N$s9H<k (UNIX)
119
cp /opt/lpp/db2_08_01/misc/rc.local.sample /etc/rc.local
chown root:sys /etc/rc.local
chmod 744 /etc/rc.local
b. /etc/rc.local U!$kr4YF",WG"lP"977^9#
c. ^7s,jV<H5lkH-K,: /etc/rc.local 9/jWH,BT5lkh&
K" /etc/inittab U!$kK(sHj<rIC7^9# mkitab 3^sIrH
Q7F" /etc/inittab U!$kK(sHj<rIC9k3H,G-^9#3N
`\rIC9kKO"!Nh&J3^sIr~O7^9#
mkitab "rclocal:2:wait:/etc/rc.local > /dev/console 2>&1"
d. !Nh&J3^sIr~O7F" /etc/rc.nfs `\K,: /etc/inittab U!$
k,~kh&K7^9#
lsitab rcnfs
e. !Nh&J3^sIr~O7F"^7srjV<H7J$GMCHo</&Qi
a<?<r977^9#
/etc/rc.local
5. B2 ESE NQ<F#7gs&$s9H<krBT9kNK=,JZ<8&9Z<9,
"k3HrN'7F/@5$#=,JZ<8&9Z<9,J$lg">[abj<r
Gb?/HQ9kWm;9 (DB2 Wm;9N&AN 1 D,D=-,b$) ,"*Z
l<F#s0&79F`KhCF/)*;5l^9#HQD=JZ<8&9Z<9r
A'C/9kKO"!Nh&J3^sIr~O7^9#
lsps -a
3N3^sIO"!Nh&JPOra7^9#
Page Space Physical Volume Volume Group Size
paging00
hdisk1
rootvg
60MB
hd6
hdisk0
rootvg
60MB
hd6
hdisk2
rootvg
64MB
%Used
19
21
21
Active
yes
yes
yes
Auto
yes
yes
yes
Type
lv
lv
lv
HQD=JZ<8&9Z<9r"3sTe<?<K$s9H<k5lF$k*}ab
j<N 2 \NFLK9k3Hr*+a7^9#
6. .5$5$:"k$OfV5$:^GNQ<F#7gs&G<?Y<9&79F`r
n.9kH-O"$s9?s9j-TN3sTe<?<eNMCHo</&U!$
k&79F`&G<bs (NFSD) Ntr"[\J<NMK9k,W,"j^9#
# of biod on a computer * # of computers in the instance
3sTe<?<4HK 10 DN biod Wm;9rBT9kh&*+a7^9# 4 D
N3sTe<?<&79F`K 10 DN biod Wm;9,"klg"3N0K>(P
40 DN NFSD rHQ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q_G"k3H
,,WG9#
jg:
!Nh&J9FCWrTCF"DB2 [<`&U!$k&79F`rn."NFS (/9
]<H"*hS NFS ^&sH7^9#
DB2 [<`&U!$k&79F`Nn.
4HQNQ<F#7gs&G<?Y<9&79F`Np\3sTe<?<
(ServerA) K" root "Br}Df<6<H7Fm0*s7"4HQNQ<F#
7gs&G<?Y<9&79F`N?aK /db2home H$&[<`&U!$
k&79F`rn.7^9#
1. smit jfs 3^sIr~O7^9#
2. V8c<Jk&U!$k&79F`NIC (Add a Journaled File
System)W"$3sr/jC/7^9#
3. V8`8c<Jk&U!$k&79F`NIC (Add a Standard
Journaled File System)W"$3sr/jC/7^9#
4. =NU!$k&79F`r*}*Kos5;k{8N\je<`&0k<W
r"V\je<`&0k<W> (Volume Group Name)Wj9H+i*r
7^9#
5. VU!$k&79F`N5$: (512 P$H&VmC/1L) (t) (SIZE of
file system (in 512-byte blocks) (Num.))W U#<kIr 180,000 (s
90 MB) K_j7^9#
6. 3NU!$k&79F`N^&sH&]$sHrV^&sH&]$sH
(MOUNT POINT)WU#<kIK~O7^9#3NcGO"^&sH&]$
sHO /db2home G9#
7. V79F`NFO0~K+0^&sH (Mount AUTOMATICALLY at
system restart)WU#<kIrVO$ (Yes)WK_j7^9#
DjNU#<kIO"GU)kH_jN^^K7Fb+^$^;s#
8. VOKWr/jC/7^9#
DB2 [<`&U!$k&79F`N(/9]<H
1. /db2home U!$k&79F`r NFS (/9]<H7"Q<F#7gs&
G<?Y<9&79F`NlwHJk9YFN3sTe<?<G"3NU!
$krH(kh&K7^9#
a. smit nfs 3^sIr~O7^9#
b. VMCHo</&U!$k&79F` (NFS) (Network File System
(NFS))W"$3sr/jC/7^9#
c. V(/9]<H&j9HXNG#l/Hj<NIC (Add a Directory
to Exports List)W"$3sr/jC/7^9#
122
DB2 5<P<!= 5b*hS$s9H<k
d. Q9>H(/9]<H9kG#l/Hj< (?H(P /db2home) r"
V(/9]<H9kG#l/Hj<NQ9> (PATHNAME of
directory to export)WU#<kIK~O7^9#
e. Q<F#7gs&G<?Y<9&79F`NlwHJkFo</9F<
7gsN>0r"Vroot "/;9G-k[9H (HOSTS allowed root
access)WU#<kIK~O7^9#F>0NVNhZj8zH7F3
s^ (,) rHQ7^9#?H(P ServerA, ServerB, ServerC Nh&K
7^9#b.j_\3rHQ9klg"Fo</9F<7gsQNb.
j_\3>b3NU#<kIKXj9k3Hr*+a7^9#DjNU
#<kIO"GU)kH_jN^^K7Fb+^$^;s#
f. VOKWr/jC/7^9#
2. m0"&H7^9#
=l>lN2C3sTe<?<+iN DB2 [<`&U!$k&79F`N^&sH
!Nh&J9FCWrTCF"F 2C3sTe<?< (ServerB"
ServerC"ServerD) Km0*s7"(/9]<H7?U!$k&79F`r
NFS ^&sH7^9#
1. smit nfs 3^sIr~O7^9#
2. VMCHo</&U!$k&79F` (NFS) (Network File System
(NFS))W"$3sr/jC/7^9#
3. V^&sHQNU!$k&79F`NIC (Add a File System for
Mounting)W"$3sr/jC/7^9#
4. ^&sH&]$sHNQ9>rV^&sH&]$sHNQ9> (Q9)
(PATHNAME of the mount point (Path))WU#<kIK~O7^9#
^&sH&]$sHNQ9>O"DB2 [<`&G#l/Hj<rn.9k
ljKJj^9#3NcGO"/db2home rHQ7^9#
5. jb<H&G#l/Hj<NQ9>rVjb<H&G#l/Hj<NQ9
> (PATHNAME of the remote directory)WU#<kIK~O7^9#
?H(P"V^&sH&]$sHNQ9> (Q9) (PATHNAME of the
mount point (Path))WU#<kIK~O7?NH18Mr~O7F/@
5$#
6. U!$kr(/9]<H7?^7sN[9H> r"Vjb<H&G#l/
Hj<,V+lk[9H (HOST where the remote directory
resides)WU#<kIK~O7^9#
3lO"^&sH7h&H7F$kU!$k&79F`,n.5l?^7
sN[9H>G9#
QU)<^s9r~e9kKO"n.7?U!$k&79F`rb.j_
\3rp7F^&sH9kHh$+b7l^;s#b.j_\3rp7F
=NU!$k&79F`r^&sH7?$lg"=N>0rVjb<H&
h 10 O Q<F#7gs DB2 5<P<N$s9H<k (UNIX)
123
G#l/Hj<,V+lk[9H (HOST where the remote directory
resides)WU#<kIK~O7^9#
Jsi+N}3Gb.j_\3,H(J/JC?lg"Q<F#7gs&
G<?Y<9&79F`K2C7F$k9YFNo</9F<7gs,"
=N DB2 [<`&G#l/Hj<K"/;9G-J/Jk3HKmU7
F/@5$#
7. V?@AK^&sH"`\r /etc/filesystems KIC"^?O3N>}
(MOUNT now, add entry to /etc/filesystems or both?)WU#<kIr
V>} (both)WK_j7^9#
8. V/etc/filesystems `\O79F`NFO0~KG#l/Hj<r^&s
H (/etc/filesystems entry will mount the directory on system
RESTART)WU#<kIrVO$ (yes)WK_j7^9#
9. V3N NFS U!$k&79F`Nb<I (MODE for this NFS file
system)WU#<kIrVI_hj/q-~_ (read-write)WK_j7^
9#
10. VU!$k&79F`N=UH&^&sH^?OO<I&^&sH
(Mount file system soft or hard)WU#<kIrV=UH (soft)WK_
j7^9#
=UH&^&sHHO"3sTe<?<,"]BJ/G#l/Hj<Nj
b<H&^&sHrn_J$ 3HrU#7^9#O<I&^&sHHO"
^7s,"]BJ/G#l/Hj<N^&sHrn_k3HrU#7^
9#=N?a"79F`K;H$&djr88k3H,"j^9#3NU
#<kIrV=UH (soft)WK_j9k3Hr*+a7^9#
DjNU#<kIO"GU)kH_jN^^K7Fb+^$^;s#
11. 3NU!$k&79F`r^&sH9kH-O",:V3NU!$k&7
9F`G SUID *hS sgid Wm0i`rBT7Fbh$ (Allow
execution of SUID and sgid programs in this file system?)WU#<
kIrVO$ (Yes)WK_j7F/@5$#3l,GU)kHN_jG
9#
12. VOKWr/jC/7^9#
13. m0"&H7^9#
X"?9/:
v 127 Z<8NX4HQN3sTe<?<XN DB2 =J CD-ROM NbFN3T<Y
Q<F#7gs DB2 5<P<N$s9H<kK,WJf<6<Nn. (AIX)
3N?9/O"hjg-J?9/G"k Q<F#7gs DB2 5<P<N$s9H<k
(AIX) NltG9#
124
DB2 5<P<!= 5b*hS$s9H<k
3 DNf<6<*hS0k<W, DB2 N`nK,WG9#J<Nb@GHQ5lkf
<6<*hS0k<WN>0O"!N=Grb5lF$^9#4HQN79F`N?>
,'*hS DB2 ?>,'K>&Bj"+,H+Nf<6<>*hS0k<W>rXj
9k3H,G-^9#
= 11. ,WJf<6<*hS0k<W
,WJf<6<
f<6<>
0k<W>
$s9?s9j-T
db2inst1
db2iadm1
,%f<6<
db2fenc1
db2fadm1
Administration Server f<
6<
db2as
db2asgrp
Administration Server f<6<H7F{8f<6<rHQ9klgKO"$s9H<k
0K"3Nf<6<,9YFN2C3sTe<?<eGb8_7F$k,W,"j^
9# DB2 ;CH"CW&&#6<IrHQ7F"$s9?s9j-N3sTe<?<
eG Administration Server K7,f<6<rn.9klgKO"~zU!$kN$s9
H<kfK3Nf<6<,"2C3sTe<?<eKbn.5l^9 (,WG"lP)#
f<6<,9GK2C3sTe<?<eK8_7F$klgKO"18Wi$^j<&
0k<Wr}CF$k,W,"j^9#
0sro:
v f<6<*hS0k<Wrn.9k?aKO"root "B,,WG9#
v NIS/NIS+ ^?O1MN;-ejF#<&=UH&'"rHQ7Ff<6<*hS0
k<WrI}9klgKO"f<6<*hS0k<Wrn.9k0K"NIS/NIS+ Nm
U@ r2H7F/@5$# DB2 f<6<*hS0k<WrjA9klgKO"IC
N9FCW,,WG9#
mU@:
n.9kf<6<>O"*Zl<F#s0&79F`N?>,'H DB2 N?>,'K
hC?bNGJ1lPJj^;s#
jg:
3liN 3 o`Nf<6<r9YFn.9kKO"!Nh&J9FCWrBT7^9#
1. p\3sTe<?<Km0*s7^9#
2. !Nh&J3^sIr~O7F"$s9?s9j-TN0k<W (?H(P"
db2iadm1)" UDF ^?O9H"<I&Wm7<8c<rBT9kf<6< (?H(
P" db2fadm1)"*hS Administration Server (?H(P"db2asgrp) rn.7^
9#
h 10 O Q<F#7gs DB2 5<P<N$s9H<k (UNIX)
125
mkgroup id=999 db2iadm1
mkgroup id=998 db2fadm1
mkgroup id=997 db2asgrp
3. !Nh&J3^sIrHQ7F"0N9FCWGn.7?F0k<WK09kf<6
<rn.7^9#=l>lNf<6<N[<`&G#l/Hj<O"f<6<,J0
Kn.7&Q7? DB2 [<`&G#l/Hj< (db2home) HJj^9#
mkuser id=1004 pgrp=db2iadm1 groups=db2iadm1 home=/db2home/db2inst1
core=-1 data=491519 stack=32767 rss=-1 fsize=-1 db2inst1
mkuser id=1003 pgrp=db2fadm1 groups=db2fadm1 home=/db2home/db2fenc1
db2fenc1
mkuser id=1002 pgrp=db2asgrp groups=db2asgrp home=/db2home/db2as
db2as
4. !Nh&J3^sIr~O7F"n.7?Ff<6<Ni|Q9o<Ir_j7^
9#
passwd db2inst1
passwd db2fenc1
passwd db2as
5. m0"&H7^9#
6. n.7?Ff<6< (db2inst1"db2fenc1"*hS db2as) H7F"p\3sTe<
?<Km0*s7^9#=l>lNf<6<NQ9o<IrQ99kh&WmsWH
GX(5lk3H,"j^9#=Nf<6<,79F`Km0*s9kNO3l,i
aF@+iG9#
7. m0"&H7^9#
8. Q<F#7gs&G<?Y<9&79F`K2C9k=l>lN3sTe<?<e
K"^C?/18f<6<&"+&sH*hS0k<W&"+&sHrn.7^9#
JeNcGO"3N?9/r ComputerB"ComputerC"*hS ComputerD GBT7
^9#
X"qA:
v 235 Z<8NXNIS $s9H<kNmU@Y
DB2 CD-ROM N^&sH (AIX)
DB2 ;CH"CW&&#6<Ir+O9k0K"DB2 =J CD-ROM r^&sH9k
,W,"j^9#
jg:
DB2 $s9H<k CD r^&sH7F"bFr3T<9kKO"J<Nh&K7^
9#
1. CD-ROM r^&sH9kG#l/Hj<rn.9k?aK"!N3^sIr~O7
^9#
mkdir /cdrom -p
126
DB2 5<P<!= 5b*hS$s9H<k
2. !Nh&J3^sIr~O7F"CD-ROM U!$k&79F`rdjvF^9#
crfs -v cdrfs -p ro -d cd0 -m /cdrom
33G cd0 O CD-ROM Ii$VN8`=-G9#
3. !Nh&J3^sIr~O7F"CD-ROM U!$k&79F`r^&sH7^9#
mount /cdrom
4HQN3sTe<?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<8gs 4.2.0 J_
,,WG9#
v *si$s&XkWr=(9k?aKVi&6<,,WG9#
L.Wo
APPC ^?O TCP/IP#G<?Y<9rjb<H&GI}9kH-KHQG-k
NO"TCP/IP N_G9#
v TCP/IP \3Nlg"IC=UH&'"O,W"j^;s#
v DB2 Connect 5<P<&5]<H!=rp7? APPC (CPI-C) \3Nlg
O" HP-UX P<8gs 11.00 KO!,,WG9#
– SNAplus2 Link R6.11.00.00
– SNAplus2 API R.6.11.00.00
DB2 P<8gs 8 5<P<O DB2 Connect 5<P<&5]<HrHQ7
F""&HP&sIN/i$"sH APPC WaN_5]<H7^9#$sP&
sIN/i$"sH APPC WaN5]<HO"j^;s#
DB2 P<8gs 8 HP-UX 64 SCH&5<P<O" DB2 P<8gs 7"64
SCH&m<+k&"Wj1<7gsNBTr5]<H7^;s#
DB2 Administration Server (DAS) NWo
J<NWor~?9,W,"j^9#
v 3sHm<k&;s?<*hS?9/&;s?<QNF*}^7sK"
DAS ,57/0n9kh&Kn.5lJ1lPJj^;s#
v F DAS O ($s9?s9H18) f<6< ID NbHGn.5lJ1lP
Jj^;s#
v 9YFN*}^7sG18f<6< ID rHQ9klgO"=Nf<6<
ID N[<`&G#l/Hj<O>N^7sH&- (/m9&^&sH) G^;s#
v DAS 4HK[Jkf<6< ID rHQ9klgO"HQ5lkf<6< ID
N[<`&G#l/Hj<r&- (/m9&^&sH) G-^9#
v DAS ,F^7seKn.5lF$lP"!N$:lGb+^$^;s#
– DAS 4HK[Jkf<6< ID rHQ9k#^?O
– 18f<6< ID rHQ7"=Nf<6< ID N[<`&G#l/Hj<
r&-7J$#
130
DB2 5<P<!= 5b*hS$s9H<k
NFS eXN DB2 =JN$s9H<k^?O$s9?s9&G#l/Hj<N&=~@GO NFS eXN DB2 =JN$s9H<kO5]<H7F$^;s#
NFS eK DB2 r$s9H<k9k (?H(P NFS K /usr/opt/db2_08_01 ^
?O /opt/IBM/db2/V8.1 r^&sH9k) H(i<,/3jd9/"=N(i
<OGG,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97?$Qia<?<r@Vk/jC/7"77$MrV0/M (Formula/Value)W
U#<kIK~O7^9#
v VOKWr/jC/7^9#
v Q97?$+<Mk=.Qia<?<r9YFKD$F"3N9FCWr+jV7^
9#
v +<Mk=.Qia<?<N_j,9YF*;7?i""/7gs&aKe<&P<
+iV"/7gs (Action)W --> V77$+<MkNh} (Process New
Kernel)Wr*r7^9#
HP-UX *Zl<F#s0&79F`O"+<Mk=.Qia<?<NM,Q95lkH
+0*KFO07^9#
X"qA:
v 233 Z<8NXd) HP-UX +<Mk=.Qia<?<Y
NFS T/N!: (HP-UX)
=l>lN3sTe<?<eG"MCHo</&U!$k&79F` (NFS) ,T/7F
$k,W,"j^9#
jg:
!N3^sIr~O7F"Q<F#7gs&G<?Y<9&79F`K2C9kF3s
Te<?<eG"MCHo</&U!$k&79F` (NFS) ,T/7F$k3HrN'
7^9#
showmount -e hostname
showmount 3^sIr hostname Qia<?<rXj;:K~O9kH"m<+k&7
9F`r!:9k3HKJj^9# NFS ,"/F#VGJ$lgKO"!Nh&Ja
C;<8ru1hj^9#
showmount: ServerA: RPC: Program not registered
h 10 O Q<F#7gs DB2 5<P<N$s9H<k (UNIX)
133
=l>lN79F`G NFS ,T/7F$k3HrN'7?JiP" DB2 ,,WH9
kCjN NFS Wm;9r!:7^9#,WJWm;9HO"!NbNG9#
rpc.lockd
rpc.statd
!N3^sIrHQ7F"3liNWm;9r!:9k3H,G-^9#
ps -ef | grep rpc.lockd
ps -ef | grep rpc.statd
Q<F#7gs&G<?Y<9&79F`QN DB2 [<`&U!$k&79
F`Nn. (HP-UX)
3N?9/GO"DB2 [<`&U!$k&79F`Nn.}!"[<`&U!$k&7
9F`N NFS (/9]<HN}!"*hS=l>lN2C3sTe<?<+i[<
`&U!$k&79F`r NFS ^&sH9k}!KD$Fb@7^9#
5$:, 1 GB JeN[<`&U!$k&79F`rn.9k3Hr*+a7^9#e
RN$s9H<kNX(GO"DB2 =JN CD-ROM NbFr"4HQN DB2 [<
`&U!$k&79F`eNG#l/Hj<K3T<9k3Hraail^9# DB2
=JN CD-ROM O"s 700 MB N9Z<9rl~*Kj-7^9# DB2 $s9?s
9O"Gc 50 MB N9Z<9r,WH7^9# 1 GB NUj<&9Z<9,J$lg
KO"bFrG#9/K3T<9keojK"=l>lN2C3sTe<?<+i DB2
=JN CD-ROM r^&sH9k3H,G-^9#
0sro:
U!$k&79F`rn.9k?aK"root "B,,WG9#
jg:
DB2 [<`&U!$k&79F`rn."NFS (/9]<H"*hS NFS ^&sH
9kKO"!Nh&J9FCWrT$^9#
DB2 [<`&U!$k&79F`Nn.
j0GT&lg:
1.
G#9/&Q<F#7gs^?O@}\je<`r*r7F+i" newfs
JINf<F#jF#<rHCF"=NU!$k&79F`rn.7^9#
\YO"man newfs 3^sIr~O7^9#
2. 3NU!$k&79F`rm<+k&^&sH7F+i"79F`FO0N
?SK3NU!$k&79F`,^&sH5lkh&" /etc/fstab U!$
kK`\rIC7^9#
SAM rHQ9klg:
1. sam 3^sIr~O7^9#
134
DB2 5<P<!= 5b*hS$s9H<k
2. VG#9/HU!$k&79F` (Disks and File Systems)W"$3sr
/jC/7^9#
3. VU!$k&79F` (File Systems)W"$3sr/jC/7^9#
4. V"/7gs (Action)W —> Vm<+k&U!$k&79F`NIC
(Add Local File systems)Wr*r7^9#
5. @}\je<`&^M<8c<rHQ9k+HQ7J$+r*r7^9#@
}\je<`&^M<8c<NHQr*+a7^9#
DB2 [<`&U!$k&79F`N(/9]<H
HP-UX 79F`N/i9?<K DB2 ESE r$s9H<k9klg" NFS r
p7F"^?O SAM rHQ7F"3NU!$k&79F`r(/9]<H9
k?a" /etc/exports U!$kK`\rIC9k3H,G-^9#
!Nh&K7F"SAM rHQ7FU!$k&79F`r(/9]<H7^
9#
1. sam 3^sIr~O7^9#
2. VMCHo<-s0*hSL. (Networking and Communications)W"
$3sr/jC/7^9#
3. VMCHo</&U!$k&79F` (Networked File Systems)W"$
3sr/jC/7^9#
4. V(/9]<H5l?m<+k&U!$k&79F` (Exported Local
File Systems)W"$3sr/jC/7^9#
5. V"/7gs (Action)WaKe<r/jC/7F"V(/9]<H&U!
$k&79F`NIC (Add Exported File System)Wr*r7^9#
6. (/9]<H9kQ9>HG#l/Hj< (?H(P /db2home) r"Vm
<+k&G#l/Hj<> (Local Directory Name)WU#<kIK~O
7^9#
7. Vf<6<&"/;9 (User Access)W\?sr/jC/7F"=(5l
F$k&#sI&bN$s9?s9K"k>N3sTe<?<KI_hj/
q-~_"/;9rIC7^9#
8. Vk<H&f<6<&"/;9 (Root User Access)W\?sr/jC/
7F"=(5lF$k&#sI&bN$s9?s9K"k>N3sTe<
?<KI_hj/q-~_"/;9rIC7^9#
9. VOKWr/jC/7^9#
10. m0"&H7^9#
=l>lN2C3sTe<?<+iN DB2 [<`&U!$k&79F`N^&sH
3NU!$k&79F`r(/9]<H7*oC?i"=l>lN2C3sT
e<?<eK"3NU!$k&79F`r^&sH9k,W,"j^9#
=l>lN2C3sTe<?<eG"!Nh&KT$^9#
h 10 O Q<F#7gs DB2 5<P<N$s9H<k (UNIX)
135
1. sam 3^sIr~O7^9#
2. VMCHo<-s0*hSL. (Networking and Communications)W"
$3sr/jC/7^9#
3. VMCHo</&U!$k&79F` (Networked File Systems)W"$
3sr/jC/7^9#
4. V^&sH5l?jb<H&U!$k&79F` (Mounted Remote File
Systems)W"$3sr/jC/7^9#
5. V"/7gs (Action)WaKe<r/jC/7FVNFS rHQ9kjb
<H&U!$k&79F`NIC (Add Remote File System Using
NFS)Wr*r7^9#
6. Vm<+k&G#l/Hj<> (Local Directory Name)WU#<kI
K"^&sH9kU!$k&79F`N^&sH&]$sHr~O7^9
(?H(P" /db2home)#
7. Vjb<H&5<P<> (Remote Server Name)WU#<kIK"jb
<H&5<P<N>0r~O7^9 (?H(P ServerA)#
8. jb<H&G#l/Hj<NQ9>HG#l/Hj< (?H(P
/db2home) r"Vjb<H&G#l/Hj<> (Remote Directory
Name)WU#<kIK~O7^9#
9. V79F`&V<H~K^&sH (Mount At System Boot)W*W7gs
r*sK_j7^9#
10. VNFS ^&sH&*W7gs (NFS Mount Options)W\?sr/jC/
7F"V=UH (soft)W^&sH&?$Wr_j7"VSetUID BTNv
D (Allow SetUID Execution)W*W7gsr*sK_j7^9#
=UH&^&sHHO"3sTe<?<,"]BJ/G#l/Hj<Nj
b<H&^&sHrn_J$ 3HrU#7^9#O<I&^&sHHO"
^7s,"]BJ/G#l/Hj<N^&sHrn_k3HrU#7^
9#=N?a"79F`K;H$&djr88k3H,"j^9#3NU
#<kIrV=UH (soft)WK_j9k3Hr*+a7^9#
DjNU#<kIO"GU)kH_jN^^K7Fb+^$^;s#
11. VOKWr/jC/7^9#
12. m0"&H7^9#
X"?9/:
v 127 Z<8NX4HQN3sTe<?<XN DB2 =J CD-ROM NbFN3T<Y
Q<F#7gs DB2 N$s9H<kK,WJf<6<Nn. (HP-UX)
3N?9/O"hjeLN?9/G"k Q<F#7gs DB2 5<P<N$s9H<k
(AIX) NltG9#
136
DB2 5<P<!= 5b*hS$s9H<k
DB2 N`nKO"3 DNf<6<*hS0k<W,,WG9#J<Nb@GHQ5lk
f<6<*hS0k<WN>0,"!N=G(5lF$^9#4HQN79F`N?>
,'*hS DB2 ?>,'K>&Bj"+,H+Nf<6<>*hS0k<W>rXj
9k3H,G-^9#
= 13. ,WJf<6<*hS0k<W
,WJf<6<
f<6<>
0k<W>
$s9?s9j-T
db2inst1
db2iadm1
,%f<6<
db2fenc1
db2fadm1
Administration Server f<
6<
db2as
db2asgrp
Administration Server f<6<H7F{8f<6<rHQ9klgKO"$s9H<k
0K"3Nf<6<,9YFN2C3sTe<?<eGb8_7F$k,W,"j^
9# DB2 ;CH"CW&&#6<IrHQ7F"$s9?s9j-N3sTe<?<
eG Administration Server K7,f<6<rn.9klgKO"~zU!$kN$s9
H<kfK3Nf<6<,"2C3sTe<?<eKbn.5l^9 (,WG"lP)#
f<6<,9GK2C3sTe<?<eK8_7F$klgKO"18Wi$^j<&
0k<Wr}CF$k,W,"j^9#
0sro:
v f<6<*hS0k<Wrn.9k?aKO"root "B,,WG9#
v NIS/NIS+ ^?O1MN;-ejF#<&=UH&'"rHQ7Ff<6<*hS0
k<WrI}9klgKO"f<6<*hS0k<Wrn.9k0K"NIS/NIS+ Nm
U@ r2H7F/@5$# DB2 f<6<*hS0k<WrjA9klgKO"IC
N9FCW,,WG9#
mU@:
n.9kf<6<>O"*Zl<F#s0&79F`N?>,'H DB2 N?>,'K
hC?bNGJ1lPJj^;s#
jg:
3liN 3 o`Nf<6<r9YFn.9kKO"!Nh&J9FCWrBT7^9#
1. p\3sTe<?<Km0*s7^9#
2. !Nh&J3^sIr~O7F"$s9?s9j-TN0k<W (?H(P"
db2iadm1)" UDF ^?O9H"<I&Wm7<8c<rBT9kf<6< (?H(
P" db2fadm1)"*hS Administration Server (?H(P"db2asgrp) rn.7^
9#
h 10 O Q<F#7gs DB2 5<P<N$s9H<k (UNIX)
137
groupadd id=999 dbiadm1
groupadd id=998 db2fadm1
groupadd id=997 db2asgrp
3. !Nh&J3^sIrHQ7F"0N9FCWGn.7?F0k<WK09kf<6
<rn.7^9#=l>lNf<6<N[<`&G#l/Hj<O"f<6<,J0
Kn.7&Q7? DB2 [<`&G#l/Hj< (db2home) HJj^9#
useradd -g db2iadm1 -d /home/db2instl -m db2inst1 passwd mypasswrd
useradd -g db2fadm1 -d /home/db2fenc1 -m db2inst1 passwd mypasswrd
useradd -g dbasgrp -d /home/db2fenc1 -m db2inst1 passwd mypasswrd
4. !Nh&J3^sIr~O7F"n.7?Ff<6<Ni|Q9o<Ir_j7^
9#
passwd db2inst1
passwd db2fenc1
passwd db2as
5. m0"&H7^9#
6. n.7?Ff<6< (db2inst1"db2fenc1"*hS db2as) H7F"p\3sTe<
?<Km0*s7^9#=l>lNf<6<NQ9o<IrQ99kh&WmsWH
GX(5lk3H,"j^9#=Nf<6<,79F`Km0*s9kNO3l,i
aF@+iG9#
7. m0"&H7^9#
8. Q<F#7gs&G<?Y<9&79F`K2C9k=l>lN3sTe<?<e
K"^C?/18f<6<&"+&sH*hS0k<W&"+&sHrn.7^9#
JeNcGO"3N?9/r ComputerB"ComputerC"*hS ComputerD GBT7
^9#
X"qA:
v 235 Z<8NXNIS $s9H<kNmU@Y
DB2 CD-ROM N^&sH (HP-UX)
DB2 ;CH"CW&&#6<IrBT9k0K"$s9H<k CD r^&sH9k,
W,"j^9#
DB2 P<8gs 8 for HP-UX KO"9$U!$k>,U1il?U!$k,?t^^
lF$kNG"^&sH&3^sIO:T9klg,"j^9# CD-ROM N^&sH
~Kdj,/89k3Hrr1k?a"J<N9FCWrBT7F/@5$#
mU@:
NFS rHQ7Fjb<H&79F`+i CD-ROM Ii$Vr^&sH9klgO"j
b<H&79F`eN CD-ROM U!$k&79F`r" root "/;9rHCF(/
9]<H9k,W,"j^9#m<+k&^7sK CD-ROM U!$k&79F`r^
&sH9klgb"dOj root "/;9rHQ7J1lPJj^;s#
138
DB2 5<P<!= 5b*hS$s9H<k
jg:
HP-UX K CD-ROM r^&sH9kKO"J<K(99FCWrBT7^9#
1. /etc G#l/Hj<N pfs_fstab U!$kK"!NTrIC7^9#
/dev/dsk/c0t2d0 mount_point pfs-rrip ro,hard
mount_point O CD-ROM N^&sH&]$sHG9#
2. J<N3^sIr~O7F pfs G<bsr+O7^9 (^@+O7F$J$lg)#
/usr/sbin/pfs_mountd &
/usr/sbin/pfsd 4 &
3. J<N3^sIr~O7F /cdrom H$&G#l/Hj<rn.7"3NG#l/H
j<K CD-ROM r^&sH7^9#
mkdir /cdrom
/usr/sbin/pfs_mount /cdrom
/cdrom O CD-ROM N^&sH&]$sHG9#
4HQN3sTe<?<XN DB2 =J CD-ROM NbFN3T<
3N?9/GO"DB2 ESE =J CD-ROM NbFr"&Q DB2 [<`&U!$k&7
9F`K3T<9k?aN9FCWr-R7^9# DB2 CD-ROM NbFN3T<O"
DB2 NQ<F#7gs&$s9H<kKG-N9FCWG9# DB2 r1~K#tN3
sTe<?<K$s9H<k7h&H7F$k?a"O<I&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XG7NU#C/9QC/N,QY
v 179 Z<8NXQ<F#7gs&G<?Y<9&5<P<N$s9H<kN!:
(UNIX)Y
v 85 Z<8NXDB2 *si$sqAN$s9H<k (UNIX)Y
v 250 Z<8NXDB2 $s9H<kN?aN0k<W*hSf<6< ID Nn.Y
X"qA:
v 117 Z<8NXQ<F#7gs DB2 5<P<NG#9/Wo (UNIX)Y
v 117 Z<8NXQ<F#7gs DB2 5<P<Nabj<Wo (UNIX)Y
v 141 Z<8NXQ<F#7gs DB2 5<P<N$s9H<kWo (Linux)Y
Wo
Q<F#7gs DB2 5<P<N$s9H<kWo (Linux)
3NHTC/GO"Q<F#7gs DB2 5<P< (Linux) N?aNO<I&'""*
Zl<F#s0&79F`"=UH&'""*hSL.NFWorj9H7^9#
O<I&'"Wo
!N$:l+N?$WNO<I&'",,WG9#
h 10 O Q<F#7gs DB2 5<P<N$s9H<k (UNIX)
141
v Intel 32 SCH
v Intel 64 SCH
v OS/390 ^?O z-Series
[[Wo
Intel 32 SCH&"<-F/Ac<Nlg"!NbNr<C?"GaN Linux
*Zl<F#s0&79F`[[,,WG9#
v +<Mk&lYk 2.4.9 J_
v glibc 2.2.4 J_
v RPM 3 J_
Intel 64 SCH&"<-F/Ac<Nlg"!N Linux *Zl<F#s0&7
9F`[[N$:l+,,WG9#
v Red Hat Linux 7.2
v SuSE Linux SLES-7
Intel 64 SCH&"<-F/Ac<Nlg"!N=UH&'",,WG9#
v gcc 3.0.2
v gcc3 libstdc++ is?$`&i$Vij<
z-Series "<-F/Ac<Nlg"!N Linux *Zl<F#s0&79F`[
[N$:l+,,WG9#
v Red Hat Linux 7.2
v SuSE Linux SLES-7
=UH&'"Wo
v DB2 5<P<, DB2 3sHm<k&;s?<rHQ7?j"9H"<I&
Wm7<8c<df<6<jAXtr^` Java "Wj1<7gsrn.*
hSBT7?j9kKO" IBM Developer Kit for Java 1.3.1 ,,WG9#
IBM JDK @1,5]<H5l^9#
v G<?Y<9NPC/"CWHj9H"K Tivoli Stor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/H&$s9H<k
p\*J DB2 U#<Ac<*hS!=@1r$s9H<k7^9#0iU#
C/&D<kOH_~^l^;s#
+9?`&$s9H<k
+9?`&$s9H<kNlg"$s9H<k7?$!=r*r9k3H,G
-^9#
,\N=UH&'""L.=J"*hS8qK,WJG#9/&9Z<9N?aN>5
rHkh&$rU1F/@5$# DB2 P<8gs 8 Nlg"qAOLDN CD-ROM
Gs!5l^9#
144
DB2 5<P<!= 5b*hS$s9H<k
X"?9/:
v 113 Z<8NXQ<F#7gs DB2 5<P<N$s9H<k (AIX)Y
v 127 Z<8NXQ<F#7gs DB2 5<P<N$s9H<k (HP-UX)Y
v 140 Z<8NXQ<F#7gs DB2 5<P<N$s9H<k (Linux)Y
v 152 Z<8NXQ<F#7gs DB2 5<P<N$s9H<k (Solaris)Y
+<Mk&Qia<?<NQ9 (Linux)
DB2 r$s9H<k9k0K"Linux +<Mk&Qia<?<r979k3H,G-^
9# DB2 O,WG"lP"+0*K IPC B&rz-e2^9#=lGbJ*"f<6
<NCjN,WK~8F"3liNB&rz-e2k3H,G-^9#
0sro:
+<Mk&Qia<?<rQ99kKO"root "B,,WG9#
jg:
!Nh&K7F"+<Mk&Qia<?<r977^9#
RedHat *hS SuSE
2.4.x 7j<:N+<MkrHQ7F$k79F`GO"aC;<8&-e<&
Qia<?<NGU)kHM (msgmni) ,"j^9#3lO"1~Ko:+J
t@1N DB2 XN\3,vD5lkMG9# DB2 r5oKBT9k?aK
O";^U)<[sQia<?<bQ99k,W,"j^9# ipcs -l 3^s
Ir/T7F"&Qabj<&;0asH";^U)<[s"*hSaC;<
8&-e<NB&rA'C/7^9#
ipcs -l 3^sINPOO!Nh&KJj^9#
# ipcs -l
------ Shared Memory Limits -------max number of segments = 4096
// SHMMNI
max seg size (kbytes) = 32768
max total shared memory (kbytes) = 8388608
min seg size (bytes) = 1
------ Semaphore Limits -------max number of arrays = 1024
max semaphores per array = 250
max semaphores system wide = 128000
max ops per semop call = 32
semaphore max value = 32767
// SEMMNI
------ Messages: Limits -------max queues system wide = 1024
// MSGMNI
max size of message (bytes) = 65536
default max size of queue (bytes) = 16384 // MSGMAX
h 10 O Q<F#7gs DB2 5<P<N$s9H<k (UNIX)
145
GU)kHN79F`)f=.U!$k /etc/sysctl.conf K!N`\rIC
9k3HKhCF"+<Mk&Qia<?<rQ97F/@5$#
kernel.msgmni = 512
kernel.sem = 250 128000
32 1024
33G max semaphores system wide = max number of arrays x max
semaphores per array G9# sysctl r -p Qia<?<rXj7FBT7"
GU)kHNU!$k /etc/sysctl.conf +i sysctl _jKm<I7^9#
sysctl -p
MCHo</i|_j9/jWHKhkO0~K" sysctl.conf U!$k+i
`\,I_hil^9#
[[KhCFO"79F`i|_jU!$kN 1 D (?H(P rc.local) K
sysctl -p rIC7F"jV<H5lk?SK+<Mk&Qia<?<,_j
5lkh&K7J1lPJiJ$3H,"j^9#
NFS T/N!: (Linux)
=l>lN3sTe<?<eG"MCHo</&U!$k&79F` (NFS) ,T/7F
$k,W,"j^9#
jg:
!N3^sIr~O7F"Q<F#7gs&G<?Y<9&79F`K2C9kF3s
Te<?<eG"MCHo</&U!$k&79F` (NFS) ,T/7F$k3HrN'
7^9#
showmount -e hostname
showmount 3^sIr hostname Qia<?<rXj;:K~O9kH"m<+k&
79F`r!:9k3HKJj^9#
NFS ,"/F#VGJ$lgKO"!Nh&JaC;<8ru1hj^9#
showmount: ServerA: RPC: Program not registered
=l>lN79F`G NFS ,T/7F$k3HrN'7?JiP" DB2 ,,WH9
kCjN NFS Wm;9r!:7^9#,WJWm;9O rpc.statd G9#3NWm;
9r!:9kKO" ps -ef | grep rpc.statd 3^sIrHQ7^9#
3NWm;9,BT5lF$J$lgO"4HQN Linux [[NqAr4YF/@5
$#
146
DB2 5<P<!= 5b*hS$s9H<k
Q<F#7gs DB2 5<P<QNU!$k&79F`Nn. (Linux)
3N?9/O"DB2 ESE N Linux eGN$s9H<kNhjg-J?9/NltG
9#
Q<F#7gs&G<?Y<9&79F`K2C9k9YFN^7sGHQD=JU!
$k&79F`,,WG9#3NU!$k&79F`O"$s9?s9N[<`&G#
l/Hj<H7FHQ5l^9#
1 DNG<?Y<9&$s9?s9K#tN^7srH&=.Nlg" NFS (Network
File System) rHQ7F"3NU!$k&79F`r&-7^9#lLKO"/i9?
<bN 1 DN^7srHQ7" NFS rHQ7FU!$k&79F`r(/9]<H7
^9#=7F/i9?<bNDjN^7sO"3N^7s+i NFS U!$k&79F
`r^&sH7^9#U!$k&79F`r(/9]<H9k^7sO"m<+kK^
&sH5l?U!$k&79F`rj-7F$^9#
3^sIN\YO"Linux [[NqAr2H7F/@5$#
jg:
3NU!$k&79F`rn.9kKO"J<N9FCWrBT7^9#
1. 1 DN^7sG"G#9/&Q<F#7gsr*r9k+" fdisk rHQ7F=l
rn.7^9#
2. mkfs Nh&Jf<F#jF#<rHQ7"3NQ<F#7gseKU!$k&79
F`rn.7^9#U!$k&79F`O",WJ DB2 Wm0i`&U!$kOb
Ams"G<?Y<9K,WJ9Z<9b=,^ailk@1Ng-5GJ1lPJ
j^;s#
3. n.7?P+jN3NU!$k&79F`rm<+k&^&sH7F+i"79F`
NjV<HN?SK3NU!$k&79F`,^&sH5lkh&" /etc/fstab U
!$kK`\rIC7^9#?H(P"!Nh&K7^9#
/dev/hda1
/db2home
ext2
defaults
1 2
4. V<H~K"+0*K NFS U!$k&79F`r Linux X(/9]<H9kK
O" /etc/exports U!$kX`\rIC7^9#/i9?<bK^^lk9YFN
[9H>@1GJ/"^7sN=l>lN>09YFr^akh&K7^9#5i
K"/i9?<bNF^7sK" ″root″ *W7gsrHQ7F(/9]<H7?U
!$k&79F`KP9k" root "B,"k3HrN'7^9#
/etc/exportfs O"!N?$WNpsr^s@ ASCII U!$kG9#
/db2home machine1_name (rw) machine2_name (rw)
!rBT7F"NFS G#l/Hj<r(/9]<H7^9#
/usr/sbin/exportfs -r
h 10 O Q<F#7gs DB2 5<P<N$s9H<k (UNIX)
147
5. /i9?<bKDCF$kF^7sG" /etc/fstab U!$kX`\rIC7"V<
H~KU!$k&79F`r+0*K NFS ^&sH5;kh&K7^9#!NcG
(9h&K"^&sH&]$sH&*W7gsrXj9kH-KO"V<H~KU!
$k&79F`,^&sH5lk3H"I_hj/q-~_D=J3H"O<I&^
&sH5lk3H"bg (PC/0i&sI) *W7gs,^^lk3H"=7F
setuid Wm0i`r,ZKBTG-k3HrN]7^9#
fusion-en:/db2home /db2home nfs - rw,time0=300,retrans=5,
hard,intr,bg,suid,rw
fusion-en O^7s>r=7^9#
6. F^7s (NFS 5<P<H7F!=7F$k^7sr|/) G"1MN`\r
/etc/fstab U!$kKIC7?i"!N3^sIr~O7"(/9]<H7?U!
$k&79F`r"/i9?<bNDjN^7sN=l>lK NFS ^&sH7^
9#
mount /db2home
^&sH&3^sIK:T7?i"showmount 3^sIrH$" NFS 5<P<N
u7r4Y^9#?H(P"!Nh&K7^9#
showmount -e fusion-en
3N showmount 3^sIO" fusion-en H$&^7s+i(/9]<H5lk
U!$k&79F`rj9H9kbNG9#3N3^sI,:T9klg"NFS 5
<P<,O07F$J$D=-,"j^9# NFS 5<P<Nk<HGJ<N3^s
IrBT7F"5<P<rj0GO07^9#
/etc/rc.d/init.d/nfs restart
=_NBTlYk, 3 G"klgKO"G#l/Hj< /etc/rc.d/rc3.d G
K20nfs r S20nfs KjM<`9k3HKhCF"3N3^sIrV<H~K+0*
KBT5;k3H,G-^9#
7. !N9FCW,5oKBT5l?3HrN'7^9#
a. /i9?<bN 1 DN^7sG"$s9?s9*hS[<`&G#l/Hj<H
7FHQ9kU!$k&79F`rn.7?3H#
b. 1 DNG<?Y<9&$s9?s9K#tN^7srH&=.Nlg" NFS r
HQ7F3NU!$k&79F`r(/9]<H7?3H#
c. /i9?<bNDjN^7sN=l>lK"(/9]<H7?U!$k&79F
`r^&sH7?3H#
X"?9/:
v 127 Z<8NX4HQN3sTe<?<XN DB2 =J CD-ROM NbFN3T<Y
148
DB2 5<P<!= 5b*hS$s9H<k
Q<F#7gs DB2 5<P<K,WJf<6<Nn. (Linux)
DB2 N`nKO"3 DNf<6<*hS0k<W, ,WG9#J<Nb@GHQ5l
kf<6<*hS0k<WN>0,"!N=K(5lF$^9#4HQN79F`N?
>,'*hS DB2 ?>,'K>&Bj"+,H+Nf<6<>*hS0k<W>rX
j9k3H,G-^9#
= 15. ,WJf<6<*hS0k<W
,WJf<6<
f<6<>
0k<W>
$s9?s9j-T
db2inst1
db2iadm1
,%f<6<
db2fenc1
db2fadm1
Administration Server f<
6<
db2as
db2asgrp
Administration Server f<6<H7F{8f<6<rHQ9klgKO"$s9H<k
0K"3Nf<6<,9YFN2C3sTe<?<eGb8_7F$k,W,"j^
9# DB2 ;CH"CW&&#6<IrHQ7F"$s9?s9j-N3sTe<?<
eG Administration Server K7,f<6<rn.9klgKO"~zU!$kN$s9
H<kfK3Nf<6<,"2C3sTe<?<eKbn.5l^9 (,WG"lP)#
f<6<,9GK2C3sTe<?<eK8_7F$klgKO"18Wi$^j<&
0k<Wr}CF$k,W,"j^9#
0sro:
v f<6<*hS0k<Wrn.9k?aKO"root "B,,WG9#
v NIS/NIS+ ^?O1MN;-ejF#<&=UH&'"rHQ7Ff<6<*hS0
k<WrI}9klgKO"f<6<*hS0k<Wrn.9k0K"NIS/NIS+ Nm
U@ r2H7F/@5$# DB2 f<6<*hS0k<WrjA9klgKO"IC
N9FCW,,WG9#
mU@:
n.9kf<6<>O"*Zl<F#s0&79F`N?>,'H DB2 N?>,'K
hC?bNGJ1lPJj^;s#
jg:
3liN 3 o`Nf<6<r9YFn.9kKO"!Nh&J9FCWrBT7^9#
1. p\3sTe<?<Km0*s7^9#
2. !Nh&J3^sIr~O7F"$s9?s9j-TN0k<W (?H(P"
db2iadm1)" UDF ^?O9H"<I&Wm7<8c<rBT9kf<6< (?H(
P" db2fadm1)"*hS Administration Server (?H(P"db2asgrp) rn.7^
9#
h 10 O Q<F#7gs DB2 5<P<N$s9H<k (UNIX)
149
groupadd -g 999 db2iadm1
groupadd -g 998 db2fadm1
groupadd -g 997 db2asgrp
HQ9kCjNFVf,=_IN^7seKb8_7F$J$3HrN'7F/@5
$#
3. !Nh&J3^sIrHQ7F"0N9FCWGn.7?F0k<WK09kf<6
<rn.7^9#=l>lNf<6<N[<`&G#l/Hj<O"f<6<,J0
Kn.7&Q7? DB2 [<`&G#l/Hj< (db2home) HJj^9#
useradd -u 1004 -g db2iadm1 -m -d /db2home/db2inst1 db2inst1 -p password1
useradd -u 1003 -g db2fadm1 -m -d /db2home/db2fenc1 db2fenc1 -p password2
useradd -u 1002 -g db2asgrp -m -d /db2home/db2as db2as -p password3
4. !Nh&J3^sIr~O7F"n.7?Ff<6<Ni|Q9o<Ir_j7^
9#
passwd db2inst1
passwd db2fenc1
passwd db2as
5. m0"&H7^9#
6. n.7?Ff<6< (db2inst1"db2fenc1"*hS db2as) H7F"p\3sTe<
?<Km0*s7^9#=l>lNf<6<NQ9o<IrQ99kh&WmsWH
GX(5lk3H,"j^9#=Nf<6<,79F`Km0*s9kNO3l,i
aF@+iG9#
7. m0"&H7^9#
8. Q<F#7gs&G<?Y<9&79F`K2C9k=l>lN3sTe<?<e
K"^C?/18f<6<&"+&sH*hS0k<W&"+&sHrn.7^9#
3NcGO"3N?9/r ComputerB"ComputerC"*hS ComputerD GBT7^
9#
X"qA:
v 235 Z<8NXNIS $s9H<kNmU@Y
DB2 CD-ROM (Linux) N^&sH
DB2 CD-ROM (Linux) N^&sH O"=NeLN DB2 N$s9H<k&?9/Nlt
r.7^9#
VDB2 ;CH"CW (DB2 Setup)W&#6<IrBT9kKO"$s9H<k
CD-ROM rv0K^&sH7J1lPJj^;s#
0sro:
150
DB2 5<P<!= 5b*hS$s9H<k
root "BrbDf<6< ID Gm0*s9k,W,"j^9#
jg:
g>N Linux [[O"3N CD r+0*K^&sH7^9#?/Nlg"^&sH&
]$sHO /mnt/cdrom ^?O /media/cdrom G9#^&sH&]$sH, /mnt/cdrom
G"klg"!Nh&J3^sIr~O7^9#
mount /mnt/cdrom
[[KhCFO"CD-ROM uVKP9kBTC"OGU)kHGHQTDKJCF$^
9#BTvDrp7F^&sH&]$sH /mnt/cdrom K^&sH9kKO" root G!
Nh&J3^sIr/T7^9#
mount -o exec /mnt/cdrom
CD-ROM ,+0*K^&sH5lJ$lg"J<r~O7^9#
mount -t iso9660 -o ro /dev/cdrom /mnt/cdrom
?@7"/mnt/cdrom O CD-ROM N^&sH&]$sHr=7^9#
X"?9/:
v DB2 Universal Database Personal Edition 5b*hS$s9H<k NXVDB2 ;C
H"CW (DB2 Setup)W&#6<IN+O (Linux)Y
4HQN3sTe<?<XN DB2 =J CD-ROM NbFN3T<
3N?9/GO"DB2 ESE =J CD-ROM NbFr"&Q DB2 [<`&U!$k&7
9F`K3T<9k?aN9FCWr-R7^9# DB2 CD-ROM NbFN3T<O"
DB2 NQ<F#7gs&$s9H<kKG-N9FCWG9# DB2 r1~K#tN3
sTe<?<K$s9H<k7h&H7F$k?a"O<I&G#9/+iN$s9H
<kO"CD-ROM +iN$s9H<khjb+Jj./BT5l^9#3Na=CI
O"3sTe<?<, 5 fJeH_~^lF$k79F`NlgKd)5l^9#
eX}!H7F"=l>lN3sTe<?<+i CD-ROM U!$k&79F`r NFS
^&sH9k}!,"j^9# DB2 [<`&U!$k&79F`eK=,JG#9
/&9Z<9,J$lg"^?O 3 fJ<N3sTe<?<K$s9H<k9klgK
O"=l>lN3sTe<?<+i CD-ROM r^&sH9k3H,G-^9#
jg:
!Nh&K7F"DB2 $s9H<k CD r^&sH7"bFr3T<7^9#
1. 4HQN /db2home U!$k&79F`K" DB2 =J CD-ROM N?aNG#l/
Hj<rn.7^9#
mkdir /db2home/db2cdrom
h 10 O Q<F#7gs DB2 5<P<N$s9H<k (UNIX)
151
2. n.7?G#l/Hj<K CD-ROM NbFr3T<7^9#
cp -R /cdrom /db2home/db2cdrom
$s9H<kN`w (Solaris *Zl<F#s0D-)
Q<F#7gs DB2 5<P<N$s9H<k (Solaris)
3NHTC/GO"Solaris eGN"Q<F#7gs DB2 Enterprise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GO"Q<F#7gs DB2 5<P< (Solaris *Zl<F#s0D-) N
?aNO<I&'""*Zl<F#s0&79F`"=UH&'""*hSL.Wor
j9H7^9#
O<I&'"Wo
Solaris UltraSPARC Y<9N3sTe<?<
*Zl<F#s0&79F`Wo
DB2 Enterprise Server Edition O"!NP<8gsN Solaris *Zl<F#s0
D-G5]<H5l^9#
v Solaris 7 (32 SCH) QCA 106327-10
v Solaris 7 (64 SCH) QCA 106300-11
v Solaris 8 (32 SCH) QCA 108434-03 *hS 108528-12
v Solaris 8 (64 SCH) QCA 108435-03 *hS 108528-12
v Solaris 9 (32 SCH)
v Solaris 9 (64 SCH)
Java r5]<H9k?aK"!NQCAb,WG9#
v Solaris 7 ″d) & ;-ejF#<&QCA″ + 107226-17 + 107153-01
v Solaris 8 ″d) & ;-ejF#<&QCA″ + 108921-12 + 108940-24
=UH&'"Wo
v 3sHm<k&;s?<Nh&J DB2 N Java Y<9ND<krBT9k
KO" Java Runtime Environment (JRE) P<8gs 1.3.1 ,,WKJj^
9# 64 SCHD-GBT9klgO"JRE P<8gs 1.4 ,,WKJj^
9#
v G<?Y<9NPC/"CWHj9H"K Tivoli Storage Manager !=rH
&lgKO" Tivoli Storage Manager Client P<8gs 4.2.0 J_,,WG
9# 64 SCHD-GBT9klgO" Tivoli Storage Manager Client P<
8gs 4.2.1 J_,,WKJj^9#
v *si$s&XkWr=(9k?aKVi&6<,,WG9#
154
DB2 5<P<!= 5b*hS$s9H<k
L.Wo
APPC"^?O TCP/IP#G<?Y<9rjb<H&GI}9kH-KHQGkNO"TCP/IP N_G9#
v TCP/IP \3Nlg"IC=UH&'"O,W"j^;s#
v DB2 Connect 5<P<&5]<H!=rp7? APPC (CPI-C) \3Nlg
O" SunLink SNA 9.1 J_*hS!NL.=J,,WG9#
– SunLink P2P LU6.2 9.0 J_
– SunLink PU2.1 9.0 J_
– SunLink P2P CPI-C 9.0 J_
DB2 P<8gs 8 5<P<O DB2 Connect 5<P<&5]<HrHQ7
F""&HP&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;s#
+9?`&$s9H<k
+9?`&$s9H<kNlg"$s9H<k7?$!=r*r9k3H,G
-^9#
,\N=UH&'""L.=J"*hS8qK,WJG#9/&9Z<9N?aN>5
rHkh&$rU1F/@5$# DB2 P<8gs 8 Nlg"qAOLDN CD-ROM
Gs!5l^9#
X"?9/:
v 113 Z<8NXQ<F#7gs DB2 5<P<N$s9H<k (AIX)Y
v 127 Z<8NXQ<F#7gs DB2 5<P<N$s9H<k (HP-UX)Y
v 140 Z<8NXQ<F#7gs DB2 5<P<N$s9H<k (Linux)Y
v 152 Z<8NXQ<F#7gs DB2 5<P<N$s9H<k (Solaris)Y
+<Mk&Qia<?<NQ9 (Solaris)
DB2 r$s9H<k9k0K"4HQN79F`&+<Mk=.Qia<?<r979
kh&*+a7^9#d)MKD$FO"Solaris +<Mk=.Qia<?< NHTC
/r2H7F/@5$#
+<Mk&Qia<?<rQ97?e"79F`rFO09k,W,"j^9#
0sro:
+<Mk&Qia<?<rQ99kKO"root "B,,WG9#
jg:
+<Mk&Qia<?<r_j9kKO" /etc/system U!$kNvxK"!Nh&J
TrIC7^9#
set parameter_name = value
?H(P"msgsys:msginfo_msgmax Qia<?<NMr_j9kKO" /etc/system U
!$kNvxK"!K(9TrIC7^9#
h 10 O Q<F#7gs DB2 5<P<N$s9H<k (UNIX)
157
set msgsys:msginfo_msgmax = 65535
/etc/system U!$kr977?e"79F`rFO07^9#
X"50:
v 3^sI&jU!ls9 NXdb2osconf - +<Mk&Qia<?<MN?aNf<F
#jF#<&3^sIY
X"qA:
v 234 Z<8NXd) Solaris +<Mk=.Qia<?<Y
NFS T/N!: (Solaris)
=l>lN3sTe<?<eG"MCHo</&U!$k&79F` (NFS) ,T/7F
$k,W,"j^9#
jg:
!N3^sIr~O7F"Q<F#7gs&G<?Y<9&79F`K2C9kF3s
Te<?<eG"MCHo</&U!$k&79F` (NFS) ,T/7F$k3HrN'
7^9#
showmount -e hostname
showmount 3^sIr hostname Qia<?<rXj;:K~O9kH"m<+k&7
9F`r!:9k3HKJj^9# NFS ,"/F#VGJ$lgKO"!Nh&Ja
C;<8ru1hj^9#
showmount: ServerA: RPC: Program not registered
=l>lN79F`G NFS ,T/7F$k3HrN'7?JiP" DB2 ,,WH9
kCjN NFS Wm;9r!:7^9#,WJWm;9HO"!NbNG9#
rpc.lockd
rpc.statd
!N3^sIrHQ7F"3liNWm;9r!:9k3H,G-^9#
ps -ef grep| rpc.lockd
ps -ef grep| rpc.statd
X"?9/:
v 127 Z<8NX4HQN3sTe<?<XN DB2 =J CD-ROM NbFN3T<Y
158
DB2 5<P<!= 5b*hS$s9H<k
Q<F#7gs DB2 5<P<QU!$k&79F`Nn. (Solaris *Zl<
F#s0D-)
3N?9/GO"DB2 [<`&U!$k&79F`Nn.}!"[<`&U!$k&7
9F`N NFS (/9]<HN}!"*hS=l>lN2C3sTe<?<+i[<
`&U!$k&79F`r NFS ^&sH9k}!KD$Fb@7^9#
5$:, 1 GB JeN[<`&U!$k&79F`rn.9k3Hr*+a7^9#e
RN$s9H<kNX(GO"DB2 =J CD-ROM NbFr"4HQN DB2 [<`&
U!$k&79F`eNG#l/Hj<K3T<9k3Hraail^9# DB2 =J
CD-ROM O"s 700 MB N9Z<9rl~*Kj-7^9# DB2 $s9?s9O"
Gc 50 MB N9Z<9r,WH7^9# 1 GB NUj<&9Z<9,J$lgKO"
bFrG#9/K3T<9keojK"=l>lN2C3sTe<?<+i DB2 =J
CD-ROM r^&sH9k3H,G-^9#
Solaris *Zl<F#s0D-79F`Gm<+k&U!$k&79F`rn.9kl
g"$m$mJ}!,"j^9# Veritas JIN=JrHCFU!$k&79F`rn
.9klgO"=N=JNqAr2H7F/@5$#
0sro:
U!$k&79F`rn.9k?aK"root "B,,WG9#
jg:
DB2 [<`&U!$k&79F`rn."NFS (/9]<H"*hS NFS ^&sH
9kKO"!Nh&J9FCWrT$^9#
DB2 [<`&U!$k&79F`Nn.
1. p\3sTe<?< (SeverA) G"G#9/&Q<F#7gsr*r9k
+" format 3^sIrHQ7F=lr=.7^9# format 3^sIr
H&H-KO"HQ9kG#9/&Q<F#7gs,*<P<iCW7F$
J$3HrN'7F/@5$#Q<F#7gs,*<P<iCW7F$k
H"G<?,Ku5l?jU!$k&79F`Kc2,/89kD=-,"
j^9#3^sIr5NK~O7?+rN'7F/@5$#Vc$,"k
H"EgJdj,88k3H,"j^9#
2. newfs d mkfs Nh&Jf<F#jF#<rHQ7"3NQ<F#7gs
eKU!$k&79F`rn.7^9#U!$k&79F`O",WJ
DB2 U!$k@1GJ/" DB2 U!$kJ0NU!$kb^ailk@
1N=,Jg-5GJ1lPJj^;s#G.Gb 300 MB ON]9kh
&*+a7^9#
3. n.7?P+jN3NU!$k&79F`rm<+k&^&sH7F+i"
79F`NjV<HN?SK3NU!$k&79F`,^&sH5lkh
&" /etc/vfstab U!$kK`\rIC7^9#?H(P"
h 10 O Q<F#7gs DB2 5<P<N$s9H<k (UNIX)
159
/dev/dsk/c1t0d2s2
/dev/rdsk/c1t0d2s2
/db2home
ufs
2
yes
-
DB2 [<`&U!$k&79F`N(/9]<H
1. V<H~K"+0*K NFS U!$k&79F`r Solaris X(/9]<H
9kKO" /etc/dfs/dfstab U!$kX`\rIC7^9#2C3sTe
<?<N9YFN[9H>@1GJ/"Xj5l?3sTe<?<N=l>
lN>09YFr^akh&K7^9#5iK"F3sTe<?<K"
″root″ *W7gsrHQ7F(/9]<H7?U!$k&79F`KP9
k" root "B,"k3HrN'7^9#
!NcGO"4 DN3sTe<?<&Q<F#7gs&G<?Y<9&79
F`N`\r" /etc/dfs/dfstab U!$kXIC7^9#2C3sTe<
?< ServerB"ServerC"*hS ServerD KO"U!$k&79F`
/db2home r^&sH9kvD,?(il^9#3lO"DB2 [<`&U!
$k&79F`H7FHQ5l^9#
share -F nfs -o ¥
rw=ServerB.torolab.ibm.com,¥
root=ServerB.torolab.ibm.com ¥
rw=ServerC.torolab.ibm.com, ¥
root=ServerC.torolab.ibm.com¥
rw=ServerD.torolab.ibm.com,¥
root=ServerD.torolab.ibm.com ¥
-d "homes" /db2home
3sTe<?<,#tN[9H>KhCF'N5lF$klgKO"
/etc/dfs/dfstab U!$kK9YFNL>rH_~`,W,"j^9#?H
(P"ServerB , ServerB-tokenring H$&>0Gb'N5lF$klgK
O" /etc/dfs/dfstab bN ServerB N`\,!Nh&KJj^9#
rw=ServerB.torolab.ibm.com:ServerB-tokenring.torolab.ibm.com,¥
root=ServerB.torolab.ibm.com:ServerB-tokenring.torolab.ibm.com ¥
2. 2C3sTe<?<N=l>lG" /etc/vfstab U!$kX`\rIC
7"V<H~KU!$k&79F`r+0*K NFS ^&sH5;kh&K
7^9#!NcG(9h&K"^&sH&]$sH&*W7gsrXj9k
H-KO"V<H~KU!$k&79F`,^&sH5lk3H"I_h
j/q-~_D=J3H"O<I&^&sH5lk3H"bg (PC/0i&
sI) *W7gs,^^lk3H"=7F suid Wm0i`r,ZKBTG
-k3HrN]7^9#
ServerA:/db2home -
/db2home
nfs
-
yes
rw,hard,intr,bg,suid
=l>lN2C3sTe<?<+iN DB2 [<`&U!$k&79F`N^&sH
1. F3sTe<?< (NFS 5<P<H7F!=7F$k3sTe<?<r|
/) G"1MN`\r /etc/vfstab U!$kKIC7?i"!N3^sI
160
DB2 5<P<!= 5b*hS$s9H<k
r~O7"(/9]<H7?U!$k&79F`rn.7F"=lrQ<F
#7gs&G<?Y<9D-K"k2C3sTe<?<=l>lK NFS ^
&sH7^9#
mkdir /db2home
mount /db2home
^&sH&3^sIK:T7?i"showmount 3^sIrH$" NFS 5<
P<Nu7r4Y^9#?H(P"
showmount -e ServerA
3N showmount 3^sIO" ServerA H$&3sTe<?<+i(/9]
<H5lkU!$k&79F`rj9H9kbNG9#3N3^sI,:T
9klg"NFS 5<P<,O07F$J$D=-,"j^9#5<P<r
j0GO09kKO"NFS 5<P<Nk<HH7F"J<N3^sIrB
T7^9#
/usr/lib/nfs/mountd
/usr/lib/nfs/nfsd -a 16
3liN3^sIO"/etc/dfs/dfstab U!$kK`\,"lP"V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F/@5$#
mU@:
n.9kf<6<>O"*Zl<F#s0&79F`N?>,'H DB2 N?>,'K
hC?bNGJ1lPJj^;s#
jg:
3liN 3 o`Nf<6<r9YFn.9kKO"!Nh&J9FCWrBT7^9#
1. p\3sTe<?<Km0*s7^9#
2. !Nh&J3^sIr~O7F"$s9?s9j-TN0k<W (?H(P"
db2iadm1)" UDF ^?O9H"<I&Wm7<8c<rBT9kf<6< (?H(
P" db2fadm1)"*hS Administration Server (?H(P"db2asgrp) rn.7^
9#
groupadd id=999 dbiadm1
groupadd id=998 db2fadm1
groupadd id=997 db2asgrp
3. !N3^sIrHQ7F"=l>lN0k<W4HKf<6<rn.7^9#=l>
lNf<6<N[<`&G#l/Hj<O"f<6<,J0Kn.7&Q7? DB2
[<`&G#l/Hj< (/db2home) HJj^9#
162
DB2 5<P<!= 5b*hS$s9H<k
useradd -g db2iadm1 -d /home/db2instl -m db2inst1 passwd mypasswrd
useradd -g db2fadm1 -d /home/db2fenc1 -m db2inst1 passwd mypasswrd
useradd -g dbasgrp -d /home/db2fenc1 -m db2inst1 passwd mypasswrd
4. !Nh&J3^sIr~O7F"n.7?Ff<6<Ni|Q9o<Ir_j7^
9#
passwd db2inst1
passwd db2fenc1
passwd db2as
5. m0"&H7^9#
6. n.7?Ff<6< (db2inst1"db2fenc1"*hS db2as) H7F"p\3sTe<
?<Km0*s7^9#=l>lNf<6<NQ9o<IrQ99kh&WmsWH
GX(5lk3H,"j^9#=Nf<6<,79F`Km0*s9kNO3l,i
aF@+iG9#
7. m0"&H7^9#
8. Q<F#7gs&G<?Y<9&79F`K2C9k=l>lN3sTe<?<e
K"^C?/18f<6<&"+&sH*hS0k<W&"+&sHrn.7^9#
3NcGO"3N?9/r ComputerB"ComputerC"*hS ComputerD GBT7^
9#
X"qA:
v 235 Z<8NXNIS $s9H<kNmU@Y
CD-ROM N^&sH (Solaris)
0sro:
NFS rHQ7Fjb<H&79F`+i CD-ROM Ii$Vr^&sH9klgO"j
b<H&3sTe<?<eN CD-ROM U!$k&79F`r root "/;9KhCF
(/9]<H9k,W,"j^9#m<+k&3sTe<?<K CD-ROM U!$k&
79F`r^&sH9klgb"dOj root "/;9rHQ7J1lPJj^;s#
jg:
Solaris *Zl<F#s0D-K CD-ROM r^&sH9kKO"J<K(99FCWr
BT7^9#
1. root "Br}Df<6<H7Fm0$s7^9#
2. CD-ROM rIi$VK^~7^9#
3. \je<`&^M<8c<r79F`GBT7J$lgO"!Nh&J3^sIr~
O7F CD-ROM r^&sH7F/@5$#
mkdir -p /cdrom/unnamed_cdrom
mount -F hsfs -o ro /dev/dsk/c0t6d0s2 /cdrom/unnamed_cdrom
h 10 O Q<F#7gs DB2 5<P<N$s9H<k (UNIX)
163
33G" /cdrom/unnamed_cdrom O CD-ROM ^&sH&G#l/Hj<r"
/dev/dsk/c0t6d0s2 O CD-ROM Ii$VuVr=7F$^9#
\je<`&^M<8c< (vold) ,BT5lF$k79F`Nlg"!Nh&K9
kH"CD-ROM O+0*K^&sH5l^9#
/cdrom/unnamed_cdrom
4. m0"&H7^9#
CD-ROM U!$k&79F`,^&sH5l^9# CD-ROM NbFr=(9kKO"
G#9/rIi$VK^~7"cd /cdrom 3^sIr~O7F/@5$#33G"
cdrom O"CD-ROM ^&sH&]$sH&G#l/Hj<G9#
4HQN3sTe<?<XN DB2 =J CD-ROM NbFN3T<
3N?9/GO"DB2 ESE =J CD-ROM NbFr"&Q DB2 [<`&U!$k&7
9F`K3T<9k?aN9FCWr-R7^9# DB2 CD-ROM NbFN3T<O"
DB2 NQ<F#7gs&$s9H<kKG-N9FCWG9# DB2 r1~K#tN3
sTe<?<K$s9H<k7h&H7F$k?a"O<I&G#9/+iN$s9H
<kO"CD-ROM +iN$s9H<khjb+Jj./BT5l^9#3Na=CI
O"3sTe<?<, 5 fJeH_~^lF$k79F`NlgKd)5l^9#
eX}!H7F"=l>lN3sTe<?<+i CD-ROM U!$k&79F`r NFS
^&sH9k}!,"j^9# DB2 [<`&U!$k&79F`eK=,JG#9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9#
jg:
!Nh&K7F"DB2 ;CH"CW&&#6<IrHQ7F"p\3sTe<?<K
DB2 ESE r$s9H<k7^9#
1. AIX"HP-UX"*hS Linux NlgO" DB2 =J CD-ROM NbFr3T<7?
/db2home U!$k&79F`NG#l/Hj<+i" db2setup 3^sIr~O7
F" DB2 ;CH"CW&&#6<Ir+O7^9# Solaris *Zl<F#s0DNlgO" DB2 =J CD-ROM NbFr3T<7? /db2home U!$k&79F`
NG#l/Hj<+i"!N3^sIr~O7F DB2 ;CH"CW&&#6<Ir
+O7^9#
zcat product.tar.Z | tar -xf - ; ./product/db2setup command
?H(P DB2 Enterprise Server Edition N=J>, ese NlgO"!N3^sIr
~O7^9#
zcat ese.tar.Z | tar -xf - ; ./ese/db2setup
?H(P"!Nh&K7^9#
/db2home/db2cdrom/db2setup
h 10 O Q<F#7gs DB2 5<P<N$s9H<k (UNIX)
165
7Pi/9kH DB2 P<8gs 8 $s9H<kNisAQCI,+-^9#
DB2 isAQCI+i"$s9H<kN0sro*hSjj<9psr2H9k3
H,G-^9#^?"/$C/&D"<r*r7F"DB2 P<8gs 8 N!=KD
$FNk3HbG-^9#
2. isAQCINpsr2H7*(?i"$s9H<krJa^9#
J<K"DB2 ;CH"CW&&#6<IN$s9H<k&QMk"*hSp\3sTe
<?<eK DB2 ESE r57/$s9H<k9k?aK,WJ*rKD$Fb@7^
9#
$s9H<k&"/7gsN*r (Select the installation action)
V$s9H<k&"/7gsN*r (Select the installation action)WQMkG"
VDB2 UDB Enterprise Server Edition r3N3sTe<?<K$s9H<
k9k (Install DB2 UDB Enterprise Server Edition on this computer)W
*hSV_jr~zU!$kK]I9k (Save your setting to a response
file)WN>}r*r9k,W,"j^9#~zU!$kO"2C3sTe<?
<K DB2 r$s9H<k9k?aKHQ7^9#
166
DB2 5<P<!= 5b*hS$s9H<k
DB2 Administration Server (DAS) Nf<6<psN_j (Set user information
for the DB2 Administration Server (DAS))
VDB2 Administration Server (DAS) Nf<6<psN_j (Set user information
for the DB2 Administration Server (DAS))WQMkG"4HQND-r$s9H
<kN?aK`w7?]Kn.7? DAS f<6<r*r9k,W,"j^
9#=lG"V{8f<6< (Existing user)Wi8*&\?sr*r7Ff
<6<r~O9k+"^?OV...W\?srHQ7F"J0Kn.7? DAS
f<6<r57F/@5$#
h 10 O Q<F#7gs DB2 5<P<N$s9H<k (UNIX)
167
DB2 $s9?s9N;CH"CW (Set up a DB2 instance)
VDB2 $s9?s9N;CH"CW (Set up a DB2 instance)WQMkG"
VDB2 $s9?s9Nn. (Create a DB2 instance)Wr*r7^9#
$s9?s9NHQ}!N*r (Select how this instance will be used)
V$s9?s9NHQ}!N*r (Select how this instance will be used)WQM
kG"VQ<F#7gs&$s9?s9 (Partitioned instance)Wr*r9k
,W,"j^9#
168
DB2 5<P<!= 5b*hS$s9H<k
DB2 $s9?s9j-TNf<6<psN_j (Set user information for the DB2
instance)
VDB2 $s9?s9j-TNf<6<psN_j (Set user information for the
DB2 instance)WQMkG"$s9H<kN?aKD-r`w7?]Kn.7?
$s9?s9j-Tr*r9k,W,"j^9#=lG"V{8f<6<
(Existing user)Wi8*&\?sr*r7Ff<6<r~O9k+"^?O
V...W\?srHQ7F$s9?s9j-Tr*r7^9#
h 10 O Q<F#7gs DB2 5<P<N$s9H<k (UNIX)
169
,%f<6<Nf<6<psN_j (Set user information for the fenced user)
V,%f<6<Nf<6<psN_j (Set user information for the fenced
user)WQMkG"$s9H<kN?aKD-r`w7?]Kn.7?"{8N
,%f<6<r*r7^9#V{8f<6< (Existing user)Wi8*&\?s
r*r7Ff<6<r~O9k+"^?OV...W\?srHQ7F,%f<6
<r*r7^9#
170
DB2 5<P<!= 5b*hS$s9H<k
I}"mhj9HN;CH"CW (Set up the administration contact list)
VI}"mhj9HN;CH"CW (Set up the administration contact list)WQ
MkG"Vm<+k (Local)Wr*r7^9#3N*rGO"4HQN79F
`N"mhpsr]I9k?a"p\3sTe<?<eKU!$krn.7^
9#
"mhpsO"DB2 ,79F`I}TK"LNd"i<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
!Nh&K7F"~zU!$krHQ7F"ICNG<?Y<9&Q<F#7gs&5
<P<r$s9H<k7^9#
1. Q<F#7gs&G<?Y<9D-K2C9k3sTe<?<K"root H7Fm0
*s7^9#
2. DB2 =JN CD-ROM NbFr3T<7?G#l/Hj<KQ97^9#
cd /db2home/db2cdrom
3. !Nh&K ./db2setup 3^sIr~O7^9#
./db2setup -r /responsefile_directory/response_file_name
3NcGO"~zU!$k AddPartitionResponse.file r /db2home G#l/Hj
<K]I7F$kNG"3^sIO!Nh&KJj^9#
./db2setup -r /db2home/AddPartitionResponse.file
4. $s9H<k,0;7?JiP"m0&U!$kK"kaC;<8rA'C/7^
9#m0&U!$kNm1<7gsO /tmp/db2setup.log G9#
=l>lN3sTe<?<Km0*s7F"~zU!$k&$s9H<krBT9k,
W,"j^9#
X"?9/:
v 164 Z<8NXDB2 ;CH"CW&&#6<IrHQ7?"p\3sTe<?<XN
G<?Y<9&Q<F#7gs&5<P<N$s9H<k (UNIX)Y
N<I=.U!$kN97 (UNIX)
N<I=.U!$k (db2nodes.cfg) O"$s9?s9j-TN[<`&G#l/Hj
<K"j^9,"3lKO"ING<?Y<9&Q<F#7gs&5<P<,$s9?
s9K2C9k+r DB2 KNi;k=.ps,~CF$^9#Q<F#7gs&G<
?Y<9D-K"k=l>lN$s9?s94HK" db2nodes.cfg U!$k,"j^
9#
db2nodes.cfg U!$kKO"$s9?s9K2C9k=l>lNG<?Y<9&Q<F
#7gs&5<P<4HK 1 DN`\,J1lPJj^;s#$s9?s9rn.9k
H"db2nodes.cfg U!$k,+0*Kn.5l"$s9?s9j-NG<?Y<9&Q
<F#7gs&5<P<N`\,IC5l^9#
h 10 O Q<F#7gs DB2 5<P<N$s9H<k (UNIX)
173
?H(P"DB2 ;CH"CW&&#6<IrHQ7F DB2 $s9?s9rn.7?l
gO"p\3sTe<?< ServerA eG" db2nodes.cfg U!$k,!Nh&K975
lF$^9#
0
ServerA
0
3N?9/O"db2nodes.cfg U!$kr977F"2C3sTe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9#
0
1
2
3
ServerA
ServerB
ServerC
ServerD
0
0
0
0
4. db2nodes.cfg U!$kN97,0;7F+i" INSTHOME/sqllib/adm/db2start 3
^sIr~O7^9 (INSTHOME O"$s9?s9j-TN[<`&G#l/Hj
<)#?H(P"4HQN$s9?s9&[<`&G#l/Hj<,
/db2home/db2inst1 G"klgKO"!N3^sIr~O7^9#
/db2home/db2inst1/sqllib/adm/db2start
5. m0"&H7^9#
X"qA:
v 230 Z<8NXDB2 N<I=.U!$k (db2nodes.cfg)Y
G<?Y<9&Q<F#7gs&5<P<Nj_L.NHQD==
3N?9/O"Q<F#7gs&G<?Y<9&79F`K2C9kG<?Y<9&Q
<F#7gs&5<P<Nj_L.rHQD=K9k}!KD$Fb@7^9#G<?
Y<9&Q<F#7gs&5<P<Nj_L.O"b.3_eK1<7gs&^M<8
c< (FCM) KhCFh}5l^9# FCM rHQD=K9kKO"]<H^?O]<
HOOr"Q<F#7gs&G<?Y<9&79F`bN=l>lN3sTe<?<e
N /etc/services U!$kK~lF]I9k,W,"j^9#
3N?9/O"2C3sTe<?<eGN_BT9k,W,"j^9# DB2 ;CH"
CW&&#6<IrHQ7F$s9?s9rn.9kH"]<HOO,+0*Kp\
($s9?s9j-) 3sTe<?<K]I5l^9#
jg:
1. root "Br}Df<6<H7F"p\3sTe<?< ($s9?s9j-N3sTe
<?<) Km0*s7^9#
2. /etc/services U!$kK]I5lF$kGU)kHN]<HOOr2H7^9#=
lO!Nh&K=(5lkO:G9#
DB2_db2inst1
DB2_db2inst1_1
DB2_db2inst1_2
DB2_db2inst1_END
60000/tcp
60001/tcp
60002/tcp
60003/tcp.
GU)kHGO"60000 JeNGiN 4 DNHQD=J]<H,=s5lF$^
9#$s9?s9j-NG<?Y<9&Q<F#7gs&5<P<QK 1 D"@}
h 10 O Q<F#7gs DB2 5<P<N$s9H<k (UNIX)
175
G<?Y<9&Q<F#7gs&5<P< ($s9H<k0;eK3sTe<?<K
IC9kh&*rG-k) QK 3 DG9#
DB2 ]<H`\O"!Nh&JA0rHQ7^9#
DB2_instance_name
port_number
FWGNU#OJ<NH*jG9#
v instance_name O"Q<F#7gs&$s9?s9N>0G9#
v port_number O"G<?Y<9&Q<F#7gs&5<P<NL.QK=s9k]
<HVfG9#
3. gK=l>lN2C3sTe<?<K root f<6<H7Fm0*s7"1lN`\
r /etc/services U!$kKIC7^9#
# ma ID rHCF"=l>lN`\r-R9kmarIC9k3H,G-^9#?H
(P"!Nh&K7^9#
DB2_db2inst1
DB2_db2inst1_1
DB2_db2inst1_2
DB2_db2inst1_END
60000/tcp
60001/tcp
60002/tcp
60003/tcp
#
#
#
#
instance-owning partition port
logical partition port
logical partition port
logical partition port
X"50:
v 242 Z<8NXb.3_eK1<7gs&^M<8c< (UNIX)Y
X"qA:
v 230 Z<8NXDB2 N<I=.U!$k (db2nodes.cfg)Y
jb<H&3^sIBTNHQD== (UNIX)
Q<F#7gs&G<?Y<9&79F`K*$FO"FG<?Y<9&Q<F#7g
s&5<P<O"$s9?s9K2C7F$k>N9YFNG<?Y<9&Q<F#7
gs&5<P<eG"jb<H&3^sIrBT9k"Br}CF$J1lPJj^;
s#3N3HO"$s9?s9N[<`&G#l/Hj<K"k" .rhosts U!$kr
979k3HKhCFT&3H,G-^9#$s9?s9N[<`&G#l/Hj<O
&Q DB2 [<`&U!$k&79F`eK"kNG" .rhosts U!$kO 1 D@1
,WG9#
0sro:
v root "Br}CF$k,W,"j^9#
v =l>lN2C3sTe<?<N[9H>rNCF$k,W,"j^9#
v
$s9?s9j-TNf<6<>rNCF$k,W,"j^9#
jg:
1. root "Br}Df<6<H7Fm0*s7^9#
176
DB2 5<P<!= 5b*hS$s9H<k
2. .rhosts U!$kr$s9?s9&[<`&G#l/Hj<Kn.7^9#?H(
P"4HQN$s9?s9&[<`&G#l/Hj<, /db2home/db2inst1 G"k
lgKO"!N3^sIr~O9k3HKhCF"vi Nh&J(G#?<rHQ7
F .rhosts U!$krn.9k3H,G-^9#
vi /db2home/db2inst1/.rhosts
3. p\3sTe<?<b^aF"=l>lN3sTe<?<N`\r .rhosts U!$k
KIC7^9# .rhosts U!$kNU)<^CHO!NH*jG9#
hostname
instance_owner_user_name
79F`KhCFO"9$[9H>rXj9k,W,"k+b7l^;s (?H(P
ServerA.yourdomain.com)#[9H>`\r .rhosts U!$kKIC9k0K"
/etc/hosts *hS /etc/resolv.conf U!$kN[9H>,rhG-k3HrN'7F/
@5$#
INSTHOME/.rhosts U!$kKO"!Nh&J`\,^^lF$kO:G9#
ServerA.yourdomain.com
ServerB.yourdomain.com
ServerC.yourdomain.com
ServerD.yourdomain.com
db2inst1
db2inst1
db2inst1
db2inst1
=l>lN[9H>r 1 D 1 DXj9keojK"!N`\r .rhosts U!$k
KXj9k3H,G-^9#?@7"3lKO;-ejF#<&j9/,"kD=,"kNG"F9HD-GN_T&Y-G9#
+ db2inst1
b.9$CA (netname) r db2nodes.cfg U!$kGXj7?lgKO"=l>lN
3sTe<?<N netname `\b .rhosts U!$kKIC9k,W,"j^9#
netname MO"db2nodes.cfg U!$kN 4 V\NsKXj7^9#b.9$CA
(netname) `\r}D .rhosts U!$kO"!Nh&KJj^9#
ServerA.yourdomain.com
ServerB.yourdomain.com
ServerC.yourdomain.com
ServerD.yourdomain.com
Switch1.yourdomain.com
Switch2.yourdomain.com
Switch3.yourdomain.com
Switch4.yourdomain.com
db2inst1
db2inst1
db2inst1
db2inst1
db2inst1
db2inst1
db2inst1
db2inst1
.rhosts U!$krHQ9keojK"/etc/hosts.equiv U!$krHQ9k3H,G
-^9# /etc/hosts.equiv U!$kKO" .rhosts U!$kH^C?/18`\,~
j^9,"=liO=l>lN3sTe<?<eGn.9k,W,"j^9#
.rhosts U!$k^?O /etc/hosts.equiv U!$kKD$F\7/O"4HQN*Z
l<F#s0&79F`NqAr2H7F/@5$#
h 10 O Q<F#7gs DB2 5<P<N$s9H<k (UNIX)
177
3sHm<k&;s?<I}NHQD== (UNIX)
Q<F#7gs&G<?Y<9&79F`rI}9kNK3sHm<k&;s?<rH
Q9kKO"^:"9YFN3sTe<?<eG DB2 Administration Server ,O05l
F$J1lPJj^;s#
jg: !Nh&K7F"Q<F#7gs&G<?Y<9&79F`N3sHm<k&;
s?<I}rHQD=K7^9#
=l>lN3sTe<?<G DB2 Administration Server rO09k
1. gK=l>lN3sTe<?< (ServerA"ServerB"ServerC"ServerD) K"
DB2 Administration Server f<6<H7Fm0*s7^9#3NcGO"
db2as , DAS f<6<G9#
2. !K(93^sIr~O7F"DB2 Administration Server rO07^9#
/DASHOME/das/bin/db2admin start
DASHOME O"DB2 Administration Server N[<`&G#l/Hj<G
9#3NcGO"DASHOME , /db2home/db2as G9#
G7NU#C/9QC/N,Q
G7NU#C/9QC/N,Q O"hjg-J?9/G"k DB2 =JN$s9H<k
NltH7FN*W7gsG9#
DB2 U#C/9QC/O"IBM GNF9HN]K!P5l?P0KP9kU#C/9
(Wm0i`GGMjq (APAR)) H"\R+isp5l?P0NU#C/9+i.j^
9#INU#C/9QC/Kb"P0&U#C/9NbFrb@7? APARLIST.TXT
H$&=jNqA,:U5lF$^9#
U#C/9QC/O_Q5l^9#=NU#O""k$UNP<8gsN DB2 NG7
NU#C/9QC/KO"18P<8gsN DB2 N=l^GNU#C/9QC/r9
77?bF,9YF~CF$kH$&3HG9# DB2 NBTD-rG7NU#C/9
QC/&lYkK]CF"`nGdj,88J$h&K9k3Hr*+a7^9#
Q<F#7gs ESE 79F`KU#C/9QC/r$s9H<k9kH-O"79F
`r*Ui$sK7F"9YFN2C3sTe<?<K18U#C/9QC/r$s9
H<k9k,W,"j^9#
0sro:
FU#C/9QC/KO=l>lG-N0sro,"j^9#\YO"U#C/9QC
/KU07F$k FixPak README r2H7F/@5$#
jg:
178
DB2 5<P<!= 5b*hS$s9H<k
1. G7N DB2 U#C/9QC/O"
http://www.ibm.com/software/data/db2/udb/winos2unix/support K"k IBM DB2 UDB
and DB2 Connect *si$s&5]<H+i@&sm<I7F/@5$#
2. FU#C/9QC/KO"jj<9&N<HH README ,~CF$^9#
README KO"U#C/9QC/N$s9H<k}!Nrb,RYilF$^9#
Q<F#7gs&G<?Y<9&5<P<N$s9H<kN!: (UNIX)
DB2 5<P<N$s9H<k,.y7?+r!:9k?aKO"5sWk&G<?Y<
9rn.7"SQL 3^sIrBT7F5sWk&G<?r!w7"G<?,9YFN2
CG<?Y<9&Q<F#7gs&5<P<K,65lF$k+rN'7^9#
0sro:
9YFN$s9H<k&9FCWr0;7F$k3H#
jg:
!Nh&K7F"SAMPLE G<?Y<9rn.7^9#
1. p\3sTe<?< (ServerA) K"$s9?s9j-Nf<6<H7Fm0*s7^
9# 3N$s9H<kcGO"db2inst1 ,$s9?s9j-Nf<6<G9#
2. db2sampl 3^sIr~O7F" SAMPLE G<?Y<9rn.7^9#GU)kH
GO"5sWk&G<?Y<9,$s9?s9j-TN[<`&G#l/Hj<Kn
.5l^9#3NcGO"/db2home/db2inst1/ ,$s9?s9j-TN[<`&G
#l/Hj<G9#$s9?s9j-TN[<`&G#l/Hj<O"GU)kHN
G<?Y<9&Q9G9#
3N3^sIO"h}Kt,++k3H,"j^9#0;aC;<8O"j^;s#
3^sI&WmsWH,akH"Wm;9O0;G9#
SAMPLE G<?Y<9,n.5lkH"+0*KG<?Y<9L> SAMPLE H7F+
?m05l^9#
3. db2start 3^sIr~O7F"G<?Y<9&^M<8c<r+O7^9#
4. !N DB2 3^sIr DB2 3^sI&&#sI&+i~O7F" SAMPLE G<?Y
<9K\37"tg 20 GnH7F$k9YFN>HwNj9Hr!w7^9#
db2 connect to sample
db2 "select * from staff where dept = 20"
5. 9YFNG<?Y<9&Q<F#7gs&5<P<KG<?,,65l?3HrN'
9k?a" DB2 3^sI&&#sI&+i!N3^sIr~O7^9#
select distinct dbpartitionnum(empno) from employee;
h 10 O Q<F#7gs DB2 5<P<N$s9H<k (UNIX)
179
POGO employee =KhCFHQ5lkG<?Y<9&Q<F#7gsrj9H7
^9#G<?Y<9bNQ<F#7gsNtH" employee =,n.5l?=9Z<
9KhCFHQ5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kK>CF"*rrTCF/@5$#DjN9FCWKD$Fb@7F$k$s9
H<k`nNXkWrxQG-^9#$s9H<k`nNXkWrFSP9KO"
VXkW (Help)Wr/jC/9k+"^?O F1 r!7^9#V-cs;k
(Cancel)Wr/jC/9lP"$DGb$s9H<kr*;G-^9# DB2 ;CH
"CW&&#6<INGeN$s9H<k&QMkGV0; (Finish)Wr/jC/
9kH" DB2 U!$kO4HQN79F`K3T<5l^9#
X"50:
v 11 Z<8NXDB2 5<P<N$s9H<kN5W (UNIX)Y
v 13 Z<8NXQ<F#7gs DB2 5<P<N$s9H<kN5W (UNIX)Y
v DB2 Universal Database Personal Edition 5b*hS$s9H<k NXDB2 Personal
Edition N$s9H<kN5W (Linux)Y
h 10 O Q<F#7gs DB2 5<P<N$s9H<k (UNIX)
181
182
DB2 5<P<!= 5b*hS$s9H<k
h 5 t DB2 /i$"sHN$s9H<k
© Copyright IBM Corp. 1993-2002
183
184
DB2 5<P<!= 5b*hS$s9H<k
h 11 O DB2 /i$"sHN5W
DB2 /i$"sH
DB2® /i$"sHKO!N 3 DN?$W,"j^9#
v Run-Time Client
v Administration Client
v Application Development Client
DB2 /i$"sHO"18jj<9&lYkN DB2 5<P<@1GJ/"/i$"s
HNjj<9&lYkhjb 2 jj<977$5<P<"^?O 1 jj<9E$5<
P<K\39k3H,G-^9#D^j DB2 P<8gs 6 /i$"sHO"P<8g
s 5"6"7"*hS 8 N DB2 5<P<K\3G-^9#
DB2 /i$"sHeKG<?Y<9rn.9k3HOG-^;s# DB2 5<P<eK
"kG<?Y<9K"/;99k,W,"j^9#
X"50:
v 185 Z<8NXDB2 Run-Time ClientY
v 186 Z<8NXDB2 Administration ClientY
v 187 Z<8NXDB2 Application Development ClientY
v $s9H<k*hS=. d- NX~zU!$kY
X"?9/:
v 192 Z<8NXWindows *Zl<F#s0&79F`eGN DB2 /i$"sHN$
s9H<kY
v 202 Z<8NXUNIX eGN DB2 /i$"sHN$s9H<kY
/i$"sHN?$W
DB2 Run-Time Client
DB2® Run-Time Client O""Wj1<7gs, DB2 Universal Database™ 5<P<*
hS DB2 Connect 5<P<K"/;99k?aK,WJ!=rw(?Z$/i$"s
HG9#!=KOL.WmH3kN5]<H*hS JDBC"SQLj"ODBC"CLI"*hS
OLE DB JIN"Wj1<7gs&$s?<U'<9N5]<H,H_~^lF$^
9#J0N Run-Time Client N GUI !=Ngt,r|n7?kL"P<8gs 8 N
Run-Time Client NG#9/jWLO:/7^7?#
© Copyright IBM Corp. 1993-2002
185
m:
1. =."79?sHO Windows® Run-Time Client KOQC1<85lF$^;s#H
QG-k GUI O CLI/ODBC NI} GUI N_G9#
2. DB2 Run-Time Client r CLI "Wj1<7gsGxQ9klgO" DB2 Run-Time
Client rHQ7Fv0K^7sN CLI QC1<8r,ZJP$sI&U!$kKP
$sI9k,W,"j^9#
DB2 Run-Time Client rHQG-kWiCHU)<`O" AIX"HP-UX"Linux"Solaris
*Zl<F#s0D-"*hS Windows NF*Zl<F#s0&79F`G9#
X"50:
v 185 Z<8NXDB2 /i$"sHY
v 186 Z<8NXDB2 Administration ClientY
v 187 Z<8NXDB2 Application Development ClientY
X"?9/:
v 192 Z<8NXWindows *Zl<F#s0&79F`eGN DB2 /i$"sHN$
s9H<kY
v 202 Z<8NXUNIX eGN DB2 /i$"sHN$s9H<kY
DB2 Administration Client
DB2® Administration Client rHQ9kH"5^6^JWiCHU)<`No</9F<
7gs+i DB2 G<?Y<9XN"/;9HI}rT&3H,G-^9# DB2
Administration Client KO DB2 Run-Time Client N9YFN!=,"j"5iK9YF
N DB2 I}D<k*hS7s&/i$"sHN5]<H,H_~^lF$^9#
DB2 Administration Client rHQG-kWiCHU)<`O"AIX"HP-UX"Linux"
Solaris *Zl<F#s0D-"*hS Windows® NF*Zl<F#s0&79F`G
9#
X"50:
v 185 Z<8NXDB2 /i$"sHY
v 185 Z<8NXDB2 Run-Time ClientY
v 187 Z<8NXDB2 Application Development ClientY
X"?9/:
v 192 Z<8NXWindows *Zl<F#s0&79F`eGN DB2 /i$"sHN$
s9H<kY
v 202 Z<8NXUNIX eGN DB2 /i$"sHN$s9H<kY
186
DB2 5<P<!= 5b*hS$s9H<k
DB2 Application Development Client
DB2® Application Development Client O"8zY<9"^kAaG#""*hS*V8
'/HX~N"Wj1<7gsN+/QN0iU#C/*hSs0iU#C/&D<k
H3s]<MsHN8gG9#ClU#<Ac<H7F"5]<H7F$k9YFNW
m0i`@lQNGYmCWasH&;s?<H5sWk&"Wj1<7gsr^sG
$^9# Application Development Client KO" DB2 Administration Client =JNlt
H7Fs!5lkD<kH3s]<MsHbH_~^lF$^9#
DB2 Application Development Client rHQG-kWiCHU)<`O"AIX"HP-UX"
Linux"Solaris *Zl<F#s0D-"*hS Windows® NF*Zl<F#s0&79
F`G9#
X"50:
v 185 Z<8NXDB2 /i$"sHY
v 185 Z<8NXDB2 Run-Time ClientY
v 186 Z<8NXDB2 Administration ClientY
X"?9/:
v 192 Z<8NXWindows *Zl<F#s0&79F`eGN DB2 /i$"sHN$
s9H<kY
v 202 Z<8NXUNIX eGN DB2 /i$"sHN$s9H<kY
h 11 O DB2 /i$"sHN5W
187
188
DB2 5<P<!= 5b*hS$s9H<k
h 12 O Windows eGN DB2 /i$"sHN$s9H<k
/i$"sHWo
DB2 /i$"sHN$s9H<kWo (Windows)
Windows eN DB2 /i$"sHN*Zl<F#s0&79F`Wo"=UH&'"W
o"*hSL.WorJ<K(7^9#
*Zl<F#s0&79F`Wo
!N$:l+,,WG9#
v Windows 98
v Windows ME
v Windows NT P<8gs 4.0 (Service Pack 6a J_r,Q)
v Windows NT Server 4.0 ?<_Jk&5<P<&(G#7gs (DB2
Run-Time Client N_5]<H) (?<_Jk&5<P<QK Service Pack 6
J_r,Q)
v Windows 2000
v Windows XP (32 SCH*hS 64 SCH&(G#7gs)
v Windows .NET 5<P< (32 SCH*hS 64 SCH&(G#7gs)
=UH&'"Wo
v 3sHm<k&;s?<Nh&J DB2 N0iU#C/&D<krBT9k
KO" Java Runtime Environment (JRE) P<8gs 1.3.1 ,,WG9# JRE
,^@$s9H<k5lF$J$lgO" DB2 GHQG-kh&K"HG
$s9H<k7F/@5$# DB2 P<8gs 8 Run-Time Client O DB2
JAVA GUI D<krw(F$^;s#
v LDAP (Lightweight Directory Access Protocol) rHQ9klgO" Microsoft
LDAP /i$"sH^?O IBM SecureWay LDAP /i$"sH V3.1.1 J
_N$:l+,,WG9# Microsoft LDAP /i$"sHO" Windows
ME"Windows 2000"Windows XP"*hS Windows .NET NF*Zl<F
#s0&79F`KH_~^lF$^9#
v G<?Y<9NPC/"CWHj9H"K Tivoli Storage Manager !=rH
&lgKO" Tivoli Storage Manager /i$"sHNP<8gs 3 J_,
,WG9#
v 4HQN*Zl<F#s0&79F`K IBM Antivirus Wm0i`,$s9
H<k5lF$klgKO"3lr*UK9k+"s$s9H<k7J1l
P DB2 $s9H<kr0;9k3HOG-^;s#
© Copyright IBM Corp. 1993-2002
189
v Application Development Client r$s9H<k9klgO" SQL 9H"<
I&Wm7<8c<rSkI9k?aN C 3sQ$i<,,WG9#
L.Wo
v >0U-Q$W"NetBIOS"^?O TCP/IP
v Windows p\*Zl<F#s0&79F`O">0U-Q$W"NetBIOS"
*hS TCP/IP \3rw(F$^9#
m: P<8gs 8 GO"G<?Y<9Njb<H&GNI}QK DB2 ,5]
<H9kNO TCP/IP N_G9#
X"50:
v 185 Z<8NXDB2 /i$"sHY
v 185 Z<8NXDB2 Run-Time ClientY
v 186 Z<8NXDB2 Administration ClientY
v 187 Z<8NXDB2 Application Development ClientY
X"?9/:
v 192 Z<8NXWindows *Zl<F#s0&79F`eGN DB2 /i$"sHN$
s9H<kY
X"qA:
v 190 Z<8NXDB2 /i$"sHNabj<WoY
v 191 Z<8NXDB2 /i$"sHNG#9/WoY
DB2 /i$"sHNabj<Wo
DB2 /i$"sHNF?$WNd)G.abj<WoN5WrJ<K(7^9#
v DB2 Run-Time client K,WJabj<NLO"BT9k*Zl<F#s0&79F
`HG<?Y<9&"Wj1<7gsKhCF[Jj^9#?/Nlg"*Zl<F
#s0&79F`NG.abj<Wor DB2 Run-Time client rBT9k?aNG.
WoH9k3H,G-^9#
v Administration ^?O Application Development client G0iU#C/&D<krBT
9kKO"5iK 64 MB N RAM ,,WKJj^9#?H(P Windows 2000
Professional ,T/9k Administration Client ^7sG0iU#C/&D<krBT9
klg"*Zl<F#s0&79F`QKGcB 64 MB N RAM H"D<kQK5
iK 64 MB N RAM ,,WKJj^9#
m: d)NG.abj<WoK~?J$lgO"QU)<^s9K-FArZ\93H
,"j^9#
X"50:
v 185 Z<8NXDB2 /i$"sHY
190
DB2 5<P<!= 5b*hS$s9H<k
X"?9/:
v 192 Z<8NXWindows *Zl<F#s0&79F`eGN DB2 /i$"sHN$
s9H<kY
v 202 Z<8NXUNIX eGN DB2 /i$"sHN$s9H<kY
DB2 /i$"sHNG#9/Wo
$s9H<kGNB]NO<I&G#9/NWoO"4HQNU!$k&79F`*h
S$s9H<k9k/i$"sH&3s]<MsHKhCF[Jj^9#4HQN"W
j1<7gs+/D<k*hSL.=JNG#9/&9Z<9,WLr~?7F$k3
HrN'7F/@5$#
J<N=O"Windows *hS UNIX Y<9N*Zl<F#s0&79F`GN DB2
/i$"sHNG.G#9/&9Z<9Wor(7?bNG9# DB2 ;CH"CW&
&#6<IrHQ7F DB2 /i$"sHr$s9H<k9kH-O"5$:+Qbj
O$s9H<k&?$WH3s]<MsH*rKpE$F"$s9H<k&Wm0i`
KhCF0*KXj5l^9#
= 18. Windows Q DB2 /i$"sH — d)G.G#9/&9Z<9
Windows Q DB2 /i$"sH
d)G.G#9/&9Z<9 (MB)
DB2 Run-Time Client
20 A 30 MB
DB2 Administration Client
80 A 110 MB
DB2 Application Development Client
325 MB (JDK r^`)
= 19. UNIX Q DB2 /i$"sH — d)G.G#9/&9Z<9
UNIX Q DB2 /i$"sH
d)G.G#9/&9Z<9 (MB)
DB2 Run-Time Client
50 A 60 MB
m: /home G#l/Hj<GN$s9?s
9n.N?aK5iK 20 MB ,,WJl
g,"j^9#
DB2 Administration Client
125 MB (JRE O^^J$)
m: /home G#l/Hj<GN$s9?s
9n.N?aK5iK 20 MB ,,WJl
g,"j^9#
DB2 Application Development Client
130 A 160 MB (JDK O^^J$)
m: /home G#l/Hj<GN$s9?s
9n.N?aK5iK 20 MB ,,WJl
g,"j^9#
X"50:
h 12 O Windows eGN DB2 /i$"sHN$s9H<k
191
v 185 Z<8NXDB2 /i$"sHY
X"?9/:
v 192 Z<8NXWindows *Zl<F#s0&79F`eGN DB2 /i$"sHN$
s9H<kY
v 202 Z<8NXUNIX eGN DB2 /i$"sHN$s9H<kY
Windows *Zl<F#s0&79F`eGN DB2 /i$"sHN$s9H<k
33GO"Windows *Zl<F#s0&79F`eGN DB2 /i$"sHN$s9H
<k}!KD$Fb@7^9#
0sro:
DB2 /i$"sHr$s9H<k9k0K"!N3H,,WG9#
v 4HQN79F`,"abj<"G#9/&9Z<9"*hS$s9H<kNFWo
r9YF~?7F$k3HrN'7F/@5$#
v $s9H<krBTG-k!Nf<6<&"+&sH,"k3HrN'7F/@5
$#
Windows 98"Windows ME
-zJ Windows 98 f<6<&"+&sH#
Windows ?<_Jk&5<P<"Windows NT"Windows 2000" Windows
XP"*hS Windows .NET
29H&0k<Whjbg-$"Br}D"f<6<&0k<WJIN0k
<WK09kf<6<&"+&sH#
m: f<6<&0k<WNltH7F Windows 2000 5<P<*hS
Windows .NET eG$s9H<krBT9klgO"
HKEY_LOCAL_MACHINE¥Software l89Hj<&VisAXNf<6<N
q-~_"/;9rvD9kh&Kl89Hj<&"/;9"rQ99
k,W,"j^9# Windows 2000 *hS Windows .NET NGU)k
HND-GO"f<6<&0k<WNasP<,
HKEY_LOCAL_MACHINE¥Software l89Hj<&VisAKP7F}CF
$kNOI_hj"/;9"N_G9#
jg:
DB2 /i$"sHr$s9H<k9kKO"!Nh&K7^9#
1. $s9H<krBT9k?aKHQ9kf<6<&"+&sHG"79F`Km0*
s7^9#
2. >N9YFNWm0i`r7cCH@&s7" DB2 ;C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WJlgO" /etc/system XNQ9r-z
K9k?aKjV<H,,WKJj^9#
m: 3liNQia<?<N_jO" DB2 /i$"sHN$s9H<khj0KTo
J1lPJj^;s#
O<I&'"Wo
HP 9000 7j<: 700 ^?O 800 79F`
*Zl<F#s0&79F`Wo
v HP-UX 11.0 (32 SCH) lLjj<9&PsIk + PHSS-24303
v HP-UX 11.0 (64 SCH) lLjj<9&PsIk + PHSS-24303
v HP-UX 11i (32 SCH) 2001 / 6 nlLjj<9&PsIk
v HP-UX 11i (64 SCH) 2001 / 6 nlLjj<9&PsIk
=UH&'"Wo
v 3sHm<k&;s?<Nh&J DB2 N0iU#C/&D<krBT9k
KO" Java Runtime Environment (JRE) P<8gs 1.3.1 ,,WG9#$s
9H<k&Wm;9~K JRE ,^@$s9H<k5lF$J$lgO""
HG JRE r$s9H<k7F/@5$# DB2 P<8gs 8 Run-Time
Client O DB2 JAVA GUI D<krw(F$^;s#
v Application Development Client r$s9H<k9klgK" Java Developer
Kit ,,WJlg,"j^9#$s9H<k&Wm;9~K JDK ,^@$
s9H<k5lF$J$lgO""HG JDK r$s9H<k7F/@5
$#
v Application Development Client r$s9H<k9klgO" SQL 9H"<
I&Wm7<8c<rSkI9k?aN C 3sQ$i<,,WG9#
© Copyright IBM Corp. 1993-2002
195
L.Wo
v TCP/IP (TCP/IP O HP-UX p\*Zl<F#s0&79F`Kw(ilF$
^9)
m: P<8gs 8 GO"G<?Y<9Njb<H&GNI}QK DB2 ,5]
<H9kNO TCP/IP N_G9#
X"50:
v 185 Z<8NXDB2 /i$"sHY
v 185 Z<8NXDB2 Run-Time ClientY
v 186 Z<8NXDB2 Administration ClientY
v 187 Z<8NXDB2 Application Development ClientY
X"?9/:
v 67 Z<8NX+<Mk&Qia<?<NQ9 (HP-UX)Y
v 202 Z<8NXUNIX eGN DB2 /i$"sHN$s9H<kY
X"qA:
v 190 Z<8NXDB2 /i$"sHNabj<WoY
v 191 Z<8NXDB2 /i$"sHNG#9/WoY
DB2 /i$"sHN$s9H<kWo (Linux)
Linux eN DB2 /i$"sHN*Zl<F#s0&79F`Wo"=UH&'"W
o"*hSL.WorJ<K(7^9#
mU@:
+<Mk=.Qia<?<,975l?lgO79F`&jV<H,,WG9#+<M
k=.Qia<?<O /etc/system K_j5lF$^9# DB2 /i$"sHK,~5
;k?aK3liNQia<?<NQ9,,WJlgO" /etc/system XNQ9r-z
K9k?aKjV<H,,WKJj^9#
m: 3liNQia<?<N_jO" DB2 /i$"sHN$s9H<khj0KTo
J1lPJj^;s#
*Zl<F#s0&79F`Wo
Intel 32 SCH&"<-F/Ac<NlgO!,,WG9#
v +<Mk&lYk 2.4.9 Je
v glibc 2.2.4
v RPM 3
Intel 64 SCH&"<-F/Ac<Nlg"!N$:l+ ,,WG9#
196
DB2 5<P<!= 5b*hS$s9H<k
v Red Hat Linux 7.2 ^?O
v SuSE Linux SLES-7
z-Series "<-F/Ac<Nlg"!N$:l+ ,,WG9#
v Red Hat Linux 7.2 ^?O
v SuSE Linux SLES-7
=UH&'"Wo
v 3sHm<k&;s?<Nh&J DB2 N0iU#C/&D<krBT9k
KO" Java Runtime Environment (JRE) P<8gs 1.3.1 ,,WG9#
DB2 P<8gs 8 Run-Time Client O DB2 JAVA GUI D<krw(F$
^;s#
v Application Development Client r$s9H<k9klgK" Java Developer
Kit ,,WJlg,"j^9#$s9H<k&Wm;9~K JDK ,^@$
s9H<k5lF$J$lgO""HG JDK r$s9H<k7F/@5
$#3N3HO" JRE eK JDK r$s9H<kG-J$ Linux r|/9
YFNWiCHU)<`GN JRE KD$Fb1MG9#
v Application Development Client r$s9H<k9klgO" SQL 9H"<
I&Wm7<8c<rSkI9k?aN C 3sQ$i<,,WG9#
L.Wo
v TCP/IP (Linux p\*Zl<F#s0&79F`O"$s9H<k~K*r
5lF$lP TCP/IP \3rw(F$^9)
m: P<8gs 8 GO"G<?Y<9Njb<H&GNI}QK DB2 ,5]
<H9kNO TCP/IP N_G9#
X"50:
v 185 Z<8NXDB2 /i$"sHY
v 185 Z<8NXDB2 Run-Time ClientY
v 186 Z<8NXDB2 Administration ClientY
v 187 Z<8NXDB2 Application Development ClientY
X"?9/:
v 202 Z<8NXUNIX eGN DB2 /i$"sHN$s9H<kY
v 73 Z<8NX+<Mk&Qia<?<NQ9 (Linux)Y
X"qA:
v 190 Z<8NXDB2 /i$"sHNabj<WoY
v 191 Z<8NXDB2 /i$"sHNG#9/WoY
h 13 O UNIX eGN DB2 /i$"sHN$s9H<k
197
DB2 /i$"sHN$s9H<kWo (Solaris)
Solaris *Zl<F#s0D-GN DB2 /i$"sHNO<I&'"Wo"*Zl<F
#s0&79F`Wo"=UH&'"Wo"*hSL.WorJ<K(7^9#
mU@:
+<Mk=.Qia<?<,975l?lgO79F`&jV<H,,WG9#+<M
k=.Qia<?<O /etc/system K_j5lF$^9# DB2 /i$"sHK,~5
;k?aK3liNQia<?<NQ9,,WJlgO" /etc/system XNQ9r-z
K9k?aKjV<H,,WKJj^9#
m: 3liNQia<?<N_jO" DB2 /i$"sHN$s9H<khj0KTo
J1lPJj^;s#
O<I&'"Wo
Solaris SPARC Y<9N3sTe<?<
*Zl<F#s0&79F`Wo
v Solaris P<8gs 2.7 J_
m: 64 SCHNlgO Solaris P<8gs 2.7 ,,WG9#
v Solaris *Zl<F#s0D-NP<8gs 2.7 KO"!NQCA,,WG
9#
– Solaris 7 (32 SCH) QCA 106327-8
– Solaris 7 (64 SCH) QCA 106300-09
– Solaris 8 (32 SCH) QCA 108434-01 + 108528-12
– Solaris 8 (64 SCH) QCA 108435-01 + 108528-12
=UH&'"Wo
v 32 SCH Solaris Nlg"3sHm<k&;s?<Nh&J DB2 N0iU
#C/&D<krBT9kKO" Java Runtime Environment (JRE) P<8g
s 1.3.1 ,,WG9# DB2 P<8gs 8 Run-Time Client O DB2 JAVA
GUI D<krw(F$^;s#
v 64 SCH Solaris Nlg"3sHm<k&;s?<Nh&J DB2 N0iU
#C/&D<krBT9kKO" Java Runtime Environment (JRE) P<8g
s 1.4.0 ,,WG9# DB2 P<8gs 8 Run-Time Client O DB2 JAVA
GUI D<krw(^;s#
v Application Development Client r$s9H<k9klgK" Java Developer
Kit ,,WJlg,"j^9# JDK OER*K@&sm<I9kP<8g
sN DB2 K^^lF$^9# CD rHQ9k$s9H<kNlgO"JDK
OL CD K^^lF$^9#3N3HO JRE KD$Fb1MG9#
198
DB2 5<P<!= 5b*hS$s9H<k
v Application Development Client r$s9H<k9klgO" SQL 9H"<
I&Wm7<8c<rSkI9k?aN C 3sQ$i<,,WG9#
L.Wo
v TCP/IP (Solaris p\*Zl<F#s0&79F`O TCP/IP \3rw(F$
^9)
m: P<8gs 8 GO"G<?Y<9Njb<H&GNI}QK DB2 ,5]
<H9kNO TCP/IP N_G9#
X"50:
v 185 Z<8NXDB2 /i$"sHY
v 185 Z<8NXDB2 Run-Time ClientY
v 186 Z<8NXDB2 Administration ClientY
v 187 Z<8NXDB2 Application Development ClientY
X"?9/:
v 79 Z<8NX+<Mk&Qia<?<NQ9 (Solaris)Y
v 202 Z<8NXUNIX eGN DB2 /i$"sHN$s9H<kY
X"qA:
v 190 Z<8NXDB2 /i$"sHNabj<WoY
v 191 Z<8NXDB2 /i$"sHNG#9/WoY
DB2 /i$"sHN$s9H<kWo (AIX)
AIX eN DB2 /i$"sHNO<I&'"Wo"*Zl<F#s0&79F`Wo"
=UH&'"Wo"*hSL.WorJ<K(7^9#
O<I&'"Wo
RISC System/6000
*Zl<F#s0&79F`Wo
AIX NP<8gs 4.3.3.78 J_
=UH&'"Wo
v LDAP (Lightweight Directory Access Protocol) 5]<HrHQ9kKO"
IBM SecureWay Directory Client V3.1.1 , AIX V4.3.3.78 J_GT/7F$
k,W,"j^9#
v 3sHm<k&;s?<Nh&J DB2 N0iU#C/&D<krBT9k
KO" Java Runtime Environment (JRE) P<8gs 1.3.1 ,,WG9#$s
9H<k&Wm;9~K JRE ,^@$s9H<k5lF$J$lgO""
HG JRE r$s9H<k7F/@5$# DB2 P<8gs 8 Run-Time
Client O DB2 JAVA GUI D<krw(F$^;s#
h 13 O UNIX eGN DB2 /i$"sHN$s9H<k
199
v Application Development Client r$s9H<k9klgK" Java Developer
Kit ,,WJlg,"j^9#$s9H<k&Wm;9~K JDK ,^@$
s9H<k5lF$J$lgO""HG JDK r$s9H<k7F/@5
$#
v Application Development Client r$s9H<k9klgO" SQL 9H"<
I&Wm7<8c<rSkI9k?aN C 3sQ$i<,,WG9#
L.Wo
v TCP/IP (AIX p\*Zl<F#s0&79F`O"$s9H<k~K*r5
lF$lP TCP/IP \3rw(F$^9)
m: P<8gs 8 GO"G<?Y<9Njb<H&GNI}QK DB2 ,5]
<H9kNO TCP/IP N_G9#
X"50:
v 185 Z<8NXDB2 /i$"sHY
v 185 Z<8NXDB2 Run-Time ClientY
v 186 Z<8NXDB2 Administration ClientY
v 187 Z<8NXDB2 Application Development ClientY
X"?9/:
v 202 Z<8NXUNIX eGN DB2 /i$"sHN$s9H<kY
X"qA:
v 190 Z<8NXDB2 /i$"sHNabj<WoY
v 191 Z<8NXDB2 /i$"sHNG#9/WoY
DB2 /i$"sHNabj<Wo
DB2 /i$"sHNF?$WNd)G.abj<WoN5WrJ<K(7^9#
v DB2 Run-Time client K,WJabj<NLO"BT9k*Zl<F#s0&79F
`HG<?Y<9&"Wj1<7gsKhCF[Jj^9#?/Nlg"*Zl<F
#s0&79F`NG.abj<Wor DB2 Run-Time client rBT9k?aNG.
WoH9k3H,G-^9#
v Administration ^?O Application Development client G0iU#C/&D<krBT
9kKO"5iK 64 MB N RAM ,,WKJj^9#?H(P Windows 2000
Professional ,T/9k Administration Client ^7sG0iU#C/&D<krBT9
klg"*Zl<F#s0&79F`QKGcB 64 MB N RAM H"D<kQK5
iK 64 MB N RAM ,,WKJj^9#
m: d)NG.abj<WoK~?J$lgO"QU)<^s9K-FArZ\93H
,"j^9#
200
DB2 5<P<!= 5b*hS$s9H<k
X"50:
v 185 Z<8NXDB2 /i$"sHY
X"?9/:
v 192 Z<8NXWindows *Zl<F#s0&79F`eGN DB2 /i$"sHN$
s9H<kY
v 202 Z<8NXUNIX eGN DB2 /i$"sHN$s9H<kY
DB2 /i$"sHNG#9/Wo
$s9H<kGNB]NO<I&G#9/NWoO"4HQNU!$k&79F`*h
S$s9H<k9k/i$"sH&3s]<MsHKhCF[Jj^9#4HQN"W
j1<7gs+/D<k*hSL.=JNG#9/&9Z<9,WLr~?7F$k3
HrN'7F/@5$#
J<N=O"Windows *hS UNIX Y<9N*Zl<F#s0&79F`GN DB2
/i$"sHNG.G#9/&9Z<9Wor(7?bNG9# DB2 ;CH"CW&
&#6<IrHQ7F DB2 /i$"sHr$s9H<k9kH-O"5$:+Qbj
O$s9H<k&?$WH3s]<MsH*rKpE$F"$s9H<k&Wm0i`
KhCF0*KXj5l^9#
= 20. Windows Q DB2 /i$"sH — d)G.G#9/&9Z<9
Windows Q DB2 /i$"sH
d)G.G#9/&9Z<9 (MB)
DB2 Run-Time Client
20 A 30 MB
DB2 Administration Client
80 A 110 MB
DB2 Application Development Client
325 MB (JDK r^`)
= 21. UNIX Q DB2 /i$"sH — d)G.G#9/&9Z<9
UNIX Q DB2 /i$"sH
d)G.G#9/&9Z<9 (MB)
DB2 Run-Time Client
50 A 60 MB
m: /home G#l/Hj<GN$s9?s
9n.N?aK5iK 20 MB ,,WJl
g,"j^9#
DB2 Administration Client
125 MB (JRE O^^J$)
m: /home G#l/Hj<GN$s9?s
9n.N?aK5iK 20 MB ,,WJl
g,"j^9#
DB2 Application Development Client
130 A 160 MB (JDK O^^J$)
m: /home G#l/Hj<GN$s9?s
9n.N?aK5iK 20 MB ,,WJl
g,"j^9#
h 13 O UNIX eGN DB2 /i$"sHN$s9H<k
201
X"50:
v 185 Z<8NXDB2 /i$"sHY
X"?9/:
v 192 Z<8NXWindows *Zl<F#s0&79F`eGN DB2 /i$"sHN$
s9H<kY
v 202 Z<8NXUNIX eGN DB2 /i$"sHN$s9H<kY
UNIX eGN DB2 /i$"sHN$s9H<k
33GO"UNIX eG DB2 /i$"sHr$s9H<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=.Y
v $s9H<k*hS=. d- NXm<+k DB2 $s9?s9NL.WmH3kN
=.Y
v 213 Z<8NX3^sITWm;C5<rHQ7?"/i$"sH+i5<P<XN
\3N=.Y
© Copyright IBM Corp. 1993-2002
207
G<?Y<9\3N=.
=."79?sH (CA) KhkG<?Y<9\3N=.
\37?$G<?Y<9KD$FNps,"klg"j0G9YFN=.psr~O9
k3H,G-^9#3N}!O"3^sITWm;C5<rp7F3^sIr~O9k
NH`w7F$^9,"Qia<?<,0iU#+kKs(5l^9#
0sro:
CA rHQ7FG<?Y<9HN\3r=.9k0K"
v -zJ DB2 f<6< ID G"k3HrN'7F/@5$#
v DB2 5<P<^?O DB2 Connect 5<P<=J,$s9H<k5lF$k79F`
KG<?Y<9rIC9klgO" SYSADM ^?O SYSCTRL "BrU?5l?
f<6< ID G"k3HrN'7F/@5$#
jg:
CA rHQ7Fj0G79F`KG<?Y<9rIC9kKO"
1. -zJ DB2 f<6< ID rHQ7F79F`Km0*s7^9#
2. CA r+O7^9# CA O"V9?<HWaKe<+i (Windows Nlg)"^?
O db2ca 3^sIrHQ9k3HKhCF (Windows *hS UNIX 79F`Nl
g) +OG-^9#
3. CA aKe<&P<NV*rQ_ (Selected)WG"V&#6<IrHQ7FG<?
Y<9rIC (Add Database Using Wizard wizard)Wr*r7^9#
4. VG<?Y<9XN\3rj0G=.9k (Manually configure a connection to
a database)Wi8*&\?sr*r7F"V!X (Next)Wr/jC/7^9#
5. Lightweight Directory Access Protocol (LDAP) rHQ7F$klgKO" DB2 G
#l/Hj<r]}7?$ljKP~9ki8*&\?sr*r7^9#V!X
(Next)Wr/jC/7^9#
6. VWmH3k (Protocol)Wj9H+i"HQ7?$WmH3kKP~9ki8*&
\?sr*r7^9#
HQ7F$k^7sK DB2 Connect ,$s9H<k5lF*j"TCP/IP ^?O
APPC r*r9klgKO"VG<?Y<9O[9H^?O OS/400 79F`K*
}*Kos (The database physically resides on a host or OS/400
system)Wr*rG-^9#3NA'C/&\C/9r*r9kH"[9H^?O
OS/400 KN)7?$\3N?$Wr*r9k*W7gs,=(5l^9#
v DB2 Connect 2<H&'$P3N\3rN)9kKO"V2<H&'$P3G5
<P<K\3 (Connect to the server via the gateway)Wi8*&\?sr*
r7^9#
208
DB2 5<P<!= 5b*hS$s9H<k
v >\\3rN)9kKO"V5<P<K>\\3 (Connect directly to the
server)Wi8*&\?sr*r7^9#
V!X (Next)Wr/jC/7^9#
7. ,WJL.WmH3k&Qia<?<r~O7"V!X (Next)Wr/jC/7^
9#
8. IC7?$jb<H&G<?Y<9NG<?Y<9L>rVG<?Y<9>
(Database name)WU#<kIK~O7"m<+k&G<?Y<9L>rVG<?
Y<9L> (Database alias)WU#<kIK~O7^9#
[9H^?O OS/400 G<?Y<9rIC7F$klg" OS/390 ^?O z/OS G
<?Y<9Nm1<7gs>"OS/400 G<?Y<9N RDB >"^?O VSE +
VM G<?Y<9N DBNAME r"VG<?Y<9> (Database name)WU#<
kIK~O7^9#5iK*W7gsH7F"3NG<?Y<9KD$F-R9k
marVma (Comment)WU#<kIK~O7^9#
V!X (Next)Wr/jC/7^9#
9. ODBC rHQ9kWh,"klgKO"3NG<?Y<9r ODBC G<?&=<
9H7FP?7^9#3N`nrBT9kKO"ODBC ,$s9H<k5lF$J
1lPJj^;s#
10. V0; (Finish)Wr/jC/7^9#3lG"3NG<?Y<9rHQG-^9#
aKe<+iV*; (Exit)Wr*r7F"CA rD8^9#
X"?9/:
v 210 Z<8NXG#9+Pj<KhkG<?Y<9\3N=.Y
v 209 Z<8NXWmU!$kKhkG<?Y<9\3N=.Y
v $s9H<k*hS=. d- NXG<?Y<9\3NF9HY
WmU!$kKhkG<?Y<9\3N=.
5<P<&WmU!$kKO"79F`eN5<P<&$s9?s9"*hS=l>l
N5<P<&$s9?s9NG<?Y<9KD$FNps,^^lF$^9#/i$"
sH&WmU!$kKO"LN/i$"sH&79F`eK+?m0,n.5lF$k
G<?Y<9ps,^^lF$^9#WmU!$krHQ7FG<?Y<9K\39k
KO"<-Nh&K7^9#
0sro:
CA Khj"WmU!$krHQ7FG<?Y<9K\39k0K"
v -zJ DB2 f<6< ID G"k3HrN'7F/@5$#
v DB2 5<P<^?O DB2 Connect 5<P<=J,$s9H<k5lF$k79F`
KG<?Y<9rIC9klgO" SYSADM ^?O SYSCTRL "BrU?5l?
f<6< ID G"k3HrN'7F/@5$#
h 14 O CA NHQKhk\3N=.
209
jg:
WmU!$krHQ7FG<?Y<9K\39kKO"
1. -zJ DB2 f<6< ID rHQ7F79F`Km0*s7^9#
2. CA r+O7^9# CA O"V9?<HWaKe<+i (Windows Nlg)"^?O
db2ca 3^sIrHQ9k3HKhCF (Windows *hS UNIX 79F`Nlg)
+OG-^9#
3. CA aKe<&P<NV*rQ_ (Selected)WG"V&#6<IrHQ7FG<?
Y<9rIC (Add Database Using Wizard wizard)Wr*r7^9#
4. VWmU!$krHQ9k (Use a profile)Wi8*&\?sr*r7"V!X
(Next)Wr/jC/7^9#
5. V...W WC7e\?sr/jC/7F"WmU!$kr*r7^9#WmU!$k
+i=(5l?*V8'/H&Dj<+ijb<H&G<?Y<9r*r7"*r5
l?G<?Y<9,2<H&'$\3NlgKO"G<?Y<9XN\3P)r*r
7^9#V!X (Next)WWC7e\?sr/jC/7^9#
6. m<+k&G<?Y<9L>rVG<?Y<9L> (Database alias)WU#<kI
K~O7"3NG<?Y<9KD$F-R9kmarVma (Comment)WU#<k
IK~O7^9#V!X (Next)Wr/jC/7^9#
7. ODBC rHQ9kWh,"klgKO"3NG<?Y<9r ODBC G<?&=<9
H7FP?7^9#3N`nrBT9kKO"ODBC ,$s9H<k5lF$J1
lPJj^;s#
8. V0; (Finish)Wr/jC/7^9#3lG"3NG<?Y<9rHQG-^9#
aKe<+iV*; (Exit)Wr*r7F"CA rD8^9#
X"?9/:
v DB2 Universal Database /i$"sH!= 5b*hS$s9H<k NX=."79
?sH (CA) N(/9]<H!=rHQ7?/i$"sH&WmU!$kNn.Y
v $s9H<k*hS=. d- NXG<?Y<9\3NF9HY
G#9+Pj<KhkG<?Y<9\3N=.
=."79?sHNG#9+Pj<!=rH&H"MCHo</GG<?Y<9r!w
G-^9#
0sro:
G#9+Pj<rHQ7FG<?Y<9HN\3r=.9k0K"
v -zJ DB2 f<6< ID G"k3HrN'7F/@5$#
v DB2 5<P<^?O DB2 Connect 5<P<=J,$s9H<k5lF$k79F`
KG<?Y<9rIC9klgO" SYSADM ^?O SYSCTRL "BrU?5l?
f<6< ID G"k3HrN'7F/@5$#
210
DB2 5<P<!= 5b*hS$s9H<k
)B:
CA NG#9+Pj<!=, DB2 79F`KD$FNpsra9?aKO" DB2
Administration Server (DAS) ,BT5lF$F-zKJCF$k,W,"j^9#
jg:
G#9+Pj<rHQ7F79F`KG<?Y<9rIC9kKO"
1. -zJ DB2 f<6< ID rHQ7F79F`Km0*s7^9#
2. CA r+O7^9# CA O"V9?<HWaKe<+i (Windows Nlg)"^?O
db2ca 3^sIrHQ9k3HKhCF (Windows *hS UNIX 79F`Nlg)
+OG-^9#
3. CA aKe<&P<NV*rQ_ (Selected)WG"V&#6<IrHQ7FG<?
Y<9rIC (Add Database Using Wizard wizard)Wr*r7^9#
4. VMCHo</N!w (Search the network)Wi8*&\?srHQ7F"V!X
(Next)Wr/jC/7^9#
5. V{NN79F` (Known Systems)WN#NU)k@<r@Vk/jC/7^
9#/i$"sHK'15lF$k9YFN79F`Nj9H,=(5l^9#
6. 79F`N#N [+] dfr/jC/7F"$s9?s9*hS=NG<?Y<9N
j9Hr=(7^9#IC9kG<?Y<9r*r7"V!X (Next)WWC7e\
?sr/jC/7^9#
7. m<+k&G<?Y<9L>rVG<?Y<9L> (Database alias)WU#<kI
K~O7"3NG<?Y<9KD$F-R9kmarVma (Comment)WU#<k
IK~O7^9#
8. ODBC rHQ9kWh,"klgKO"3NG<?Y<9r ODBC G<?&=<9
H7FP?7^9#3N`nrBT9kKO"ODBC ,$s9H<k5lF$J1
lPJj^;s#
9. V0; (Finish)Wr/jC/7^9#3lG"IC7?G<?Y<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P/IP N<IN+?m0
v DB2 /i$"sHeGN NetBIOS N<IN+?m0
v DB2 /i$"sHeGN APPC N<IN+?m0
v DB2 /i$"sHeGN>0U-Q$WN+?m0
2.
DB2 /i$"sHeGNG<?Y<9N+?m0
© Copyright IBM Corp. 1993-2002
213
3. /i$"sH+i5<P<XN\3NF9H
X"?9/:
v 214 Z<8NX/i$"sHGN TCP/IP N<IN+?m0Y
v 216 Z<8NXDB2 /i$"sHGN NetBIOS N<IN+?m0Y
v 217 Z<8NXDB2 /i$"sHGN APPC N<IN+?m0Y
v 217 Z<8NX/i$"sHGN>0U-Q$W&N<IN+?m0Y
v 218 Z<8NXCLP KhkG<?Y<9N+?m0Y
v 220 Z<8NXCLP Khk/i$"sH&5<P<\3NF9HY
v $s9H<k*hS=. d- NXjb<H DB2 $s9?s9NL.WmH3kN
=.Y
v $s9H<k*hS=. d- NXm<+k DB2 $s9?s9NL.WmH3kN
=.Y
v $s9H<k*hS=. d- NXDB2 $s9?s9N APPC L.N=.Y
v $s9H<k*hS=. d- NXDB2 $s9?s9N NetBIOS L.N=.Y
v $s9H<k*hS=. d- NXDB2 $s9?s9N TCP/IP L.N=.Y
v $s9H<k*hS=. d- NXDB2 $s9?s9N>0U-Q$WL.N=.Y
v 207 Z<8NX=."79?sH (CA) rHQ7?"/i$"sH+i5<P<XN
\3N=.Y
X"qA:
v $s9H<k*hS=. d- NX/i$"sH&5<P<L.N7Jj*Y
N<IN+?m0
/i$"sHGN TCP/IP N<IN+?m0
3lO"CLP rHQ7?/i$"sH&5<P<\3N=. Na$s?9/NltG
9#
TCP/IP N<IN+?m0GO" DB2 /i$"sHNN<I&G#l/Hj<K"jb
<H&N<IKD$F-R9k(sHj<,IC5l^9#3N(sHj<GO"*r
5l?L> (node_name )"hostname (^?O ip_address )"*hS/i$"sH,jb
<H&[9HK"/;99kH-KH& svcename (^?O port_number ) rXj7^
9#
jg:
TCP/IP N<Ir+?m09kKO"J<N9FCWrBT7^9#
214
DB2 5<P<!= 5b*hS$s9H<k
1. 79F`I} (SYSADM) "B^?O79F`&3sHm<i< (SYSCTRL) "BN
"kf<6<H7F79F`Km0*s7^9# catalog_noauth *W7gs, ON
K_j5lF$klgKO"3liN"B,J/Fb79F`Km0*s9k3H,
G-^9#
2. UNIX /i$"sHrHQ9klgO"$s9?s9D-r;CH"CW7F+i"
DB2 3^sITWm;C5<r/07^9#+O9/jWHr!Nh&KBT7^
9#
. INSTHOME/sqllib/db2profile
(bash"Bourne"^?O Korn 7'kNlg)
source INSTHOME/sqllib/db2cshrc (C 7'kNlg)
33G"INSTHOME O"$s9?s9N[<`&G#l/Hj<G9#
3. db2 WmsWH+i!N3^sIr~O9k3HKhCF"N<Ir+?m07^
9#
catalog tcpip node node_name remote hostname| ip_address¥
server service_name| port_number¥
[remote_instance instance_name ] [system system_name ] [ostype os_type]
terminate
33G"
v system O"jb<H&5<P<N79F`>G9#
v ostype O"jb<H&5<P<&79F`N*Zl<F#s0&79F`G9#
remote_instance"system"*hS ostype O*W7gsG9," DB2 D<krH
Q9kf<6<NlgOXj9k3Hr*+a7^9#/i$"sHGHQ5lk
service_name O"5<P<NbNH18G"k,WO"j^;s#7+7"=N^C
Wh]<HVfO18GJ1lPJj^;s#
?H(P"5<S9> server1 rHQ7F" db2node H$&N<IGjb<H&[
9H myserver r+?m09kKO" db2 WmsWHK!Nh&K~O7^9#
catalog tcpip node db2node remote myserver server server1
terminate
?H(P"]<HVf 3700 rHQ7F"db2node H$&N<IK IP "Il9
9.21.15.235 Gjb<H&5<P<r+?m09kKO" db2 WmsWHK!Nh&
K~O7^9#
catalog tcpip node db2node remote 9.21.15.235 server 3700
terminate
m: terminate 3^sIO"G#l/Hj<&-cC7erjUlC7e9k?aK
,WG9#
!N9FCWO"/i$"sHGNG<?Y<9N+?m0G9#
X"?9/:
v $s9H<k*hS=. d- NXCLP Khk/i$"sHGN TCP/IP N=.Y
h 15 O 3^sITWm;C5<NHQKhk\3N=.
215
X"qA:
v 3^sI&jU!ls9 NXCATALOG TCP/IP NODE 3^sIY
DB2 /i$"sHGN NetBIOS N<IN+?m0
3lO"3^sITWm;C5< (CLP) rHQ7?/i$"sH&5<P<\3N=.
Na$s?9/NltG9#
NetBIOS N<IN+?m0GO"/i$"sHNN<I&G#l/Hj<K"jb<
H&N<Ir-R9k(sHj<,IC5l^9#N<IN(sHj<>KO"*r7
?N<IL> (node_name ) rHQ7^9#3N(sHj<GO"/i$"sH,jb
<H DB2 5<P<K"/;99k?aKHQ9k/i$"sHN@}"@W?<Vf
(adapter_number ) H5<P<No</9F<7gs> (nname ) rXj7^9#
0sro:
/i$"sHG NetBIOS r=.9k0K"
v -zJ DB2 f<6< ID rHQ7F79F`Km0*s9k,W,"j^9# DB2
5<P<^?O DB2 Connect 5<P<=J,$s9H<k5lF$k79F`XG
<?Y<9rIC9klgO"79F`I} (SYSADM) "B^?O79F`&3s
Hm<i< (SYSCTRL) "BN"kf<6<H7F79F`Km0*s7^9#
v 3liNQia<?<MKD$FO" XNetBIOS Qia<?<Mo</7<HYr
2H7F/@5$#
jg:
NetBIOS N<IN+?m0rBT9kKO"
1. db2 WmsWH+i3^sITWm;C5<K!N3^sIr~O9k3HKhC
F"N<IN+?m0rn.7^9#
catalog netbios node node_name remote nname adapter adapter_number
terminate
?H(P"db2node H$&N<IKjb<H&G<?Y<9&5<P< server1 r+
?m09kKO"@}"@W?<Vf 0 rHQ7F"J<Nh&K7^9#
catalog netbios node db2node remote server1 adapter 0
terminate
3^sITWm;C5< (CLP) rHQ7?/i$"sH&5<P<\3N=.N!N9
FCWO"/i$"sHGNG<?Y<9N+?m0G9#
X"?9/:
v $s9H<k*hS=. d- NXCLP Khk/i$"sHGN NetBIOS N=.Y
v 218 Z<8NXCLP KhkG<?Y<9N+?m0Y
216
DB2 5<P<!= 5b*hS$s9H<k
X"qA:
v 3^sI&jU!ls9 NXCATALOG NETBIOS NODE 3^sIY
v $s9H<k*hS=. d- NXNetBIOS Qia<?<Mo</7<HY
DB2 /i$"sHGN APPC N<IN+?m0
J<N5]<HO" DB2 Enterprise Server Edition (ESE) for Windows and UNIX P<
8gs 8"*hS DB2 Connect Enterprise Edition (EE) for Windows and UNIX P<8
gs 8 +iOo|5l^7?#
v SNA rHQ7? 2 U'<:&3_CH!=# 2 U'<:&3_CHr,WH9k
"Wj1<7gsO" TCP/IP \3rHQ9k,W,"j^9# TCP/IP rHQ7
?"[9H^?O iSeries G<?Y<9&5<P<XN 2 U'<:&3_CHO"$
/D+Njj<9GHQD=KJCF$^9# 2 U'<:&3_CH&5]<Hr
,WH9k[9H^?O iSeries "Wj1<7gsO" DB2 ESE P<8gs 8 Nf
N"7,!=N TCP/IP 2 U'<:&3_CH&5]<HrHQ9k3H,G-^
9#
v "Wj1<7gsO" UNIX ^?O Windows eN DB2 UDB ESE 5<P<"^?
O DB2 Connect EE 5<P<K SNA rHQ7F"/;99k3HOG-J/Jj^
7?#"Wj1<7gsO"[9H^?O iSeries G<?Y<9&5<P<K SNA
rHQ7Fz-3-"/;9G-^9," 1 U'<:&3_CH7+HQG-^;
s#
X"?9/:
v $s9H<k*hS=. d- NXDB2 /i$"sHGN APPC L.N=.Y
v 218 Z<8NXCLP KhkG<?Y<9N+?m0Y
X"qA:
v 3^sI&jU!ls9 NXCATALOG APPC NODE 3^sIY
/i$"sHGN>0U-Q$W&N<IN+?m0
3lO"3^sITWm;C5< (CLP) rHQ7?/i$"sH&5<P<\3N=.
Na$s?9/NltG9#
>0U-Q$W&N<IN+?m0GO"/i$"sHNN<I&G#l/Hj<K"
jb<H&N<Ir-R9k(sHj<,IC5l^9#3N(sHj<GO"/i$
"sH,jb<H DB2 5<P<K"/;99k?aKHQ9kbNH7F*r5l?
L> (node_name)"jb<H&5<P<No</9F<7gs> (computer_name)"*h
S$s9?s9> (instance_name) rXj7^9#
jg:
h 15 O 3^sITWm;C5<NHQKhk\3N=.
217
DB2 /i$"sHG>0U-Q$W&N<IN+?m0rBT9kKO"<-N3^s
IrHQ7^9#
db2 catalog npipe node node_name remote computer_name instance instance_name
terminate
?H(P"server1 H$&5<P<K"k db2node H$&jb<H&N<Ir+?m0
9kKO" db2 $s9?s9GJ<Nh&K7^9#
db2 catalog npipe node db2node remote server1 instance db2
terminate
!N9FCWO"/i$"sHGNG<?Y<9N+?m0G9#
X"?9/:
v $s9H<k*hS=. d- NXCLP Khk/i$"sHGN>0U-Q$WN=
.Y
X"qA:
v 3^sI&jU!ls9 NXCATALOG NAMED PIPE NODE 3^sIY
v $s9H<k*hS=. d- NX/i$"sHGN>0U-Q$W=.N?aN>
0U-Q$W&Qia<?<Mo</7<HY
G<?Y<9N+?m0H\3NF9H
CLP KhkG<?Y<9N+?m0
33GO"CLP rHQ7FG<?Y<9N+?m0rBT9k}!KD$Fb@7^
9#
/i$"sH&"Wj1<7gs+ijb<H&G<?Y<9K"/;9G-kh&K
9kKO"/i$"sHeK=NG<?Y<9N+?m0rn.9k,W,"j^9#
G<?Y<9rn.9kH"CKXj7J$Bj=NG<?Y<9O"G<?Y<9>
H18G<?Y<9L>rHCF"5<P<eG+0*K+?m05l^9# DB2 /
i$"sHHjb<H&G<?Y<9N\3N)KO"G<?Y<9&G#l/Hj<
bNps"*hS (N<ITWNm<+k&G<?Y<9N+?m0rBT9kNGJ
$Bj) N<I&G#l/Hj<bNps,HQ5l^9#
0sro:
G<?Y<9N+?m0N0K"
v -zJ DB2 f<6< ID ,,WG9#
218
DB2 5<P<!= 5b*hS$s9H<k
v DB2 5<P<^?O DB2 Connect =J,$s9H<k5lF$k79F`GG<?
Y<9N+?m0rBT9klgO"79F`I} (SYSADM) "B^?O79F
`&3sHm<i< (SYSCTRL) "BrU?5l?f<6< ID GJ1lPJj^;
s#
v <-NQia<?<MO"jb<H&G<?Y<9N+?m0K,Q5l^9#
– G<?Y<9>
– G<?Y<9L>
– N<I>
– 'Z?$W (*W7gs)
– 3asH (*W7gs)
=liNQia<?<MKD$FO"XG<?Y<9N+?m0N?aNQia<?
<Mo</7<HYr2H7F/@5$#
v <-NQia<?<MO"m<+k&G<?Y<9N+?m0K,Q5l^9#
– G<?Y<9>
– G<?Y<9L>
– 'Z?$W (*W7gs)
– 3asH (*W7gs)
m<+k&G<?Y<9O"$DGb"s+?m0*hSF+?m0G-^9#
jg:
G<?Y<9r/i$"sHG+?m09kKO"!K(99FCWrBT7^9#
1. -zJ DB2 f<6< ID rHQ7F79F`Km0*s7^9# DB2 5<P<^
?O DB2 Connect 5<P<,$s9H<k5lF$k79F`GG<?Y<9N+
?m0rBT9klgO"79F`I} (SYSADM) "B^?O79F`&3sHm
<i< (SYSCTRL) "BrU?5l?f<6<H7F79F`Km0*s7^9#
2. XG<?Y<9N+?m0N?aNQia<?<Mo</7<HYNVHQMWsr
977F/@5$#
3. UNIX WiCHU)<`G DB2 rHQ7F$klgKO"$s9?s9D-r;C
H"CW7^9#+O9/jWHr!Nh&KBT7^9#
. INSTHOME/sqllib/db2profile
(bash"Bourne"^?O Korn 7'kNlg)
source INSTHOME/sqllib/db2cshrc (C 7'kNlg)
33G"INSTHOME O"$s9?s9N[<`&G#l/Hj<G9#
4. DB2 3^sITWm;C5<r/07^9#=N?aKO"DB2 3^sI&&#s
I&G db2 3^sIr~O7^9#
5. 3^sITWm;C5<K!Nh&J3^sIr~O7F"G<?Y<9r+?m0
7^9#
catalog database database_name as database_alias at¥
node node_name authentication auth_value
h 15 O 3^sITWm;C5<NHQKhk\3N=.
219
?H(P"sample H$&jb<H&G<?Y<9r"N<I db2node K*$Fm<
+k&G<?Y<9L> mysample G+?m09kKO"!N3^sIr~O7^
9#
catalog database sample as mysample at node db2node¥
authentication server
terminate
!N9FCWO"/i$"sH+i5<P<XN\3NF9HG9#
X"?9/:
v 220 Z<8NXCLP Khk/i$"sH&5<P<\3NF9HY
X"qA:
v 3^sI&jU!ls9 NXCATALOG DATABASE 3^sIY
CLP Khk/i$"sH&5<P<\3NF9H
3lO"3^sITWm;C5< (CLP) rHQ7?/i$"sH&5<P<\3N=.
Na$s?9/NltG9#
N<IHG<?Y<9N+?m0,*oC?i"G<?Y<9K\37F\3NF9H
rBT9k,W,"j^9#
0sro:
<-N0sro,"j^9#
1. \3rF9H9k?aKO"=N0KG<?Y<9&N<IHG<?Y<9N+?m
0rBT7F*/3H,,WG9#
2. userid *hS password NMO"3N 2 D,'Z5lk79F`G-zJbNGJ
1lPJj^;s#GU)kHGO"'ZO5<P<eGBT5l^9#
3. G<?Y<9&^M<8c<rO09kKO"G<?Y<9&5<P<G db2start
3^sIr~O7^9 (^@O07F$J$lg)#
jg:
/i$"sH+i5<P<XN\3rF9H9kKO"
1. UNIX /i$"sHrHQ7F$klgKO"!Nh&K7FO09/jWHrBT
7^9#
. INSTHOME/sqllib/db2profile
(Bash"Bourne"^?O Korn 7'kNlg)
source INSTHOME/sqllib/db2cshrc (C 7'kNlg)
33G"INSTHOME O$s9?s9N[<`&G#l/Hj<G9#
2. /i$"sH&G CLP K!N3^sIr~O9k3HKhj"jb<H&G<?Y
<9K\37^9#
connect to database_alias user userid
220
DB2 5<P<!= 5b*hS$s9H<k
?H(P"!N3^sIr~O7^9#
connect to mysample user jsmith
Q9o<Ir~O9k?aNWmsWH,=(5l^9#
\3,5oK0;7?i"\3hNG<?Y<9N>0r(7?aC;<8,=(5l
^9#<-Nh&JaC;<8,=(5l^9#
Database Connection Information
Database server = DB2/NT 8.1.0
SQL authorization ID = JSMITH
Local database alias = mysample
3lG"G<?Y<9rHQG-kh&KJj^9#?H(P"79F`&+?m0=
Kj9H5lF$k9YFN=>Nj9HrhjP7?$lg"!Nh&J SQL 3^
sIr~O7^9#
select tabname from syscat.tables
G<?Y<9\3NHQ,*oC?i"connect reset 3^sIr~O7FG<?Y<
9\3r*;7^9#
X"qA:
v 3^sI&jU!ls9 NXdb2start - DB2 N+O3^sIY
h 15 O 3^sITWm;C5<NHQKhk\3N=.
221
222
DB2 5<P<!= 5b*hS$s9H<k
h 7 t 2H
© Copyright IBM Corp. 1993-2002
223
224
DB2 5<P<!= 5b*hS$s9H<k
h 16 O DB2 i$;s9&]j7<N_j
db2licm 3^sIKhk DB2 i$;s9&]j7<N_j
i$;s9&]j7<O"i$;s9&;s?<GOJ/ db2licm 3^sIrHQ7
FbICG-^9#
jg:
db2licm 3^sIrHQ7Fi$;s9&]j7<r_j9kKO"X~7?i$;s
9No`K~8F"J<N&AN$:l+ rBT7^9
v BTf<6<&i$;s9rX~7?lg"<-N3^sIr~O7^9 (3NcO
DB2 UDB Enterprise Server Edition Nlg)#
db2licm -p db2ese concurrent
db2licm -u N
N O"X~7?BTf<6<&i$;s9NtG9#
v
P?Q_f<6<&i$;s9rX~7?lg"<-N3^sIr~O7^9 (3N
cO DB2 UDB Enterprise Server Edition Nlg)#
db2licm -p db2ese registered
v BTf<6<&i$;s9HP?Q_f<6<&i$;s9N>} rX~7?l
g"<-N3^sIr~O7^9 (3NcO DB2 UDB Enterprise Server Edition N
lg)#
db2licm -p db2ese concurrent registered
DB2 Workgroup Server Edition Nlg"$s?<MCH&]j7<,,Q5l^9#^
?"DB2 Connect EE NlgKO",j]j7<,,Q5l^9#
X"?9/:
v $s9H<k*hS=. d- NXdb2licm 3^sIKhk DB2 i$;s9&-<
N$s9H<kY
v $s9H<k*hS=. d- NXi$;s9&;s?<Khk DB2 i$;s9&
-<N$s9H<kY
v 226 Z<8NXi$;s9&;s?<Khk DB2 i$;s9&]j7<N_jY
© Copyright IBM Corp. 1993-2002
225
i$;s9&;s?<Khk DB2 i$;s9&]j7<N_j
i$;s9&]j7<O"i$;s9&;s?<rHQ7F_jG-^9#
jg:
i$;s9&]j7<r_j9kKO"X~7?i$;s9No`K~8F"J<N3
HrBT7^9#
1. i$;s9&;s?<NVi$;s9 (License)WaKe<+iVQ9 (Change)W
r*r7^9#
2. Vi$;s9NQ9 (Change License)W&#sI&G"X~7?i$;s9No`r
*r7^9#
v BTf<6<&i$;s9rX~7?lgO"VBT\3f<6< (Concurrent
connect users)Wr*r7"X~7?f<6<&i$;s9Ntr~O7^9#
v P?f<6<&i$;s9rX~7?lgO"VBTP?f<6< (Concurrent
registered users)Wr*r7"VOKWr/jC/7FVi$;s9NQ9
(Change License)W&#sI&r/m<:7"i$;s9&;s?<Kaj^9#
Vf<6< (Users)W?Vr/jC/7F"i$;s9rX~7?9YFNf<6
< ID rIC7^9#
m:
1. Workgroup Server Edition NlgO"VBTf<6< (Concurrent users)W^?O
VP?f<6< (Registered users)Wr*r7^9#
2. DB2 Connect =JNlgO"VBT\3f<6< (Concurrent connect users)W
^?OVP?\3f<6< (Registered connect users)Wr*r7^9#
Wm;C5<&Y<9Ni$;s9b"j^9#X~7?Wm;C5<&i$;s9N
trQ99k3Hb,WG9#
X"?9/:
v $s9H<k*hS=. d- NXdb2licm 3^sIKhk DB2 i$;s9&-<
N$s9H<kY
v $s9H<k*hS=. d- NXi$;s9&;s?<Khk DB2 i$;s9&
-<N$s9H<kY
v 225 Z<8NXdb2licm 3^sIKhk DB2 i$;s9&]j7<N_jY
226
DB2 5<P<!= 5b*hS$s9H<k
h 17 O ICN2HHTC/
DB2 N?aN$s9H<k&a=CI
3NHTC/O"DB2® $s9H<k&a=CIKD$FNpsrs!7^9#!N=
O"WiCHU)<`4HKHQD=J$s9H<k&a=CIr(7F$^9#
= 22. *Zl<F#s0&79F`4HN$s9H<k&a=CI
$s9H<k&a=CI
Windows®
UNIX®
DB2 ;CH"CW&&#6 U
<I
U
db2_install
U
~zU!$k&$s9H<
k
U
G-N$s9H<k&D<
k
U
U
!K"DB2 N$s9H<k&a=CIrb@7^9#
DB2 ;CH"CW&&#6<I
DB2 ;CH"CW&&#6<IO" UNIX *hS Windows NIAiNWi
CHU)<`GbHQD=J GUI $s9H<i<G9# UNIX 79F`G
O"DB2 ;CH"CW&&#6<IO"J0Njj<9GHQD=@C?F9H&Y<9N$s9H<i<&$s?<U'<9 (db2setup) KV-9oj^
9# DB2 ;CH"CW&&#6<IO"DB2 r$s9H<k7Fi|;CH
"CW*hS=.?9/rBT9k?aN"H$d9$$s?<U'<9rs
!7^9# DB2 ;CH"CW&&#6<IrHQ7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BT7F$k S/390 ^7s+i"!N3HrBT7^9#
1. ftp yourserver.com 3^sIr~O7^9# yourserver.com O"$s9H
<k&$a<8,os9k FTP 5<P<r=7F$^9#
2. +,Nf<6< ID HQ9o<Ir~O7^9#
3. !N3^sIr~O7^9#
bin
get filename.tar
filename O",ZJ=JQC1<8>r=7F$^9#
4. tar -xvf filename .tar 3^sIr~O7F"$s9H<k&$a<8r
untar 7^9#
NFS ^&sHNHQ
UNIX Y<9N*Zl<F#s0&79F`eG DB2 =JN CD-ROM rH
Q9kKO"!Nh&K7^9"
h 17 O ICN2HHTC/
229
1. UNIX Y<9N*Zl<F#s0&79F`K",ZJ CD-ROM r^&s
H7^9#
2. CD-ROM r^&sH7?G#l/Hj<r(/9]<H7^9#?H(
P"CD-ROM r /cdrom <K^&sH7?lgKO" /cdrom G#l/H
j<r(/9]<H7^9#
3. Linux rBT7F$k S/390 ^7seG"!N3^sIrHQ7F3NG
#l/Hj<r NFS ^&sH7^9#
mount -t nfs -o ro nfsservername :/cdrom /local_directory_name
FWGNU#OJ<NH*jG9#
v nfsservername O"NFS 5<P<N>0r=7^9#
v cdrom O"NFS 5<P<eNG#l/Hj<N>0r=7^9#
v local_directory_name O"m<+k&G#l/Hj<N>0r=7^9#
4. Linux rBT7F$k S/390 ^7s+i"CD-ROM ,^&sH5lF$k
G#l/Hj<K\07^9#3N3HO"cd /local_directory_name 3^
sIr~O9k3HKhCFT(^9# local_directory_name O"=J
CD-ROM N^&sH&]$sHG9#
X"?9/:
v DB2 Universal Database Personal Edition 5b*hS$s9H<k NXVDB2 ;C
H"CW (DB2 Setup)W&#6<IrHQ7? DB2 Personal Edition N$s9H<k
(Linux)Y
DB2 N<I=.U!$k (db2nodes.cfg)
3NHTC/GO"N<I=.U!$k (db2nodes.cfg) NA0KD$Fb@7^9#
db2nodes.cfg U!$krHQ7F" DB2 $s9?s9K2C9kG<?Y<9&Q<
F#7gs&5<P<rjA7^9#^?"G<?Y<9&Q<F#7gs&5<P<
L.Kb.j_\3rHQ9klgKb" db2nodes.cfg U!$krHQ7Fb.j_\
3N IP "Il9^?O[9H>rXj7^9#
=.Ncbs!5lF$^9#
db2nodes.cfg U!$kNA0O!NH*jG9#
nodenum
hostname
logical port
netname
nodenum"hostname"logical port"*hS netname O!Nh&KjA5l^9#
nodenum
230
0A999 NG-Vf#Q<F#7gs&G<?Y<9&79F`bNG
<?Y<9&Q<F#7gs&5<P<r1L7^9#
DB2 5<P<!= 5b*hS$s9H<k
Q<F#7gs&G<?Y<9&79F`rHg/L.9kKO"=l
>lNG<?Y<9&Q<F#7gs&5<P<N`\r
db2nodes.cfg U!$kKIC7^9#ICNG<?Y<9&Q<F#
7gs&5<P<QK*r9k nodenum MO":gKJCF$J1
lPJj^;s,"=NgxbK.cCW,"CFb+^$^;s#
m8+k&Q<F#7gs&5<P<rIC9k=j,"CF"N<
Ir3NU!$kbK@}*K0k<WK,1F]I7F*-?$l
g" nodenum NMHMNVK.cCWrV$Fb+^$^;s#
3N`\O,\G9#
hostname
FCM GHQ9k?aN"=NG<?Y<9&Q<F#7gs&5<
P<N TCP/IP [9H>#
3N`\O,\G9#
hostname MKP7F"b.j_\3>rXj9k3H,G-^9#X
j9kH"db2start" db2stop"*hS db2_all 3^sIG"L.
Kb.j_\3rH&3H,G-^9#
logical port
G<?Y<9&Q<F#7gs&5<P<QN@}]<HVfrXj
7^9#3NU#<kIO"@}G<?Y<9&Q<F#7gs&5
<P<rBT9ko</9F<7gsG"D9NG<?Y<9&Q<
F#7gs&5<P<rXj9kNKH$^9#3NU#<kIQN
`\,J$lgNGU)kHMO 0 G9#?@7"netname U#<k
IN`\rIC7?lg" logical port U#<kIKVfr~O7J
1lPJj^;s#
3NlgK"netname U#<kIN`\rXj9kH-O (<-2
H)"=N`\r 0 K_j7J1lPJj^;s#
@}G<?Y<9&Q<F#7gsrHQ9klg"Xj9k logical
port MO" 0 +i+O7".cCWr~l:K:gK7J1lPJ
j^;s (?H(P" 0,1,2)#
5iK"1 DNG<?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
ServerA *hS ServerB H$& 2 DN3sTe<?<rQ<F#7gs&G
<?Y<9&79F`KH_~` (ServerB O"2 DNG<?Y<9&Q<F
#7gs&5<P<rBTf) lgK" switch1 *hS switch2 H$&b.
j_\3rH$?1lP"!Nh&K db2nodes.cfg U!$kr977^9#
232
DB2 5<P<!= 5b*hS$s9H<k
0
1
2
ServerA
ServerB
ServerB
0
0
1
switch1
switch2
switch2
X"?9/:
v 173 Z<8NXN<I=.U!$kN97 (UNIX)Y
d) HP-UX +<Mk=.Qia<?<
= 23. HP-UX +<Mk=.Qia<?< (d)M)
+<Mk&
Qia<?<
*}abj<
64MBA128MB 128MBA256MB 256MBA512MB 512MB+
maxuprc
256
384
512
1 500
maxfiles
256
256
256
256
nproc
512
768
1 024
2 048
nflocks
2 048
4 096
8 192
8 192
ninode
512
1 024
2 048
2 048
nfile
(4 * ninode)
(4 * ninode)
(4 * ninode)
(4 * ninode)
msgseg
8 192
16 384
32 767 (1)
32 767 (1)
msgmnb
65 535
65 535
65 535
65 535
msgmax
65 535
65 535
65 535
65 535
msgtql
256
512
1 024
2 048
msgmap
130
258
258
2 050
msgmni
128
256
256
1 024
msgssz
16
16
16
16
semmni
128
256
512
2 048
semmap
130
258
514
2 050
semmns
256
512
1 024
4 096
semmnu
256
512
1 024
1 024
h 17 O ICN2HHTC/
233
= 23. HP-UX +<Mk=.Qia<?< (d)M) (3-)
+<Mk&
Qia<?<
*}abj<
64MBA128MB 128MBA256MB 256MBA512MB 512MB+
shmmax
67 108 864
134 217 728 (2)
268 435 456 (2)
268 435 456 (2)
shmmni
300
300
300
1 000
m:
1. msgseg Qia<?<O"32 767 J<K_j7J1lPJj^;s#
2. shmmax Qia<?<O"134 217 728 H"*}abj<N 90% (P$Ht) NIAi
+g-$}K_j7J1lPJj^;s#?H(P"79F`N*}abj<, 196
MB Nlg" shmmax r 184 968 806 (196*1024*1024*0.9) K_j7^9#
3. +<Mk&Qia<?<j_N>0-r]}9kKO"0N=K=lF$kH*jN
gxKQia<?<rQ97^9#
X"?9/:
v 67 Z<8NX+<Mk&Qia<?<NQ9 (HP-UX)Y
d) Solaris +<Mk=.Qia<?<
$s9H<kN0K"+<Mk=.Qia<?<r_j : 5sWk&U!$kNHQ :
+<Mk=.Qia<?<r979k?aN5sWk&U!$kO" DB2 =
JN CD-ROM N /db2/install/samples G#l/Hj<Ks!5lF$^
9#3liNU!$kN>0O!NH*jG9#
kernel.param.128MB
128MBA256MB N*}abj<N79F`Q#
kernel.param.256MB
256MBA512MB N*}abj<N79F`Q#
kernel.param.512MB
512MBA1GB N*}abj<N79F`Q#
$s9H<keN+<Mk&Qia<?<_jN40
$s9H<keK"db2osconf f<F#jF#<rHQ7F"4HQN79F
`N5$:*hS=.KpE-"+<Mk&Qia<?<r$57Fhj5N
JbNK9k3H,G-^9#4HQN79F`N RAM , 1GB r6(kl
gKO"$s9H<kQN kernel.param.512MB U!$k+iNMrHQ7F"
db2osconf f<F#jF#<rBT7"Mrhj5NK7^9#m : db2osconf
f<F#jF#<O /etc/system U!$krQ97J$NG" /etc/system
U!$kKP9kQ9r-zK9k?aKO"79F`rFO09k,W,"
j^9#
234
DB2 5<P<!= 5b*hS$s9H<k
X"50:
v 3^sI&jU!ls9 NXdb2osconf - +<Mk&Qia<?<MN?aNf<F
#jF#<&3^sIY
X"?9/:
v 79 Z<8NX+<Mk&Qia<?<NQ9 (Solaris)Y
NIS $s9H<kNmU@
NIS ^?O NIS+ H$C?;-ejF#<&=UH&'",H_~^l?D-GO"$
s9H<kNmU@,$/D+"j^9# DB2 $s9H<k&9/jWHO"f<6
<d0k<WH$C?";-ejF#<&QC1<8N)f<K"kvAr977h&
H7^9,"=&9k3HOG-^;s#
$s9?s9Nn.~K";-ejF#<&3s]<MsH,8_7J$H"$s9?
s9j-f<6<N0k<W&WmQF#<,+0*KQ95lF" Administration
Server N0k<WK;+s@j<&0k<WH7FIC5l^9#=7F"
Administration Server N0k<W&WmQF#<,$s9?s9j-TN0k<WrH
_~`h&KQ95l^9#$s9?s9n.Wm0i`,3N3HrT&3H,GJ$lgKO (NIS/NIS+ ,0k<Wr)f7F$klgKOT(J$)"G-J+C?
3Hrsp7"YpaC;<8G"j0GQ9rT&NK,WJpsrs!7^9#
0t;-ejF#<&Wm0i`,X87F$kD-GO" DB2 $s9H<k^?O
$s9?s9n.Wm0i`,f<6<C-rQ9G-J$NG"3liN3HKmU
9k,W,"j^9#
DB2 ;CH"CW&&#6<I,4HQN3sTe<?<G NIS r!P7?lg"$
s9H<kfK7,f<6<rn.9k*W7gsrs!5l^;s#=NeojK{
8Nf<6<r*r7J1lPJj^;s#
NIS ^?O NIS+ rHQ7F$klgKO"!N)sv`,,Q5l^9#
v DB2 ;CH"CW&&#6<IrBT9k0K"NIS 5<P<eG0k<W*hS
f<6<rn.9k,W,"j^9#
v NIS 5<P<eG" DB2 $s9?s9j-Td DB2 Administration Server QK;
+s@j<&0k<Wrn.9k,W,"j^9#=Ne"$s9?s9j-TNW
i$^j<&0k<Wr";+s@j< DB2 Administration Server 0k<WXIC
7J1lPJj^;s#1MK"Wi$^j< DB2 Administration Server 0k<W
KD$Fb"$s9?s9j-TN;+s@j<&0k<WXIC7J1lPJj^
;s#
v DB2 ESE 79F`GO"$s9?s9rn.9k0K" etc/services U!$kb
K$s9?s9N`\r~lF*/,W,"j^9#?H(P"f<6< db2inst1
N$s9?s9rn.9klg"!Nh&J`\,,WG9#
h 17 O ICN2HHTC/
235
DB2_db2inst1
60000/tcp
X"?9/:
v DB2 Universal Database Personal Edition 5b*hS$s9H<k NXVDB2 ;C
H"CW (DB2 Setup)W&#6<IrHQ7? DB2 Personal Edition N$s9H<k
(Linux)Y
v DB2 Universal Database Personal Edition 5b*hS$s9H<k NXDB2 Personal
Edition N,\N0k<WHf<6<Nj0n. (Linux)Y
>[$s?<U'<9&"<-F/Ac<
Windows GO"Q<F#7gs DB2® Enterprise Server Edition (DB2 ESE) O">[$
s?<U'<9 (VI) "<-F/Ac<Nx@rhQ9k3H,G-^9# VI "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(5l^9#
3. Windows NV3sHm<k QMkWNV"Wj1<7gsNICHo|WrHQ7
F" DB2 =Jro|7^9# Windows *Zl<F#s0&79F`+i=UH&
'"=Jro|9k}!KD$FO"*Zl<F#s0&79F`NXkWr2H7
F/@5$#
X"?9/:
v 237 Z<8NXUNIX +iN DB2 No|Y
X"qA:
v 3^sI&jU!ls9 NXDROP DATABASE 3^sIY
UNIX +iN DB2 No|
UNIX +iN DB2 No|
33GO"UNIX *Zl<F#s0&79F`+i DB2 P<8gs 8 ro|9k}!
KD$Fb@7^9#77$P<8gsN DB2 r$s9H<k9klg"3NnHO
TWG9# UNIX eN DB2 O"P<8gs4HK$s9H<k&Q9,[JCF$k
?a"183sTe<?<eK#tNP<8gsr._5;k3H,D=G9#
jg:
UNIX +i DB2 ro|9kKO"
1. *W7gs: 9YFNG<?Y<9rImCW7^9#G<?Y<9rImCW9k
KO"3sHm<k&;s?<^?O drop database 3^sIrHQ7^9#
2. DB2 Administration Server rd_7^9#
3. DB2 $s9?s9rd_7^9#
4. DB2 Administration Server ro|7^9#
5. DB2 $s9?s9ro|7^9#
6. DB2 =Jro|7^9#
X"50:
v I},$I: $sWjasF<7gs NXDB2 Administration ServerY
X"?9/:
h 17 O ICN2HHTC/
237
v 238 Z<8NXDB2 Administration Server (DAS) Nd_Y
v 239 Z<8NXDB2 $s9?s9Nd_Y
v 238 Z<8NXDB2 Administration Server (DAS) No|Y
v 240 Z<8NXDB2 $s9?s9No|Y
v 241 Z<8NXUNIX GN DB2 =JNo|Y
v 236 Z<8NXWindows GN DB2 No|Y
X"qA:
v 3^sI&jU!ls9 NXDROP DATABASE 3^sIY
DB2 Administration Server (DAS) Nd_
3lO"UNIX GN DB2 No| Na$s?9/NltG9#
UNIX 79F`K*$F DB2 ro|9k0K"DB2 Administration Server (DAS) rd
_9k,W,"j^9#
jg:
DB2 Administration Server rd_9kKO"
1. DB2 Administration Server Nj-TH7Fm0$s7^9#
2. db2admin stop 3^sIr~O9k3HKhCF" DB2 Administration Server r
d_7^9#
UNIX GN DB2 No|K*1k!N9FCWO" DB2 $s9?s9Nd_G9#
X"50:
v I},$I: $sWjasF<7gs NXDB2 Administration ServerY
X"?9/:
v 241 Z<8NXUNIX GN DB2 =JNo|Y
X"qA:
v 3^sI&jU!ls9 NXdb2admin - DB2 Administration Server 3^sIY
DB2 Administration Server (DAS) No|
3lO"UNIX GN DB2 No| Na$s?9/NltG9#
DB2 ro|9k0K"DB2 Administration Server (DAS) ro|9k,W,"j^9#
jg:
DB2 Administration Server ro|9kKO"
238
DB2 5<P<!= 5b*hS$s9H<k
1. DB2 Administration Server Nj-TH7Fm0$s7^9#
2. <-Nh&K7F"O09/jWHrBT7^9#
. DASHOME/das/dasprofile (bash"Bourne"^?O Korn 7'kNlg)
source DASHOME/das/dascshrc (C 7'kNlg)
DASHOME O"DB2 Administration Server N[<`&G#l/Hj<G9#
3. DASHOME/das G#l/Hj<bNU!$krPC/"CW7^9#
4. m0*U7^9#
5. root H7Fm0$s7"3^sI DB2DIR/instance/dasdrop r~O9k3HKh
CF"DB2 Administration Server ro|7^9#
DB2DIR O"/usr/opt/db2_08_01 (AIX Nlg)"*hS /opt/IBM/db2/V8.1 (=N
>N9YFN UNIX Y<9N*Zl<F#s0&79F`Nlg) G9#
UNIX GN DB2 No|K*1k!N9FCWO" DB2 $s9?s9No|G9#
X"50:
v I},$I: $sWjasF<7gs NXDB2 Administration ServerY
X"?9/:
v 241 Z<8NXUNIX GN DB2 =JNo|Y
DB2 $s9?s9Nd_
3lO"UNIX GN DB2 No| Na$s?9/NltG9#
DB2 r|n9kKO"=N0K9YFN DB2 $s9?s9rd_9k,W,"j^
9#
jg:
DB2 $s9?s9rd_9kKO"
1. root "BrU?5l?f<6<H7Fm0$s7^9#
2. 79F`eN9YFN DB2 $s9?s9N>0Nj9Hrh@9k?a"
DB2DIR/bin/db2ilist 3^sIr~O7^9#
DB2DIR O"/usr/opt/db2_08_01 (AIX Nlg)"*hS /opt/IBM/db2/V8.1 (=N
>N9YFN UNIX Y<9N*Zl<F#s0&79F`Nlg) G9#
3. m0"&H7^9#
4. d_9k$s9?s9Nj-TH7Fm0$s7^9#
5. <-Nh&K7F"O09/jWHrBT7^9#
. INSTHOME/sqllib/db2profile
source INSTHOME/sqllib/db2cshrc
(bash"Bourne"^?O Korn 7'kNlg)
(C 7'kNlg)
INSTHOME O"$s9?s9N[<`&G#l/Hj<G9#
h 17 O ICN2HHTC/
239
6. ,WK~8F"INSTHOME/sqllib G#l/Hj<bNU!$krPC/"CW7^
9 (INSTHOME O$s9?s9j-TN[<`&G#l/Hj<)#
7. G<?Y<9&^M<8c<=.U!$k"db2systm" db2nodes.cfg U!$k"
^?O INSTHOME/sqllib/function bNf<6<jAXt^?O,%9H"<I&
Wm7<8c<&"Wj1<7gsr]87F*-?$HW&+b7l^;s#
8. db2 force application all 3^sIr~O9k3HKhCF"9YFNG<?Y
<9&"Wj1<7gsrd_7^9#
9. db2stop 3^sIr~O9k3HKhCF" DB2 G<?Y<9&^M<8c<r
d_7^9#
10. db2 terminate 3^sIr~O9k3HKhCF"B]K$s9?s9,d_7F
$k3HrN'7^9#
11. $s9?s94HK"e-Njgr+jV7^9#
UNIX GN DB2 No|K*1k!N9FCWO" DB2 $s9?s9No|G9#
X"qA:
v 3^sI&jU!ls9 NXdb2stop - DB2 Nd_3^sIY
v 3^sI&jU!ls9 NXFORCE APPLICATION 3^sIY
v 3^sI&jU!ls9 NXdb2ilist - $s9?s9Nj9H&3^sIY
DB2 $s9?s9No|
3lO"UNIX GN DB2 No| Na$s?9/NltG9#
79F`+i"DB2 P<8gs 8 $s9?s9Nlt^?O9YFro|G-^9#
$s9?s9ro|9kH"=N$s9?s9Nj-9k DB2 G<?Y<9,"l
P"=liO9YFHQG-J/Jj^9# DB2 $s9?s9O" DB2 P<8gs
8 =JrHQ7J$3HK7?lg"^?O{8N$s9?s9r=lJ_N DB2 N
P<8gsK\T7J$h&K9klgJ0O"o|7J$h&K7F/@5$#
jg:
$s9?s9ro|9kKO"
1. <-N3^sIr~O9k3HKhCF"$s9?s9ro|7^9#
DB2DIR/instance/db2idrop InstName
DB2DIR O"/usr/opt/db2_08_01 (AIX Nlg)"*hS /opt/IBM/db2/V8.1 (=N
>N9YFN UNIX Y<9N*Zl<F#s0&79F`Nlg) G9#
db2idrop 3^sIO"$s9?s9Nj9H+i$s9?s9N(sHj<ro|
7" INSTHOME/sqllib G#l/Hj<ro|7^9 (INSTHOME O$s9?s9N
[<`&G#l/Hj<" InstName O$s9?s9Nm0$s>)#
240
DB2 5<P<!= 5b*hS$s9H<k
2. *W7gs: root "BrU?5l?f<6<H7F"$s9?s9j-TNf<6<
ID H0k<Wro|7^9 (=N$s9?s9lQNlg)#$s9?s9rFSn
.9k=jNlg"=liOo|7J$G/@5$#
$s9?s9j-TH$s9?s9j-T0k<WO>N\*N?aKHQ5lk3
H,"kNG"3N9FCWO*W7gsG9#
UNIX GN DB2 No|K*1k!N9FCWO" DB2 =JNo|G9#
X"?9/:
v 241 Z<8NXUNIX GN DB2 =JNo|Y
X"qA:
v 3^sI&jU!ls9 NXdb2idrop - $s9?s9N|n3^sIY
UNIX GN DB2 =JNo|
3lO"UNIX GN DB2 No| Na$s?9/NltG9#
33GO"db2_deinstall 3^sIrHQ9k3HKhCF" DB2 P<8gs 8 N=
Jro|9k}!KD$Fb@7^9# db2_deinstall 3^sIrBT9kH"79F
`+i9YFN DB2 =J,o|5l^9# DB2 =JNlt,@1ro|9kKO"
*Zl<F#s0&79F`U0ND<krHQ7F" DB2 3s]<MsH"QC1
<8"^?OU!$k&;CHro|7F/@5$#
0sro:
UNIX 79F`+i DB2 =Jro|9k0K"
v UNIX 79F`+i DB2 =Jro|9k0K" XUNIX GN DB2 No|YGb@
5lF$k9FCWr9YFBT7F/@5$#
v DB2 =Jro|9kKO"root "B,,WG9#
v db2_deinstall 3^sIO" DB2 P<8gs 8 N=J CD-ROM Nk<H&G#l
/Hj<K"j^9# db2_deinstall 3^sIrHQ9kKO"=J CD-ROM ,,
WG9#
DB2 =Jro|9kKO"root "B,,WG9#
jg:
UNIX 79F`+i DB2 =Jro|9kKO"
1. root "BrU?5l?f<6<H7Fm0$s7^9#
2. DB2 P<8gs 8 =J CD-ROM r^&sH7^9#
3. DB2 P<8gs 8 =J CD-ROM Nk<H&G#l/Hj<+i" db2_deinstall
-n 3^sIrBT7^9# -n Qia<?<rXj9k3HKhj" pkgrm Os
PC0KBT5l^9# -n Qia<?<O System V (Solaris) lQG9#
h 17 O ICN2HHTC/
241
3N3^sIrBT9kH"79F`+i9YFN DB2 =J,o|5l^9#
3lJ0Kb"*Zl<F#s0&79F`+i DB2 =Jro|9k}!,"j^
9#79F`+i DB2 =JNlt,@1ro|9klgO"<-N$:l+N}!r
HQG-^9# DB2 =Jro|9k=N>N}!O"<-NH*jG9#
AIX
AIX 79F`Nlg"79F`I}$s?<U'<9&D<k (SMIT) rHQ
9k3HKhCF" DB2 =JNlt^?O9YFro|G-^9# SMIT r
HQ7F DB2 ro|9klg"\,t db2_08_01 KhCF DB2 P<8gs
8 N=JrXjG-^9#^?"installp 3^sIrHQ9kH"AIX 79F
`+i9YFN DB2 =Jro|G-^9#=NlgO"installp -u
db2_08_01 H~O7^9#
HP-UX HP-UX 79F`Nlg" swremove 3^sIrHQ9k3HKhCF"
DB2 =JNlt^?O9YFro|G-^9#
Linux
Linux 79F`Nlg" rpm 3^sIrHQ9k3HKhCF" DB2 =J
Nlt^?O9YFro|G-^9#
Solaris *Zl<F#s0DSolaris *Zl<F#s0D-NlgO" pkgrm 3^sIrHQ9k3HKh
CF" DB2 =JNlt^?O9YFro|G-^9#
b.3_eK1<7gs&^M<8c< (UNIX)
b.3_eK1<7gs&^M<8c< (FCM) O" DB2® Enterprise Server Edition N
L.5]<Hrs!7^9#G<?Y<9&Q<F#7gs&5<P<KO"=l>l
1 DN FCM G<bs,"j^9#=lKhCF"G<?Y<9&Q<F#7gs&5
<P<VNL.Ns!"(<8'sHWaNh}"*hSaC;<8&PCU!<Nw
#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-N!:Y
ESE o</9F<7gsK3^sIr[[9klgnHN_j (AIX)
AIX NQ<F#7gs&G<?Y<9D-GO"Q<F#7gs&G<?Y<9&79
F`K2C9k RS/6000 SP o</9F<7gsN;CHK3^sIr[[9k?a
N"lgnHr_j9k3H,G-^9# dsh 3^sIKhCF"o</9F<7gs
K3^sIr[[9k3H,G-^9#
3lO"AIX GQ<F#7gs&G<?Y<9&79F`r$s9H<k^?OI}9
klgKr)D3H,"j^9#=ND-K"k9YFN3sTe<?<eG183^
sIr"/J$(i<G9Pd/BT9k3H,G-k+iG9#
0sro:
lgnHKH_~`=l>lN3sTe<?<N[9H>rNCF$k,W,"j^
9#
h 17 O ICN2HHTC/
243
root "Br}Df<6<H7F)fo</9F<7gsKm0*s9k,W,"j^
9#
jg:
Q<F#7gs&G<?Y<9&79F`K2C9k"9YFN RS/6000 SP o</9
F<7gsN[9H>rj9H7?U!$krQU7^9#!Nh&K7F"o</9
F<7gsN3Nj9HK3^sIr[[9klgnHr;CH"CW7^9#
1. lgnHKH_~`9YFNo</9F<7gsN [9H> rj9H9k"
eeelist.txt H$&U!$krn.7^9#
?H(P" workstation1 *hS workstation2 H$& 2 DN SP N<IrXj7
F"lgnHrn.7h&H7F$kH7^9#=NU!$kNbFO!Nh&KJ
j^9#
workstation1
workstation2
2. lgnHD-Qtr977^9#!N3^sIr~O7F"3Nj9Hr977^
9#
export WCOLL=path/eeelist.txt
33G"path O eeelist.txt ,n.5l?m1<7gsKJj^9# eeelist.txt O"l
gnHKH_~^l? RS/6000 SP o</9F<7gsrj9H9k?aKn.7
?U!$kN>0G9#
3. !Nh&J3^sIr~O7F"lgnHU!$kbN>0,\vK"H_~_?$
o</9F<7gsG"k3HrN'7^9#
dsh -q
!Nh&JPO,=(5l^9#
Working collective file /eeelist.txt:
workstation1
workstation2
Fanout: 64
X"?9/:
v 121 Z<8NXNFS T/N!: (AIX)Y
U!<9H&9FCWrHQ7? DB2 5<P<N$s9H<kN!:
SAMPLE G<?Y<9+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MPLE G
<?Y<9Nh} (Work with the SAMPLE databases)Wr*r7"3sHm<
k&;s?<rO07^9#3sHm<k&;s?<rH&H"[Jk$s9?s9
*hSG<?Y<9&*V8'/HG"I}nHrBT9k3H,G-^9#
V3sHm<k&;s?< (Control Center)WhLN8&NZ$sG"*V8'/
H&Dj<r8+7" SAMPLE G<?Y<9*hS SAMPLE G<?Y<9&*V8'
/H,+(kh&K7^9#V= (Tables)W*V8'/Hr*r7"V3sHm<
k&;s?< (Control Center)WhLN&&NZ$sK" SAMPLE G<?Y<9=,
=(5lkh&K7^9#
h 17 O ICN2HHTC/
245
$s9H<kr!:7*oC?i" SAMPLE G<?Y<9r|n7FG#9/&9Z<
9ru1k3H,G-^9# SAMPLE G<?Y<9rImCW9kKO" db2 drop
database sample 3^sIr~O7^9#
X"?9/:
v 54 Z<8NX3^sITWm;C5< (CLP) rHQ7?$s9H<kN!:Y
v DB2 Universal Database Personal Edition 5b*hS$s9H<k NXDB2 Personal
Edition N$s9H<k (Windows)Y
v DB2 Universal Database Personal Edition 5b*hS$s9H<k NXVDB2 ;C
H"CW (DB2 Setup)W&#6<IrHQ7? DB2 Personal Edition N$s9H<k
(Linux)Y
db2setup - DB2 N$s9H<k
DB2 =Jr$s9H<k7^9#
3Nf<F#jF#<O DB2 $s9H<k&aG#"KV+lF$^9#3lrHQ
7F"$s9H<kNjAH DB2 =JN$s9H<krT&?aN DB2 ;CH"C
W&&#6<Ir)Ae2^9# -r *W7gsrHQ7FFSP9H"$s9H<k
=.psr~zU!$k+ih@9k3HKhj"J_N~Or,WH7J$$s9H
<krBT7^9#
UNIX Y<9N79F`Nlg
db2setup 3^sI
""
"
db2setup
-r
-i
language
response_file
-l
log_file
-t
trace_file
-?
-h
FWGNU#OJ<NH*jG9#
-i language
$s9H<krT&@lN 2 8zN@l3<IG9#
-l log_file
HQ9km0&U!$kNdPQ9HU!$k>G9#
-t
$s9H<k&Hl<9psNU!$kr8.7^9#
-r response_file
HQ9k~zU!$kNdPQ9HU!$k>G9#
-?, -h
246
HQ!Npsr8.7^9#
DB2 5<P<!= 5b*hS$s9H<k
"
"1
db2setup - DB2 N$s9H<k
Windows Y<9N79F`Nlg
db2setup 3^sI
""
"
db2setup
-r
-f
response_file
-i
language
-v
-SMS
-w
-l
log_file
-t
trace_file
"
"1
-?
-h
FWGNU#OJ<NH*jG9#
$s9H<kN0K9YFN DB2 Wm;9r/)d_7^9#
-f
-i:language
$s9H<krT&@lN 2 8zN@l3<IG9#
-l:log_file
HQ9km0&U!$kNdPQ9HU!$k>G9#
$s9H<k&Hl<9psNU!$kr8.7^9#
-t
-r:response_file
HQ9k~zU!$kNdPQ9HU!$k>G9#
3^sITNICNz-tr msiexec KO7^9#
-v
-SMS, -w
$s9H<k,*;9k^GFWm;9rh0uVK7F*-^9#
-?, -h
HQ!Npsr8.7^9#
Explain =N\T
3N?9/O"a$s?9/G"k DB2 N\T N*W7gst,G9#
migrate database 3^sIO"Explain =r\T7^;s# DB2 P<8gs 8 K\
T7?G<?Y<9N Explain =r\T9klg"^?O DataJoiner +i\T9klg
KO" db2exmig 3^sIrHQ7F"Explain =r\T9k>,N9FCWrBT9
k,W,"j^9#
J0K}87? Explain =Npsr]}7?$lgKO" Explain =r\T9k3H,
G-^9#J0K}87? Explain =Npsr]}7?/J$lgKO"eG Explain
=rFn.7"7,Kpsr}89k3H,G-^9#
jg:
db2exmig 3^sIrHQ7F"Explain =r\T7^9#
db2exmig -d dbname -e explain_schema [-u userid password]
h 17 O ICN2HHTC/
247
33G"
v dbname OG<?Y<9>r=7F$^9#3NQia<?<O,\G9#
v explain_schema O"\T9k Explain =N9-<^>r=7F$^9#3NQia<
?<O,\G9#
v userid H password O"=Tf<6<N ID HQ9o<Ir=7F$^9#3li 2
DNQia<?<O$UXjQia<?<G9#
db2exmig rBT7F$kf<6< ID K09k Explain ="^?O=NG<?Y<9
K\39kNKHQ7?f<6< ID K09k Explain =,\T5l^9# Explain =
\TD<kO"P<8gs 6 ^?OP<8gs 7 N=N>0rQ97"
EXPLAIN.DDL rHQ7F=N77$;CHrn.9kHHbK"E$=NbFr77
$=K3T<7^9#5iK"E$=rImCW7^9# db2exmig 3^sIO"f
<6<, Explain =KIC7?sr]87^9#
X"50:
v I},$I: QU)<^s9 NXExplain D<kY
v I},$I: QU)<^s9 NXExplain =*hS Explain psNT.Y
X"?9/:
v 30 Z<8NXG<?Y<9N\TY
X"qA:
v 3^sI&jU!ls9 NXdb2expln - DB2 SQL Explain D<k&3^sIY
f<6<"BNU? (Windows)
3NHTC/GO" Windows *Zl<F#s0&79F`Gf<6<"BrU?9k
NK,WJ9FCWrb@7^9# DB2 N$s9H<kH;CH"CWK,WJf<
6<&"+&sH4HK"=l>lDLNf<6<"B,d)5lF$^9#
0sro:
Windows eGbYJf<6<"xrU?9kKO"m<+kI}TH7Fm0*s7J
1lPJj^;s#
jg:
Windows NT
1. V9?<HWr/jC/7"VWm0i`W->VI}D<k (&L)W->VI
a$s f<6<^M<8cWr*r7^9#
2. Vf<6< ^M<8cW&#sI&GO"aKe<&P<+i V6'W->
Vf<6<N"xWr*r7^9#
248
DB2 5<P<!= 5b*hS$s9H<k
3. Vf<6<"xN6'W&#sI&GO"VbYJf<6<"xN=(WA
'C/&\C/9r*r7F+i"V"xWImCW@&s&\C/9G"
U?7?$f<6<"xr*r7^9#VICWr/jC/7^9#
4. Vf<6<H0k<WNICW&#sI&G""xrU?7?$f<6<^
?O0k<Wr*r7"VOKWr/jC/7^9#
5. Vf<6<"xN6'W&#sI&G"V3N"xr?(il?"+&s
HWj9H&\C/9+iIC7?f<6<^?O0k<Wr*r7"
VOKWr/jC/7^9#
Windows 2000"Windows XP"*hS Windows .NET
1. V9?<HWr/jC/7"V_jW->V3sHm<k QMkW->VI}
D<kWr*r7^9#
m: Windows XP *hS Windows .NET 3sTe<?<GO Windows
Theme KhCFO3lO"V_jW->V3sHm<k QMkW->VQ
U)<^s9*hS]i (Performance and Maintenance)W->VI}
D<kWKJj^9#
2. Vm<+k ;-ejF# ]j7<Wr*r7^9#
3. 8N&#sI&hhG"Vm<+k ]j7<W*V8'/HrH%7"
Vf<6<"xNdjvFWr*r7^9#
4. &N&#sI&hhG"djvF?$f<6<"xr*r7^9#
5. aKe<+i"V`nW->V;-ejF#...Wr*r7^9
6. VICWr/jC/7""xrdjvFkf<6<^?O0k<Wr*r
7"VICWr/jC/7^9#
7. VOKWr/jC/7^9#
m: Windows 2000 ^?O Windows .NET Ia$sK09k3sTe<?<N
lg"Ia$s&f<6<"B,m<+k_jr*<P<i$I9kD=
-,"j^9#=Nlg"MCHo</I}T,f<6<"BrQ97J
1lPJj^;s#
X"50:
v 272 Z<8NXf<6<"f<6< ID"*hS0k<WN?>,'Y
X"?9/:
v DB2 Universal Database Personal Edition 5b*hS$s9H<k NXDB2 Personal
Edition N$s9H<k (Windows)Y
X"qA:
v 49 Z<8NXDB2 5<P<N$s9H<kK,WJf<6<&"+&sH
(Windows)Y
h 17 O ICN2HHTC/
249
v DB2 Universal Database Personal Edition 5b*hS$s9H<k NXDB2 Personal
Edition N$s9H<kH;CH"CWQNf<6<&"+&sHY
DB2 $s9H<kN?aN0k<W*hSf<6< ID Nn.
3lO"j0$s9H<keN DB2 5<P<N;CH"CW Na$s?9/NltG
9#
DB2 r`n9kKO"3 DNf<6<*hS0k<W,,WG9#J<Nb@GHQ5
lkf<6<*hS0k<WN>0O"<-N=NH*jG9#79F`N?>,'H
DB2 N?>,'K>C?>0G"kBj"H+Nf<6<>*hS0k<W>rXjG
-^9#
n.9kf<6< ID O"=lJ_N;CH"CWnHG,WKJj^9#
= 24. ,WJf<6<*hS0k<W
,WJf<6<
5sWk&f<6<>
5sWk&0k<W>
$s9?s9j-T
db2inst1
db2iadm1
,%f<6<
db2fenc1
db2fadm1
DB2 Administration Server
Nf<6<
db2as
db2asgrp
v $s9?s9j-T N[<`&G#l/Hj<O" DB2 $s9?s9,n.5lk
ljG9#
v ,%f<6< O" DB2 G<?Y<9GHQ5lk"Il9&9Z<9N0tK"k
f<6<jAXt (UDF) *hS9H"<I&Wm7<8c<rBT9k?aKHQ
5l^9#
v DB2 Administration Server Nf<6< Nf<6< ID O"79F`G DB2
Administration Server rBT9k?aKHQ5l^9#
0sro:
f<6<*hS0k<Wrn.9kKO"root "B,,WG9#
jg:
DB2 N?aN0k<W*hSf<6< ID rn.9kKO"
1. root "BrU?5l?f<6<H7Fm0$s7^9#
2. *Zl<F#s0&79F`4HK:v9k3^sIr~O7^9#
AIX
AIX G0k<Wrn.9kKO"<-N3^sIr~O7^9#
mkgroup id=999 db2iadm1
mkgroup id=998 db2fadm1
mkgroup id=997 db2asgrp
250
DB2 5<P<!= 5b*hS$s9H<k
0k<W4HKf<6<rn.7^9#
mkuser id=1004 pgrp=db2iadm1 groups=db2iadm1 home=/home/db2inst1
db2inst1 passwd mypasswrd
mkuser id=1003 pgrp=db2fadm1 groups=db2fadm1 home=/home/db2fenc1
db2fenc1 passwd mypasswrd
mkuser id=1002 pgrp=db2asgrp 1 groups=db2asgrp home=/home/db2as
db2as passwd mypasswrd
HP-UX HP-UX G0k<Wrn.9kKO"<-N3^sIr~O7^9#
groupadd id=999 dbiadm1
groupadd id=998 db2fadm1
groupadd id=997 db2asgrp
0k<W4HKf<6<rn.7^9#
useradd -g db2iadm1 -d /home/db2instl -m db2inst1 passwd mypasswrd
useradd -g db2fadm1 -d /home/db2fenc1 -m db2inst1 passwd mypasswrd
useradd -g dbasgrp -d /home/db2fenc1 -m db2inst1 passwd mypasswrd
Linux
Linux G0k<Wrn.9kKO"<-N3^sIr~O7^9#
mkgroup -g 999 db2iadm1
mkgroup -g 998 db2fadm1
mkgroup -g 997 db2asgrp
0k<W4HKf<6<rn.7^9#
mkuser -u 1004 -g db2iadm1 -G db2iadm1 -m -d /home/db2inst1
db2inst1 -p mypasswrd
mkuser -u 1003 -g db2fadm1 -G dbfadm1 -m -d /home/db2fenc1
db2fenc1 -p mypasswrd
mkuser -u 1002 -g db2asgrp -G db2asgrp -m -d /home/db2as
db2as -p mypasswrd
Solaris *Zl<F#s0DSolaris G0k<Wrn.9kKO"<-N3^sIr~O7^9#
groupadd -g 999 db2iadm1
groupadd -g 998 db2fadm1
groupadd -g 997 db2asgrp
0k<W4HKf<6<rn.7^9#
useradd -g db2iadm1 -u 1004 -d /export/home/db2inst1 -m
db2inst1 passwd mypasswrd
useradd -g db2fadm1 -u 1003 -d /export/home/db2fenc1 -m
db2fenc1 passwd mypasswrd
useradd -g db2asgrp -u 1002 -d /export/home/db2as -m
db2as passwd mypasswrd
h 17 O ICN2HHTC/
251
X"50:
v 269 Z<8NX?>,'Y
X"?9/:
v $s9H<k*hS=. d- NXDB2 =JNj0$s9H<kY
DB2 79F`I}T0k<W (Windows)
GU)kHGO""+&sH,jA5lF$k^7seNI}T0k<WK09k-z
J DB2® f<6<&"+&sH9YFK79F`I} (SYSADM) "B,'D5l^
9#"+&sH,m<+k&"+&sHG"klg"m<+kI}T0k<WK07F
$J1lPJj^;s#"+&sH,Ia$s&"+&sHG"klg"Ia$s&3
sHm<i<K"kI}T0k<WK07F$J1lPJj^;s#
?H(P"f<6<,Ia$s&"+&sHKm0*s7" DB2 G<?Y<9K"/
;97h&Hn_klg" DB2 OIa$s&3sHm<i<K\07F0k<W (I
}T0k<Wb^`) rss7^9#l89Hj<Qt DB2_GRP_LOOKUP=local r
_j7"Ia$s&"+&sH (^?O0m<Pk&0k<W) rm<+kI}T0k
<WKIC9lP" DB2 GoK0k<W!wr/)BT5;k3H,G-^9#
Ia$s&f<6<Nlg"SYSADM "Br}DKO"Ia$s&3sHm<i<G
I}T0k<WK07F$J1lPJj^;s# DB2 OoK""+&sH,jA5l
k^7sGvDrBT9kNG"5<P<eGm<+kI}T0k<WKIa$s&f
<6<rIC7Fb"Ia$s&f<6<N SYSADM "Br3N0k<WKU?9k
3HKOJj^;s#
Ia$s&f<6<rIa$s&3sHm<i<NI}T0k<WKIC7J$h&K
9kKO"0m<Pk&0k<Wrn.7"SYSADM "BrU?7?$Ia$s&f
<6<rIC7F+i"0m<Pk&0k<WN>0r}D DB2 =.Qia<?<
SYSADM_GROUP r977^9# 3lrBT9kKO"!N3^sIr~O7^9#
db2stop
db2 update dbm cfg using sysadm_group global_group
db2start
X"?9/:
v DB2 Universal Database Personal Edition 5b*hS$s9H<k NXDB2 Personal
Edition N$s9H<k (Windows)Y
X"qA:
v DB2 Universal Database Personal Edition 5b*hS$s9H<k NXDB2 Personal
Edition N$s9H<kH;CH"CWQNf<6<&"+&sHY
252
DB2 5<P<!= 5b*hS$s9H<k
h 8 t U?
© Copyright IBM Corp. 1993-2002
253
254
DB2 5<P<!= 5b*hS$s9H<k
U? A. @l5]<H
DB2 $s?<U'<9@lNQ9 (Windows)
DB2 N$s?<U'<9@lO"aC;<8"XkW"*hS0iU#C/&D<k&
$s?<U'<9G=(5lk@lG9# DB2 N$s9H<k~K"1 DJeN@l
5]<Hr$s9H<k9k*W7gs,(5l^9#$s9H<ke"DB2 N$s?
<U'<9@lr">N$s9H<kQ_$s?<U'<9@lN 1 DKQ97?$l
gKO"3N?9/G5b5l?9FCWrHQ7F/@5$#
DB2 KhCF5]<H5lk@lH"DB2 $s?<U'<9KhCF5]<H5lk
@lHr.17J$G/@5$# DB2 KhCF5]<H5lk@lHO"G<? N@
lN3HG" DB2 $s?<U'<9KhCF5]<H5lk@lN9<Q<;CHG
9#
0sro:
HQ9k DB2 $s?<U'<9@lr"4HQN79F`K$s9H<k9k,W,
"j^9# DB2 N$s9H<k~K DB2 ;CH"CW&&#6<IrHQ7F"
DB2 $s?<U'<9@lr*r7$s9H<k7^9# DB2 N$s?<U'<9@
lr"5]<H5lk"^@$s9H<k7F$J$$s?<U'<9@lKQ99k
lgKO"^:GiK DB2 $s?<U'<9@lr"*Zl<F#s0&79F`N
@lKGU)kHGXj7^9#=l,5]<H5lJ$lgKO"QlKXj7^
9#
jg:
Windows eG DB2 N$s?<U'<9@lrQ99kKO"4HQN Windows *Z
l<F#s0&79F`NGU)kHN@l_jrQ99k,W,"j^9#
!Nh&K7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591/819 pt_BR/819
pt_BR.utf8/1208
pt_BR.UTF-8/1208
fql (JNz)
zh_CN/1383
Zh_ CN.GBK/1386
ZH_CN/1208
zh_CN.hp15CN/1383
zh_CN.utf8/1208
zh/1383
zh_CN.UTF-8/1208
fql (KNz)
zh_TW/964
Zh_ CN.GBK/950
ZH_CN/1208
zh_CN.hp15CN/1283
zh_CN.utf8/1208
zh/1383
zh_CN.UTF-8/1208
/m"A"l
hr_HR/912
HR_HR/1208
hr_HR.iso88592/912 hr_HR/912
hr_HR.utf8/1204
hr_HR.UTF-8/1204
U? A. @l5]<H
257
= 25. AIX"HP-UX"*hS Solaris *Zl<F#s0D-m1<k*hS3<I&Z
<8 (3-)
258
@l
AIX m1<k/
3<I&Z<8
HP-UX m1<k/
3<I&Z<8
Solaris m1<k/
3<I&Z<8
A'3l
cs_CZ/912
CS_CZ/1208
cs_CZ.utf8/1208
cs_CZ.UTF-8/1208
Gs^</l
da_DK/819
Da_DK/850
DA_DK/1208
da_DK.iso88591/819 da/819
da_DK.roman8/1051 da_DK.UTF-8/1208
da_DK.utf8/1208
*is@l
nl_NL/819
NL_NL/
J7
U#sisIl
fi_FI/819
Fi_FI/850
FI_FI/1208
fi_FI.iso88591/819 fi/819
fi_FI.roman8/1051 fi_FI.UTF-8/1208
fi_FI.utf8/1208
Uis9l
fr_FR/819
Fr_FR/850
FR_FR/1208
fr_FR.iso88591/819 fr/819
fr_FR.roman8/1051 fr_FR.UTF-8/1208
fr_FR.utf8/1208
I$Dl
de_DE/819
De_DE/850
DE_DE/1208
de_DE.iso88591/819 de/819
de_DE.roman8/1051 de_DE.UTF-8/1208
de_DE.utf8/1208
Os,j<l
hu_HU/912
HU_HU/1208
hu_HU.utf8/1208
$?j"l
it_IT/819
It_IT/850
IT_IT/1208
it_IT.iso88591/819 it/819
it_IT.roman8/1051 it_IT.UTF-8/1208
it_IT.utf8/1208
|\l
ja_JP/954
Ja_JP/932
JA_JP/1208
ja_JP.eucJP/954
ja_JP.utf8/1208
ja/954
ja_JP.UTF-8/1208
Zql
Ko_KR/970
kO_KR1208
ko_KR.eucKR/970
ko_KR.utf8/1208
ko/970
ko_KR.UTF-81208
Nk&'<l
no_NO/819
No_NO/850
NO_NO/1208
no_NO.iso88591/819 no/819
no_NO.roman8/850
no_NO.UTF-8/1208
no_NO.utf8/1208
]<isIl
pl_PL/912
PL_PL/1208
pl_PL.utf8/1208
DB2 5<P<!= 5b*hS$s9H<k
J7
hu_HU.UTF-8/1208
nl_NL.UTF-8/1208
= 25. AIX"HP-UX"*hS Solaris *Zl<F#s0D-m1<k*hS3<I&Z
<8 (3-)
@l
AIX m1<k/
3<I&Z<8
HP-UX m1<k/
3<I&Z<8
Solaris m1<k/
3<I&Z<8
m7"l
ru_RU/915
RU_RU/1208
ru_RU.utf8/1208
ru_RU.UTF-8/1208
k<^K"l
ro_RU/912
RO_RO/1204
ro_RO.iso88592/912 J7
ro_RO.utf8/1204
9mP-"l
sk_SK/912
SK_SK/1204
sk_SK.iso88592/912 sk_SK/912
sk_SK.utf8/1204
sk_SK.UTF-8/1204
9mYK"l
sl_SI/912
SL_SI/1208
sl_SI.iso88592/912 sl_SI/912
sl_SI.utf8/1208
sl_SI.UTF-8/1208
9Z$sl
es_ES/819
Es_ES/850
ES_ES/1208
es_ES.iso88591/819 es/819
es_ES.roman8/1051 es_ES.UTF-8/1208
es_ES.utf8/1208
9&'<Gsl
Sv_SE/819
sv_SE/850
SV_SE/1208
sv_SE.iso88591/819 sv/819
sv_SE.roman8/1051 sv_SE.UTF-8/1208
sv_SE.utf8/1208
Hk3l
tr_TR/920
TR_TR/1208
tr_TR.utf8/1208
tr_TR.UTF-8/1208
= 26. Linux *hS Linux/390 m1<k*hS3<I&Z<8
@l
Linux m1<k/
3<I&Z<8
Linux/390 m1<k/
3<I&Z<8
"iS"l
ar/1089
ar_AA.utf8/1208
ar/1089
ar_AA.utf8/1208
Vi8k&
]kH,kl
pt_BR/819
pt_BR.utf8/1208
pt_BR/819
pt_BR.utf8/1208
Vk,j"l
bg_BG/915
bg_BG.utf8/1208
bg_BG/915
bg_BG.utf8/1208
fql (JNz)
zh zh_CN.GBKz/1386
zh_CN.utf8/1208
zh zh_CN.GBK/1386
zh_CN.utf8/1208
U? A. @l5]<H
259
= 26. Linux *hS Linux/390 m1<k*hS3<I&Z<8 (3-)
260
@l
Linux m1<k/
3<I&Z<8
Linux/390 m1<k/
3<I&Z<8
fql (KNz)
zh_TW.Big5/950
zh_TW.utf8/1208
zh_TW.Big5/950
zh_TW.utf8/1208
/m"A"l
hr_HR/912
hr_HR.utf8/1208
hr_HR/912
hr_HR.utf8/1208
A'3l
cs_CZ/912
cs_CZ.utf8/1208
pl_PL/912
pl_PL.utf8/1208
Uis9l
fr/819
fr_FR.utf8/1208
fr/819
fr_FR.utf8/1208
I$Dl
de/819
de_DE.utf8/1208
de/819
de_DE.utf8/1208
Os,j<l
hu_HU/912
hu_HU.utf81208
hu_HU/912
hu_HU.utf8/1208
$?j"l
it_IT.utf8/1208
it_IT.utf8/1208
|\l
ja_JP.ujis/954
ja_JP.utf8/1208
ja_JP.ujis/954
ja_JP.utf8/1208
Zql
ko/970
ko_KR.utf8/1208
ko/970
ko_KR.utf8/1208
]<isIl
pl_PL/912
pl_PL.utf8/1208
pl_PL/912
pl_PL.utf8/1208
k<^K"l
ro_RO/912
ro_RO.utf8/1208
ro_RO/912
ro_RO.utf8
/1208
m7"l
ru_RU/915
ru_RU.utf8/1208
ru_RU/915
ru_RU.utf8/1208
9Z$sl
es_ES.utf8/1208
es_ES.utf8/1208
9mP-"l
sk_SK/912
sk_SK.utf8/1208
sk_SK/912
sk_SK.utf8/1208
DB2 5<P<!= 5b*hS$s9H<k
= 26. Linux *hS Linux/390 m1<k*hS3<I&Z<8 (3-)
@l
Linux m1<k/
3<I&Z<8
Linux/390 m1<k/
3<I&Z<8
9mYK"l
sl_SI/912
sl_SI.utf8/1208
sl_SI/912
sl_SI.utf8/1208
X"?9/:
v 25 Z<8NXDB2 \T0NG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Database for OS/390 and z/OS +i Windows 32
SCH&*Zl<F#s0&79F` o</9F<7gseN DB2 UDB Kw.5l
kG<?N=(O57/"j^;s#
262
DB2 5<P<!= 5b*hS$s9H<k
P}~KG-N CCSID:
= 28. jAQ_G DB2 G$sWjasH5l?"P}~3<I=8z;CH ID
(CCSID)
CCSID
3<I&Z<8
9Hjs0&?$W
00420
420
4
00424
424
4
08612
420
5
08616
424
6
12708
420
7
X’3F00’
856
4
X’3F01’
862
4
X’3F02’
916
4
X’3F03’
424
5
X’3F04’
856
5
X’3F05’
862
5
X’3F06’
916
5
X’3F07’
1255
5
X’3F08
1046
5
X’3F09’
864
5
X’3F0A’
1089
5
X’3F0B’
1256
5
X’3F0C’
856
6
X’3F0D’
862
6
X’3F0E’
916
6
X’3F0F’
1255
6
X’3F10’
420
6
X’3F11’
864
6
X’3F12’
1046
6
X’3F13’
1089
6
X’3F14’
1256
6
X’3F15’
424
8
X’3F16’
856
8
X’3F17’
862
8
X’3F18’
916
8
U? A. @l5]<H
263
= 28. jAQ_G DB2 G$sWjasH5l?"P}~3<I=8z;CH ID
(CCSID) (3-)
X’3F19’
420
8
X’3F1A’
420
9
X’3F1B’
424
10
X’3F1C’
856
10
X’3F1D’
862
10
X’3F1E’
916
10
X’3F1F’
1255
10
X’3F20’
424
11
X’3F21’
856
11
X’3F22’
862
11
X’3F23’
916
11
X’3F24’
1255
11
= 29. CDRA 9Hjs0&?$W,jA5lF$klg
9Hjs
0&?$W
F-9H&
?$W
tMAu
}~U1
Au
PN
9oCTs
0
4
Visual
ARABIC
LTR
SHAPED
OFF
5
Implicit
ARABIC
LTR
UNSHAPED
ON
6
Implicit
ARABIC
RTL
UNSHAPED
ON
7(*)
Visual
ARABIC
Contextual(*)
UNSHAPED- OFF
Lig
8
Visual
ARABIC
RTL
SHAPED
OFF
9
Visual
Passthru
RTL
SHAPED
ON
10
Implicit
Contextual-L
ON
11
Implicit
Contextual-R
ON
U#<kIN}~U1O"GiNQz,iFslG"klg8+i& (LTR) G"GiN
Qz,P}~8zG"klg&+i8 (RTL) G9#8zOsAu= (unshape) 5l^;
s,"LamAlef "zO]}5l"WGK,d5l^;s#
264
DB2 5<P<!= 5b*hS$s9H<k
8zG<?NQ9
8zG<?,^7sVG>w5lkH-O"u.9k&N^7s,HQG-kAKQ9
5lJ1lPJj^;s#
?H(P"G<?, DB2 Connect 5<P<H[9H^?O iSeries™ G<?Y<9&5
<P<HNVG>w5lklg"G<?OLo"5<P<&3<I&Z<8+i[9H
CCSID X (*hS=NUK) Q95l^9# 2 DN^7s,[Jk3<I&Z<8^
?O CCSID rHQ7F$klg"3<I&]$sHO 1 DN3<I&Z<8^?O
CCSID +iLNbNXH^CW7^9#3NQ9O"oKu.&GBT5l^9#
G<?Y<9Xwilk8zG<?O" SQL 9F<HasHH~OG<?+i.j^
9#G<?Y<9+i wilk8zG<?O"POG<?+i.j^9#SCH&G<
?H7Fra5lkPOG<?OQ95l^;s#?H(P"FOR BIT DATA 8aG
k@5l?sNG<?,=&G9#=N>NlgO"9YFN~O*hSPON8zG
<?O" 2 DN^7s,[Jk3<I&Z<8^?O CCSID r}DH-OQ95l^
9#
?H(P"DB2 Universal Database for OS/390 and z/OS G<?K"/;99k?aK
DB2 ConnectrHQ9klg"!N3H,/3j^9#
1. DB2® Connect O"OS/390® ^?O z/OS X SQL 9F<HasHH~OG<?rw
.7^9#
2. DB2 Universal Database for OS/390 and z/OS O"=lir EBCDIC CCSID KQ9
7Fh}7^9#
3. DB2 Universal Database for OS/390 and z/OS O"kLr DB2 Connect 5<P<K
a7^9#
4. DB2 Connect™ O"kLr ASCII ^?O ISO 3<I&Z<8KQ97F=lrf
<6<Ka7^9#
J<N=O"3<I&Z<8 (DB2 Connect 5<P<&) H CCSID ([9H^?O
iSeries &) HNVG5]<H5lF$kQ9r(7^9#
U? A. @l5]<H
265
= 30. 5<P<&3<I&Z<8+i[9H^?O iSeries N CCSID XNQ9
[9H CCSID
3<I&Z<8
FjHj<
037" 273" 277" 278"
280" 284" 285" 297"
500" 871" 1140-1149
"kPK""*<9Hij
437" 819" 850" 858"
860" 863" 1004" 1051" ""*<9Hj""Yk.
<"Vi8k"+J@"G
1252" 1275
s^</"U#sisI"
Uis9"I$D""$9
isI""$kisI"$
?j""iFs"aj+"
*is@"Ke<8<is
I"Nk&'<"]kH,
k"n"Uj+"9Z$
s"9&'<Gs"9$
9"Qq"Fq
423"875
737"813"869"1253"1280 .j7c
870
852" 912" 9204"
1250"1282
1025
855"866"915"1251"1283 Vk,j""FYR ^1IK
""m7"";kS"/bs
FM0m (-jk8z)
1026
857"920"1254"1281
Hk3
424
862"916"1255
$9i(k
420
864"1046"1089"1256
"iVtq3
838
874
?$
930"939"5026"5035
932"942"943"954"5039
|\
937
938"948"950"964
fQ
933"1364
949"970"1363
Zq
935"1388
1381"1383"1386
fZM1&Bq
1112"1122
921"922
(9HK""iHS""j
H"K"
1025
915"1131"1251"1283
Yik<7
1123
1124"1125"1251
&/i$J
/m"A""A'3&B
q"Os,j<"]<is
I"k<^K"";kS"/
bsFM0m (m<^z)"
9mP-""9mYK"
3
m:
1. 3<I&Z<8 1004 O3<I&Z<8 1252 H7F5]<H5l^9#
266
DB2 5<P<!= 5b*hS$s9H<k
2. lLK"G<?O"3<I&Z<8+i CCSID XQ99k3H,G-"FY5Xa
7FbJsiQ=O"j^;s#J<O"=N,'KP9kc0G9#
v 2 P$H8z;CH (DBCS) 3<I&Z<8K*$F"f<6<jAN8zr^
`$/D+NG<?O:olkD=-,"j^9#
v .gP$HN3<I&Z<8bGjA5l?1lP$H&3<I&Z<8H7,
N$/D+N1lP$H&3<I&Z<8Nlg"8_7F$J$8zOIAi
b=<9G"?<2CHOV98zX^CW5lF+i"G<?,5N3<I&
Z<8XFQ95lk~K:olkD=-,"j^9#
3. P}~@lNlgO"ClJ ″BiDi CCSIDS″ , IBM® KhCF$/D+jA5l
F*j" DB2 Connect G5]<H5lF$^9#
G<?Y<9&5<P<NP}~0-,/i$"sHN0-H[JCF$klgO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X?>,'Y
hZj ID *hS*V8'/H>
-<o<IrHQ9k3H,G-^9#-<o<I, SQL -<o<IH7Fbra5
lk3sF-9HGHQ9klgKO"=lrhZj ID H7FXj9k,W,"j^
9#
hZj ID rHQ9k3HKhCF"e-N?>,'Kc?9k*V8'/Hrn.9
k3HOD=G9,"=N*V8'/HrHQ9kH(i<KJj^9#?H(P">
0K + ^?O - df,^^lF$ksrn.7"=NsrwzNsH7FHQ9k
H"wzN=r'19kJ,Gdj,/-F7^$^9#
X"50:
U? B. ?>,'
271
v 269 Z<8NX?>,'Y
f<6<"f<6< ID"*hS0k<WN?>,'
= 33. f<6<"f<6< ID"*hS0k<WN?>,'
*V8'/H
XK
v 0k<W>
v 0k<W>OGg 8 P$HG9#
v f<6<>
v UNIX Y<9N79F`GO"f<6<
ID OGg 8 8zG9#
v f<6< ID
v Windows® eNf<6<>O"Gg 30
8zG9# Windows NT"Windows
2000" Windows XP"*hS Windows
.NET GO=_NH3m"B]KO 20
8z,BYHJCF$^9#
v /i$"sH'ZGJ$lgO"f<6
<>*hSQ9o<I,@(*KXj5
lkH-" Windows NT"Windows
2000" Windows XP"*hS Windows
.NET K\37F$k"f<6<>, 8
8zr6(k Windows J0N 32 SC
H&/i$"sH,5]<H5l^9#
v >0*hS ID KO"!NX_v`,"
j^9#
– USERS" ADMINS" GUESTS"
PUBLIC" LOCAL"^?O$UN
SQL =slG"CFOJiJ$#
– IBM"SQL"^?O SYS GOaFO
JiJ$#
– "/;sHU-8zrH_~sGO
JiJ$#
m:
1. $/D+N*Zl<F#s0&79F`GO"g8z.8zNhLKM89kf<6
< ID *hSQ9o<IrHQG-^9#=l,HQG-k+I&+O"4HQN*
Zl<F#s0&79F`NqAGN'7F/@5$#
2. 5oKBT5l? CONNECT ^?O ATTACH +ia5l?vD ID O"8 8zG
ZjNFil^9#J,df (...) ,vD ID KIC5l" SQLWARN U#<kI
KZjNFil?3Hr(9Yp,~j^9#
X"50:
272
DB2 5<P<!= 5b*hS$s9H<k
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K8_
7J/Fb"Q9o<Ir977N'9k3HNG-kjJrs!7^9#?H(P"
DB2 for OS/390® P<8gs 5 O"f<6<&Q9o<INQ9N?aK"3Na=
CIr7^9#(i<&aC;<8 SQL1404NVQ9o<IN-z|B,ZlF$^
9#Wru1hC?lgO"!Nh&K CONNECT 9F<HasHrHQ7FQ9o
<IrQ97^9#
CONNECT TO <database> USER <userid> USING <password>
NEW <new_password> CONFIRM <new_password>
DB2 =."79?sH (CA) N XQ9o<INQ9 (Password change)Y @$"m0
rHQ7F"Q9o<IrQ99k3HbG-^9#
X"50:
v 269 Z<8NX?>,'Y
v 269 Z<8NXDB2 *V8'/H?>,'Y
v 274 Z<8NXo</9F<7gs?>,'Y
v 272 Z<8NXf<6<"f<6< ID"*hS0k<WN?>,'Y
v 273 Z<8NX"gG<?Y<9&*V8'/HN?>,'Y
v 271 Z<8NXhZj ID *hS*V8'/H>Y
v 273 Z<8NX9-<^>NICpsY
o</9F<7gs?>,'
o</9F<7gs> O"m<+k&o</9F<7gsKos9kG<?Y<9&5
<P<"G<?Y<9&/i$"sH"^?O DB2® Personal Edition N NetBIOS >
rXj7^9#3N>0O"G<?Y<9&^M<8c<=.U!$kK]I5l^
9#o</9F<7gs>O o</9F<7gs nname Hb$$^9#
5iK"Xj9k>0KO"J<Nro,"j^9#
v XjG-ketO 1A8 8zG9#
v &"#"^?O @ r~lk3HOG-^;s#
v MCHo</bG,:G-GJ1lPJj^;s#
274
DB2 5<P<!= 5b*hS$s9H<k
Q<F#7gs&G<?Y<9&79F`GO"Q<F#7gs&G<?Y<9&79
F`4Nr=9"o</9F<7gs nname , 1 D@1"j^9,"FN<IKO=
l>lI87?G-J NetBIOS nname ,"j^9#
Q<F#7gs&G<?Y<9&79F`r=9o</9F<7gs nname O"$s
9?s9rj-9kG<?Y<9&Q<F#7gs&5<P<NG<?Y<9&^M<
8c<=.U!$kK]I5l^9#
FN<ING-N nname O"o</9F<7gs nname *hSN<IVf+iI85
l^9#
N<I,$s9?s9r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l"*hS|\lD-+i"/;95lk
lgO"9YFN ID O=B*KO ASCII KBj5l^9#
X"50:
v 269 Z<8NX?>,'Y
v 269 Z<8NXDB2 *V8'/H?>,'Y
v 274 Z<8NXo</9F<7gs?>,'Y
U? B. ?>,'
277
278
DB2 5<P<!= 5b*hS$s9H<k
U? C. DB2 Universal Database N;QpsN5W
DB2 Universal Database N;QpsN5W
DB2 Universal Database N;QpsO"J<NA0G~jG-^9#
v VC/ (PDF *hSO<I3T<A0)
v HTC/&Dj< (HTML A0)
v DB2 D<kNXkW (HTML A0)
v 5sWk&Wm0i` (HTML A0)
v 3^sITXkW
v Ae<Hj"k
3N;/7gsGO"s!5lF$k;QpsN5WH"=lK"/;99k}!KD
$Fb@7^9#
DB2 I-easF<7gs&U#C/9QC/
IBM Oj|*KI-easF<7gs&U#C/9QC/rs!7F$^9#I-ea
sF<7gs&U#C/9QC/KhCF"77$ps,~jD=KJC?lgK"
DB2 HTML I-easF<7gs CD +i$s9H<k7?psr979k3H,G
-^9#
m: I-easF<7gs&U#C/9QC/r$s9H<k9kH"HTML I-ea
sF<7gsKO" DB2 Nu~^?O*si$s PDF ^Ke"khjbG7N
ps,-\5lk3HKJj^9#
DB2 ;QpsN+F4j<
DB2 ;QpsO"J<N+F4j<K,`5lF$^9#
v DB2 N3"ps
v I}ps
v "Wj1<7gs+/ps
v S8M9&$sFj8's9ps
v DB2 Connect ps
v ~gps
v Ae<Hj"kps
v *W7gJk&3s]<MsHps
v jj<9ps
© Copyright IBM Corp. 1993-2002
279
J<N=O" DB2 i$Vij<bNFqAKD$F"=NqANO<I3T<Grm
87?j"PDF Gru~^?O=(7?j" HTML G#l/Hj<r+D1?j9k
NK,WJpsr(7F$^9# DB2 i$Vij<bNFqAKX9k\YJb@K
D$FO" www.ibm.com/shop/publications/order K"k IBM Publications Center K"/
;97F/@5$#
HTML I-easF<7gs CD N$s9H<k&G#l/Hj<O"psN+F4
j<4HK[Jj^9#J<NH*jG9#
htmlcdpath/doc/htmlcd/%L/category
Qia<?<NU#OJ<NH*jG9#
v htmlcdpath O"HTML CD ,$s9H<k5lkG#l/Hj<G9#
v %L O@l ID G9#?H(P"en_US G9#
v category O+F4j< ID G9#?H(P" DB2 N3"psO core G9#
J<N=N PDF U!$k>NsK*$F"U!$k>N 6 V\N8zOqAN@lr
(7F$^9#?H(P"U!$k> db2d1e80 OI},$I: WisKs0 NQlG
r(7F*j"U!$k> db2d1g80 O18qANI$DlGr(7F$^9#J<K
(98zO"qAN@lr(9?aKU!$k>N 6 V\KHQ5l^9#
@l
"iS"l
Vi8k&]kH,kl
Vk,j"l
/m"A"l
A'3l
Gs^</l
*is@l
Ql
U#sisIl
Uis9l
I$Dl
.j7cl
Os,j<l
$?j"l
|\l
Zql
Nk&'<l
]<isIl
]kH,kl
k<^K"l
m7"l
JNzfql
9mP-"l
280
DB2 5<P<!= 5b*hS$s9H<k
ID
w
b
u
9
x
d
q
e
y
f
g
a
h
i
j
k
n
p
v
8
r
c
7
9mYK"l
9Z$sl
9&'<Gsl
KNzfql
Hk3l
l
z
s
t
m
qAVfJ7O"=NqA,*si$sGN_xQD=G"O<I3T<GOQU5l
F$J$3Hr(7F$^9#
DB2 N3"ps
3N+F4j<NpsO"9YFN DB2 f<6<Kp\HJk DB2 HTC/rRp
7F$^9#3N+F4j<NpsO"Wm0i^<*hSG<?Y<9I}TKHC
Fr)DHHbK" DB2 Connect" DB2 Warehouse Manager"^?O>N DB2 =Jr
HQ9kf<6<KHCFbr)DbFG9#
3N+F4j<NpsN$s9H<k&G#l/Hj<O" doc/htmlcd/%L/core G
9#
= 35. DB2 N3"ps
qA>
qAVf
PDF U!$k>
IBM DB2 Universal Database
3^sI&jU!ls9
SC88-9140
db2n0x80
IBM DB2 Universal Database
Ql8
qAVfJ7
db2t0x80
IBM DB2 Universal Database
^9?<wz
SC88-9151
db2w0x80
IBM DB2 Universal Database
aC;<8&jU!ls9
h 1 ,
GC88-9152
db2m1x80
IBM DB2 Universal Database
aC;<8&jU!ls9
h 2 ,
GC88-9153
db2m2x80
IBM DB2 Universal Database
7!=
SC88-9158
db2q0x80
I}ps
3N+F4j<NpsO" DB2 G<?Y<9"G<?&'"O&9"*hS"g79
F`rzL*K_W7"$sWjasH7"]i9k?aK,WJHTC/r7CF$
^9#
U? C. DB2 Universal Database N;QpsN5W
281
3N+F4j<NpsN$s9H<k&G#l/Hj<O" doc/htmlcd/%L/admin G
9#
= 36. I}ps
282
qA>
qAVf
PDF U!$k>
IBM DB2 Universal Database
I},$I: WisKs0
SC88-9135
db2d1x80
IBM DB2 Universal Database
I},$I: $sWjasF
<7gs
SC88-9133
db2d2x80
IBM DB2 Universal Database
I},$I: QU)<^s9
SC88-9134
db2d3x80
IBM DB2 Universal Database
I} API jU!ls9
SC88-9136
db2b0x80
IBM DB2 Universal Database
G<?\0f<F#jF#<
,$I*hSjU!ls9
SC88-9142
db2dmx80
IBM DB2 Universal Database
G<?&j+Pj<HbDQ
- ,$I*hSjU!ls
9
SC88-9143
db2hax80
IBM DB2 Universal Database
G<?&'"O&9&;s?
< I},$I
SC88-9165
db2ddx80
IBM DB2 Universal Database
"g79F`&,$I
GC88-9170
db2fpx80
IBM DB2 Universal Database SC88-9161
I}*hS+/K*1k GUI
D<k&,$I
db2atx80
IBM DB2 Universal Database
lWj1<7gsN,$I*
hSjU!ls9
SC88-9163
db2e0x80
IBM DB2 5Fi$HD-N
$s9H<k*hSI}
GC88-9209
db2dsx80
IBM DB2 Universal Database
SQL jU!ls9 h 1 ,
SC88-9155
db2s1x80
IBM DB2 Universal Database
SQL jU!ls9 h 2 ,
SC88-9156
db2s2x80
DB2 5<P<!= 5b*hS$s9H<k
= 36. I}ps (3-)
qA>
qAVf
PDF U!$k>
IBM DB2 Universal Database
79F`&bK?< ,$I
*hSjU!ls9
SC88-9157
db2f0x80
"Wj1<7gs+/ps
3N+F4j<NpsO" DB2 N"Wj1<7gs+/T^?OWm0i^<,CK
X4r}DbFG9#5]<H5lk5^6^JWm0i_s0&$s?<U'<9
(H_~_ SQL"ODBC"JDBC"SQLj"CLI JI) rHQ7F DB2 K"/;99kN
K,WJqAHHbK"5]<H5lk@l*hS3sQ$i<KD$FbRp5lF
$^9#3Npsr HTML A0N*si$sG2H9klg" HTML A0N DB2 5
sWk&Wm0i`Kb"/;9G-^9#
3N+F4j<NpsN$s9H<k&G#l/Hj<O" doc/htmlcd/%L/ad G9#
= 37. "Wj1<7gs+/ps
qA>
qAVf
PDF U!$k>
IBM DB2 Universal Database
"Wj1<7gs+/,$I
"Wj1<7gsN=[*h
SBT
SC88-9137
db2axx80
IBM DB2 Universal Database
"Wj1<7gs+/,$I
/i$"sH&"Wj1<7
gsNWm0i_s0
SC88-9138
db2a1x80
IBM DB2 Universal Database
"Wj1<7gs+/,$I
5<P<&"Wj1<7gs
NWm0i_s0
SC88-9139
db2a2x80
IBM DB2 Universal Database
3<k&lYk&$s?<U
'<9 ,$I*hSjU!
ls9 h 1 ,
SC88-9159
db2l1x80
IBM DB2 Universal Database
3<k&lYk&$s?<U
'<9!,$I*hSjU!
ls9 h 2 ,
SC88-9160
db2l2x80
U? C. DB2 Universal Database N;QpsN5W
283
= 37. "Wj1<7gs+/ps (3-)
qA>
qAVf
PDF U!$k>
IBM DB2 Universal Database
G<?&'"O&9&;s?
< "Wj1<7gs}g,
$I
SC88-9166
db2adx80
IBM DB2 Universal Database
XML Extender I}*hSW
m0i_s0N,$I
SC88-9172
db2sxx80
S8M9&$sFj8's9ps
3N+F4j<NpsO"5^6^J3s]<MsHrHQ7F" DB2 Universal
Database NG<?&'"O&8s0!=*hS,O!=rH%9k}!rb@7F$^
9#
3N+F4j<NpsN$s9H<k&G#l/Hj<O" doc/htmlcd/%L/wareh G
9#
= 38. S8M9&$sFj8's9ps
qA>
qAVf
PDF U!$k>
IBM DB2 Warehouse Manager SC88-9167
$sU)a<7gs&+?m
0&;s?< I},$I
db2dix80
IBM DB2 Warehouse Manager GC88-9164
$s9H<k&,$I
db2idx80
DB2 Connect ps
3N+F4j<NpsO" DB2 Connect Enterprise Edition ^?O DB2 Connect
Personal Edition rHQ7F"[9H^?O iSeries NG<?K"/;99k}!rb@
7F$^9#
3N+F4j<NpsN$s9H<k&G#l/Hj<O" doc/htmlcd/%L/conn G
9#
= 39. DB2 Connect ps
qA>
284
qAVf
PDF U!$k>
APPC, CPI-C, and SNA Sense qAVfJ7
Codes
db2apx80
IBM 3M/F#SF#< d
-
db2h1x80
DB2 5<P<!= 5b*hS$s9H<k
qAVfJ7
= 39. DB2 Connect ps (3-)
qA>
qAVf
PDF U!$k>
IBM DB2 Connect Enterprise
Edition 5b*hS$s9H
<k
GC88-9145
db2c6x80
IBM DB2 Connect Personal
Edition 5b*hS$s9H
<k
GC88-9146
db2c1x80
IBM DB2 Connect f<6<
:&,$I
SC88-9147
db2c0x80
~gps
3N+F4j<NpsO"5<P<"/i$"sH"*hS>N DB2 =Jr$s9H
<k7F=.9klgKr)A^9#
3N+F4j<NpsN$s9H<k&G#l/Hj<O" doc/htmlcd/%L/start G
9#
= 40. ~gps
qA>
qAVf
PDF U!$k>
IBM DB2 Universal Database
DB2 /i$"sH!= 5b
*hS$s9H<k
GC88-9144
db2itx80
IBM DB2 Universal Database
DB2 5<P<!= 5b*h
S$s9H<k
GC88-9148
db2isx80
IBM DB2 Universal Database
DB2 Personal Edition 5b*
hS$s9H<k
GC88-9150
db2i1x80
IBM DB2 Universal Database
$s9H<k*hS=. d
-
GC88-9149
db2iyx80
IBM DB2 Universal Database
DB2 Data Links Manager 5
b*hS$s9H<k
GC88-9141
db2z6x80
Ae<Hj"kps
Ae<Hj"kpsO"DB2 !=rRp7"5^6^J?9/rBT9k}!r(7^
9#
U? C. DB2 Universal Database N;QpsN5W
285
3N+F4j<NpsN$s9H<k&G#l/Hj<O" doc/htmlcd/%L/tutr G
9#
= 41. Ae<Hj"kps
qA>
qAVf
PDF U!$k>
S8M9&$sFj8's
qAVfJ7
9&Ae<Hj"k: G<?
&'"O&9&;s?<N
Rp
db2tux80
S8M9&$sFj8's
qAVfJ7
9&Ae<Hj"k: G<?
&'"O&8s0NeiT
~1,$I
db2tax80
Development Center Microsoft qAVfJ7
Visual Basic rHQ7FN
Video Online QAe<Hj
"k
db2tdx80
$sU)a<7gs&+?
m0&;s?< Ae<Hj
"k
qAVfJ7
db2aix80
Video Central for e-business
Ae<Hj"k
qAVfJ7
db2twx80
Visual Explain Ae<Hj" qAVfJ7
k
db2tvx80
*W7gJk&3s]<MsHps
3N+F4j<NpsO" DB2 N*W7gJk&3s]<MsHrHQ9k}!KD
$Fb@7F$^9#
3N+F4j<NpsN$s9H<k&G#l/Hj<O" doc/htmlcd/%L/opt G9#
= 42. *W7gJk&3s]<MsHps
qA>
PDF U!$k>
IBM DB2 Life Sciences Data GC88-9173
Connect Wh"$s9H<k
*hS=.N,$I
db2lsx80
SC88-9171
db2sbx80
IBM DB2 Spatial Extender
f<6<:&,$I
286
qAVf
DB2 5<P<!= 5b*hS$s9H<k
= 42. *W7gJk&3s]<MsHps (3-)
qA>
qAVf
PDF U!$k>
IBM DB2 Universal Database SC88-9169
Data Links Manager I},
$I*hSjU!ls9
db2z0x80
IBM DB2 Universal Database SH88-8546
Net Search Extender I}*
hSf<6<:&,$I
m: 3NqAN HTML G
O"HTML I-easF<
7gs CD +i$s9H<
k5l^;s#
N/A
jj<9ps
jj<9psO"4HQN=JNjj<9*hSU#C/9QC/&lYkKC-NI
CpsrRp7^9#3liNpsKO"Fjj<9*hSU#C/9QC/GH_~
^l?qAeN97NWsb^^lF$^9#
= 43. jj<9ps
qA>
qAVf
PDF U!$k>
DB2 jj<9ps
VmWr2H#
VmWr2H#
DB2 $s9H<kps
=J CD-ROM GN_2H
D=#
=J CD-ROM GN_2H
D=#
m: HTML GNjj<9psO"$sU)a<7gs&;s?<*hS=J CD-ROM
G2HG-^9# UNIX Y<9&WiCHU)<`G ASCII U!$kr=(9k
KO" Release.Notes U!$kr2H7F/@5$#3NU!$kO"
DB2DIR/Readme/%L G#l/Hj<K}?5lF$^9# %L Om1<k>r=7F
$^9# DB2DIR OJ<KJj^9#
v AIX GO /usr/opt/db2_08_01
v >N9YFN UNIX *Zl<F#s0&79F`GO"/opt/IBM/db2/V8.1
X"?9/:
v 288 Z<8NXPDF U!$k+iN DB2 qANu~}!Y
v 289 Z<8NXDB2 Nu~qANm8}!Y
v 290 Z<8NX*si$s&XkWNHQ!Y
v 294 Z<8NXI}D<k+i DB2 $sU)a<7gs&;s?<K"/;97
F"=Jpsr!w9kY
U? C. DB2 Universal Database N;QpsN5W
287
v 295 Z<8NXDB2 HTML I-easF<7gs CD +i;QqAr>\2H9
kY
PDF U!$k+iN DB2 qANu~}!
DB2 PDF I-easF<7gs CD K}?5lF$k DB2 qAru~9k3H,G
-^9# Adobe Acrobat Reader rHQ9lP"qA4N^?OCjNZ<8ru~G
-^9#
0sro:
Adobe Acrobat Reader ,$s9H<k5lF$k3HrN'7F/@5$#3NWm0
i`O" Adobe RN Web 5$H (www.adobe.com) +i~jG-^9#
jg:
PDF U!$k+i DB2 qAru~9kKOJ<Nh&K7^9#
1. DB2 PDF I-easF<7gs CD rIi$VK^~7^9# UNIX *Zl<F
#s0&79F`Nlg" DB2 PDF I-easF<7gs CD r^&sH7^
9# UNIX *Zl<F#s0&79F`G CD r^&sH9k}!KD$FO"5
b*hS$s9H<k r2H7F/@5$#
2. Adobe Acrobat Reader r/07^9#
3. J<K(9$:l+Nlj+i PDF U!$kr+-^9#
v Windows *Zl<F#s0&79F`Nlg
x:¥doc¥language G#l/Hj<#33G"x O CD-ROM Ii$Vr=7"
language OHQ9k@lr(9 2 8zNOh3<Ir=7^9 (?H(P"Ql
Nlg EN)#
v UNIX *Zl<F#s0&79F`Nlg
CD-ROM N /cdrom/doc/%L G#l/Hj<#33G"/cdrom O CD-ROM N^
&sH&]$sHr"%L Om1<k>r=7^9#
X"?9/:
v 289 Z<8NXDB2 Nu~qANm8}!Y
v 294 Z<8NXI}D<k+i DB2 $sU)a<7gs&;s?<K"/;97
F"=Jpsr!w9kY
v 295 Z<8NXDB2 HTML I-easF<7gs CD +i;QqAr>\2H9
kY
X"qA:
v 279 Z<8NXDB2 Universal Database N;QpsN5WY
288
DB2 5<P<!= 5b*hS$s9H<k
DB2 Nu~qANm8}!
u~qANm8}!:
O<I3T<GN DB2 VC/O"DLKm89k3H,G-^9#qArm89kK
O"IBM 5'NNdHT^?ODH4vwK"m7F/@5$#
J*"|\ IBM /TN^Ke"kO$s?<MCHP3Gb4X~$?@1^9#\
7/O
http://www.ibm.com/jp/manuals/ NV4m8KD$FWr4w/@5$#
(URL O"Q9KJklg,"j^9)
v 5,N IBM =JNdHT^?ODH4vwK"m7F/@5$#*RM,*;^$
NOhN IBM 4vwNpsKD$FO"*jtG9, IBM N Web 5$H
(www.ibm.com/planetwide) N IBM Worldwide Directory of Contacts GN'7F/@5
$#
v IBM Publications Center (www.ibm.com/shop/publications/order) K"/;97F/@5
$#
u~5l? DB2 ^Ke"kb"4HQN DB2 =JQN Doc Pack r IBM Nd9K
m89k3HKhCF~jG-^9# Doc Pack O"DB2 i$Vij<N^Ke"kN
5V;CHG"j"X~7? DB2 =JrH$OakNKr)Dh&*r5l?bNG
9# Doc Pack K"k^Ke"kO" DB2 PDF I-easF<7gs CD K"k
PDF A0G~jG-kbNH18G"j" DB2 HTML I-easF<7gs CD K
}?5lF$kqAH18bFG9#
X"?9/:
v 288 Z<8NXPDF U!$k+iN DB2 qANu~}!Y
v 291 Z<8NXVi&6<+i DB2 $sU)a<7gs&;s?<K"/;97F
HTC/r!w9kY
v 295 Z<8NXDB2 HTML I-easF<7gs CD +i;QqAr>\2H9
kY
X"qA:
v 279 Z<8NXDB2 Universal Database N;QpsN5WY
U? C. DB2 Universal Database N;QpsN5W
289
*si$s&XkWNHQ!
DB2 N9YFN3s]<MsHKwoCF$k*si$s&XkWO"J<N 3 DN
?$W+ixQG-^9#
v &#sI&&XkW*hSN<HVC/&XkW
v 3^sITXkW
v SQL 9F<HasH&XkW
&#sI&&XkW^?ON<HVC/&XkWO"&#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"? SQL30081 H~O9kH"aC;<8 SQL30081 KX9kXkWr=(
7^9#
v SQL 9F<HasH&XkWNlg"3^sITWm;C5<r+$FJ<Nh&K
~O7^9#
? sqlstate ^?O ? class code
33G"sqlstate O-zJ 5 eN SQL uVr"class code O SQL uVNGiN 2
er=7^9#
?H(P"? 08003 KhCF SQL uV 08003 NXkW,=(5l"
F/i9&3<I 08 NXkW,=(5l^9#
? 08 KhC
X"?9/:
v 291 Z<8NXVi&6<+i DB2 $sU)a<7gs&;s?<K"/;97F
HTC/r!w9kY
v 295 Z<8NXDB2 HTML I-easF<7gs CD +i;QqAr>\2H9
kY
Vi&6<+i DB2 $sU)a<7gs&;s?<K"/;97FHTC/r!w
9k
Vi&6<+i DB2 $sU)a<7gs&;s?<K"/;99kH" DB2
Universal Database *hS DB2 Connect rGgBKhQ9kNK,WJpsr~jG^9#^?"DB2 $sU)a<7gs&;s?<GO" DB2 NgJ!=*hS3s]
<MsH,b@5lF$^9 (lWj1<7gs"G<?&'"O&8s0"a?G<
?"*hS DB2 No9N Extender JI)#
Vi&6<+i"/;95lk DB2 $sU)a<7gs&;s?<KO"J<N!=
,woCF$^9#
JS2<7gs&Dj<
JS2<7gs&Dj<O"Vi&6<&&#sI&N8&NUl<`K"j
U? C. DB2 Universal Database N;QpsN5W
291
^9#Dj<rH%7?jL.7?j7F"DB2 $sU)a<7gs&;s?
<bNHTC/d"Ql8"^9?<wzJIr=(7?j"#7?jG-^
9#
JS2<7gs&D<kP<
JS2<7gs&D<kP<O"Vi&6<&&#sI&Net&&NUl<
`K"j^9#JS2<7gs&D<kP<KOFoN\?s,[V5lF$
^9#=liN\?srHCF" DB2 $sU)a<7gs&;s?<r!w
7?j"JS2<7gs&Dj<r#7?j"JS2<7gs&Dj<K=_
=(5lF$kHTC/r!w7?jG-^9#
bFUl<`
bFUl<`O"Vi&6<&&#sI&N<t&&NUl<`K"j^9#
bFUl<`KO"JS2<7gs&Dj<Njs/r/jC/7?j"!w
kLr/jC/7?j"L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s9H<k
9k,W,"j^9#
jg:
1. DB2 HTML I-easF<7gs CD rIi$VK^~7^9# UNIX *Zl<
F#s0&79F`Nlg"DB2 HTML I-easF<7gs CD r^&sH7^
9# UNIX *Zl<F#s0&79F`G CD r^&sH9k}!KD$FO"5
b*hS$s9H<k r2H7F/@5$#
2. HTML Vi&6<r/07F"J<NU!$kr+-^9#
v Windows *Zl<F#s0&79F`Nlg
e:¥program files¥IBM¥SQLLIB¥doc¥htmlcd¥%L¥index.htm
e O CD-ROM Ii$VG"j" %L OHQ7?$8qNm1<k (?H(P"
QlNlg en_US) G9#
v UNIX *Zl<F#s0&79F`Nlg
/cdrom/program files/IBM/SQLLIB/doc/htmlcd/%L/index.htm
/cdrom/ O CD N^&sH&]$sHG"j" %L OHQ7?$8qNm1<k
(?H(P"QlNlg en_US) G9#
X"?9/:
U? C. DB2 Universal Database N;QpsN5W
295
v 291 Z<8NXVi&6<+i DB2 $sU)a<7gs&;s?<K"/;97F
HTC/r!w9kY
v 297 Z<8NXDB2 HTML I-easF<7gs CD +i Web 5<P<XU!$
kr3T<9kY
X"qA:
v 279 Z<8NXDB2 Universal Database N;QpsN5WY
^7sK$s9H<k5lF$k HTML qAr"CWG<H9k
DB2 HTML I-easF<7gs CD +i$s9H<k7? HTML qAN97G,
IBM +is!5lkH-K"=lir"CWG<HG-kh&KJj^7?#"CWG
<HO"J<K(9 2 DN}!NIAi+GBTG-^9#
v $sU)a<7gs&;s?<rHQ9k (DB2 I} GUI D<kr$s9H<k7
F"klg)#
v DB2 HTML I-easF<7gs&U#C/9QC/r@&sm<I7F,Q9
k#
m: 3N"CWG<HGO"DB2 3<IN97OTol^;s# DB2 HTML I-ea
sF<7gs CD +i$s9H<k7? HTML qA@1,975l^9#
jg:
$sU)a<7gs&;s?<rHQ7F"^7sK$s9H<k5lF$kqAr"
CWG<H9kKOJ<Nh&K7^9#
1. J<K(9}!N&AN 1 DrHCF"DB2 $sU)a<7gs&;s?<r+O
7^9#
v 0iU#+kI}D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#C/9
QC/O5L5l? tar.Z HJCF$^9# tar U!$krr`78+7^9#
delta_install H$&>0NG#l/Hj<K installdocfix H$&>0N9/j
WH,n.5l^9#3N9/jWHrBT9kH"I-easF<7gs&U
#C/9QC/,$s9H<k5l^9#
X"?9/:
v 297 Z<8NXDB2 HTML I-easF<7gs CD +i Web 5<P<XU!$
kr3T<9kY
X"qA:
v 279 Z<8NXDB2 Universal Database N;QpsN5WY
DB2 HTML I-easF<7gs CD +i Web 5<P<XU!$kr3T<9k
DB2 psi$Vij<O9YF DB2 HTML I-easF<7gs CD K}?5lF
$^9#i$Vij<r-zKhQ9k?a"=lir Web 5<P<K$s9H<k
9k3H,G-^9#=Nlg",WJ@lN8qr Web 5<P<K3T<9k@1
G9#
m: Web 5<P<+ic.\3rP37F HTML I-easF<7gsK"/;99
klgO"QU)<^s9,c<9klg,"j^9#
jg:
U? C. DB2 Universal Database N;QpsN5W
297
DB2 HTML I-easF<7gs CD +i Web 5<P<KU!$kr3T<9kK
O"J<K(9,ZJ=<9&Q9+i3T<7F/@5$#
v Windows *Zl<F#s0&79F`Nlg
E:¥program files¥IBM¥SQLLIB¥doc¥htmlcd¥%L¥*.*
E O CD-ROM Ii$VG"j"%L O@l ID G9#
v UNIX *Zl<F#s0&79F`Nlg
/cdrom/program files/IBM/SQLLIB/doc/htmlcd/%L/*.*
cdrom O CD-ROM Ii$VN^&sH&]$sHG"j"%L O@l ID G9#
X"?9/:
v 299 Z<8NXDB2 8qN!wY
X"qA:
v 257 Z<8NX5]<H5lk DB2 $s?<U'<9@l"m1<k"*hS3<
I&Z<8Y
v 279 Z<8NXDB2 Universal Database N;QpsN5WY
Netscape 4.x rHCF DB2 qAr!w9klgNHiVk7e<F#s0
!wNdjN[HsIO"Web Vi&6<N Java 5]<HKX87F$^9#33G
O"BTG-kPh!rRp7^9#
jg:
Netscape 4.x K&L7F$kdjO";-ejF#<&/i9,gn7F$k+"[V
,VcCF$k3HG9#J<K(9Ph!rBT7F_F/@5$ (CKVi&6<
N Java 3s=<kKJ<NT,"klgO,:BT7F/@5$)#
Cannot find class
java/security/InvalidParameterException
v Windows *Zl<F#s0&79F`Nlg
DB2 HTML I-easF<7gs CD N"x:program files¥IBM¥SQLLIB¥doc¥htmlcd
¥locale¥InvalidParameterException.class U!$kr"Netscape Vi&6<N
java¥classes¥java¥security¥ G#l/Hj<K3T<7^9#33G" x O
CD-ROM Ii$VG"j"locale OHQ9km1<kN>0G9#
m: java¥security¥ 5VG#l/Hj<rn.7J1lPJiJ$lgb"j^9#
v UNIX *Zl<F#s0&79F`Nlg
DB2 HTML I-easF<7gs CD N"/cdrom/program files/IBM/SQLLIB/doc
/htmlcd/locale/InvalidParameterException.class U!$kr" Netscape Vi&6
<N java/classes/java/security/ G#l/Hj<K3T<7^9#33G"cdrom
O CD-ROM N^&sH&]$sHG"j"locale OHQ9km1<kN>0G9#
298
DB2 5<P<!= 5b*hS$s9H<k
m: java/security/ 5VG#l/Hj<rn.7J1lPJiJ$lgb"j^9#
e-NPh!rBT7Fb"Netscape Vi&6<G!w~O&#sI&,=(5lJ$
lg"J<rBT7F/@5$#
v Netscape Vi&6<N9YFN$s9?s9rd_7F"^7sG Netscape 3<I
,BT5lF$J$3HrN'7^9#=Ne"Netscape Vi&6<N77$$s9
?s9r+-"FY!wN+OrnT7^9#
v Vi&6<N-cC7ero|7^9#
v Netscape NLNP<8gs^?OLNVi&6<rHQ7^9#
X"?9/:
v 299 Z<8NXDB2 8qN!wY
DB2 8qN!w
DB2 I-easF<7gsNi$Vij<r!w7F",WJpsr+D1k3H,G
-^9# (Vi&6<+i) DB2 $sU)a<7gs&;s?<K"/;97F"JS
2<7gs&D<kP<N!w"$3sr/jC/9kH"!wN]CW"CW&&#
sI&,+-^9#4HQN3sTe<?<*hSMCHo</N.YK~8F"3N
!wNm<IKOt,++klg,"j^9#
0sro:
Netscape 6.1 Je^?O Microsoft Internet Explorer 5 Je,,WG9#Vi&6<N
Java 5]<H,-zKJCF$k3HrN'7F/@5$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"kNfG"5sWk&G<?^?O5sWk&3<IrHQ9klg,"
j^9#D9N?9/N0sroKD$FO"=l>lNAe<Hj"kr2H7F/
@5$#
DB2 Universal Database Ae<Hj"k:
DB2 HTML I-easF<7gs CD +iAe<Hj"kr$s9H<k7?lg"
J<K(9Ae<Hj"kN?$Hkr/jC/9kH"Ae<Hj"kr=(G-^
9#
S8M9&$sFj8's9&Ae<Hj"k: G<?&'"O&9&;s?<NRp
G<?&'"O&9&;s?<rHQ7FJ1JG<?&'"O&8s0&?
9/rBT7^9#
302
DB2 5<P<!= 5b*hS$s9H<k
S8M9&$sFj8's9&Ae<Hj"k: G<?&'"O&8s0NeiT~1
,$I G<?&'"O&9&;s?<rHQ7FbYJG<?&'"O&8s0&?
9/rBT7^9#
Microsoft® Visual Basic rHQ7FN Video Online QAe<Hj"k
Development Center Add-in for Microsoft Visual Basic rHQ7F""Wj1<
7gsN5^6^J3s]<MsHr=[7^9#
$sU)a<7gs&+?m0&;s?< Ae<Hj"k
$sU)a<7gs&+?m0rn.*hSI}7F"$sU)a<7gs&
+?m0&;s?<KhCFa?G<?rLVXj7HQ7^9#
Video Central for e-business Ae<Hj"k
WebSphere® =JrHQ7F"b!=J DB2 Web 5<S9&"Wj1<7g
sr+/7FGWm$7^9#
Visual Explain Ae<Hj"k
Visual Explain rHQ7F"QU)<^s9r~e5;k?aK SQL 9F<
HasHr,O7"G,=7"407^9#
Vi&6<+i"/;99k DB2 $sU)a<7gs&;s?<
DB2® $sU)a<7gs&;s?<rHQ9kH" DB2 Universal Database™ *hS
DB2 Connect™ rS8M9GGgBKhQ9kNK,WJps9YFK"/;9G-^
9#^?"DB2 $sU)a<7gs&;s?<GO" DB2 NgJ!=*hS3s]<
MsH,b@5lF$^9 (lWj1<7gs"G<?&'"O&8s0"$sU)a
<7gs&+?m0&;s?<"Life Sciences Data Connect"*hS DB2 No9N
Extender JI)#
Netscape Navigator 6.1 Je^?O Microsoft Internet Explorer 5 JeG=(9klg"
Vi&6<+i"/;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"[[r\*H7F"$+JkA0K*$Fb"IBM KP
ArY'&3HJ/3lr#=7"~Q7"[[9k3H,G-^9# 3N5sWk&
Wm0i`O""ifkro<K*1k04JF9HrPF$^;s# >CF IBM
O"3liN5sWk&Wm0i`KD$F.j-"xX-b7/O!=-,"k3H
r[Na+7?j"]Z9k3HOG-^;s#
=l>lN#=*"5sWk&Wm0i`N$+Jkt,"^?O9YFNI87?O
n*KO"!Nh&K"xn"=(r~lF$?@/,W,"j^9#
© (*RMNqR>) (>q/). 3N3<INltO"IBM Corp. N5sWk&Wm0i
`+ihilF$^9# © Copyright IBM Corp. _/r~lk_. All rights reserved.
U? D. C-v`
307
&8
J<O"IBM Corporation N&8G9#
ACF/VTAM
AISPO
AIX
AIXwindows
AnyNet
APPN
AS/400
BookManager
C Set++
C/370
CICS
Database 2
DataHub
DataJoiner
DataPropagator
DataRefresher
DB2
DB2 Connect
DB2 Extenders
DB2 OLAP Server
DB2 Universal Database
Distributed Relational
Database Architecture
DRDA
eServer
Extended Services
FFST
First Failure Support Technology
IBM
IMS
IMS/ESA
iSeries
LAN Distance
MVS
MVS/ESA
MVS/XA
Net.Data
NetView
OS/390
OS/400
PowerPC
pSeries
QBIC
QMF
RACF
RISC System/6000
RS/6000
S/370
SP
SQL/400
SQL/DS
System/370
System/390
SystemView
Tivoli
VisualAge
VM/ESA
VSE/ESA
VTAM
WebExplorer
WebSphere
WIN-OS/2
z/OS
zSeries
J<O">RN&8^?OP?&8G9#
Microsoft"Windows"Windows NT *hS Windows m4O"Microsoft Corporation NF
q*hS=N>NqK*1k&8G9#
308
DB2 5<P<!= 5b*hS$s9H<k
Action Media"LANDesk"MMX"Pentium *hS ProShare O Intel Corporation NFq
*hS=N>NqK*1k&8G9#
Java *hS9YFN Java X"N&8*hSm4O"Sun Microsystems, Inc. NFq*h
S=N>NqK*1k&8^?OP?&8G9#
UNIX O"The Open Group ,i$;s97F$kFq*hS=N>NqK*1kP?
&8G9#
>NqR>"=J>*hS5<S9>JIO=l>lFRN&8^?OP?&8G9#
U? D. C-v`
309
310
DB2 5<P<!= 5b*hS$s9H<k
wz
|\l, tz, Qz, Cl8zN
gK[s5lF$^9#J*, y
;H>y;O6;H1yK7o
lF$^9#
N"TO
"/;7SjF#<
!= 301
\T
$s9?s9"UNIX GN 34
G<?Y<9 26, 30, 37
DB2 30, 36, 37, 247
d)v` 21
9Z<9NM8v` 23
)B 19
UNIX eN 33
Windows eN 29
DB2 Administration Server
(DAS) 36
explain = 247
u~GVC/Nm8 289
$s9?s9
\T
UNIX eN 34
$s9?s9j-G<?Y<9&Q
<F#7gs&5<P<
Windows GN$s9H<k 98
$s9H<k
/i$"sH 117, 132, 144, 156
5<P< 117, 132, 144, 156
DB2 for Linux (S/390) 229
$s9H<k"DB2 3^sI 246
$s?<U'<9@l 257
Q9
UNIX eN 256
Windows eN 255
&'"O&8s0
5sWk&G<?Y<9 244
© Copyright IBM Corp. 1993-2002
~zU!$k
$s9H<k
G<?Y<9&Q<F#7g
s&5<P< 172
*si$s
qA 55, 109
XkWXN"/;9 290
N+TO
+<Mk=.Qia<?<
HP-UX QNd)_jM 233
Solaris N 234
+<Mk&Qia<?<
Q9
HP-UX GN 67, 132
Linux GN 73, 145
Solaris *Zl<F#s0DGN 79, 157
C;
G<?Y<9 208
>[$s?<U'<9&"<-F/
Ac< 236
+?m0
G<?Y<9 218
DB2 Connect rHQ7? 218
>0U-Q$W 217
APPC N<I 217
NetBIOS N<I 216, 217
TCP/IP N<I 214
Fql5]<H (NLS)
P}~ CCSID 5]<H 262
8zG<?NQ9 265
/i$"sH+i5<P<XN
\3NF9H
CLP rHQ7? 220
0k<W
?>,' 272
0k<W ID
n. 250
@l
P}~5]<H 265
@l ID"DB2 ;CH"CW&&#
6<I 261
3<I&Z<8
5]<H5lF$k 257
Q9
c0 265
=.
/i$"sH+i5<P<XN\
3
=."79?sH (CA) 207
3^sITWm;C5<
(CLP) 213
=."79?sH (CA)
/i$"sH+i5<P<XN\
3N=. 207
G<?Y<9\3N=.
lL 208
b.3_eK1<7gs&^M<8
c< (FCM)
5W 243
G<?Y<9&Q<F#7gs&
5<P<VNL.NHQD==
175
]<HOONDQ-N!: 103
3^sI
db2licm 225
db2setup 246
3^sITWm;C5< (CLP)
$s9H<kN!: 54, 84
/i$"sH+i5<P<XN\
3N=. 213
G<?Y<9N+?m0 218
N<IN+?m0 214, 217
N5TO
5<P<
UNIX GNabj<Wo 61, 66,
71, 78
311
5sWk
jb<H&G<?Y<9XN\3
220
79F`=._jM
DB2 \T0N-? 24
j0GNG<?Y<9NIC 208
|n
DB2
Windows eN 236
HNc2 301
GG(i<&lYk
DB2 \T0NQ9 25
9-<^>
b@ 273
;-ejF#<
NIS KX9k$s9H<kNmU
@ 235
\3
WmU!$krHQ7FG<?Y
<9XN 209
N?TO
Ae<Hj"k 302
L.
b.3_eK1<7gs&^M<
8c< 242
L."Il9 242
G<?
Q9
8z 265
G<?Y<9
\T 26, 30, 37
+?m0 218
n.
5sWk 218
DB2 \T0NPC/"CW 22
G<?Y<9\3
=.
=."79?sH (CA) rH
Q7? 208
G#9+Pj<rHQ7?
210
WmU!$krHQ7? 209
312
G<?Y<9&*V8'/H
?>,'
NLS 276
Unicode 277
G<?Y<9&Q<F#7gs&5
<P<
L.NHQD== 175
Windows GN$s9H<k 104
G#9+Pj<!=
G<?Y<9\3N=. 210
G#9/Wo
/i$"sH 117, 132, 144, 156
5<P< 117, 132, 144, 156
DB2 ESE 94
DB2 Personal Edition 47
G#l/Hj<&9-<^
H%
Windows 2000 *hS
Windows .NET GN 48, 97
FjHj<&3<I
Z<8&5]<H 265
HiVk7e<F#s0
*si$sps 300
DB2 qAN!w 298
NJTO
MCHo</&U!$k&79F`
(NFS) 121, 133, 146, 158
N<I
FCM G<bs 242
N<I=.U!$k
b@ 230
NOTO
Q<F#7gs DB2 5<P<
Windows GNabj<Wo 93
Q<F#7gs&G<?Y<9&5
<P<
$s9H<k 108
$s9H<kN!:"Windows G
N 108
Q<F#7gs&G<?Y<9&5
<P<N$s9H<kN UNIX G
N!: 179
DB2 5<P<!= 5b*hS$s9H<k
O<I&'"Wo
O<I&G#9/ 117, 132, 144,
156
O<I&G#9/
O<I&'"Wo 117, 132, 144,
156
Q9o<I
!: 274
97 274
U!$k&79F`
Q<F#7gs DB2 5<P<Q
Nn.
Linux GN 147
Solaris *Zl<F#s0DGN 159
U!$k&;CH
b@ 242
db2fcmdm G<bs 242
U#C/9QC/
,Q 54, 83, 108, 178
]<HVf
OO
DQ-N!: 103
N^TO
?>,'
lL 269
Fql 276
hZj ID H*V8'/H>
271
9-<^> 273
f<6<"f<6< ID *hS0
k<WN 272
"gG<?Y<9&*V8'/H
N 273
o</9F<7gsN 274
DB2 *V8'/HN 269
Unicode 277
NdTO
f<6<
Q<F#7gs DB2 5<P<Q
Nn.
AIX 124
f<6< (3-)
AIX (3-)
Q<F#7gs DB2 5<P<Q
Nn. (3-)
DB2 5<P<N$s9H<k
59
HP-UX 136
Linux 149
DB2 5<P<N$s9H<kW
Solaris *Zl<F#s0D-
DB2 [<`&U!$k&79F
`Nn.
o 60
161
f<6< ID
n. 250
Q<F#7gs&G<?Y<
?>,' 272
f<6<C""Windows 248
f<6<&"+&sH
Windows GN DB2 5<P<N$
i$;s9&;s?<
DB2 i$;s9&]j7<N_
j 226
jb<H
3^sI"UNIX GNHQD==
176
"gG<?Y<9
*V8'/HN?>,' 273
m1<k
5]<H5lF$k 257
NoTO
o</9F<7gs
(nname)"?>,' 274
A
AIX
D-_jN97 118
Q<F#7gs DB2 5<P<N
$s9H<k 113
,Wf<6<Nn.
Q<F#7gs DB 5<P<
N$s9H<kGN 124
DB2 CD-ROM N^&sH 63,
126
DB2 /i$"sHN$s9H<
k 199
$s9H<k
$s9H<kN!: 54, 84
G7U#C/9QC/N,Q
54, 83, 108, 178
UNIX eN 227
Windows eN 227
$s9H<k&a=CI 227
9&79F`N 121
ESE o</9F<7gsXN3^
sIN[[ 243
$s?<U'<9@l 257
3<I&Z<8 257
|n
NFS ,T/fG"k3HN!:
121
UNIX eN 237
Q<F#7gs&$s9H<k
AIX D-_jN97 118
s9H<kK,WJ 49
NiTO
DB2 (3-)
m1<k 257
B
BiDi
@l5]<H 265
C
CCSID (Coded Character Set
Identifier)
P}~@l 265
P}~5]<H
,W0- 262
CD-ROM N^&sH
HP-UX 68
D
DB2
\T
5W 30, 37
5<P<&*Ui$sNh@
27
79F`=._jM 24
GG(i<&lYkNQ9
25
d)v` 21
9Z<9NM8v` 23
)B 19
G<?Y<9NPC/"CW
22
$s9?s9Nd_
UNIX eN 239
DB2 Administration Server Nd_
UNIX eN 238
DB2 Administration Client
*Zl<F#s0&79F`
186
5W 186
DB2 Administration Server (DAS)
\T 36
|n 238
d_ 238
DB2 Application Development Client
*Zl<F#s0&79F`
187
5W 187
DB2 CD-ROM
HQ3sTe<?<XN3T<
127, 139, 151, 164
^&sH
AIX GN 63, 126
HP-UX GN 138
Linux GN 74, 150
Solaris *Zl<F#s0DGN 80, 163
DB2 Enterprise Server Edition
$s9H<k
Windows 95
5W 3
>[$s?<U'<9&"<-F
/Ac< 236
wz
313
DB2 ESE/WSE
G#9/Wo
UNIX GN 62, 66, 72, 78
DB2 Run-Time Client
5W 185
DB2 Workgroup Server Edition 4
DB2 $s9?s9
|n 240
d_ 239
DB2 $sU)a<7gs&;s?<
303
DB2 *V8'/H
?>,' 269
DB2 /i$"sH
$s9H<k
UNIX 202
Windows 189, 192
$s9H<kWo 191, 201
AIX 199
HP-UX 195
Linux 196
Solaris *Zl<F#s0D198
Windows 189
5W 185
+?m0
TCP/IP N<I 214
G#9/Wo 191, 201
>0U-Q$W&N<IN+?m
0 217
abj<Wo 190, 200
APPC N<IN+?m0 217
DB2 Administration Client 186
DB2 Application Development
Client 187
DB2 Run-Time Client 185
NetBIOS N<IN+?m0 216
DB2 5<P<
$s9H<k
HP-UX 63
Linux 69
Solaris *Zl<F#s0D75
Windows 5, 43
$s9H<kWo
AIX 60
314
DB2 5<P< (3-)
DB2 ;CH"CW&&#6<I
$s9H<kWo (3-)
AIX GNQ<F#7gsN
115
@l ID 261
G<?Y<9&Q<F#7gs&
5<P<N$s9H<k 104
HP-UX 64
UNIX 164
DB2 5<P<N$s9H<k
Linux 70
Solaris *Zl<F#s0D76
UNIX 81
DB2 Ae<Hj"k 302
Windows 44
DB2 VC/Nm8 289
*Ui$sNh@ 27
n.
0k<W ID 250
DB2 [<`&U!$k&79F`
Q<F#7gs&G<?Y<9&
79F`"AIX 121
f<6< ID 250
Q<F#7gs
AIX GN$s9H<k 113
Q<F#7gs&G<?Y<9&
79F`"HP-UX 134
DB2 i$;s9&]j7<
HP-UX GN$s9H<k
_j
i$;s9&;s?<NHQ
226
db2licm 3^sIrHQ7?
127
HP-UX GN$s9H<kWo
129
Linux GN$s9H<k 140
Linux GN$s9H<kWo
141
225
db2fcmdm G<bs
b@ 242
Solaris *Zl<F#s0DGN$s9H<k 152
db2licm 3^sI
DB2 i$;s9&]j7<N_
Solaris *Zl<F#s0DGN$s9H<kWo 154
j 225
db2nodes.cfg U!$k 230
UNIX GN$s9H<k 13
Windows D-N`w 95
Windows GN$s9H<k
7, 89, 90
abj<Wo
UNIX 117, 131, 143, 156
Windows 47
AIX GN$s9H<k 59
UNIX GN$s9H<k 11
Windows GN$s9H<k 51
DB2 79F`I}T0k<W 252
DB2 qA 55, 109
UNIX GN$s9H<k 85, 180
Windows GN$s9H<k 55,
109
DB2 qAN!w
Netscape 4.x rHQ7? 298
DB2 =J
|n
UNIX 241
DB2 5<P<!= 5b*hS$s9H<k
db2setup 3^sI 246
DBCS (2 P$H8z;CH)
?>,' 276
E
ESE o</9F<7gs
3^sIN[[ 243
explain =
\T 247
H
HP-UX
+<Mk=.Qia<?< 233
+<Mk&Qia<?<NQ9
67, 132
Q<F#7gs DB2 5<P<N
$s9H<k 127
HP-UX (3-)
Q<F#7gs DB2 5<P<N
$s9H<kWo 129
UNIX (3-)
N
NIS
$s9H<kNmU@ 235
,Wf<6<Nn.
|n
DB2 237
DB2 $s9?s9 240
Q<F#7gs DB N$s9
H<kGN 136
CD-ROM N^&sH 68
DB2 CD-ROM N^&sH 138
DB2 /i$"sHN$s9H<
k 195
DB2 5<P<N$s9H<k
DB2 =J 241
S
Solaris *Zl<F#s0D$s9H<k
63
DB2 5<P<N$s9H<kW
o 64
`Nn.
Q<F#7gs&G<?Y<
9&79F`N 134
NFS ,T/fG"k3HN!:
133
Q<F#7gs DB2 5<P
< 152
Wo"Q<F#7gs DB2
5<P< 154
Wo"DB2 5<P< 76
abj<Wo
5<P< 61, 66, 71, 78
Q<F#7gs DB2 5<P
Linux
$s9H<k
Q<F#7gs DB2 5<P
< 140
CD-ROM N^&sH 74, 150
DB2 /i$"sH 196
DB2 5<P< 69
$s9H<kWo
Q<F#7gs DB2 5<P
< 141
DB2 5<P< 70
n.
Q<F#7gs DB2 5<P
<N,Wf<6< 149
Q<F#7gs DB2 5<P
<QU!$k&79F`
147
Linux +<Mk&Qia<?<N
Q9 73, 145
NFS ,T/fG"k3HN!:
146
< 117, 131, 143, 156
DB2 5<P< 75
+<Mk=.Qia<?< 234
+<Mk&Qia<?<NQ9
jb<H&3^sINHQD==
176
DB2 ESE/WSE NG#9/Wo
79, 157
!:
NFS ,T/fG"k3HN
62, 66, 72, 78
DB2 $s?<U'<9@lNQ
9 256
158
L
$s9H<k 13
Q<F#7gs&G<?Y<9&
5<P<N$s9H<kN!:
179
DB2 /i$"sH 198
DB2 [<`&U!$k&79F
N<I=.U!$kN97 173
Q<F#7gs DB2 5<P<N
n.
,Wf<6<"Q<F#7g
s DB2 5<P< 161
U!$k&79F`"Q<F
#7gs DB2 5<P<
159
CD-ROM N^&sH 80, 163
SQL
-<o<I 271
S/390 GN DB2 for Linux N$s9
H<k 229
DB2 *si$sqAN$s9H
<k 85, 180
DB2 /i$"sHN$s9H<
k 202
DB2 5<P<N$s9H<k
DB2 ;CH"CW&&#6<
IrHQ7? 81
UNIX 11
DB2 ;CH"CW&&#6<I
NHQKhkG<?Y<9&Q
<F#7gs&5<P<N$s
9H<k 164
DB2 N\T 33
U
Unicode (UCS-2)
?>,' 277
ID 277
UNIX
$s9?s9N\T 34
~zU!$kNHQKhkG<?
Y<9&Q<F#7gs&5<
P<N$s9H<k 172
3sHm<k&;s?<I}NH
QD== 178
W
Windows
$s9H<k
$s9?s9j-G<?Y<
9&Q<F#7gs&5<P
< 98
*si$sqA 55, 109
G<?Y<9&Q<F#7g
s&5<P< 104
wz
315
Windows (3-)
$s9H<k (3-)
Q<F#7gs DB2 5<P
< 7, 89
DB2 /i$"sH 189, 192
DB2 5<P< 5, 43
DB2 5<P<"f<6<&"
+&sH 49
DB2 ;CH"CW&&#6<
INHQKhk DB2 5<P
<N 51
$s9H<kWo
Q<F#7gs DB2 5<P
< 90
DB2 5<P< 44
!:
Q<F#7gs&G<?Y<
9&5<P<N$s9H<k
108
b.3_eK1<7gs&^M<
8c< 243
5<P<Nabj<Wo 47
abj<Wo
Q<F#7gs DB2 5<P
< 93
f<6<"BNU? 248
DB2 $s?<U'<9@lNQ
9 255
DB2 79F`I}T0k<W
252
DB2 N\T 29
DB2 N|n 236
Windows 2000
G#l/Hj<&9-<^NH%
48, 97
Windows .NET"G#l/Hj<&9
-<^NH% 48, 97
316
DB2 5<P<!= 5b*hS$s9H<k
IBM H"mrHk
;QeNdj,"klgO"*RM5]<HK4"m/@5$#
=Jps
J<NpsOQlGs!5l^9#bFOQlG=JKX9kpsG9#
DB2 Universal Database =JKX9kpsO" www.ibm.com/software/data/db2/udb +i
~jG-^9#
3N5$HKO";Qi$Vij<"qANm8}!"/i$"sH&@&sm<I"
Ke<90k<W"U#C/9QC/"Ke<9"*hS Web j=<9XNjs/K
X9kG7ps,G\5lF$^9#
FqJ0NqG IBM K"m9k}!KD$FO" IBM Worldwide Z<8
(www.ibm.com/planetwide) K"/;97F/@5$#
© Copyright IBM Corp. 1993-2002
317
318
DB2 5<P<!= 5b*hS$s9H<k
򔻐򗗠򙳰
tJVf: CT169JA
GC88-9148-00
(1P) P/N: CT169JA
Printed in Japan
򔻐򗗠򙳰
®
IBM DB2™ Universal
Database
Spine information:
DB2 5<P<!= 5b*hS$s9H
<k
P<8gs 8
Fly UP