Hi Jitesh, Do one thing, do a system restore to a point prior to you installing DB2 Express-C in Windows XP. 1) Goto Add/Remove Programs and uninstall DB2 if available 2) Delete any directories if in C: DB2 or D: DB2 or E: DB2. I am getting this error when trying to run the above exe file to install DB2 Express-C 9.7.2. (Windows XP)An error occurred while starting the.
In this tutorial, we will teach you how to install db2. DB2 falls in the family of relational database management system (RDBMS) products from IBM that are workable with various operating system platforms. Don't forget to check out our site for more free how-to videos! - our feed - join us on Facebook - our group in Google+ Step 1 - Download DB2 Express-C Follow this step by step guide to learn how to install db2. First of all, open up the IBM db2 download page.
You can find the installer on the official website. Once there, click on the link which is compatible with your operating system. Step 2 - Agree to license Next, you would need to agree to the license terms and conditions. With that done, click on the Confirm button to move on with the process. Step 3 - Download using http Next, the Downloads library page will open. Over there, click on the Download using http tab. From there, scroll down and locate 'DB2 Express-C'.
![]()
Once you have found it, click on the Download now button. This is how easy installing db2 is.
Step 4 - Extract files As a result, the download will begin. Once it has completed, close the browser and go to the download folder. This is how easy downloading db2 is. Once you are in downloads, double click on the downloaded exe file. As a result, it will open the self extractor wizard.
Over there, you can set up a destination folder for the extracted files. Step 5 - Click on install a product Once the extraction completes, it will automatically open up the DB2 Setup Launchpad.
Over there, go to the left pane and click on the 'Install a product' option and then click on the Install New button available on the right hand side. Step 6 - Choose not to auto start the IBM SSH Server With that done, it will open up the DB2 Setup Installer.
Click on next to proceed further. In the next window, accept the license Agreement and move on until you reach the IBM SSH server installation step. Over there, select the option titled 'do not auto start the IBM SSH server' and click on the Next button. Step 7 - Open default db2 wizard Once the installation process has completed, go to the start menu and open the Default DB2 and Database Client Interface Selection wizard. Step 8 - Select default db2 Once the wizard opens, enable the Default DB2 Copy option before you click on Next. Now you would be required to select the default DB2 before clicking on the Finish button to exit the wizard.
Step 9 - Start or stop db2 Now, you will notice a green icon present in the notification area. That's the utility from where you can start or stop the application. That means you have successfully installed and configured db2 in windows.
Installing and Configuring DB2 Clients Installing and Configuring DB2 Clients To set up a code server, and use Microsoft Systems Management Server (SMS) to install one or more thin clients which will access it, perform the steps in the following sections:. If you plan to install multiple thin clients in a row, perform all the steps for the first thin client, then perform only and for each subsequent thin client on that code server. Read and perform the steps in this section before you begin the installation to ensure that you have the required items and information you will need.
Windows 95 and Windows 98 The username must be a valid DB2 username. A valid DB2 username is eight characters or less, and complies with DB2's naming rules. For more information on DB2's naming rules, see. Windows NT You need to have a username that will be used to install DB2. The username may belong to the Domain or local Administrators group. Note: The above requirements apply to both the codeserver and the target thin client workstation. SMS must already be installed and configured on your network.
Refer to Microsoft's Systems Management Server for Windows NT Administrator's Guide for information on how to:. Set up SMS (including setting up primary and secondary sites). Add clients to the SMS system. Set up inventory collection for clients. See for complete instructions on installing DB2 Client Application Enabler on the code server machine.
For the thin client feature, keep the following considerations in mind:. You must install DB2 Client Application Enabler in a location which can be accessed in READ mode by the thin client workstations. Use Windows Explorer to set up a share for the entire drive, or just for the directory where DB2 Client Application Enabler is installed.
For example, you can install the DB2 Client Application Enabler to c: codesrv sqllib, then a share can be set up for the directory c: codesrv. To set up a share:. Click on Start and select Programs- Windows Explorer. Select the directory that you want to share, for example c: codesrv. Select Files- Properties from the menu bar. The properties window for the directory will open. Click on the Sharing tab.
Select the Shared As radio button. In the Share Name field, enter a share name. For example, db2nt. To specify read access for everyone on Windows NT:. Select the Permissions push button.
The Access Through Share Permissions window opens. In the Name box, make sure that Everyone is selected. In the Type of Access box, select Read. Click on OK. On Windows 95 and Windows 98, you do not need to specify type of access when you set up a share. By default, everyone is allowed read access. In our example scenario, c: codesrv uses a share name of db2nt.
We will use this value in the examples that follow. We recommend that you install all components of DB2 Client Application Enabler. You can specify which components are installed on each client by means of the response file (see ). In this example, we will assume that you are installing DB2 Client Application Enabler on the code server where SMS is installed.
If you are installing to a different location, you must NET USE to this share in order to make the thnsetup install accessible to SMS. When you are done installing DB2 Client Application Enabler, the code server will contain a directory c: codesrv sqllib thnsetup which will contain all files needed for the thin client setup, including the sample response file, db2thin.rsp. During an interactive installation, you provide the information needed to install DB2 and configure its environment.
During an unattended installation, this information is provided in the form of keywords and values in a response file. DB2 Client Application Enabler installed on the code server includes a ready-to-use sample response file for the thin client install, with default entries already in place. This information will be applied when you install a thin client. You can create a different response file, and therefore a different configuration, for each thin client installation. You can also edit and resave the response file to create one or two or more 'standard' configurations, using the same ones as templates for multiple thin client installations. Edit the sample response file using your favorite editor. For example, you can use Notepad or WordPad.
The sample response file, db2thin.rsp, is located in c: codesrv sqllib thnsetup directory on the code server in our example. The response file contains:. Keywords unique to installation. Registry value/environment variable settings. Database manager configuration parameter settings. For more information on:.
DB2 environment variables and registry values, see, or refer to the Administration Guide. Database manager configuration parameters, refer to the Administration Guide. To activate an item in the response file, remove the asterisk (.) to the left of the keyword/environment variable, erase the current setting to the right of the value and type in a new setting. The possible settings are listed to the right of the current setting.You can edit the keywords unique to installation contained within the response file. These are as follows:.REBOOT = Yes, No.TYPE = 0,1,2 (0=compact,1=typical,2=custom).COMP = GRAPHICALTOOLS.COMP = CLIENTCONFIGURATIONASSISTANT.COMP = CONTROLCENTER.COMP = WEBCONTROLCENTER.COMP = VISUALEXPLAIN.COMP = PERFORMANCEMONITOR.COMP = ODBCDRIVER.COMP = THINCLIENTCODESERVER.COMP = DOCUMENTATION.USERNAME = (userid that the security service will run under).PASSWORD = (password for the security service id) You will need to reboot the target workstation after installing. To have this done automatically, activate the REBOOT keyword. The TYPE keyword specifies the type of install that you want.
Install type 0 specifies a compact install. This option provides you with access to the client code, but none of the other components are accessible from the client workstation. Install type 1 specifies a typical install, and is the default setting.
With this option, all components defined on the code server are accessed from the client workstation. Install type 2 specifies a custom install. This option allows you to install only selected components. Set the TYPE keyword to 2 (Custom Install) and activate the COMP keyword for each component you want to access. The only environment variable setting that must be specified within the response file is DB2INSTPROF. To set up a separate client configuration for each thin client, set the DB2INSTPROF value to a directory on the thin client workstation.
To maintain one client configuration on the code server, set DB2INSTPROF to a directory on the code server workstation. Edit the environment variables contained within the response file. The following is a sample section of the environment variables contained within a response file:.DB2BQTIME = 1 -.DB2BQTIME = BLANK or 1 - MAX.DB2BQTRY = BLANK or 0 - MAX.DB2CHKPTR = BLANK, ON or OFF.DB2CODEPAGE = BLANK or 0 - MAX.DB2DBDFT = BLANK or char(8) DB2INSTPROF = C: CFG.DB2IQTIME = BLANK or 1 - MAX.DB2OPTIONS = BLANK or char. Edit the configuration parameters contained within the response file. The following is a sample section of the configuration parameters contained within a response file:.DB2.DIAGLEVEL = 0 - 4.DB2.DIAGLEVEL = 0 - 4.DB2.DIAGPATH = BLANK or char(215).DB2.DIRCACHE = YES, NO.DB2.DIROBJNAME = BLANK or char(255).DB2.DIRPATHNAME = BLANK or char(255).DB2.DISCOVER = DISABLE, KNOWN or SEARCH. Exit the file.
If you have made any changes, save the file under a new file name to preserve the original sample response file. To import the thin client PDF files into SMS:. From the Start button select Programs, then Systems Management Server, and then SMS Administrator. The SMS Administrator window opens. Open the Package Properties window.
The first time you start the SMS Administrator program you will see a dialog box prompting you to open an SMS Window. You can select the Packages option from there. Otherwise, select File- New from the menu bar.
Click on the Import push button. The File Browser opens. In the File Name field, select the db2thin.pdf file from the c: codesrv sqllib thnsetup directory on the code server. Click on OK to return to the Package Properties window.
In this step, you create an SMS package and send it to the SMS client where you want to install the thin client. To create the SMS package:. Click on the Workstations push button. The Setup Package For Workstations window opens, showing a list of predefined DB2 installation packages that you can use. In the Source Directory field, type the location of the thin client install files, c: codesrv sqllib thnsetup. Select the name of the product to install from the Workstation Command Lines list.
Click on the Properties push button and update the command line for the thnsetup program. Thnsetup accepts the following command line arguments: Specify the relative filepath to invoke the program. For example: thnsetup.exe /U db2thin.rsp /P x: sqllib /M db2server /S db2nt where: /P Specifies the path to the location where the client is installed on the code server. If you specify the sharename, then the install program will implicitly perform a NET USE for you.
It will take the drive letter specified on this argument, the machine specified, and the sharename, and issue the NET USE. /U Specifies the relative path to the response file. /M Specifies the machine name of the code server. /S Specifies the share name of the code server drive/directory where DB2 Client Application Enabler is installed. If this share requires a username and/or password, specify the share name as: sharename,userid,password.
If there is no password, type: sharename,userid. If a username is not required, type: sharename only. Click on OK to return to the Setup Package For Workstations window. Click on the Close push button to return to the Package Properties window. The Packages Properties window shows the name of the new SMS package. To specify where to run the package:.
Open the Sites and Packages windows. In the Packages window, select the appropriate package and drag it onto the target client in the Sites window. The Job Details window opens. Select the Run Workstation Command check box and select the installation package that you want to use for the Run Command on Workstation job. For more information about completing the Job Details window, refer to Microsoft's Systems Management Server for Windows NT Administrator's Guide.
When the job specifications are complete, click on OK to close the opened windows. The job is created and sent to the SMS client. Now that the remote installation package has been prepared and sent, the SMS client on the target machine can run the installation. On the SMS client where DB2 will be installed, logon as a username that meets the requirements for installing DB2. See for more information. Double-click on the SMS Client group.
Double-click on the Package Command Manager icon. The Package Command Manager window opens. When packages are sent from the SMS server, they are listed in the window. Select the thin client package, then click on the Execute push button. The installation runs automatically. After the installation, reboot the SMS client before using the thin client.
To configure the thin clients to access servers, go to.
Comments are closed.
|
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |