December 15, 2006

Ingres EI Installation on UNIX Platforms

1.Create a kmem group using the command

bash# groupadd -g 1000 kmem

2. Do “ls –lL /dev/kmem” , The kmem group should be writable and create a user ingres Ensure user -- “ingres” is a member of same group as device “/dev/kmem” by using the following command

bash# useradd -u 1000 -g kmem -d /export/home/ingres -m ingres

3. Do bash # ps –aef|grep ingres and kill all the ingres processes using the comman kill -9 processid

4. Set the following varibles in .profile in bash and export if it is in sh prompt

II_SYSTEM=/home/CA/IngresEI;export II_SYSTEM
II_UTILITY=$II_SYSTEM/ingres/utility
II_BIN=$II_SYSTEM/ingres/bin
export PATH=$II_BIN:$II_UTILITY:$II_BIN/lp64:$II_UTILITY/lp64:/bin:/usr/bin:$PATH
#II_LIB=$II_SYSTEM/ingres/lib
LD_LIBRARY_PATH=$II_LIB:$II_LIB/lp64:/lib:/usr/lib:/usr/local/lib
LD_LIBRARY_PATH_64=$II_LIB/lp64
LIBPATH=$II_LIB:$II_LIB/lp64:/lib:/usr/lib:/usr/local/lib:/usr/ccs/lib
SHLIB_PATH=$II_LIB:$II_LIB/lp64:/lib:/usr/lib:/usr/local/lib:/usr/ccs/lib
export PATH LD_LIBRARY_PATH LD_LIBRARY_PATH_64 LIBPATH SHLIB_PATH

TERM_INGRES=vt100fx; export TERM_INGRES

Note: ** These variables should be set prior to the installation

5. Go to the directory you untared contents of ingres. There is a shell script called “ingres_express_install.” As root, type:./ingres_express_install –tar EI /opt/CA/IngresEI Only thing you can change is the install directory (/opt/CA/IngresEI).

6. At the end of installation, it will report “ingvalidpw …. Executable successfully installed.” Now, you are ready to install MDB. Go to directory you placed mdb. Gunzip the package (gunzip). Then, untar it (tar –xvf tar_file_name).

7. Create a response file. Enter the followings:

II_MDB_NAME=mdb
II_MDB_SIZE=small
SILENT_INSTALL=false

and export II_RESPONSE_FILE=*/install.rsp

8. Type:./installMdb and Installation will take at least an hour depending on how fast your box is. At the end of installation, rc=o and installation successful should show up.

No comments: