In this sample chapter, you'll learn the ins-and-outs of the installation process for DB2 UDB in the Solaris operating environment (with some discussion of other platforms), including distributed installation.

This chapter is from the book

This chapter is from the book

A few steps are required before we can create databases in DB2 and access them with the graphical tools or using SQL. First, we will look at the installation process for DB2 UDB in the Solaris operating environment. When discussing DB2 UDB clients, we include not only Solaris but also other platforms (the clients are the same across all platforms, to all servers).

We will also discuss distributed installation. If you are planning to install DB2 UDB products across your network, on multiple servers, a network-based distributed installation can significantly simplify the
process. The installation process makes it simple to capture the necessary information for rolling out multiple identical
installations of DB2 UDB products.

In the DB2 UDB installation process, there are multiple environmental settings defined, and we will discuss the basics of those environmental
definition hierarchies (where DB2 looks for environment information) and touch on a few of the more critical variables. This
requires you to understand the different levels of managing the DB2 UDB environment from a global, instance, and user perspective. We discuss multiple “instances,” including administration commands.
DB2 UDB databases are created within an instance on a DB2 UDB database server, and inherit the environmental settings of that instance.

We will also discuss how to uninstall DB2 UDB.

Installing DB2 UDB Servers

This section discusses the physical installation of DB2 UDB in the Solaris operating environment. There are some differences from other platforms, primarily related to the physical
hardware, but once the DB2 UDB product is installed, the administration is almost identical within the DB2 UDB family of database servers. The biggest difference is usually the disk definitions, but in the 32 bit arena there are also
differences based on the memory model of the OS.