3 creating the deployment script – IBM Data Server DB2 User Manual
Page 78

64
DB2 Deployment Guide
2.3.3
Creating the deployment script
The SSH and NFS should be configured prior to implementing the DB2 server 
deployment. These are basis for running an automatic deployment across the 
network without any user interaction. Our deployment script performs the 
following tasks:
Parse the command line options and perform basic syntax checking.
Go through the hosts one by one and perform installation in sequence. The 
host names are read in from the command line.
For each target host, mount the DB2 server installation image to the local file 
system using NFS. If the mount fails, this machine will be skipped.
For response file based deployment, the response file should be placed on a 
NFS directory for others to access.
After installation is finished on one machine, unmount NFS and move on to 
the next target host.
If we encounter any error, the script will try forwarding a message to the standard 
output. In addition, an installation log file is generated on each installation target 
by 
db2setup
or
db2_install
(for Linux and UNIX).
Figure 2-7 depicts the process.
