DB2 10.1 Installation

Source: Internet
Author: User
Tags db2 client db2 installation

[Email protected] cd1]#./db2_install
DBI1324W the Db2_install command is deprecated. For
More information, see the DB2 information Center.



Default directory for installation of products-/opt/ibm/db2/v10.1

***********************************************************
Install into default directory (/opt/ibm/db2/v10.1)? [Yes/no] (select Yes)
Yes


Specify one of the following keywords to install DB2 products. (select ESE)

Ese
CLIENT
Rtcl

Enter ' help ' to redisplay product names.

Enter "Quit" to exit.

***********************************************************
Ese
***********************************************************
Do you want to install the DB2 pureScale Feature? [Yes/no] (select No)
No
DB2 installation is being initialized.

Total number of the tasks to be performed:46
Total estimated time for all tasks to be performed:1403 second (s)

Task #1 Start
Description:checking License Agreement Acceptance
Estimated Time 1 second (s)
Task #1 End

Task #2 Start
Description:base Client support for installation with root privileges
Estimated Time 3 second (s)
Task #2 End

Task #3 Start
Description:product Messages-english
Estimated time second (s)
Task #3 End

Task #4 Start
Description:base Client Support
Estimated time 231 second (s)
Task #4 End

Task #5 Start
Description:java Runtime Support
Estimated time 153 second (s)
Task #5 End

Task #6 Start
Description:java Help (HTML)-中文版
Estimated Time 7 second (s)
Task #6 End

Task #7 Start
Description:base server support for installation with root privileges
Estimated Time 7 second (s)
Task #7 End

Task #8 Start
Description:global Secure ToolKit
Estimated time second (s)
Task #8 End

Task #9 Start
Description:java Support
Estimated time second (s)
Task #9 End

Task #10 Start
Description:sql procedures
Estimated Time 3 second (s)
Task #10 End

Task #11 Start
Description:icu Utilities
Estimated time second (s)
Task #11 End

Task #12 Start
Description:java Common Files
Estimated time second (s)
Task #12 End

Task #13 Start
Description:base Server Support
Estimated time 366 second (s)
Task #13 End

Task #14 Start
Description:control Center Help (HTML)-中文版
Estimated time second (s)
Task #14 End

Task #15 Start
Description:connect Support
Estimated Time 3 second (s)
Task #15 End

Task #16 Start
Description:relational Wrappers Common
Estimated Time 3 second (s)
Task #16 End

Task #17 Start
DESCRIPTION:DB2 Data Source Support
Estimated Time 6 second (s)
Task #17 End

Task #18 Start
Description:spatial Extender Server Support
Estimated time second (s)
Task #18 End

Task #19 Start
DESCRIPTION:IBM Software Development Kit (SDK) for Java (TM)
Estimated time second (s)
Task #19 End

Task #20 Start
DESCRIPTION:DB2 LDAP Support
Estimated Time 4 second (s)
Task #20 End

Task #21 Start
DESCRIPTION:DB2 Instance Setup Wizard
Estimated time second (s)
Task #21 End

Task #22 Start
description:integrated Flash Copy Support
Estimated Time 3 second (s)
Task #22 End

Task #23 Start
Description:spatial Extender Client
Estimated Time 3 second (s)
Task #23 End

Task #24 Start
Description:communication SUPPORT-TCP/IP
Estimated Time 3 second (s)
Task #24 End

Task #25 Start
Description:base Application Development Tools
Estimated time second (s)
Task #25 End

Task #26 Start
DESCRIPTION:DB2 Update Service
Estimated Time 4 second (s)
Task #26 End

Task #27 Start
Description:parallel Extension
Estimated Time 3 second (s)
Task #27 End

Task #28 Start
Description:enterprisedb Code
Estimated Time 4 second (s)
Task #28 End

Task #29 Start
Description:replication Tools
Estimated time second (s)
Task #29 End

Task #30 Start
Description:sample Database Source
Estimated Time 4 second (s)
Task #30 End

Task #31 Start
Description:the DB2 required Component.
Estimated Time 3 second (s)
Task #31 End

Task #32 Start
DESCRIPTION:DB2 Text Search
Estimated time second (s)
Task #32 End

Task #33 Start
Description:command Line Processor Plus
Estimated Time 6 second (s)
Task #33 End

Task #34 Start
Description:informix Data Source Support
Estimated Time 4 second (s)
Task #34 End

Task #35 Start
Description:first Steps
Estimated Time 3 second (s)
Task #35 End

Task #36 Start
Description:product Signature for DB2 Enterprise Server Edition
Estimated Time 6 second (s)
Task #36 End

Task #37 Start
Description:setting DB2 Library Path
Estimated time second (s)
Task #37 End

Task #38 Start
description:installing or updating DB2 HA scripts for IBM Tivoli System Automation for Multiplatforms (Tivoli SA MP)
Estimated time second (s)
Task #38 End

