码迷,mamicode.com
首页 > 数据库 > 详细

Vmware Workstation + Suse Linux 11 SP3 + db2 purescale V10.5 (七)

时间:2017-06-17 15:04:56      阅读:235      评论:0      收藏:0      [点我收藏+]

标签:linux   虚拟机   vmware   suse   purescale   

    本文详细记录了DB2 purescale 10.5在VMware Workstation 上的安装过程,如果大家看了本人的博文后,实践过程中有什么问题,欢迎加本人微信84077708,我将尽我所能为大家解惑。


    前面已经成功在节点一node01上安装了DB2 purescale软件,现在开始在节点二node02上安装DB2 purescale软件,步骤如下:

ogin as: root

Using keyboard-interactive authentication.

Password:

Last login: Sun Jun  4 12:05:30 2017 from 192.168.142.1

node02:~ # cd /mnt/hgfs/C                  --前面安装了VMware Tools,在此,就可以直接在Liinux中访问物理机C盘中的数据了

node02:/mnt/hgfs/C # ls

$Recycle.Bin            System Volume Information

360SANDBOX              Users

DICMS                   Windows

Documents and Settings  Windows.old

Intel                   hiberfil.sys

MSOCache                msdia80.dll

PerfLogs                oracle

Program Files           pagefile.sys

Program Files (x86)     setup.log

ProgramData             setupinfidb.db

Recovery                v10.5.0.3_linuxx64_server_t.tar.gz


node02:/mnt/hgfs/C # cd /opt

node02:opt # tar zxvf  /mnt/hgfs/C/v10.5.0.3_linuxx64_server_t.tar.gz      --解压到/opt目录下,解压后的目录为server_t


node02:opt # cd server_t

node02:/opt/server_t # ./db2prereqcheck -p -v 10.5.0.3  ---执行安装前检查


如果最后一行显示:

DBT3533I  The db2prereqcheck utility has confirmed that all installation prerequisites were met.

则表示检查通过。


除了执行db2prereqcheck脚本执行安装前检查外,还需要执行以下命令检查tsamp组件的安装条件是否满足:

node02:/opt/server_t # db2/linuxamd64/tsamp/prereqSAM

 prereqSAM: All prerequisites for the ITSAMP installation are met on operating system

 SUSE Linux Enterprise Server 11 (x86_64)

 VERSION = 11

 PATCHLEVEL = 3


   只有上面两个检查都通过了,才有可能成功安装db2 purescale,下面开始在节点一node01上安装DB2 purescale软件。

 node02:/opt/server_t # ./db2_install -b /opt/ibm/db2/V10.5

DBI1324W  Support of the db2_install command is deprecated. For

      more information, see the DB2 Information Center.





Specify one of the following keywords to install DB2 products.


  SERVER

  CONSV

  EXP

  CLIENT

  RTCL


Enter "help" to redisplay product names.


Enter "quit" to exit.


***********************************************************

SERVER

***********************************************************

Do you want to install the DB2 pureScale Feature? [yes/no]

yes

DB2 installation is being initialized.


 Total number of tasks to be performed: 52

Total estimated time for all tasks to be performed: 2101 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 14 second(s)

Task #3 end


Task #4 start

Description: Base client support

Estimated time 294 second(s)

Task #4 end


Task #5 start

Description: Java Runtime Support

Estimated time 155 second(s)

Task #5 end


Task #6 start

Description: Java Help (HTML) - English

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 59 second(s)

Task #8 end


Task #9 start

Description: Java support

Estimated time 13 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 35 second(s)

Task #11 end


Task #12 start

Description: Java Common files

Estimated time 18 second(s)

Task #12 end


Task #13 start

Description: Base server support

Estimated time 468 second(s)

Task #13 end


Task #14 start

Description: Control Center Help (HTML) - English

Estimated time 13 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 19 second(s)

Task #18 end


Task #19 start

Description: IBM Software Development Kit (SDK) for Java(TM)

Estimated time 48 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 20 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: General Parallel File System (GPFS)

Estimated time 100 second(s)

Task #23 end


Task #24 start

Description: Spatial Extender client

Estimated time 3 second(s)

Task #24 end


Task #25 start

Description: Communication support - TCP/IP

Estimated time 3 second(s)

Task #25 end


Task #26 start

Description: Tivoli SA MP

Estimated time 300 second(s)

Task #26 end


Task #27 start

Description: Base application development tools

Estimated time 35 second(s)

Task #27 end


Task #28 start

Description: DB2 Update Service

Estimated time 4 second(s)

Task #28 end


Task #29 start

Description: Parallel Extension

Estimated time 3 second(s)

Task #29 end


Task #30 start

Description: EnterpriseDB code

Estimated time 4 second(s)

Task #30 end


Task #31 start

Description: Replication tools

Estimated time 53 second(s)

Task #31 end


Task #32 start

