- fencユーザーの作成
# useradd -u 402 db2fenc1
- instanceユーザーの作成
# useradd -u 403 db2inst1
- instanceの作成
- V10
# /opt/ibm/db2/V10.1/instance/db2icrt -u db2fenc1 db2inst1 DBI1446I The db2icrt command is running, please wait. DB2 installation is being initialized. Total number of tasks to be performed: 4 Total estimated time for all tasks to be performed: 309 second(s) Task #1 start Description: Setting default global profile registry variables Estimated time 1 second(s) Task #1 end Task #2 start Description: Initializing instance list Estimated time 5 second(s) Task #2 end Task #3 start Description: Configuring DB2 instances Estimated time 300 second(s) Task #3 end Task #4 start Description: Updating global profile registry Estimated time 3 second(s) Task #4 end The execution completed successfully. For more information see the DB2 installation log at "/tmp/db2icrt.log.37295". DBI1070I Program db2icrt completed successfully.
- V8
# /opt/IBM/db2/V8.1/instance/db2icrt -u db2fenc1 db2inst1 DBI1070I Program db2icrt completed successfully.
- V10
- instanceの削除
# ./db2idrop db2inst1 DBI1070I Program db2idrop completed successfully.
Counter: 1896,
today: 1,
yesterday: 0