
Appendix - PLATFORM-DEPENDENT INFORMATION

			Supplemental Information for UnixWare 
			   II 2.6/0201 (usl.us5/00)



Introduction

This Release Notes Supplement contains information about Advantage Ingres 2.6
that is specific to UnixWare.

The section titled Read This Before You Install must be read before 
installing Advantage Ingres 2.6


			Read This Before You Install


			Certified Operating Environment

This release of Advantage Ingres is supported on UnixWare 7.1.1 and OpenUNIX 8.0


			Support Qualifications

This release of Advantage Ingres supports Tuxedo.

This version of Advantage Ingres II 2.6 supports operating system threads.  

This version of Advantage Ingres II 2.6 support the Apache Web Server version 1.3
Note: While configuring Apache server for using Ingres ICE, Apache need to be
re-built to support the Ingres threaded libraries. To re-build Apache you need
to set the environment variable LIBS to "-K thread" before you start the normal
Apache build process.  Below is an example of the CSH shell commands necessary
to re-build Apache.
     $ setenv LIBS "-K thread"
     $ cd /usr/local/apache_src
     $ ./configure --prefix=/usr/local/apache  --enable-module=most  --enable-shared=max
     $ make
     $ make install
     $ /usr/local/apache/bin/apachectl start


			Installation Notes

Use the following information in conjunction with the Getting Started guide.  
Information presented here supersedes information in the Getting Started guide.


			Unload Command

Please note that the instructions provided in this section for mounting the 
CD-ROM drive on your machine should be taken as an example only. To mount 
the CD-ROM drive from a local host and perform the installation:

1.	Place the CD-ROM media in the CD-ROM drive, login as root and mount the 
	drive as follows:
	
	mount -f cdfs -o ro,fperm=777 [device file] [mount point]


2.	Continue as with any other installation.  See the Getting Started for 
        more information.


			Installing from a Remote Host

The unload command from a remote host for UnixWare machines is as follows:
	% rsh <remotehost> "dd if=<distribname> bs=20b | compress" | \
        % uncompress | tar xvf - install


			Disk Space Requirements

These are the disk space requirements for UnixWare with the following system 
configurations:

	System Configuration		Space Required
	--------------------            --------------
	DBMS server with Ingres Net	 98 MB
	DBMS server with Ingres tools	153 MB


			Upgrade Notes

This section gives detailed, step-by-step procedures for upgrading an existing 
CA-OpenIngres installation to an Ingres II 2.6 installation.  

well as from an existing CA-OpenIngres installation.  This should be used in 
conjunction with the Getting Started guide and Appendix D of the System 
Reference Guide.

Note:  To successfully upgrade your Star databases, you must change the 
number of Star servers started to zero before beginning the upgrade procedure.  
To do this, go into Configure-By-Forms (CBF) and highlight the Star server; 
choose the EditCount menu item, and set the value to zero.  After the upgrade 
has been completed, go back into CBF and return the number of Star servers to 
the previous value.

We recommend that you backup your existing installation before upgrading.  To 
do this you should perform a checkpoint of all the databases that are currently 
part of your existing installation.  This includes the master database, iidbdb.
You should turn journaling off for the master database as well as for all of 
your user databases.  These steps are described below.

Note:  All users currently running an Ingres 2.0 installation should follow the 
upgrade procedure for CA-OpenIngres users.



1.	ckpdb -j iidbdb

2.	Execute the following command for each user database,where dbname is the
	name of the user database to be checkpointed:

		ckpdb -j dbname

3.	You should now shut down your existing installation.

		ingstop

4.	Make sure that you have done a complete backup of your existing 
	installation.  You should then remove all files from both the 
	$II_SYSTEM/ingres/bin and $II_SYSTEM/ingres/utility directories.

You should now follow the instructions in the Getting Started guide for 
installing Ingres.  If you are attempting to upgrade a Star database, please 
contact your Technical Support representative.

Note:  If you choose the Express Install procedure, you must run upgradedb 
after the installation is complete.  Express Install upgrades the existing 
installation, but does not upgrade your master database (iidbdb).

When running the DBMS server Setup program, you can upgrade all
CA-OpenIngres databases for use with Ingres 2.6.  This also upgrades your 
tools system catalogs so that your installation can use the Ingres tools for 
release 2.6  However, we recommend that you postpone this task and upgrade user 
databases later with the upgradedb command (which also executes the 
upgradefe command that upgrades the tools catalogs).  Refer to your System 
Reference Guide for details.

Once the upgrade has been completed and all of your user databases have been 
upgraded, you should enable journaling by issuing the following command for 
all of your user databases:

ckpdb +j dbname




			Semaphores and Shared Memory

Ingres requires semaphores and shared memory to be loaded.  To ensure that
Ingres has sufficient resources, modify the appropriate system parameters with
the idtune utility.  The following is an example of the statements you should use:

idtune -m SEMMNI (autotuned - see note)
idtune -m SEMMSL 50
idtune -m SEMOPM 10
idtune -m SEMUME 10
idtune -m SEMVMX 32767
idtune -m SEMAEM 16384
idtune -m SHMMAX 100000000
idtune -m SHMMIN 1
idtune -m SHMMNI 100
idtune -m SHMSEG 10

Important!  The SHMMAX value has increased from previous versions.

Notes:

*    You must execute the idbuild command following idtune commands.

*    You must reboot for these statements to have effect.

*    The number of available semaphores in the system is determined by the
product of SEMMNI and SEMMSL.  The SEMMNI parameter is autotuned
by the operating system and limited by the available resources of your
machine.  Ensure your machine has the resources to provide sufficient
semaphores for Ingres.  A reasonable default requirement is SEMMNI *
SEMMSL > 1000.  The minimum value required is represented by the sum of
the number of semaphores required by non-Ingres processes, plus 5 for each
Ingres installation running, plus 30 for each Ingres DBMS server running.
Thus, a system running two Ingres installations, with three DBMS servers
each, requires the availability of at least 190 semaphores, and can require a
higher number to accommodate other software.  We recommend that you
use generous estimates for this requirement.

*    The minimum value required for SHMMAX is at least as large as the largest
shared memory segment that Ingres will allocate on your system.  The
recommended value of 100000000 is generally sufficient.  Small systems with
only a few users may be able to run with SHMMAX set to 5000000 or less.
Conversely, a very large shared DMF cache may require that SHMMAX be
set to 150000000 or more.  The syscheck utility can be used to determine the
size of the shared memory segments Ingres will allocate and whether the
current value of SHMMAX is adequate.

The virtual memory parameters DATLIM and VMMLIM were significantly reduced. 
Failure to adjust these parameters will likely result in either a shared memory
error during Ingres installation and start-up, or an inability to expand the 
Ingres server during normal database operations. The new values for  these 
parameters will depend on the specific requirements of your application and 
installation. We recommend that DATLIM (both HDATLIM and SDATLIM) be set 
initially to between 60 and 80 percent of the machine's configured swap space,
using idtune as above. The new VMMLIM settings (HVMMLIM and SVMMLIM) must then 
be at least as large as the sum of their corresponding DATLIM (HDATLIM and 
SDATLIM) and STKLIM (HSTKLIM and SSTKLIM) values.  It is recommended that you
modify VMMLIM and re-boot the machine prior to modifying DATLIM.

   

			Syscheck -v

You may see a discrepancy between what the C-shell command "limit" returns 
and what syscheck -v returns for the per-process limit on open file descriptors.   
This is because Ingres extends its default per-process limit for open file 
descriptors.  The output from syscheck -v is correct.  Here is a description of how 
to interpret the output:

System Hard Limit

This is the absolute maximum number of open file descriptors that the 
operating system will permit.  On UnixWare, this value is 2048.

System Soft Limit

This is the maximum number of open file descriptors that Ingres could 
conceivably get, depending on how many open files other processes have at 
that point in time.  This value is also 2048 because Ingres uses SETRLIMIT() 
to extend the default value of 64.

			Environment Configuration

This release of Ingres supports the use of shared libraries.  You must set the
LD_LIBRARY_PATH environment variable to add the Ingres shared libraries to
your shared library.  In addition, if you use the WindowView feature of Ingres,
you must include the X library directory in your shared library path.  The
following examples define the Ingres and X library directories to LD_LIBRARY_PATH.
Set this variable as follows:

For C shell:
  $ setenv LD_LIBRARY_PATH /lib:$II_SYSTEM/ingres/lib:/usr/X/lib:$LD_LIBRARY_PATH

For Bourne shell:
  $ LD_LIBRARY_PATH=/lib:$II_SYSTEM/ingres/lib:/usr/X/lib:$LD_LIBRARY_PATH
  $ export LD_LIBRARY_PATH


Application Migration and Development Notes

			Preprocessor and Compiler Support

The following compilers are supported for this release:

*    For UnixWare 7: Optimizing C Compilation System  (CCS) 3.2 (native)
*    COBOL MicroFocus COBOL 3.2



Interoperability

This release supports all versions of the TCP/IP network protocol
communication package using TCP_IP as the I/NET protocol ID.