Description: Cluster Caching Facility

Estimated time 65 second(s)

Task #32 end


Task #33 start

Description: Sample database source

Estimated time 4 second(s)

Task #33 end


Task #34 start

Description: itlm

Estimated time 3 second(s)

Task #34 end


Task #35 start

Description: DB2 Text Search

Estimated time 119 second(s)

Task #35 end


Task #36 start

Description: Command Line Processor Plus

Estimated time 4 second(s)

Task #36 end


Task #37 start

Description: Informix data source support

Estimated time 4 second(s)

Task #37 end


Task #38 start

Description: Oracle data source support

Estimated time 4 second(s)

Task #38 end


Task #39 start

Description: IBM DB2 pureScale Feature

Estimated time 3 second(s)

Task #39 end


Task #40 start

Description: First Steps

Estimated time 3 second(s)

Task #40 end


Task #41 start

Description: Product Signature for DB2 Server Edition

Estimated time 6 second(s)

Task #41 end


Task #42 start

Description: Guardium Installation Manager Client

Estimated time 20 second(s)

Task #42 end


Task #43 start

Description: Setting DB2 library path

Estimated time 180 second(s)

Task #43 end


Task #44 start

Description: Copying DB2 image

Estimated time 600 second(s)

Task #44 end


Task #45 start

Description: Installing or updating DB2 HA scripts for IBM Tivoli System Automation for Multiplatforms (Tivoli SA MP)

Estimated time 40 second(s)

Task #45 end


Task #46 start

Description: Installing or updating DB2 Cluster Scripts for IBM General Parallel File System (GPFS)

Estimated time 40 second(s)

Task #46 end


Task #47 start

Description: Installing or updating DB2 SSH Utilities

Estimated time 5 second(s)

Task #47 end


Task #48 start

Description: Compiling GPL

Estimated time 30 second(s)

Task #48 end


Task #49 start

Description: Executing control tasks

Estimated time 20 second(s)

Task #49 end


Task #50 start

Description: Updating global registry

Estimated time 20 second(s)

Task #50 end


Task #51 start

Description: Updating the db2ls link

Estimated time 1 second(s)

Task #51 end


Task #52 start

Description: Registering DB2 licenses

Estimated time 5 second(s)

Task #52 end


Task #53 start

Description: Setting default global profile registry variables

Estimated time 1 second(s)

Task #53 end


Task #54 start

Description: Initializing instance list

Estimated time 5 second(s)

Task #54 end


Task #55 start

Description: Registering DB2 Update Service

Estimated time 30 second(s)

Task #55 end


Task #56 start

Description: Updating global profile registry

Estimated time 3 second(s)

Task #56 end


The execution completed successfully.


For more information see the DB2 installation log at

"/tmp/db2_install.log.27766".

node02:/opt/server_t #


查看安装日志:


node02:/opt/server_t # tail -200f /tmp/db2_install.log.27766


DB2 Setup log file started at:  Sat Jun 17 12:07:41 2017 CST

============================================================


Operating system information: Linux 3.0.76-0.11-default.#1 SMP Fri Jun 14 08:21:43 UTC 2013 (ccab990) x86_64


Product to install:                             DB2 Server Edition


Previously Installed Components:


Components to be installed:

    Base client support

    Java support

    SQL procedures

    Base server support

    Connect support

    DB2 data source support

    Spatial Extender server support

    IBM Software Development Kit (SDK) for Java(TM)

    DB2 LDAP support

    DB2 Instance Setup wizard

    Integrated Flash Copy Support

    General Parallel File System (GPFS)

    Spatial Extender client

    Communication support - TCP/IP

    Tivoli SA MP

    Base application development tools

    DB2 Update Service

    Replication tools

    Sample database source

    DB2 Text Search

    Informix data source support

    Oracle data source support

    IBM DB2 pureScale Feature

    First Steps

    Guardium Installation Manager Client


Languages:


Target directory:                               /opt/ibm/db2/V10.5


Space required:                                 2420 MB

Install IBM Tivoli System Automation for Multiplatforms (Tivoli SA MP):        Yes






Checking license agreement acceptance :.......Success

Installing: BASE_CLIENT_R


Installing: DB2_PRODUCT_MESSAGES_EN


Installing: BASE_CLIENT


Installing: JAVA_RUNTIME_SUPPORT


Installing: DB2_JAVA_HELP_EN


Installing: BASE_DB2_ENGINE_R


Installing: GSK


Installing: JAVA_SUPPORT


Installing: SQL_PROCEDURES


Installing: ICU_SUP


Installing: JAVA_COMMON_FILES


Installing: BASE_DB2_ENGINE


Installing: DB2_CONTROL_CENTER_HELP_EN


Installing: CONNECT_SUPPORT


Installing: RELATIONAL_WRAPPERS_COMMON


Installing: DB2_DATA_SOURCE_SUPPORT


