Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2012
    Posts
    177

    Unanswered: db2 + MPP + db connectivity issue

    Hi all,

    I am New for DB2 partition + MPP environment:

    In our setup Db2 v9.7 with fixpack 4 has been installed:

    For the two development Redhat linux boxes I have setup the MPP:

    Rsh, rpm packages are installed properly.


    For the instance db2inst1 i have 2 databases

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

    [db2inst1@vrdtisdbhcl01 root]$ db2 list db directory

    System Database Directory

    Number of entries in the directory = 3

    Database 1 entry:

    Database alias = TIS_STG
    Database name = TIS_STG
    Local database directory = /tisdev/data
    Database release level = d.00


    Database 2 entry:

    Database alias = TIS_DWH
    Database name = TIS_DWH
    Local database directory = /tisdev/data
    Database release level = d.00


    I am able to connect the database:

    [db2inst1@vrdtisdbhcl01 ~]$ db2 connect to TIS_STG

    Database Connection Information

    Database server = DB2/LINUXX8664 9.7.4
    SQL authorization ID = DB2INST1
    Local database alias = TIS_STG


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

    At the same time rlogin to the next box:

    [db2inst1@vrdtisdbhcl02 ~]$ rlogin vrdtisdbhcl01
    Last login: Fri Sep 14 22:40:34 from devdw1

    ISSUE:
    ------
    ************************************************** ***
    I am able to su to the instance and list the db directory:

    su -db2inst1


    db2inst1@vrdtisdbhcl02 root]$ db2 list db directory

    System Database Directory

    Number of entries in the directory = 3

    Database 1 entry:

    Database alias = TIS_STG
    Database name = TIS_STG
    Local database directory = /tisdev/data
    Database release level = d.00


    Database 2 entry:

    Database alias = TIS_DWH
    Database name = TIS_DWH
    Local database directory = /tisdev/data
    Database release level = d.00


    But i can't able to connect to database:
    --------------------------------------

    [db2inst1@vrdtisdbhcl02 ~]$ db2 connect to TIS_STG
    SQL1031N The database directory cannot be found on the indicated file system.
    SQLSTATE=58031


    But i'm not sure about how the setup will work? If it is possbile to connect the database?

    Could you please resolve this issue?

    Thanks,
    laxman.

  2. #2
    Join Date
    Apr 2006
    Location
    Belgium
    Posts
    2,514
    Provided Answers: 11
    "Could you please resolve this issue? "

    If you have some budget for us to come over.. we can..
    Best Regards, Guy Przytula
    Database Software Consultant
    Good DBAs are not formed in a week or a month. They are created little by little, day by day. Protracted and patient effort is needed to develop good DBAs.
    Spoon feeding : To treat (another) in a way that discourages independent thought or action, as by overindulgence.
    DB2 UDB LUW Certified V7-V8-V9-V9.7-V10.1-V10.5 DB Admin - Advanced DBA -Dprop..
    Information Server Datastage Certified
    http://www.infocura.be

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •