Project

General

Profile

StartStop DB2 8 » History » Version 3

chin-yeh, 06/29/2011 11:38 AM

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