Project

General

Profile

StartStop DB2 8 » History » Version 2

chin-yeh, 12/09/2010 10:08 AM

1 1 chin-yeh
{{toc}}
2
3
h1. Start/Stop DB2 8
4
5
Provides guides on how to start or stop DB2 8 instance.
6
7 2 chin-yeh
DB2 8 Details:
8 1 chin-yeh
<pre>
9 2 chin-yeh
Database listening port: 50000
10
DB2 Directory: /opt/IBM/db2/V8.1
11 1 chin-yeh
Instance Name: db2inst1
12
Instance Home Directory: /home/db2inst1
13
Instance Owner: db2inst1
14
Fenced User: db2fenc1
15
</pre>
16
17
h2. Start DB2
18
19 2 chin-yeh
# ssh to the target server as *Instance Owner*, e.g. db2inst1
20 1 chin-yeh
# execute the following command:
21
<pre>[db2inst1@cwydb1 ~]$ db2start</pre>
22
# done.
23
24
h2. Stop DB2
25
26 2 chin-yeh
# ssh to the target server as *Instance Owner*, e.g. db2inst1
27 1 chin-yeh
# execute the following command:
28
<pre>[db2inst1@cwydb1 ~]$ db2stop</pre>
29
# done.