3 mass deployment of db2 server using a script – IBM Data Server DB2 User Manual

Page 72

Advertising
background image

58

DB2 Deployment Guide

2.3 Mass deployment of DB2 server using a script

It is not uncommon for an enterprise that requires deploying the DB2 server to
many systems. In this section, we discuss an approach to implement a mass
deployment of the DB2 server. We use a deployment script to automate the
installation process as much as we can to save on deployment time and reduce
the chances of error that might introduced in a manual process. You also can use

db2setup

along with a response file to implement a mass DB2 server

deployment. For Linux and UNIX platforms, the

db2_install

utility is another

option.

In our scenario, we have only three AIX systems. However, the concept and
method demonstrated can be applied to a mass deployment of more than three
machines. All of our three machines are running the same type of operating
system and will use the same version of DB2.

Figure 2-6 illustrates our environment topology. There are three AIX boxes (Zaire,
Baltic, and Banda.) targeted for deployment. The DB2 installation image is on
Zaire, which is served as a file server. From Zaire, we execute the deployment
script that will send commands to Baltic and Banda across the network. We set
up Zaire as a Network File System (NFS) server with Baltic and Banda acting as
NFS clients. Therefore, Baltic and Banda can access the DB2 installation image
through the network.

Figure 2-6 Network topology of our deployment environment

Baltic

Banda

Zaire

NFS Server

DB2 image

/tmp/v95ga/ese

NFS Client

NFS Client

network

Advertising