Running the setup script in interactive mode

In interactive mode, the setupGSDB script prompts you to confirm or provide configuration information for the GSDB database installation. You can accept the default settings or provide different settings to replace the defaults.

Before you begin

Procedure

  1. Run the setup script for your operating system:
    Operating system Command
    Windows In a DB2 command window, change to the GSDB/win directory and run the setupGSDB.bat script.
    Linux or UNIX From a shell prompt, source the db2profile change to the GSDB/unix directory, and run the setupGSDB.sh script.
  2. Press Enter to proceed. The script displays a summary of your choices before you commit to changes to your environment. If you approve the choices, press Enter and the script makes the changes. For example:
    Please confirm the following settings:
    Database Name                 : GSDB
    Drop and Recreate database    : Y
    Create a 16k Bufferpool named : GOSALES_BP
    Create a 16k Tablespace named : GOSALES_TS
    GOSALES   Grant users/groups  : GOSALES,DB2ADMIN
    GOSALESDW Grant users/groups  : GOSALESDW,DB2ADMIN
    Administration User name      :
    
    Import the sample data into the following schemas :
         GOSALES
         GOSALESHR
         GOSALESMR
         GOSALESRT
         GOSALESCT
         GOSALESDW
    Continue creating the sample data with these settings? (Y/N) Default=Y :

    The GSDB database is set up.


Feedback