Position:Home>Database Development> The installation of DB2 and configuration come true in system and applied proces
The installation of DB2 and configuration come true in system and applied proces
From;  Author:Stand originally


The place before be like is narrated, applied process WPAR uses all file system that comes from global environment only.

1. DB2 is installed in global environment. In this phase, do not need to found DB2 example.

2. Use Wparexec command founds applied process WPAR, deliver Createdb2instance script Wparexec to command as the script that start: Wparexec -N Interface=en0 Address= "IP" Netmask=255.255.255.192 Broadcast=9.2.60.255

- N "App WPAR Name Having DNS Entry" / "absolutePath" /createdb2instance

  

  

Createdb2instance is the script that is used at founding DB2 example. We need to found DB2 example with this kind of means, so that DB2 can from current executive environment (apply program WPAR environment just about) in acquire IP and leader name.

#cat Createdb2instance:

Mkuser Test

Mkuser Testfc

/ "DB2 Installation Dir" //instance/db2icrt -a SERVER -s Ese -w 64 -u Testfc Test

  

3. After executive Createdb2instance script, we can reach:

WPAR of ◆ application process already existed.

◆ DB2 example (Test is in this give typical examples) already in system of file of consist in overall situation.

◆ DB2 example (namely Test) the IP that interior included applied process WPAR and DNS name.

4. In this phase, we installed DB2 in global environment, and the DB2 example that has applied process WPAR to cite.

5. Now, we are using the applied program that we start in program WPAR and its DB2 example. Wparexec -N Interface=en0 Address= "IP" Netmask=255.255.255.192 Broadcast=9.2.60.255

- N "App WPAR Having DNS Entry" / "absolutePath" /somedb2application

  

  

The Somedb2application here is process of a DB2 application, it uses the DB2 example that founds in applying program WPAR.

Last word

The article introduced how to found the WPAR of all sorts of types, and if where,DB2 is installed in WPAR. The specification that article place provides and skill can be being installed and WPAR user is when all sorts of products such as configuration DB2, Oracle, IDS, WebSphere Application Server and SAP provide a help.

It is the content of a few keys that the attention needs when use WPAR and DB2 below:

◆ WPAR name should have IP and associated DNS entry

◆ has WPAR IP and DNS name / Etc/hosts entry

◆ chooses to be used at the type of the systematic WPAR that DB2 installs

  







Previous 1 2 3 4 5Next
Previous:Understand compatibility of DB2 database partition and apposition concept correc
Next:Example explains rise in IBM DB2 intercurrent 3 spent methods