How To
Summary
This article guides a user on how to download Db2 product image, and then install the products.
Steps
The Db2 products can be installed by using fix pack images.
So, download a Server Fix Pack from Fix Central first, then install it. Next, download a license file from Passport Advantage Online, then register the valid license.
Note: You can also use Universal Fix Pack to install Db2 products, but Universal Fix Pack contains trial license only, and the Db2 stops in 90 days after installation in case users do not register valid license.
Note: You can also use Universal Fix Pack to install Db2 products, but Universal Fix Pack contains trial license only, and the Db2 stops in 90 days after installation in case users do not register valid license.
- Download Db2 Server Fix Pack
Download appropriate Server Fix Pack in the following lists
Download Db2 Fix Packs by version for Db2 for Linux, UNIX and Windows- Server Fix Pack contains all the Db2 Server Editions, Db2 Connect Servers and Data Server Client.
- Extract the file, and install Db2 product
Decompress the Fix Pack.
The Fix Pack is compressed as tar.gz format in Linux and UNIX, so you can extract it as follows:# gunzip -c <download_file.tar.gz> | tar -xvf-
Run db2setup or db2_install in Linux and Unix, run setup.exe in Windows to install Db2.
- Download license file.
Log in to the Passport Advantage Online (PAOnline) website, then search the valid "Activation" packages to download.
Contact eCustomer Care in case you have some trouble to log in to the PAOnline.
Note: Db2 11.5 has several parts numbers for the same Activation package, but you can use either of the packages to register valid Db2 license.
See the following technote on how to search license packages and how to download it.
How do I download my Db2 license from Passport Advantage
See the following technote to find Db2 11.5 license parts numbers - Register the license file
Log in to the Db2 Server as instance owner, then register license file (*.lic) by db2licm command.$ db2licm -a <path_to_license_file>
Example1: Install Db2 11.5 Standard Edition to RHEL8.2 by using a response file.
- Download Db2 installation file
Open Download Db2 Fix Packs by version for Db2 for Linux, UNIX and Windows, then click Db2 11.5 Mod 8 FixPack 0. Download Db2 Server Fix Pack under the Linux 64-bit, x86-64 on AMD64 and Intel EM64T - Extract and install the file
2-1. Log in to the server as root
2-2. Create a response file like as followings
db2server.rspPROD = DB2_SERVER_EDITION FILE = /opt/ibm/db2/V11.5 LIC_AGREEMENT = ACCEPT INSTALL_TYPE = TYPICAL LANG = JP INSTANCE = db2inst1 db2inst1.NAME = db2inst1 db2inst1.UID = 1001 db2inst1.GROUP_NAME = db2adm1 db2inst1.GID = 1001 db2inst1.HOME_DIRECTORY = /home/db2inst1 db2inst1.PASSWORD = db2inst1.TYPE = ESE db2inst1.SVCENAME = db2c_db2inst1 db2inst1.PORT_NUMBER = 51000 db2inst1.FCM_PORT_NUMBER = 61000 db2inst1.MAX_LOGICAL_NODES = 6 db2inst1.FENCED_USERNAME = db2fenc1 db2inst1.FENCED_UID = 1002 db2inst1.FENCED_GROUP_NAME = db2fadm1 db2inst1.FENCED_GID = 1002 db2inst1.FENCED_HOME_DIRECTORY = /home/db2fenc1 db2inst1.FENCED_PASSWORD = db2inst1.CONFIGURE_TEXT_SEARCH = NO
# gunzip -c v11.5.8_linuxx64_server_dec.tar.gz | tar -xvf-
# cd server_dec # ./db2setup -r db2server.rsp
- Download the license file, and register it
3-1. Download M07K1ML or G01LTML or CC6L7ML package from Passport Advantage Online
3-2. Extract the package, then find db2std_vpc.lic
3-3. Log in to the Db2 Server as instance owner, then register the license$ db2licm -a db2std_vpc.lic
$ db2licm -l
- Download Db2 installation file
Open Download Db2 Fix Packs by version for Db2 for Linux, UNIX and Windows, then click Db2 11.5 Mod 8 FixPack 0. Download Db2 Server Fix Pack under the Linux 64-bit, x86-64 on AMD64 and Intel EM64T - Extract and install the file
2-1. Log in to the server as root
2-2. Extract v11.5.8_linuxx64_server_dec.tar.gz# gunzip -c v11.5.8_linuxx64_server_dec.tar.gz | tar -xvf-
# cd server_dec/db2/linux # ./db2_install -b /opt/ibm/db2/V11.5 -f NOTSAMP -p SERVER -y
# useradd -u <uid> -g <gid> -s /bin/ksh db2inst1 # useradd -u <uid> -g <gid> -s /bin/ksh db2fenc1 # /opt/ibm/db2/V11.5/instance/db2icrt -u db2fenc1 db2inst1
-
Download the license file, and register it
3-1. Download CC6L5ML or CC9WHML or M07JYML package from Passport Advantage Online
3-2. Extract the package, then find db2adv_vpc.lic
3-3. Log in to the Db2 Server as instance owner, then register the license$ db2licm -a db2adv_vpc.lic
$ db2licm -l
- Open Download Db2 Fix Packs by version for Db2 for Linux, UNIX and Windows, then click Db2 11.5 Mod 8 FixPack 0. Download Db2 Server Fix Pack under the Windows 64-bit, x86, on AMD64 and Intel EM64T
- Extract and install the file
2-1. Log on to the server as Administrator
2-2. Run v11.5.8_ntx64_server_dec.exe
2-3. Run SERVER_DEC\setup.exe under the extract target directory to install Db2 Server Edition. -
Download the license file, and register it
3-1. Download M07K1ML or G01LTML or CC6L7ML package from Passport Advantage Online
3-2. Extract the package, then find db2std_vpc.lic
3-3. Log on to the Db2 Server as Administrator. Open "DB2 Command Window -Administrator"
3-4. Register the licenseC:\>db2licm -a db2std_vpc.lic
C:\>db2licm -l
More Links:
Document Location
Worldwide
[{"Type":"MASTER","Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"ARM Category":[{"code":"a8m500000008PknAAE","label":"Install\/Migrate\/Upgrade"}],"ARM Case Number":"","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"11.5.0"}]
Was this topic helpful?
Document Information
Modified date:
17 April 2023
UID
ibm16956762