Task #39 Start
Description:compiling GPL
Estimated time second (s)
Task #39 End

Task #40 Start
Description:executing Control Tasks
Estimated time second (s)
Task #40 End

Task #41 Start
Description:updating Global Registry
Estimated time second (s)
Task #41 End

Task #42 Start
Description:starting DB2 Fault Monitor
Estimated time second (s)
Task #42 End

Task #43 Start
Description:updating the Db2ls link
Estimated Time 1 second (s)
Task #43 End

Task #44 Start
description:registering DB2 Licenses
Estimated Time 5 second (s)
Task #44 End

Task #45 Start
Description:setting Default Global Profile registry variables
Estimated Time 1 second (s)
Task #45 End

Task #46 Start
description:initializing Instance List
Estimated Time 5 second (s)
Task #46 End

Task #47 Start
Description:registering DB2 Update Service
Estimated time second (s)
Task #47 End

Task #48 Start
Description:updating Global Profile Registry
Estimated Time 3 second (s)
Task #48 End

The execution completed successfully. (Complete installation)

For more information see the DB2 installation logs at
"/tmp/db2_install.log.30111".
==============================================================================
[Email protected] cd1]# cd/opt/ibm/db2/v10.1/instance/
[[email protected] instance]#./dascrt-u DASUSR (designate DB2 Manager as DASUSR user)
Dbi1070i program DASCRT completed successfully.

==============================================================================
[Email protected] instance]#/db2icrt-p 50001-u db2fenc db2inst
dbi1446i the DB2ICRT command is running, please wait.


DB2 installation is being initialized.

DB2 PureScale Instance creation requires you specify either an instance GKFX
Device path or an instance shared directory. For more information regarding an
Instance shared device path or an instance shared directory, see DB2
Information Center.

A major error occurred during the execution that caused
Terminate prematurely. If the problem persists, contact your technical service
Representative.

For more information see the DB2 installation logs at "/tmp/db2icrt.log.19964".
DBI1264E Errors were encountered in running DB2ICRT. Please
Refer to the installation log file/tmp/db2icrt.log.19964 for more
Information.

Explanation:

All processed and failed operations has been saved into the this log file.

User Response:

Do not modify the this file on any. This file was for IBM Technical
Support Reference.

Last Login:thu Apr 10:32:59 from 192.168.52.56
[Email protected] ~]# cat/tmp/db2icrt.log.19964

DB2 Setup log file started At:thu Apr 11:06:14 CST
==============================================================================

[[email protected] instance]#./db2icrt-p 50001-u db2fenc db2inst Create instance specify port number)
dbi1446i the DB2ICRT command is running, please wait.


DB2 installation is being initialized.

Total number of the 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 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 logs at "/tmp/db2icrt.log.1635".
Dbi1070i program DB2ICRT completed successfully. (instance creation succeeded)
============================================================================

[[email protected] instance]# su-db2inst (switch to Db2inst user)
[Email protected] ~]$ db2iauto-on db2inst)
[[email protected] ~]$ Db2start (open instance
04/23/2015 11:38:11 0 0 sql1063n db2start processing was successful.
SQL1063N Db2start processing was successful.
============================================================================

[[email protected] ~]$ pwd (Create library)
/home/db2inst

[Email protected] ~]$ DB2 CREATE DATABASE action using CodeSet UTF-8 territory CN
(Create action Library)
db20000i the CREATE DATABASE command completed successfully. (created successfully)
[Email protected] ~]$ DB2
(c) Copyright IBM Corporation 1993,2007
Command line Processor for DB2 Client 10.1.0

You can issue database Manager commands and SQL statements from the command
Prompt. For example:
DB2 = Connect to sample
DB2 = Bind Sample.bnd

For general help, type:?.
For command help, type:? command, where command can
The first few keywords of a Database Manager command. For example:
? Catalog database for help on the Catalog database command
? Catalog for help on all of the catalog commands.

To exit DB2 interactive mode, type QUIT at the command prompt. Outside
Interactive mode, all commands must is prefixed with ' DB2 '.
To list the current command option settings, type List command OPTIONS.

For more detailed help, refer to the Online Reference Manual.

DB2 = Connect to Action (Connection action Library)

Database Connection Information

Database Server = db2/linuxx8664 10.1.0
SQL Authorization ID = Db2inst
Local Database alias = ACTION

DB2 = [[email protected] ~]$ SU-DASUSR
Password:
[[email protected] ~]$ db2admin start
sql4406w The DB2 administration Server was started successfully. (start)
Installation Complete DB2
DB2 Related Other commands
DB2 Get dbm CFG | Grep-i Service
DB2 Update Database Manager configuration using Svcename Db2inst
Db2set-all
Db2set Db2comm=tcpip
Vi/etc/services
Db2inst port/tcp

DB2 10.1 Installation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.