This section describes how to set up a configure a Thin Client to run on your network.
Before you begin the installation, be sure that you have the following items and information:
__ 1. | Ensure that your system meets all of the memory, hardware, and software requirements to install your DB2 product. For more information, see Planning for Installation. | ||||
__ 2. | A user account to perform the installation.
|
To install the DB2 client on a code server, perform the following steps:
step 1. | Log on to the system with a user account that meets the requirements for installing DB2 Connect Personal Edition. For more information, see Before you begin. | ||
step 2. | Shut down any programs that are running so that the setup program can update files as required. | ||
step 3. | Insert the appropriate CD-ROM into the drive. The auto-run feature
automatically starts the setup program. The setup program will
determine the system language, and launch the setup program for that
language. If you want to run the setup program in a different language,
or the setup program failed to auto-start, see the tip that follows.
| ||
step 4. | The Welcome window opens. Click on the Next push button. | ||
step 5. | The Select Products window opens. Select the DB2 client check box and click on the Next push button. | ||
step 6. | The Select Installation Type window opens. Click on the Custom graphic button. | ||
step 7. | The Select Components window opens. Select the components that you want to install. You must select the Thin Client Code Server component to enable a Thin Client workstation to access the DB2 client on the code server. | ||
step 8. | Respond to the setup program's remaining prompts. Online help can walk you through the remaining steps of the installation process. You can invoke online help by clicking on the Help push button, or by pressing the F1 key, at any time.
|
This step describes how to set up a Windows NT
code server to service Windows 9x Thin Client workstations.
| If you are not planning on running a Windows 9x Thin Client workstation from a Windows NT code server, you can skip this step and proceed to Step 3. Create a Network Share on the Code Server. |
To have a Windows NT code server service a Thin Client workstation on a Windows 9x machine, perform the following steps:
Create a directory on the Windows NT code server that will be used to service Windows 9x Thin Client workstations by entering the following command: md d:\sqllib9x where: d: represents a local hard drive. | |
step 2. | Copy the DB2 client directory (for example, c:\sqllib) into the directory that you just created by entering the following command: xcopy c:\sqllib\*.* d:\sqllib9x /s /e where:
|
Enter the c:\sqllib\bin\db2thn9x.bat command (where c: is the drive where you installed the code server) to enable this machine to service Windows 9x Thin Clients.
|
You now have two code bases on your Windows NT code server. If you
are installing a Thin Client workstation on a Windows NT machine, use the
Windows NT code base (for example, c:\sqllib). If you
are installing a Thin Client workstation on a Windows 9x machine, use the
Windows 9x code base (for example, d:\sqllib9x).
| If you are logged onto a Windows 9x Thin Client workstation, that is running code off of a Windows NT code server, you must ensure that the user account that you are logged on to the Windows 9x workstation is locally defined on the Windows NT code server. |
The code server must be installed in a directory that can be accessed in READ mode by all Thin Client workstations.
To make the code server available to all Thin Client workstations in READ mode, perform the following steps:
step 1. | Click on Start and select Programs->Windows Explorer. | ||
step 2. | Select the directory where you installed the DB2 product. For example, c:\sqllib. | ||
step 3. | Select File->Properties from the menu bar. | ||
step 4. | Select the Sharing tab. | ||
step 5. | Select the Shared As radio button. | ||
step 6. | In the Share Name field, enter a share name. | ||
step 7. | Specify READ access for all users as follows:
|
During a regular installation, you provide the information needed to install a DB2 client and configure its environment. During a distributed installation, this information is provided in the form of keywords and values in a response file. For a DB2 client installation, there is a ready-to-use sample response file, db2thin.rsp, with default settings for the most common installation type.
The c:\sqllib\thnsetup directory on the code server, where c: represents the drive where you installed the code server, contains all the files needed to install a Thin Client workstation, including a sample response file (called db2thin.rsp). If you need to customize a response file, perform the following steps:
step 1. | Open the db2thin.rsp sample response file, located in the c:\sqllib\thnsetup directory on the code server (where c: represents the drive where you installed the DB2 client). The response file contains:
|
step 2. | Customize the sample response file for the installation type that you want to perform. To activate an item in a response file:
The following is a section of the db2thin.rsp sample response file: * Required Global DB2 Registry Variable * ------------------------------------- DB2INSTPROF = C:\CFG * General Options * --------------- *TYPE = 0,1,2 (0=compact, 1=typical, 2=custom) *COMP = ODBC_SUPPORT *COMP = CONTROL_CENTER *COMP = EVENT_ANALYZER *COMP = WEB_ADMINISTRATION *COMP = QUERYMONITOR *COMP = TRACKER *COMP = QUERYADMIN *COMP = CLIENT_CONFIGURATION_ASSISTANT *COMP = COMMAND_CENTER *COMP = DOCUMENTATION *CREATE_ICONS = YES or NO (default=YES) *REBOOT = YES or NO · The TYPE keyword specifies the type of install that you want.
Notes:
|
step 3. | Exit the file. If you have made any changes, save the file under a new file name (using the file extension .rsp) to preserve the original sample response file.
|
This step gives a Thin Client workstation access to the DB2 client code installed on the code server.
From the Thin Client workstation, enter the net use command to attach the shared directory that you created in Step 3. Create a Network Share on the Code Server as follows:
net use x: \\computer_name\directory_sharename /USER:domain\username
where:
For example, to assign a shared directory called sqllib on a machine called myserver, to the x: drive, enter the following command:
net use x: \\myserver\sqllib
| If you are planning on having a DB2 for Windows NT code server service a Windows 9x Thin Client workstation, make sure that you enter the share name for the directory that you created for Windows 9x Thin Client workstations in Step 2. Create a Windows 9x Code Base on a Windows NT Code Server. For example, sqllib9x. |
This step installs the Thin Client code on the target workstation, and sets up the required links to the code server. To install a Thin Client workstation, perform the following steps:
step 1. | At the workstation where the Thin Client code will be installed, log on with a user account that you created to perform the installation in Before you begin. | ||||||||||
step 2. | Run the setup program:
| ||||||||||
step 3. | Check the messages in the log file for installation errors when the installation finishes. | ||||||||||
step 4. | After the installation, the workstation must be rebooted before you use the Thin Client workstation.
|