Installing: SPATIAL_EXTENDER_SERVER_SUPPORT


Installing: JDK


Installing: LDAP_EXPLOITATION


Installing: INSTANCE_SETUP_SUPPORT


Installing: ACS


Installing: GPFS


Installing: SPATIAL_EXTENDER_CLIENT_SUPPORT


Installing: COMMUNICATION_SUPPORT_TCPIP


Installing: TSAMP


Installing: APPLICATION_DEVELOPMENT_TOOLS


Installing: DB2_UPDATE_SERVICE


Installing: DATABASE_PARTITIONING_SUPPORT


Installing: EDB


Installing: REPL_CLIENT


Installing: CF


Installing: DB2_SAMPLE_DATABASE


Installing: ITLM


Installing: TEXT_SEARCH


Installing: CLPPLUS


Installing: INFORMIX_DATA_SOURCE_SUPPORT


Installing: ORACLE_DATA_SOURCE_SUPPORT


Installing: PURESCALE


Installing: FIRST_STEPS


Installing: ESE_PRODUCT_SIGNATURE


Installing: GUARDIUM_INST_MNGR_CLIENT


Installing DB2 file sets :.......Success

DBI1514I  The DB2 High Availability (HA) scripts for the IBM Tivoli

      System Automation for Multiplatforms (SA MP) were successfully

      installed.


Explanation:


You need DB2 HA scripts to use SA MP with the DB2 HA feature.


These DB2 HA scripts are located at /usr/sbin/rsct/sapolicies/db2. The

DB2 installer detects whether these DB2 HA scripts need to be installed

or updated.


User response:


No action is required.



Installing or updating DB2 HA scripts for IBM Tivoli System Automation for Multiplatforms (Tivoli SA MP) :.......Success

Installing or updating DB2 Cluster Scripts for IBM General Parallel File System (GPFS) :.......Success

Installing or updating DB2 SSH Utilities :.......Success

Compiling GPL :.......Success

Executing control tasks :.......Success

Updating global registry :.......Success

Updating the db2ls link :.......Success

Registering DB2 licenses :.......Success

Setting default global profile registry variables :.......Success

Initializing instance list :.......Success

Registering DB2 Update Service :.......Success

Updating global profile registry :.......Success


Post Install Recommendations

-----------------------------


Required steps:

Set up a DB2 instance to work with DB2.


Optional steps:

Refer to "What‘s new" http://publib.boulder.ibm.com/infocenter/db2luw/v10r5/topic/com.ibm.db2.luw.wn.doc/doc/c0052035.html in the DB2 Information Center to learn about the new functions for DB2 V10.5.


Open First Steps by running "db2fs" using a valid user ID such as the DB2 instance owner‘s ID. You will need to have DISPLAY set and a supported web browser in the path of this user ID.


Ensure that you have the correct license entitlements for DB2 products and features installed on this machine. Each DB2 product or feature comes with a license certificate file (also referred to as a license key) that is distributed on an Activation CD, which also includes instructions for applying the license file. If you purchased a base DB2 product, as well as, separately priced features, you might need to install more than one license certificate. The Activation CD for your product or feature can be downloaded from Passport Advantage if it is not part of the physical media pack you received from IBM. For more information about licensing, search the Information Center (http://publib.boulder.ibm.com/infocenter/db2luw/v10r5/index.jsp) using terms such as "license compliance", "licensing" or "db2licm".


To use your DB2 database product, you must have a valid license. For information about obtaining and applying DB2 license files, see http://pic.dhe.ibm.com/infocenter/db2luw/v10r5/topic/com.ibm.db2.luw.qb.server.doc/doc/c0061199.html.



DB2 Setup log file finished at:  Sat Jun 17 12:14:49 2017 CST

============================================================


到此,节点二node02上的DB2 purescale软件也安装完了,下面就开始创建DB2集群实例了。


在创建集群实例之前,还有一步很重要的工作要做,否则,在创建集群的过程中会出错。


前面我们在《Vmware Workstation + Suse Linux 11 SP3 + db2 purescale V10.5 (五)》已经配置了ssh用户等效性了,如果是在DB2 10.5.之前的版本,使用ssh用户等效性就可以了,但是在 DB210.5这个版本中,默认使用的是db2locssh,也就是DB2自己封装的SSH,所以在开始创建实例之前,我们还需要配置一下db2locssh。


配置db2locssh的方法以及如何创建db2实例,请参见终结篇《Vmware Workstation + Suse Linux 11 SP3 + db2 purescale V10.5 (八)》

本文出自 “涛哥的回忆” 博客,谢绝转载!

Vmware Workstation + Suse Linux 11 SP3 + db2 purescale V10.5 (七)

标签:linux   虚拟机   vmware   suse   purescale   

原文地址:http://562512305.blog.51cto.com/6496478/1939293

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!