StartStop DB2 9 » History » Version 1
chin-yeh, 06/29/2011 11:38 AM
1 | 1 | chin-yeh | {{toc}} |
---|---|---|---|
2 | |||
3 | h1. Start/Stop DB2 9 |
||
4 | |||
5 | DB2 Details: |
||
6 | <pre> |
||
7 | Database listening port: 50000 |
||
8 | DB2 Directory: /opt/ibm/db2/V9.1/ |
||
9 | 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 | # ssh to the target server as *Instance Owner*, e.g. db2inst1 |
||
18 | # execute the following command: |
||
19 | <pre>[db2inst1@cwydb1 ~]$ db2start</pre> |
||
20 | # done. |
||
21 | |||
22 | h2. Stop DB2 |
||
23 | |||
24 | # ssh to the target server as *Instance Owner*, e.g. db2inst1 |
||
25 | # execute the following command: |
||
26 | <pre>[db2inst1@cwydb1 ~]$ db2stop</pre> |
||
27 | # done. |