Results 1 to 10 of 10
  1. #1
    Join Date
    Sep 2013
    Posts
    5

    Unanswered: how to run db2setup without GUI

    Hello,

    We have a SAP system for which DB2 version is 9.7
    we are planning to upgrade it to 10.1. but as per upgrade guide we have to run the db2setup with the root.
    The problem is in our organisation we cant run the GUI with root.
    In this case how can we execute the db2setup.

    While installing sap application we run the setup from root with no gui option and open the another session ( with adm user) with gui option.
    with db2setup is there any option like this

  2. #2
    Join Date
    Apr 2006
    Location
    Belgium
    Posts
    2,514
    Provided Answers: 11
    db2_install
    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

  3. #3
    Join Date
    Sep 2013
    Posts
    5
    Hello przytula_guy,
    Thanks for reply.

    Do db2_install run without gui?

  4. #4
    Join Date
    Apr 2012
    Posts
    156
    You need to push back on the non-root install of DB2. There are limitations when performing non-root install that can cause a real pain in the future. If you are able have root for a SAP install I would imagine you can get it for DB2. All you need is access to xwindows.
    IBM DB2 9.7 for Linux, UNIX and Windows Information Center

  5. #5
    Join Date
    Jun 2003
    Location
    Toronto, Canada
    Posts
    5,516
    Provided Answers: 1
    ---
    "It does not work" is not a valid problem statement.

  6. #6
    Join Date
    Sep 2013
    Posts
    5
    Hello azready,
    Yes i do have root access. but as per our organisation policy GUI option is not enabled for root. This is problem for me.

  7. #7
    Join Date
    Apr 2012
    Posts
    156
    Ok, then the easiest way is to edit a response file. Since you do not have access to the gui you will need to manually edit the file. We normally generate the response file on one system and then use it on others (with minor edits) that way our install are consistent. Take a look at the following link, it should be enough to get you started:
    IBM DB2 10.1 Information Center for Linux, UNIX, and Windows
    DB2 comes with a sample response file you can edit for your needs.

  8. #8
    Join Date
    Apr 2012
    Posts
    1,034
    Provided Answers: 18
    Try studying the documentation in the link already provided by n_i.

    Unattended batch-mode installations (non-GUI) are already possible with DB2 via response files. Study, learn, experiment on development/test environments...

  9. #9
    Join Date
    Sep 2013
    Posts
    5
    Thank u all

  10. #10
    Join Date
    Aug 2008
    Location
    Toronto, Canada
    Posts
    2,367
    Quote Originally Posted by n_i View Post
    db2_install is deprecated.
    Whaaaat?! Only a GUI lover would want to get rid of the most reliable way to install the product. What's next... deprecate db2_deinstall.

Posting Permissions

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