Documente Academic
Documente Profesional
Documente Cultură
com/db2/db2-udb-v9/how-to-install-db2-v9-5-in-aix/
passwd db2inst1
passwd db2fenc1
passwd dasusr1
For example,
1 of 5 04-06-2018, 21:45
How to install DB2 V9.5 on AIX — DBA to DBA http://www.dbatodba.com/db2/db2-udb-v9/how-to-install-db2-v9-5-in-aix/
cd product
For example,
cd ese
where:
* DB2DIR specifies the path where the DB2 product will be installed. If the path is not specified, you are
prompted to either select the default path or to provide the path. The default installation path is: /opt/IBM
/db2/V9.5
where:
2 of 5 04-06-2018, 21:45
How to install DB2 V9.5 on AIX — DBA to DBA http://www.dbatodba.com/db2/db2-udb-v9/how-to-install-db2-v9-5-in-aix/
Represents the name of the user under which fenced user defined functions (UDFs) and fenced stored
procedures will run. This flag is not required if you are creating an instance on a client. Specify the name of the
fenced user you created.
InstName
Represents the name of instance. The name of the instance must be the same as the name of the instance
owning user. Specify the name of the instance owning user you created. The instance will be created in the
instance owning user's home directory.
Example
For example, if you are using server authentication, your fenced user is db2fenc1, and your instance owning
user is db2inst1, use the following command to create an instance on an AIX system:
The TCP/IP services file specifies the ports that server applications can listen on for client requests. If you
specified a service name in the svcename field of the DBM configuration file, the services file must be updated
with the service name to port number/protocol mapping. If you specified a port number in the svcename field
of the DBM configuration file, the services file does not need to be updated.
Update the services file and specify the ports that you want the server to listen on for incoming client requests.
The default location of the services on AIX is:
/etc/services
Using a text editor, add the Connection entry to the services file. For example:
where:
db2c_db2inst1
represents the connection service name
3700
represents the connection port number
tcp
represents the communication protocol that you are using
3 of 5 04-06-2018, 21:45
How to install DB2 V9.5 on AIX — DBA to DBA http://www.dbatodba.com/db2/db2-udb-v9/how-to-install-db2-v9-5-in-aix/
where:
Enter the db2set DB2COMM command from the DB2 command window:
db2set DB2COMM=tcpip
db2stop
db2start
To complete this task, you must have the appropriate license file (*.lic). Refer to DB2 license files.
* On AIX operating systems, register a DB2 license key by entering the following command:
INSTHOME/sqllib/adm/db2licm -a filename
where INSTHOME represents the home directory of the instance owner and filename is the full path name
and file name for the license key that corresponds to the product or feature you have purchased.
The db2licm command can also be found in the path where the DB2 database product is installed. For
example, /opt/IBM/db2/V9.5/adm/db2licm.
In this example, the license key was registered using the following command:
db2licm -a db2ese_c.lic
Now, you have your DB2 v9.5 installed and configured successfully!
4 of 5 04-06-2018, 21:45
How to install DB2 V9.5 on AIX — DBA to DBA http://www.dbatodba.com/db2/db2-udb-v9/how-to-install-db2-v9-5-in-aix/
5 of 5 04-06-2018, 21:45