SHIFT

--- Sjoerd Hooft's InFormation Technology ---

User Tools

Site Tools


tdsinstall
Differences

This shows you the differences between two versions of the page.

Link to this comparison view

tdsinstall [2013/03/08 05:21] (current)
sjoerd created
Line 1: Line 1:
 += Tivoli Directory Server Installation AIX =
  
 += Prerequisites =
 +
 +== Kernel Mode ==
 +To check if your kernel is in 64bit mode, as well as your hardware: run the command below:
 +<​code>​
 +bootinfo -K
 +bootinfo -y
 +</​code>​
 +Both commands should return 64. 
 +
 +== OS Level and Filesets ==
 +ITDS 6.x requires at least maintenance level 5300-01:
 +<​code>​
 +oslevel -r
 +</​code>​
 +The command should return at least a level of 5300-01
 +
 +=== Required Filesets ===
 +You should have these filesets at a minimum level as displayed:
 +
 +<​code>​
 +xlC.aix50rte 6.0.0.0
 +X11.adt.lib 5.1.0.0
 +</​code>​
 +
 +Install missing filesets through nim:
 +<​code>​
 +nimclient -o cust -a lpp_source=lpp_5300_06_07 -a filesets=X11.adt.lib
 +</​code>​
 +
 +== Users and Groups ==
 +
 +=== Groups ===
 +Both the LDAP server instance as the DB2 instance need a user and a group associated with it.
 +
 +Make a local user group:
 +<​code>​
 +mkgroup ldapgrp
 +</​code>​
 +
 +=== Users ===
 +Make a local user:
 +<​code>​
 +mkuser pgrp='​ldapgrp'​ groups="​ldapgrp"​ rlogin='​false'​ sugroups='​ALL'​ su='​true'​ SYSTEM="​COMPAT"​ loginretries='​10'​ maxage='​0'​ maxrepeats='​8'​ minlen='​5'​ minother='​1'​ maxexpired='​-1'​ minalpha='​3'​ minage='​0'​ histsize='​0'​ histexpire='​0'​ fsize='​-1'​ cpu='​-1'​ data='​-1'​ stack='​-1'​ home=/​var/​data/​ldapusr ldapusr
 +</​code>​
 +
 +=== Root ===
 +Make sure the root user is using the korn shell by default and is member of the ldapgrp group:
 +
 +* smitty chuser
 +* Select root user
 +* Set login shell ro /​usr/​bin/​ksh
 +* Add the ldapgrp group to the list of groups
 +
 +== Memory ==
 +The following amounts of RAM are recommended for each directory server instance:
 +* 512 MB for each directory server instance
 +* 256 MB for each database instance
 +
 +== Storage ==
 +IBM Tivoli Directory Server (including the client, server and the database) requires about 2 GB of disk space. ​
 +<​code>​
 +/usr: 512 MB 
 +/opt: 512 MB
 +/var/data: 1 GB
 +
 +/tmp 1 GB for temporary access
 +</​code>​
 +
 +==  Asynchronous I/O ==
 +To turn on asynchronous I/O:
 +* Run smitty chgaio and set STATE to be configured at system restart from defined to available.
 +* Press Enter.
 +
 +* Run smitty aio 
 +* Select Configure defined Asynchronous I/O
 +* Press Enter.
 +
 += Installation
 +Installation consists of 2 parts:
 +* db2
 +* directory server
 +
 +== DB2 ==
 +
 +Go into the db2 directory and issue db2_install:​
 +
 +<​code>​
 +root@tds:/​tmp/​IBM_APPS/​db2/​db2>​cd ..
 +root@tds:/​tmp/​IBM_APPS/​db2>​./​db2_install
 +
 +
 +Specify one or more of the following keywords,
 +separated by spaces, to install DB2 products.
 + ​Keyword ​       Product Description
 + ​DB2.ESE ​       DB2 Enterprise Server Edition for AIX
 +
 +Enter "​help"​ to redisplay product names.
 +Enter "​quit"​ to exit.
 +***********************************************************
 +DB2.ESE
 +   ​db2_08_01.msg.en_US.iso88591...
 ++-----------------------------------------------------------------------------+
 +                    Pre-installation Verification...
 ++-----------------------------------------------------------------------------+
 +Verifying selections...done
 +Verifying requisites...done
 +Results...
 +
 +SUCCESSES
 +---------
 +  Filesets listed in this section passed pre-installation verification
 +  and will be installed.
 +
 +  ...<​cut>​....
 +
 +The installation logfile can be found in /​tmp/​db2_install_log.155976.
 +db2_install program completed successfully.
 +</​code>​
 +Now check if db2 is installed correctly:
 +<​code>​
 +root@tds:/​tmp/​IBM_APPS/​db2>​lslpp -L | grep db2
 +  db2_08_01.cj ​             8.1.1.80 ​   C     ​F ​   Java Common files
 +  db2_08_01.client ​         8.1.1.80 ​   C     ​F ​   Base Client Support
 +  db2_08_01.cnvucs ​         8.1.1.80 ​   C     ​F ​   Code Page Conversion Tables -
 +  db2_08_01.conn ​           8.1.1.80 ​   C     ​F ​   Connect Support
 +  db2_08_01.conv ​           8.1.1.80 ​   C     ​F ​   Code Page Conversion Tables
 +  db2_08_01.cs.rte ​         8.1.1.80 ​   C     ​F ​   Communication Support - TCP/IP
 +  db2_08_01.das ​            ​8.1.1.80 ​   C     ​F ​   Administration Server
 +  db2_08_01.db2.engn ​       8.1.1.80 ​   C     ​F ​   Base DB2 UDB Support
 +  db2_08_01.db2.rte ​        ​8.1.1.80 ​   C     ​F ​   Run-time Environment
 +  db2_08_01.db2.samples ​    ​8.1.1.80 ​   C     ​F ​   Sample Database Source
 +  db2_08_01.essg ​           8.1.1.80 ​   C     ​F ​   Product Signature for DB2 UDB
 +  db2_08_01.icuc ​           8.1.1.80 ​   C     ​F ​   ICU Collation
 +  db2_08_01.icut ​           8.1.1.80 ​   C     ​F ​   ICU Utilities
 +  db2_08_01.jdbc ​           8.1.1.80 ​   C     ​F ​   Java Support
 +  db2_08_01.jhlp.en_US.iso88591
 +  db2_08_01.ldap ​           8.1.1.80 ​   C     ​F ​   DB2 LDAP Support
 +  db2_08_01.msg.en_US.iso88591
 +  db2_08_01.pext ​           8.1.1.80 ​   C     ​F ​   Parallel Extension
 +  db2_08_01.repl ​           8.1.1.80 ​   C     ​F ​   Replication
 +  db2_08_01.sqlproc ​        ​8.1.1.80 ​   C     ​F ​   SQL Procedures
 +</​code>​
 +
 +== Directory Server ==
 +Go into the itds directory and start smitty install and select this fileset:
 +* idsldap.srv64bit60
 +<​code>​
 ++-----------------------------------------------------------------------------+
 +                                Summaries:
 ++-----------------------------------------------------------------------------+
 +
 +Installation Summary
 +--------------------
 +Name                        Level           ​Part ​       Event       ​Result
 +-------------------------------------------------------------------------------
 +idsldap.cltbase60.rte ​      ​6.0.0.0 ​        ​USR ​        ​APPLY ​      ​SUCCESS
 +idsldap.cltbase60.adt ​      ​6.0.0.0 ​        ​USR ​        ​APPLY ​      ​SUCCESS
 +idsldap.cltbase60.rte ​      ​6.0.0.0 ​        ​ROOT ​       APPLY       ​SUCCESS
 +idsldap.clt64bit60.rte ​     6.0.0.0 ​        ​USR ​        ​APPLY ​      ​SUCCESS
 +idsldap.clt64bit60.rte ​     6.0.0.0 ​        ​ROOT ​       APPLY       ​SUCCESS
 +idsldap.srvproxy64bit60.rte 6.0.0.0 ​        ​USR ​        ​APPLY ​      ​SUCCESS
 +idsldap.srvproxy64bit60.rte 6.0.0.0 ​        ​ROOT ​       APPLY       ​SUCCESS
 +idsldap.srv64bit60.rte ​     6.0.0.0 ​        ​USR ​        ​APPLY ​      ​SUCCESS
 +</​code>​
 +
 += FIXPACKS =
 +There are two fixpacks that need to be installed, one for directory server and one for db2:
 +== Directory Server ==
 +<​code>​
 +root@tds:/​tmp/​IBM_APPS/​Fixpacks/​6.0.0-TIV-ITDS-AIX-FP0004>​./​idsinstall -u
 +
 +  Updating package=idsldap.cltbase60 to version=06.00.0000.0033
 +
 +  Updating package=idsldap.clt32bit60 to version=06.00.0000.0033
 +
 +  Updating package=idsldap.clt64bit60 to version=06.00.0000.0033
 +
 +  Updating package=idsldap.srvproxy64bit60 to version=06.00.0000.0033
 +
 +  Updating package=idsldap.srv64bit60 to version=06.00.0000.0033
 +
 +All packages were installed successfully!
 +See the log file: /​tmp/​idsinstall_09-17-10_16-21-16.log for more details
 +</​code>​
 +
 +== DB2 ==
 +First unpack the update:
 +<​code>​
 +>tar -xf FP16_U811269.tar
 +root@tds:/​tmp/​IBM_APPS/​Fixpacks>​ll
 +total 3956088
 +drwxr-xr-x ​  4 root     ​system ​       12288 Jan 22 2008  fixpak.s080111
 +-rw-r--r-- ​  1 sjoerd ​  ​LDAPuser 1280215040 Sep 17 13:35 FP16_U811269.tar
 +</​code>​
 +Go into this directory and start the update:
 +<​code>​
 +root@tds:/​tmp/​IBM_APPS/​Fixpacks/​fixpak.s080111>​./​installFixPak -y
 +Checking level of DB2 V8 installation...
 +Running update all
 +geninstall -I "a -cgNqwX -J" ​ -Z   -d . -f File 2>&1
 +
 +...<​cut>​.....
 +
 +Installation Summary
 +--------------------
 +Name                        Level           ​Part ​       Event       ​Result
 +-------------------------------------------------------------------------------
 +db2_08_01.sqlproc ​          ​8.1.1.144 ​      ​USR ​        ​APPLY ​      ​SUCCESS
 +db2_08_01.repl ​             8.1.1.144 ​      ​USR ​        ​APPLY ​      ​SUCCESS
 +db2_08_01.pext ​             8.1.1.144 ​      ​USR ​        ​APPLY ​      ​SUCCESS
 +db2_08_01.msg.en_US.iso8859 8.1.1.144 ​      ​USR ​        ​APPLY ​      ​SUCCESS
 +db2_08_01.ldap ​             8.1.1.144 ​      ​USR ​        ​APPLY ​      ​SUCCESS
 +db2_08_01.jhlp.en_US.iso885 8.1.1.144 ​      ​USR ​        ​APPLY ​      ​SUCCESS
 +db2_08_01.jdbc ​             8.1.1.144 ​      ​USR ​        ​APPLY ​      ​SUCCESS
 +db2_08_01.icut ​             8.1.1.144 ​      ​USR ​        ​APPLY ​      ​SUCCESS
 +db2_08_01.icuc ​             8.1.1.144 ​      ​USR ​        ​APPLY ​      ​SUCCESS
 +db2_08_01.essg ​             8.1.1.144 ​      ​USR ​        ​APPLY ​      ​SUCCESS
 +db2_08_01.db2.samples ​      ​8.1.1.144 ​      ​USR ​        ​APPLY ​      ​SUCCESS
 +db2_08_01.db2.rte ​          ​8.1.1.144 ​      ​USR ​        ​APPLY ​      ​SUCCESS
 +db2_08_01.das ​              ​8.1.1.144 ​      ​USR ​        ​APPLY ​      ​SUCCESS
 +db2_08_01.cs.rte ​           8.1.1.144 ​      ​USR ​        ​APPLY ​      ​SUCCESS
 +db2_08_01.conv ​             8.1.1.144 ​      ​USR ​        ​APPLY ​      ​SUCCESS
 +db2_08_01.conn ​             8.1.1.144 ​      ​USR ​        ​APPLY ​      ​SUCCESS
 +db2_08_01.cnvucs ​           8.1.1.144 ​      ​USR ​        ​APPLY ​      ​SUCCESS
 +db2_08_01.client ​           8.1.1.144 ​      ​USR ​        ​APPLY ​      ​SUCCESS
 +db2_08_01.cj ​               8.1.1.144 ​      ​USR ​        ​APPLY ​      ​SUCCESS
 +db2_08_01.db2.engn ​         8.1.1.144 ​      ​USR ​        ​APPLY ​      ​SUCCESS
 +db2_08_01.db2.samples ​      ​8.1.1.144 ​      ​USR ​        ​COMMIT ​     SUCCESS
 +db2_08_01.icuc ​             8.1.1.144 ​      ​USR ​        ​COMMIT ​     SUCCESS
 +db2_08_01.icut ​             8.1.1.144 ​      ​USR ​        ​COMMIT ​     SUCCESS
 +db2_08_01.jhlp.en_US.iso885 8.1.1.144 ​      ​USR ​        ​COMMIT ​     SUCCESS
 +db2_08_01.msg.en_US.iso8859 8.1.1.144 ​      ​USR ​        ​COMMIT ​     SUCCESS
 +db2_08_01.pext ​             8.1.1.144 ​      ​USR ​        ​COMMIT ​     SUCCESS
 +db2_08_01.client ​           8.1.1.144 ​      ​USR ​        ​COMMIT ​     SUCCESS
 +db2_08_01.cj ​               8.1.1.144 ​      ​USR ​        ​COMMIT ​     SUCCESS
 +db2_08_01.cnvucs ​           8.1.1.144 ​      ​USR ​        ​COMMIT ​     SUCCESS
 +db2_08_01.conv ​             8.1.1.144 ​      ​USR ​        ​COMMIT ​     SUCCESS
 +db2_08_01.db2.rte ​          ​8.1.1.144 ​      ​USR ​        ​COMMIT ​     SUCCESS
 +db2_08_01.jdbc ​             8.1.1.144 ​      ​USR ​        ​COMMIT ​     SUCCESS
 +db2_08_01.ldap ​             8.1.1.144 ​      ​USR ​        ​COMMIT ​     SUCCESS
 +db2_08_01.repl ​             8.1.1.144 ​      ​USR ​        ​COMMIT ​     SUCCESS
 +db2_08_01.sqlproc ​          ​8.1.1.144 ​      ​USR ​        ​COMMIT ​     SUCCESS
 +db2_08_01.conn ​             8.1.1.144 ​      ​USR ​        ​COMMIT ​     SUCCESS
 +db2_08_01.cs.rte ​           8.1.1.144 ​      ​USR ​        ​COMMIT ​     SUCCESS
 +db2_08_01.das ​              ​8.1.1.144 ​      ​USR ​        ​COMMIT ​     SUCCESS
 +db2_08_01.db2.engn ​         8.1.1.144 ​      ​USR ​        ​COMMIT ​     SUCCESS
 +db2_08_01.essg ​             8.1.1.144 ​      ​USR ​        ​COMMIT ​     SUCCESS
 +
 +Log saved in /​tmp/​installFixPak.log.8.1.1.144
 +</​code>​
 +
 +{{tag>​aix ldap}} ​
tdsinstall.txt ยท Last modified: 2013/03/08 05:21 by sjoerd