Chapter 2. DB2 server deployment 43
DB2 provides a number of deployment methods for various requirements:
򐂰DB2 Setup Wizard
򐂰db2_install (Linux and UNIX only)
򐂰Response file
򐂰Payload file (Linux and UNIX only)
2.2.1 DB2 Setup wizard
This interactive step-by-step installation wizard is probably the most commonly
used method for deploying a DB2 server to one or only a few machines. On
UNIX and Linux, this wizard is built on Java technology and is invoked through
the command db2setup. On Windows, the corresponding command is setup.
The functions of these two installers are almost the same, as well as having
similar appearances. Most of the differences are platform specific, such as
creation of users and groups.
We show the DB2 Setup wizard on the AIX platform as an example. The DB2
Setup wizard is a GUI tool. The GUI support is required on the machine from
which the DB2 Setup wizard is run. The AIX console usually supports the GUI
interface for DB2. If you are working remotely from a different machine, a remote
desktop management tool is required to map the AIX GUI onto your local
computer.
Some of these tools, such as X-Window, make a reverse connection from the
AIX to the local machine. Therefore, if the AIX where the DB2 server to be
deployed is located behind Network Address Translation (NAT) or a firewall, its
outbound connection might have been blocked. This is a common security setup
for a production system. To bypass these types of restrictions, you can use other
tools such as Virtual Network Computing (VNC) with which you can customize
the connection between server and client. Contact your system administrator for
further assistance on the GUI display configuration.
The DB2 Setup wizard gives a clear explanation for each step during the
installation. It is easy for users to understand what each step does and what kind
of information should be input. The following high level steps are for installing the
DB2 data server with db2setup:
1. Log on AIX with root user and ensure that the GUI can be started correctly.
2. From the directory where the installation image of the DB2 server has been
extracted, issue the db2setup command to start the wizard. The Launchpad
with a menu on the left side is presented as shown in Figure2-2. The option
Installation Prerequisites in the menu can redirect you to the IBM Web site,
including system requirements for a DB2 server deployment.