Mass Deployment of DB2 Universal Database Version 8.2 on Microsoft Windows Operating Systems
Total Page:16
File Type:pdf, Size:1020Kb
Mass deployment of DB2 Universal Database Version 8.2 on Microsoft Windows operating systems Mass deployment of DB2 Universal Database Version 8.2 on Microsoft Windows operating systems ii Mass deployment of DB2 Universal Database Version 8.2 on Microsoft Windows operating systems Contents Authors . .v Deploying DB2 UDB products using Microsoft Systems Management Server (SMS) 2003 . .20 Chapter 1. Introduction . .1 Packaging DB2 UDB using SMS . .20 Distributing DB2 UDB using SMS . .25 Deploying DB2 UDB products using Tivoli Software Chapter 2. DB2 UDB Version 8.2 product Distribution 4.2 . .32 overview . .3 DB2 UDB software package creation options . .32 DB2 clients . .3 Creating software packages for installation using DB2 UDB servers and database engines . .4 the Software Package Editor . .33 DB2 UDB developer’s editions . .4 Creating a DB2 UDB software package using the DB2 UDB features . .5 Package Definition File Importer tool . .47 Deploying DB2 UDB product FixPaks . .48 Chapter 3. DB2 UDB product unattended installation capabilities . .7 Chapter 6. Diagnosing problems with DB2 UDB product response files . .7 distributed installations . .51 Creating a response file. .7 Troubleshooting silent installations . .51 Creating a DB2 configuration profile . .9 Locating the installation log files . .51 Recording tracing information . .51 Chapter 4. Reducing the size of the Reading the log files . .51 DB2 UDB product installation image . .11 Determining installation success or failure . .53 How the db2iprune utility works . .11 Response file errors. .54 Pruning a DB2 UDB product installation image . .12 The WiLogUtl.exe file tool . .55 Chapter 5. Deployment of DB2 UDB Chapter 7. Notices . .57 products . .19 Trademarks . .59 Deploying DB2 UDB products by performing the unattended silent installation . .19 iii iv Mass deployment of DB2 Universal Database Version 8.2 on Microsoft Windows operating systems Authors v Rory A.A. Hinton, DB2 Up and Running Solutions, IBM Toronto Software Lab v Andrew Hilden, DB2 Installation, IBM Toronto Software Lab v Louisa Ford, DB2 Installation, IBM Toronto Software Lab v vi Mass deployment of DB2 Universal Database Version 8.2 on Microsoft Windows operating systems Chapter 1. Introduction The distribution and installation of any database software across large numbers of clients and servers can be a daunting task. However, DB2® Universal Database (UDB) Version 8.2 has features and tools that allow both servers and clients to be deployed quickly and seamlessly across your enterprise using a variety of deployment methods. DB2 UDB Version 8.2 can be deployed using deployment technologies such as Microsoft® SMS and Tivoli Software Distribution, and it also supports an easy and effective manual deployment method. The type of deployment method best suited for your organization depends on your distribution and maintenance requirements, as well as on the hardware, software, and overall infrastructure of your existing computer environment. If you are a database or systems administrator, use the information in this paper to prepare and deploy a DB2 UDB software package across your existing computer environment. This paper includes information on using Microsoft SMS 2003 and Tivoli Software Distribution 4.2 for DB2 UDB deployment. If your preferred method of distribution is not covered explicitly in this paper, the concepts discussed can be applied to other distribution methods. Before you start a mass deployment of DB2 UDB, you might need to migrate your present version of DB2 UDB to DB2 UDB Version 8.2. For more information, consult the following resources: v The DB2 UDB support site should be your first stop for DB2 UDB information that includes news alerts, DB2 UDB FixPaks, DB2 client downloads, FAQs, Redbooks, white papers, presentations, and hints and tips: http://www.ibm.com/software/data/db2/udb/support.html v The DB2 Information Center contains documentation for DB2 UDB and related DB2 products. It covers every aspect of DB2 products, from getting started, to database connectivity, database administration, query management, business intelligence, and application development. The DB2 Information Center is available at: http://publib.boulder.ibm.com/infocenter/db2help/index.jsp v The DB2 Migrate Now! web site provides resources for migration from Oracle, Sybase, and Microsoft SQL server. You can find a variety of tools and information to help you migrate applications, database designs, and data to DB2 UDB at: http://www.ibm.com/software/data/db2/migration/ v DB2 UDB conferences also provide valuable DB2 UDB information on new product features and techniques for problem solving 1 2 Mass deployment of DB2 Universal Database Version 8.2 on Microsoft Windows operating systems Chapter 2. DB2 UDB Version 8.2 product overview Before you start, you should understand which DB2 UDB products and features to install on which computers. The DB2 UDB product line for Version 8.2 on Windows operating systems has over 15 products. Choosing the right product to install for your existing computer environment can be challenging if you are not familiar with the DB2 UDB product line. To help you determine which DB2 UDB products to install on the computers in your computer environment, we have provided the following product overview. This overview is not intended to detail the licensing terms of each product, but to summarize the features and usage scenarios for each product. Furthermore, this overview focuses on the products that seem to have caused some confusion over their roles (as indicated through PMRs, newsgroup postings, and other communications with IBM customers); it does not cover all DB2 UDB products. DB2 clients There are four DB2 client products. Each product provides a different level of functionality. The DB2 Run-time Client is designed for computers that need the DB2 client to enable communications with remote DB2 UDB servers, but do not need to administer any servers. No graphical tools are provided. However, any application which uses DB2 UDB should be able to run with just this product. There is also a smaller version of the run-time client called the DB2 Run-time Client Lite. This client is available for Windows operating systems only. It provides most of the features in the DB2 Run-time Client except NetBIOS, APPC and MDAC are not bundled with the installation image. Please note that the command line parameters for the setup.exe file of the DB2 Run-time Client Lite are different than the other client products. Therefore, some of the discussions in this paper must be adapted for the DB2 Run-time Client Lite. The DB2 Administration Client is designed for DB2 UDB administrators. It has all the abilities of the DB2 Run-time Client, plus all of the graphical tools. A compact installation of the DB2 Administration Client is functionally equivalent to a compact installation of the DB2 Run-time Client. The DB2 Application Development Client is designed for software developers who are writing software to use with DB2 UDB, or compiling software against both DB2 UDB and DB2 Connect. It has all the functionality of the DB2 Administration Client, with additional tools for application development. DB2 Connect Personal Edition is a licensed client that has all of the functionality of the DB2 Application Development Client, plus the ability to connect to host or iSeries databases, such as DB2 UDB for MVS. Because each client includes all of the functionality of the clients preceding it, you rarely need more than one client installed on a single computer. Multiple clients are usually installed when a computer role is being changed. For example, this scenario would occur when a user is promoted to a DBA role, and thus may need to move from a DB2 Run-time Client to a DB2 Administration Client. Another scenario could involve a user who has a new requirement to access host or iSeries 3 databases and thus needs to move to DB2 Connect Personal Edition. In these cases, on Windows operating systems, you can upgrade by simply installing the new client at the same FixPak level over top of the existing one. You can later remove the client that you no longer require from the system without affecting the newly installed product. DB2 UDB servers and database engines DB2 UDB servers scale in much the same way as the clients. All DB2 UDB servers are licensed. DB2 UDB Personal Edition is a local database engine. It does not permit connections from remote clients, however, local clients can work directly with local databases. It also contains all of the functionality of the DB2 UDB Application Development Client. DB2 UDB Express Editions are designed for small and medium businesses with a smaller number of clients. They have all of the functionality of DB2 UDB Personal Edition, but also allow connections from remote clients. DB2 UDB Workgroup Server Editions are designed for larger scale servers. They have all of the functionality of DB2 UDB Express Edition, but provide more extensive licensing options. DB2 Connect Enterprise Editions are designed for three-tier gating of clients to host databases such as DB2 UDB for MVS. They have all the functionality of DB2 Connect Personal Edition, plus gateway functionality. DB2 UDB Enterprise Server Edition is designed for large and very large databases. As such this product includes features like High Availability Disaster Recover, as well as the Data Partitioning Feature (DPF). It also contains the functionality of both DB2 UDB Workgroup Edition and DB2 Connect Enterprise Edition. Because each server has the full functionality of all clients, including the graphical tools and application development tools, there is no reason to install a client on a computer that already has a server. This situation greatly simplifies a mass deployment of DB2 UDB. DB2 UDB developer’s editions DB2 UDB Personal Developer’s Edition is a limited-license version of DB2 UDB Personal Edition, targeted towards small development groups.