DB2 UDB Installation
- Installing DB2 UDB Servers
- Before You Begin
- Installing DB2 UDB
- Installed Directory Structure
- Considerations in an NIS Environment
- Distributed Installation
- Sample Response Files
- Creating a Response File
- Distributed Installation with a Response File
- Installing DB2 with db2_install
- DB2 UDB Environment Definitions
- DB2 Profile Registry
- Managing the DB2 Profile Registry
- The db2set Command
- Environment Variables
- Hierarchy of the DB2 UDB Environment
- DB2 Administration Server (DAS)
- DAS Process
- DB2 Instances
- Creating the Sample Database
- Using the Command Line Processor (CLP)
- Uninstalling DB2 Products
- Stopping the DAS Instance
- Stopping All DB2 Instances
- Removing the DAS Instance
- Removing DB2 Instances
- Removing DB2 Products
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.