DB2 9 runtime client install

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jean-Marc Blaise

    DB2 9 runtime client install

    Hi,

    I've been trying for 2 hours to install in silent mode a DB2 9 runtime
    client. Why didn't you make this process as simple as for the CLIENT
    install ?
    It is not the same setup command, you can download a setup from the support
    site, but unfortunately, the setup does not allow you to create a response
    file. Neither the db2rspgn utility, after the graphical setup has been done.

    Very disapointing ... maybe can someone highlight the correct procedure to
    install silently because the doc is uncomplete.

    Thanks,

    JM


  • binchen6596@gmail.com

    #2
    Re: DB2 9 runtime client install

    Hello,

    The install command lines are different for DB2 Client and DB2 Runtime
    Client (RTCL), because the DB2 9 RTCL is built differently from other
    db2 products, and differently from v8 RTCL.

    You can find the install command line for RTCL in the DB2 9 On-Line
    Information Center, which is copied here:

    // +++ install cmd lines: +++++++++++++++ ++++++++++++++
    To perform a response file installation, the following command line
    parameter should be used:
    setup /v"/qn RSP_FILE_PATH=[Full path to the response file]"

    The example assumes that no copy of the client is already installed.
    If one or more copies exist, the command is different. To install a
    second copy use:
    setup /v" TRANSFORMS=:Ins tanceId1.mst MSINEWINSTANCE= 1 /qn
    RSP_FILE_PATH=[Full path to the response file]"

    // +++++++++++++++ +++++++++++++++ +++++++++++++++ +

    Now, the problem is how to get the response file.
    As you already found, the RTCL install image is just one single
    setup.exe file. There is no sample rsp file if you just download it
    from the DB2 fixpak image site. By the way, if you purchased the
    RTCL image CD, then there is a Samples directory where you can find
    the sample rsp file.

    You can take the following option to create/get a rsp file for RTCL:
    1). Manually create a rsp file for RTCL, since there is no much
    selectable component in RTCL, it is not difficult to write the rsp
    file by yourself, by referencing a Client's rsp file. You can choose
    the install type of Typical or Compact, not to worry about what
    component should be selected.
    2). Collect the rsp file from a GUI install: A rsp file is generated
    in the GUI install, as you tried earlier, even it did not give you the
    option where to keep that rsp file. You can do the following to get
    the rsp file generated from the GUI install:
    -- Launch the GUI install, go through the GUI panels till the
    Install Summary panel.
    -- Go to the %Temp% directory on your system, you will find a
    DB2RLxxx.rsp file there. You can check its the time stamp to get the
    correct rsp file, in case there are multiple DB2RLxxx.rsp files.

    Regards.

    Bin



    On Jun 22, 2:22 pm, "Jean-Marc Blaise" <jmbla...@hotma il.comwrote:
    Hi,
    >
    I've been trying for 2 hours to install in silent mode a DB2 9 runtime
    client.  Why didn't you make this process as simple as for the CLIENT
    install ?
    It is not the same setup command, you can download a setup from the support
    site, but unfortunately, the setup does not allow you to create a response
    file. Neither the db2rspgn utility, after the graphical setup has been done.
    >
    Very disapointing ... maybe can someone highlight the correct procedure to
    install silently because the doc is uncomplete.
    >
    Thanks,
    >
    JM

    Comment

    • binchen6596@gmail.com

      #3
      Re: DB2 9 runtime client install

      Hello,

      Just tested the RTCL install, using a few different release levels.
      Here is what I found:
      1). The db2rspgn.exe is installed with RTCL, under ~\sqllib\Bin. It
      should be able to generate a rsp file.
      2). A rsp file can be generated by the db2rspgn.exe tool after the it
      was installed, as I tested using the DB2 9 GA RTCL and V9.5 FP1 RTCL.
      3). However, the db2rspgn.exe tool failed to generate the rsp file
      from the v9.1 fp5 RTCL copy. Only a .INS file was created.

      What release level of RTCL did you tried?

      There is a bug in V9.1 FP5 RTCL's db2rspgn.exe (not sure when the
      problem was introduced, as it worked correctly in v91ga), which should
      be fixed in the future fixpak releases.
      Once it is fixed, you can generate a RTCL rsp file from an installed
      RTCL copy using this db2rspgn.exe tool.

      Regards.

      Bin



      On Jun 23, 11:13 am, binchen6...@gma il.com wrote:
      Hello,
      >
      The install command lines are different for DB2 Client and DB2 Runtime
      Client (RTCL), because the DB2 9 RTCL is built differently from other
      db2 products, and differently from v8 RTCL.
      >
      You can find the install command line for RTCL in the DB2 9 On-Line
      Information Center, which is copied here:
      >
      // +++ install cmd lines: +++++++++++++++ ++++++++++++++
      To perform a response file installation, the following command line
      parameter should be used:
         setup /v"/qn RSP_FILE_PATH=[Full path to the response file]"
      >
      The example assumes that no copy of the client is already installed.
      If one or more copies exist, the command is different. To install a
      second copy use:
         setup /v" TRANSFORMS=:Ins tanceId1.mst MSINEWINSTANCE= 1 /qn
      RSP_FILE_PATH=[Full path to the response file]"
      >
      // +++++++++++++++ +++++++++++++++ +++++++++++++++ +
      >
      Now, the problem is how to get the response file.
      As you already found, the RTCL install image is just one single
      setup.exe file. There is no sample rsp file if you just download it
      from the DB2 fixpak image site.   By the way, if you purchased the
      RTCL image CD, then there is a Samples directory where you can find
      the sample rsp file.
      >
      You can take the following option to create/get a rsp file for RTCL:
      1). Manually create a rsp file for RTCL, since there is no much
      selectable component in RTCL, it is not difficult to write the rsp
      file by yourself, by referencing a Client's rsp file. You can choose
      the install type of Typical or Compact, not to worry about what
      component should be selected.
      2). Collect the rsp file from a GUI install:  A rsp file is generated
      in the GUI install, as you tried earlier, even it did not give you the
      option where to keep that rsp file. You can do the following to get
      the rsp file generated from the GUI install:
         -- Launch the GUI install, go through the GUI panels till the
      Install Summary panel.
         -- Go to the %Temp% directory on your system, you will find a
      DB2RLxxx.rsp file there. You can check its the time stamp to get the
      correct rsp file, in case there are multiple DB2RLxxx.rsp files.
      >
      Regards.
      >
      Bin
      >
      On Jun 22, 2:22 pm, "Jean-Marc Blaise" <jmbla...@hotma il.comwrote:
      >
      >
      >
      Hi,
      >
      I've been trying for 2 hours to install in silent mode a DB2 9 runtime
      client.  Why didn't you make this process as simple as for the CLIENT
      install ?
      It is not the same setup command, you can download a setup from the support
      site, but unfortunately, the setup does not allow you to create a response
      file. Neither the db2rspgn utility, after the graphical setup has been done.
      >
      Very disapointing ... maybe can someone highlight the correct procedureto
      install silently because the doc is uncomplete.
      >
      Thanks,
      >
      JM- Hide quoted text -
      >
      - Show quoted text -

      Comment

      • Jean-Marc Blaise

        #4
        Re: DB2 9 runtime client install

        Hi Bin,

        Great thanks for you post. Yes, I was testing using DB2 9.1 FP5 :-(.

        Using FP4, it works. I post the response file below if someone else needs
        it.

        Thanks,

        JMB

        *

        *

        * Sample command line: setup -u f:\jmb\db2rtcl. rsp

        *

        * On Windows NT, 2000, XP and .NET If a default instance (DEFAULT_INSTAN CE)
        is specified

        * in the response file, the USERNAME and PASSWORD keywords for the instance
        will be used

        * for all the other USERNAME and PASSWORD values unless they are explicitly

        * specified. Some of the keywords that would apply would be the following:

        *

        * DAS_USERNAME

        * DAS_PASSWORD

        *

        * MD_DB.USERNAME

        * MD_DB.PASSWORD

        * --------------------------------------------------------------------------------------------------------------------



        PROD = RUNTIME_CLIENT

        *User must change the value of the following keyword to ACCEPT or YES

        LIC_AGREEMENT=D ECLINE

        FILE = F:\IBM\SQLLIB2\

        INSTALL_TYPE = CUSTOM

        DB2_COPY_NAME = DB2COPY2

        DEFAULT_COPY = NO

        CREATE_ICONS = YES

        *REBOOT = YES or NO (default=NO)

        *KILL_PROCESSES = YES or NO (default=NO)

        DEFAULT_INSTANC E=DB2

        INSTANCE=DB2_01

        DB2_01.NAME=DB2 _01

        *DB2_01.USERNAM E=char(30) [char(20) for Windows NT]

        *DB2_01.DOMAIN= char(14)

        *DB2_01.PASSWOR D=char(14)

        DB2_01.CLIENT_I MPORT_PROFILE=D B2_01.INS



        <binchen6596@gm ail.comwrote in message
        news:b48bc006-4b2a-4cf4-ae31-1a458ccdbffc@y3 8g2000hsy.googl egroups.com...
        Hello,

        Just tested the RTCL install, using a few different release levels.
        Here is what I found:
        1). The db2rspgn.exe is installed with RTCL, under ~\sqllib\Bin. It
        should be able to generate a rsp file.
        2). A rsp file can be generated by the db2rspgn.exe tool after the it
        was installed, as I tested using the DB2 9 GA RTCL and V9.5 FP1 RTCL.
        3). However, the db2rspgn.exe tool failed to generate the rsp file
        from the v9.1 fp5 RTCL copy. Only a .INS file was created.

        What release level of RTCL did you tried?

        There is a bug in V9.1 FP5 RTCL's db2rspgn.exe (not sure when the
        problem was introduced, as it worked correctly in v91ga), which should
        be fixed in the future fixpak releases.
        Once it is fixed, you can generate a RTCL rsp file from an installed
        RTCL copy using this db2rspgn.exe tool.

        Regards.

        Bin



        On Jun 23, 11:13 am, binchen6...@gma il.com wrote:
        Hello,
        >
        The install command lines are different for DB2 Client and DB2 Runtime
        Client (RTCL), because the DB2 9 RTCL is built differently from other
        db2 products, and differently from v8 RTCL.
        >
        You can find the install command line for RTCL in the DB2 9 On-Line
        Information Center, which is copied here:
        >
        // +++ install cmd lines: +++++++++++++++ ++++++++++++++
        To perform a response file installation, the following command line
        parameter should be used:
        setup /v"/qn RSP_FILE_PATH=[Full path to the response file]"
        >
        The example assumes that no copy of the client is already installed.
        If one or more copies exist, the command is different. To install a
        second copy use:
        setup /v" TRANSFORMS=:Ins tanceId1.mst MSINEWINSTANCE= 1 /qn
        RSP_FILE_PATH=[Full path to the response file]"
        >
        // +++++++++++++++ +++++++++++++++ +++++++++++++++ +
        >
        Now, the problem is how to get the response file.
        As you already found, the RTCL install image is just one single
        setup.exe file. There is no sample rsp file if you just download it
        from the DB2 fixpak image site. By the way, if you purchased the
        RTCL image CD, then there is a Samples directory where you can find
        the sample rsp file.
        >
        You can take the following option to create/get a rsp file for RTCL:
        1). Manually create a rsp file for RTCL, since there is no much
        selectable component in RTCL, it is not difficult to write the rsp
        file by yourself, by referencing a Client's rsp file. You can choose
        the install type of Typical or Compact, not to worry about what
        component should be selected.
        2). Collect the rsp file from a GUI install: A rsp file is generated
        in the GUI install, as you tried earlier, even it did not give you the
        option where to keep that rsp file. You can do the following to get
        the rsp file generated from the GUI install:
        -- Launch the GUI install, go through the GUI panels till the
        Install Summary panel.
        -- Go to the %Temp% directory on your system, you will find a
        DB2RLxxx.rsp file there. You can check its the time stamp to get the
        correct rsp file, in case there are multiple DB2RLxxx.rsp files.
        >
        Regards.
        >
        Bin
        >
        On Jun 22, 2:22 pm, "Jean-Marc Blaise" <jmbla...@hotma il.comwrote:
        >
        >
        >
        Hi,
        >
        I've been trying for 2 hours to install in silent mode a DB2 9 runtime
        client. Why didn't you make this process as simple as for the CLIENT
        install ?
        It is not the same setup command, you can download a setup from the
        support
        site, but unfortunately, the setup does not allow you to create a
        response
        file. Neither the db2rspgn utility, after the graphical setup has been
        done.
        >
        Very disapointing ... maybe can someone highlight the correct procedure
        to
        install silently because the doc is uncomplete.
        >
        Thanks,
        >
        JM- Hide quoted text -
        >
        - Show quoted text -

        Comment

        Working...