


Appendix - PLATFORM-DEPENDENT INFORMATION

                    Supplemental Information for Sequent DYNIX/ptx
			   II 2.5/0011 (sqs.ptx/00)



			Introduction

This Appendix contains information about Ingres 2.5 that is specific
to Sequent DYNIX/ptx.  

The section titled Read This Before You Install must be read before 
installing Ingres 2.5.


		Read This Before You Install

		Certified Operating Environment

This release of Ingres is supported on Sequent Symmetry 2000 series 
machines running the DYNIX/ptx operating system version 4.4.1.

For an up-to-date list of supported operating environments, please visit
the Ingres product page from the CA Support website at http://support.ca.com

This Maintenance Release has been built at the same fix level as the 
Ingres II 2.0/0001 COMP patch 7077. For a complete list of bugs fixed in 
this release please refer to http://support.ca.com.

		Support Qualifications
 

		Operating System Threads

This Maintenance Release has been built at the same fix level as the 
Ingres II 2.0/0001 COMP patch 6936. For a complete list of bugs fixed in 
this release please refer to http://support.ca.com.

		Support Qualifications
 

		Operating System Threads

This version of Ingres 2.5 does not support operating system threads. 


			Direct I/O

This release of Ingres supports the use of Direct IO by the dbms server 
(iidbms).  To make use of this feature, the environment variable 
II_DIRECT_IO must be set to 'y' (or 'Y').  This variable may be set as 
an ingres variable, to have effect for every dbms server started by ingres.  
This variable may also be set as an operating system variable, to have 
effect only while a particular dbms server is started with the command 
'ingstart -iidbms'.  To set this variable as an ingres variable:

    ingsetenv II_DIRECT_IO y

To set this variable as an operating system variable, using the C shell:

    setenv II_DIRECT_IO y
 
While creating the transaction log, and at other times, ingres will display a 
message indicating whether regular or direct file i/o is being utilized, viz.

    cldio_dodir = 0 = regular i/o...
or
    cldio_dodir = 1 = direct i/o...

For more information on starting a dbms server, consult your Ingres 
System Reference Guide.


			Visual DBA

Visual DBA is not available on Sequent DYNIX/ptx. However a Windows/NT version
of Visual DBA is available and from a Windows/NT machine VDBA can monitor any
Unix version of Ingres II 2.5. 


			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.  If your 
machine does not use /etc/vfstab to store information on mountable devices, 
please check with your system administrator for the correct procedure for 
mounting a CD-ROM drive.

To mount the CD-ROM drive from a local host and perform the installation:

1.	Login as root and put the following entry in /etc/vfstab:

	/dev/dsk/c0t6d0s2 /cdrom hsfs ro,noauto 0 0

2.	Place the CD-ROM media in the CD-ROM drive and execute 
	the following command:

	$ /usr/sbin/mount /cdrom

3.	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 Sequent DYNIX/ptx machines is as 
follows:


        % resh <remotehost> "dd if=<distribname> bs=20b | compress" | \
        % uncompress | dd  bs=20b | tar xvf - install


			Disk Space Requirements

These are the disk space requirements for Sequent DYNIX/ptx with the following 
system configurations:

System Configuration            Space Required
Ingres without any options        150 MB
Ingres with all options           250 MB

			Upgrade Notes

This section gives detailed, step-by-step procedures for upgrading an existing 
CA-Ingres or CA-OpenIngres installation to an Ingres 2.5 installation.  It also 
provides an example of an upgrade from an existing CA-Ingres 6.4 installation as
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,
and the Ingres IMA database, imadb (note that in order to successfully check-
point the iidbdb database you must stop the rmcd server, if it is running. This
is true for the checkpoint taken both before the upgrade and after the upgrade).
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.	To perform a checkpoint, enter the following:
	For CA-Ingres 6.4 users:

		ckpdb -j iidbdb -u'$ingres'

	For CA-OpenIngres users:

		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.
	For CA-Ingres 6.4 users:

		iishutdown

	For CA-OpenIngres users:

		ingstop

	Please ensure that you perform a "clean" shutdown in so that there
	are no opened transactions left in the Ingres transaction log. Do not
	force an Ingres shutdown.

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 and the iidbdb and imadb databases, but will not upgrade your user
databases.

When running the DBMS server Setup program, you can upgrade all CA-Ingres 
and CA-OpenIngres databases for use with Ingres 2.5.  This also upgrades your 
tools system catalogs so that your installation can use the Ingres tools for 
release 2.5.  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). In either case, your 
iidbdb and imadb databses willl be upgraded automatically at upgrade time. 
Refer to your System Reference Guide for details.  

Note: When upgrading from a release older than 2.0, the database "imadb" will
bot be created, after the upgrade ahas been completed you should create this 
database by hand by executing the following commands as ingres

	createdb -fnofeclients -u\$ingres imadb
	sql -u\$ingres imadb < $II_SYSTEM/ingres/vdba/makimau.sql > \
		$II_SYSTEM/ingres/vdba/mkimau.out

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


			Upgrade Examples

Below are examples of actual upgrades for CA-Ingres 6.4 and CA-OpenIngres 
(1.1 and 1.2).  These examples are provided to give you an idea of what the 
actual upgrade procedure will look like.  When performing the upgrade, there 
may be some areas that do not match exactly to what appears below.  The user's 
responses are in bold type.



	Upgrading a CA-OpenIngres Installation to an Ingres 2.5 Installation


	Setting up Application-By-Forms

The following directory will be used to store Application-By-Forms, Vision, and 
VisionPro applications:

/oping/install/II/ingres/abf

This default location can be changed later by redefining the Ingres variable 
ING_ABFDIR, using the command:

ingsetenv ING_ABFDIR

This variable can also be defined in the UNIX environment.

Press RETURN to continue:

ING_ABFDIR configured as /oping/install/II/ingres/abf

Note:  A version of abflnk.opt already exists, but needs to be upgraded.  A 
copy of the existing file will be saved in abflnk.opt.old and a new version 
will be created.  Any customizations to the original version will need to be 
manually added to the new file.

Press RETURN to continue:

Note:  A version of abfdyn.opt already exists, but needs to be upgraded.  A 
copy of the existing file will be saved in abfdyn.opt.old and a new version 
will be created.  Any customizations to the original version will need to be 
manually added to the new file.

Press RETURN to continue.

Application-By-Forms setup complete.

Press RETURN to continue:  Setting up the Ingres library.

Setting up the Ingres Intelligent DBMS...

This procedure will set up the following release of the Ingres Intelligent DBMS:

	II 2.5/0011 (sqs.ptx/00)

To run on local host:

	server87

This installation will be owned by:

	ingres

Do you want to continue this setup procedure?  (y/n) [y].  Press RETURN.

Generating default configuration...

II_INSTALLATION configured as II.

This program prompts you for the default physical storage locations you want to 
use (if not already configured) for the database, backup, temporary, and 
transaction log files maintained by the Ingres Intelligent DBMS.  Before you 
respond to these prompts, you have the option of reading detailed instructions 
on configuring the default Ingres storage locations.

Do you want instructions on configuring your storage locations? (y/n) [y].  
Press RETURN.

Ingres Location Variables

The Ingres storage locations and the corresponding Ingres variables are listed 
below:

Ingres Variable		Description
II_DATABASE		Default location for database files
II_CHECKPOINT		Default location for full backup file
II_JOURNAL		Default location for incremental backup files
II_DUMP			Default location used to store transactions during 
			online backups
II_WORK			Default location for temporary files
II_LOG_FILE		Location for the Ingres transaction log file
II_DUAL_LOG		Location for the backup Ingres transaction log

Press RETURN to continue:

Important!  You cannot change the values you assign to the default Ingres 
storage location variables once this setup procedure has been completed.  
However, you can create additional storage locations and assign individual 
databases to them.  For information on creating additional storage locations, 
refer to the Database Administrator's Guide.

Press RETURN to continue:

		Default Database Location

The Ingres variable II_DATABASE stores the default location used to store 
Ingres database files.

Once a value has been assigned to II_DATABASE, you can change it only by 
removing and re-installing Ingres.  Refer to the Database Administrator's 
Guide for information on moving the default database file location.

Press RETURN to continue:

II_DATABASE configured as /oping/install/II


		Default Checkpoint, Journal, and Dump Locations

The Ingres variables II_CHECKPOINT, II_JOURNAL, and II_DUMP are used to 
store the default locations used for full and incremental on-line backup 
files.  It is essential that II_CHECKPOINT, II_JOURNAL, and II_DUMP not be 
assigned to the same physical device as II_DATABASE.  If this restriction is 
ignored, you will be unable to recover lost data in the event that the 
II_DATABASE location fails.  Once assigned, you can change the values of 
II_CHECKPOINT, II_JOURNAL, and II_DUMP only by removing and re-installing 
Ingres.  Refer to the Database Administrator's Guide for information on moving 
the default backup locations.  Refer to the "Backup and Recovery" chapter in 
the Database Administrator's Guide for instructions on backup and recovery 
of Ingres databases.

Press RETURN to continue: 

	II_CHECKPOINT configured as /oping/install/II
	II_JOURNAL configured as /oping/install/II
	II_DUMP configured as /oping/install/II


		Default Work Location

The Ingres variable II_WORK stores the default location used for all temporary 
files created during external sorts and other DBMS server operations that 
equire large amounts of temporary file space.  Ingres lets you designate a 
separate storage device as the default location for these files.

When choosing the II_WORK location, be aware that temporary files tend to 
increase fragmentation on storage devices, which can lead to decreased 
performance.  For this reason, you should assign II_WORK to a physical device 
that does not contain database, checkpoint, journal, or dump files, if 
possible.  Your choice of the default work location does not affect your 
ability to recover lost data in the event of a storage device failure, 
although it may affect performance.

Once assigned, you can change the value of II_WORK only by removing and 
re-installing Ingres.  Refer to the Database Administrator's Guide for 
instructions on moving the default work location in this manner.

Press RETURN to continue:

II_WORK configured as /oping/install/II

Ingres Transaction Log Locations

The Ingres Intelligent DBMS uses a transaction log file to store
uncommitted transactions and buffer committed transactions before they 
are written to the database file location(s).

In order to guarantee that no committed transactions can be lost in the event 
of a single storage device failure, a backup of the Ingres transaction log 
must be maintained on a storage device which is independent of the primary 
transaction log file device.  

By default, Ingres will maintain a backup of the primary transaction log file 
on a storage location that you select.

You have the option of disabling the backup transaction log file, although you 
should only do so if the location you intend to use for your primary 
transaction log file has built-in fault tolerance (for example, a 
fault-tolerant disk array or "mirrored" disk sub-system).

Press RETURN to continue:

Do you want to disable the backup transaction log? (y/n) [n]. Press RETURN.

You must verify that the location(s) you intend to select for the Ingres 
transaction log(s) have sufficient disk space.  The default transaction log 
size is:

	33554432 bytes

This setup procedure will create the Ingres transaction log(s) as ordinary 
(operating system buffered) files, rather than unbuffered (raw) device files.  
For information on using the mkrawlog utility to create raw transaction log 
files after this setup procedure has been completed, please refer to the 
Getting Started guide.

	II_LOG_FILE configured as /oping/install/II
	II_NUM_OF_PROCESSORS configured as 4. 
	II_TIMEZONE_NAME configured as na-eastern. 
	II_CHARSETII configured as ISO88591. 

How many concurrent users do you want to support? [32] .

Press RETURN.

Updating configuration...

Ingres is configured to support 32 concurrent users.

Erasing existing Ingres transaction log.

Erasing the 33554432 byte transaction log file...

0%          25%         50%         75%         100%
cldio_dodir = 0 = regular i/o...
||||||||||||||||||||||||||||||||

Finishing up...

Formatting the primary transaction log file...

Removing defunct utilities and files...

Before you can access the existing databases in this installation, they must be 
upgraded to support the new release of the Ingres server that you have 
installed.  You have the option of upgrading all the databases contained in 
this installation now.  Alternately, you can upgrade them later by hand using 
the upgradedb utility.

Be aware that the time required to upgrade all local databases will depend on 
their size, number, and complexity; therefore it is not possible to accurately 
predict how long it will take.  Also note that the Ingres system catalogs 
(iidbdb) will be upgraded at this time whether or not you choose to upgrade 
your databases.  

Upgrade all databases in this installation now? (y/n) [y] <n>

Starting the Ingres server to upgrade system catalogs and databases...

Ingres/ingstart

Checking host server87 for system resources required to run Ingres...

Your system has sufficient resources to run Ingres.

Starting your Ingres installation...

Starting the name server...

Allocating shared memory for logging and locking systems...

Starting the recovery server...II_DBMS_SERVER = 36388

Starting the archiver process...

Starting DBMS server (default)...II_DBMS_SERVER = 36391

Starting Net server (default)...

Upgrading system catalogs and databases...

Checkpointing Ingres system catalogs...	

Shutting down the Ingres server...

Upgrade complete.

Ingres Intelligent DBMS setup complete.

Refer to the Getting Started guide for information about starting and using 
Ingres.

Press RETURN to continue:  Setting up Ingres C2 Security Auditing...

This procedure will set up Ingres Security Auditing for local host:

	server87

Generating default security auditing configuration...

Ingres C2 Security Auditing is now set up. 

Press RETURN to continue:  Setting up Ingres Enhanced Security...

WARNING: This system is not configured for security label support.  Ingres 
Enhanced Security will be configured without MAC support. 

Do you want to continue this setup procedure? (y/n) [y]. Press RETURN.

Ingres Enhanced Security has been successfully set up.

Press RETURN to continue:

Setting up Ingres Networking...

This procedure will set up the following version of Ingres Networking:

II 2.5/0011 (sqs.ptx/00)

To run on local host:

	server87

The Ingres Intelligent DBMS has been set up on this host; therefore, this 
installation has the capacity to act as an Ingres "server", which means it can 
service queries against local Ingres databases.  An Ingres server can also 
service remote queries if Ingres Networking is installed.

If you do not need access to this Ingres server from other hosts, you do not 
need to set up Ingres Networking.

Do you want to continue this setup procedure? (y/n) [y] <Return>

Generating default configuration...

II_INSTALLATION configured as II. 

Configuring Net server listen addresses...

Users of other Ingres installations must be authorized to connect to this 
server installation.  For a user to be authorized, correct authorization 
information must be set up locally and on remote clients. You can authorize 
remote users for access to this server using installation passwords (in 
addition to Ingres Networking user passwords supported in past releases).

Installation passwords offer the following advantages over user passwords:

* Remote users do not need login accounts on the server host.
* Installation passwords are independent of host login passwords. 
* Installation passwords are not transmitted over the network in any form,
  thus providing greater security than user passwords.
* User identity is always preserved.

If you need more information about Ingres Networking authorization, please 
refer to the Ingres Net User Guide.

Press RETURN to continue: <Return>

You now have the option of creating an installation password for this server.  
If you choose not to set up an installation password on this server, then you 
must use the netutil program (as described in the Ingres Net User Guide) to 
authorize remote users for access to this server.

Be aware that simply creating an installation password on this server does not 
automatically authorize remote users for access.  To authorize a remote user, a 
valid password must be entered into the Ingres Networking authorization profile 
for that user on the client.  You can authorize remote users in either of the 
following ways: 

* Use netutil as described in the Ingres Net User Guide.
* Select the installation password authorization option (only valid if your 
  network supports TCP/IP) during the setup procedure for Ingres 
  Networking on the client.  

  Note:  This option is not available when client setup is performed remotely 
  over NFS.

Do you want to create an installation password for this server? (y/n) [y] 
<Return> 

Starting the Ingres name server for password creation... 

Note that installation passwords must be unique in the first eight characters.

Enter installation password:  password

Retype password:  password

Installation password created.  The name server has been shutdown. 

Ingres Networking has been successfully set up in this installation.  You can 
now use the ingstart command to start your Ingres server. Refer to the Getting 
Started guide for more information about starting and using Ingres.

Press RETURN to continue:  Setting up the Ingres Protocol Bridge...

This procedure will set up the following release of the Ingres Protocol Bridge:

	II 2.5/0011 (sqs.ptx/00)

To run on local host: 

	server87

This installation will be owned by:

	ingres

II_INSTALLATION configured as II. 

Do you want to continue this setup procedure? (y/n) [y] <Return>

Generating default configuration...

II_INSTALLATION configured as II. 

Configuring Bridge server listen addresses...

Starting the Ingres name server ... 

Ingres Protocol Bridge has been successfully set up in this installation.

You can now use the ingstart command to start your Ingres client.

Refer to the Getting Started guide for more information about starting and using
Ingres.

Press RETURN to continue:  Setting up Replicator... <Return>

Creating RepServer Directories...

Replicator setup complete.

Press RETURN to continue:  Setting up Ingres Star Distributed DBMS... <Return>

This procedure will set up the following version of the Ingres Star Distributed 
DBMS:

	II 2.5/0011 (sqs.ptx/00)

To run on local host:

	server87

Generating default configuration...

Ingres Star Distributed DBMS has been successfully set up in this installation.

Press RETURN to continue:  Installing Terminal Monitor utility files... 

All Installed products are now available for use.

[Press RETURN] 



Upgrading a CA-Ingres 6.4 Installation to an Ingres 2.5 Installation

		Setting up Application-By-Forms

The following directory will be used to store Application-By-Forms, Vision, and 
VisionPro applications:

/ingres64/install/II/ingres/abf

This default location can be changed later by redefining the Ingres variable 
ING_ABFDIR, using the command: 

ingsetenv ING_ABFDIR location

This variable can also be defined in the UNIX environment.

Press RETURN to continue:

ING_ABFDIR configured as /ingres64/install/II/ingres/abf

Note:  A version of abflnk.opt already exists, but needs to be upgraded.  A 
copy of the existing file will be saved in abflnk.opt.old and a new version 
will be created.  Any customizations to the original version will need to be 
manually added to the new file.  

Press RETURN to continue: 

Note:  A version of abfdyn.opt already exists, but needs to be upgraded.  A 
copy of the existing file will be saved in abfdyn.opt.old and a new version 
will be created.  Any customizations to the original version will need to be 
manually added to the new file.

Press RETURN to continue: 

Application-By-Forms setup complete.

Press RETURN to continue:  Setting up the Ingres library... 

Setting up the Ingres Intelligent DBMS...

This procedure will set up the following release of the Ingres Intelligent DBMS:

	II 2.5/0011 (sqs.ptx/00)

To run on local host:

	server28

This installation will be owned by:

	ingres

Do you want to continue this setup procedure? (y/n) [y] <Return>

Generating default configuration...

II_INSTALLATION configured as II. 

This program prompts you for the default physical storage locations you want to 
use (if not already configured) for the database, backup, temporary, and 
transaction log files maintained by the Ingres Intelligent DBMS.  Before you 
respond to these prompts, you have the option of reading detailed instructions 
on configuring the default Ingres storage locations.

Do you want instructions on configuring your storage locations? (y/n) [y] 
<Return>


	Ingres Location Variables

The Ingres storage locations and the corresponding Ingres variables are listed 
below:

Ingres Variable 	Description
II_DATABASE 		Default location for database files
II_CHECKPOINT 		Default location for full backup file
II_JOURNAL 		Default location for incremental backup files
II_DUMP 		Default location used to store transactions during 
			online backups
II_WORK 		Default location for temporary files
II_LOG_FILE 		Location for the Ingres transaction log file
II_DUAL_LOG 		Location for the backup Ingres transaction log

Press RETURN to continue:

Important!  You cannot change the values you assign to the default Ingres 
storage location variables once this setup procedure has been completed.  
However you can create additional storage locations and assign individual 
databases to them.  For information on creating additional storage locations, 
refer to the Database Administrator's Guide.

Press RETURN to continue: 

		Default Database Location

The Ingres variable II_DATABASE stores the default location used to store 
Ingres database files.

Once a value has been assigned to II_DATABASE, you can change it only by 
removing and re-installing Ingres.  Refer to the Database Administrator's 
Guide for information on moving the default database file location.

Press RETURN to continue: 

II_DATABASE configured as /ingres64/install/II

		Default Checkpoint, Journal, and Dump Locations

The Ingres variables II_CHECKPOINT, II_JOURNAL, and II_DUMP are used to 
store the default locations used for full and incremental on-line backup 
files.  It is essential that II_CHECKPOINT, II_JOURNAL, and II_DUMP not be 
assigned to the same physical device as II_DATABASE.  If this restriction is 
ignored, you will be unable to recover lost data in the event that the 
II_DATABASE location fails.

Once assigned, you can change the values of II_CHECKPOINT, II_JOURNAL, and 
II_DUMP only by removing and re-installing Ingres.  Refer to the Database 
Administrator's Guide for information on moving the default backup locations.
Refer to the chapter on "Backup and Recovery" in the Database Administrator's 
Guide for instructions on backup and recovery of Ingres databases.

Press RETURN to continue: 

II_CHECKPOINT configured as /ingres64/install/II

II_JOURNAL configured as /ingres64/install/II

II_DUMP configured as /ingres64/install/II


		Default Work Location

The Ingres variable II_WORK stores the default location used for all temporary 
files created during external sorts and other DBMS server operations that 
require large amounts of temporary file space.  Ingres lets you designate a 
separate storage device as the default location for these files.

When choosing the II_WORK location, be aware that temporary files tend to 
increase fragmentation on storage devices, which can lead to decreased 
performance.  For this reason, you should assign II_WORK to a physical device 
that does not contain database, checkpoint, journal, or dump files, if possible.
Your choice of the default work location does not affect your ability to recover
lost data in the event of a storage device failure, although it may affect 
performance.  

Once assigned, you can change the value of II_WORK only by removing and 
re-installing Ingres.  Refer to the Database Administrator's Guide for
instructions on moving the default work location in this manner.

Press RETURN to continue:

Please enter the default location for the Ingres Work Files:

	[/ingres64/install/II] <Return>

Creating /ingres64/install/II/ingres/work...

Creating /ingres64/install/II/ingres/work/default...

		Ingres Transaction Log Locations

The Ingres Intelligent DBMS uses a transaction log file to store uncommitted 
transactions and buffer committed transactions before they are written to the 
database file location(s).

In order to guarantee that no committed transactions can be lost in the event 
of a single storage device failure, a backup of the Ingres transaction log 
must be maintained on a storage device which is independent of the primary 
transaction log file device.

By default, Ingres will maintain a backup of the primary transaction log file 
on a storage location that you select.

You have the option of disabling the backup transaction log file, although you 
should only do so if the location you intend to use for your primary 
transaction log file has built-in fault tolerance (for example, a 
fault-tolerant disk array or "mirrored" disk sub-system).

Press RETURN to continue: 

Do you want to disable the backup transaction log? (y/n) [n]   <Return>

You must verify that the location(s) you intend to select for the Ingres 
transaction log(s) have sufficient disk space.  The default transaction log 
size is:

16777216 bytes 

This setup procedure will create the Ingres transaction log(s) as ordinary 
(operating system buffered) files, rather than unbuffered (raw) device files.  
For information on using the mkrawlog utility to create raw transaction log 
files after this setup procedure has been completed, please refer to the 
Getting Started guide.  

Do you want to change the default transaction log size? (y/n) [n] <Return>

II_LOG_FILE configured as /ingres64/install/II

Please enter a location for the backup Ingres transaction log: 

	[/ingres64/install/II] <Return>

You must now specify the number of CPUs (processors) in this machine so that 
Ingres may be set up for this server.  If you do not know the exact number of 
CPUs, but know that this is a multi-CPU machine, enter a value of 2.

The value you specify will be used to set the Ingres variable 
II_NUM_OF_PROCESSORS and possibly other configuration variables.

Please enter the number of CPUs in this machine [1] <Return>  

II_NUM_OF_PROCESSORS is 1 

You must now specify the time zone this installation is located in.  To 
specify a time zone, you must first select the region of the world this 
installation is located in.  You will then be prompted with a list of the 
time zones in that region.  This setting must be assigned one of the following 
values:

AFRICA
ASIA
AUSTRALIA
MIDDLE-EAST
NORTH-AMERICA
NORTH-ATLANTIC
SOUTH-AMERICA
SOUTH-PACIFIC
SOUTHEAST-ASIA
GMT-OFFSET

Please enter one of the named regions:  north-america

Now enter one of the following North American time zones.

This setting must be assigned one of the following values:

NA-PACIFIC
NA-MOUNTAIN
NA-CENTRAL
NA-EASTERN
CANADA-ATLANTIC
CANADA-NEWFOUNDLAND
CANADA-YUKON
MEXICO-GENERAL
MEXICO-BAJANORTE
MEXICO-BAJASUR
US-ALASKA

If you have selected the wrong region, press RETURN. 

Please enter a valid time zone:  na-eastern 

The time zone you have selected is:

na-eastern (North American Eastern Time Zone)

If this is not the correct time zone, you will be given the opportunity to 
select another region. 

Is this time zone correct? (y/n) [y] <Return>

Ingres supports different character sets.  You must now enter the character set 
you want to use with this Ingres installation.

Important!  You will be unable to change character sets once you make your 
selection.  If you are unsure of which character set to use, exit this program 
and refer to the Getting Started guide.

This setting must be assigned one of the following values:

 Character Set
 Setting
 ARABIC    ALT
 CW        DOSASMO
 ELOT437   GREEK
 HEBREW    HPROMAN8
 IBMPC437  IBMPC850
 IBMPC866  ISO88591
 ISO88592  ISO88595
 ISO88599  PCHEBREW
 SLAV852   THAI
 WARABIC   WHEBREW
 WIN1250   WTHAI

Please enter a valid character set [ISO88591] <Return> 

The character set you have selected is:

ISO88591 (ISO-8859-1)

Is this the character set you want to use? (y/n) [y] <Return>

How many concurrent users do you want to support? [32] <Return>

Updating configuration...

Ingres is configured to support 32 concurrent users.

Erasing existing Ingres transaction log.

Erasing the 16777216 byte transaction log file...

0%          25%         50%         75%         100%
cldio_dodir = 0 = regular i/o...
||||||||||||||||||||||||||||||||

Finishing up...

Formatting the primary transaction log file...

Removing defunct utilities and files...

Before you can access the existing databases in this installation, they must be 
upgraded to support the new release of the Ingres server that you have 
installed.  You have the option of upgrading all the databases contained in 
this installation now.  Alternatively, you can manually upgrade them later 
using the upgradedb utility.

Be aware that the time required to upgrade all local databases will depend on 
their size, number, and complexity; therefore it is not possible to accurately 
predict how long it will take.  Also note that the Ingres system catalogs 
(iidbdb) will be upgraded at this time whether or not you choose to upgrade 
your databases.

Upgrade all databases in this installation now? (y/n) [y]      <n>
Starting the Ingres server to upgrade system catalogs and databases...
Ingres/ingstart

Checking host "server28" for system resources required to run Ingres...

Your system has sufficient resources to run Ingres.

Starting your Ingres installation...

Starting the name server...

Allocating shared memory for logging and locking systems...

Starting the recovery server...II_DBMS_SERVER = 36388

Starting the archiver process...

Starting DBMS server (default)...II_DBMS_SERVER = 36391

Starting Net server (default)...

Upgrading system catalogs and databases...

Checkpointing Ingres system catalogs...

Shutting down the Ingres server...

Upgrade complete

Ingres Intelligent DBMS setup complete.

Refer to the Getting Started guide for information about starting and using 
Ingres.

Press RETURN to continue:  Setting up Ingres C2 Security Auditing...

This procedure will set up Ingres Security Auditing for local host:

	server28

Generating default security auditing configuration...

Ingres C2 Security Auditing is now set up. 

Press RETURN to continue:  

Setting up Ingres Enhanced Security...   <Return>

WARNING: This system is not configured for security label support. 
Ingres/Enhanced Security will be configured without MAC support.

Do you want to continue this setup procedure? (y/n) [y] <Return> 

Ingres Enhanced Security has been successfully set up.

Press RETURN to continue:

Setting up Ingres Networking...

This procedure will set up the following version of Ingres Networking:

	II 2.5/0011 (sqs.ptx/00)

To run on local host:

	server28

The Ingres Intelligent DBMS has been set up on this host; therefore, this 
installation has the capacity to act as an Ingres "server," which means it can 
service queries against local Ingres databases.  An Ingres server can also 
service remote queries if Ingres Networking is installed.

If you do not need access to this Ingres server from other hosts, then you do 
not need to set up Ingres Networking.

Do you want to continue this setup procedure? (y/n) [y] <Return>

Generating default configuration...

II_INSTALLATION configured as II. 

Configuring Net server listen addresses...

Users of other Ingres installations must be authorized to connect to this server
installation.  For a user to be authorized, correct authorization information 
must be set up locally and on remote clients.  You can authorize remote users 
for access to this server using installation passwords (in addition to Ingres 
Networking user passwords supported in past releases).

Installation passwords offer the following advantages over user passwords:

* Remote users do not need login accounts on the server host.
* Installation passwords are independent of host login passwords. 
* Installation passwords are not transmitted over the network in any form,
  thus providing greater security than user passwords.
* User identity is always preserved.

If you need more information about Ingres Networking authorization, please 
refer to the Ingres Net User Guide.

Press RETURN to continue:

You now have the option of creating an installation password for this server.  
If you choose not to setup an installation password on this server, then you 
must use the netutil program (as described in the Ingres Net User Guide) to 
authorize remote users for access to this server.

Be aware that simply creating an installation password on this server does not 
automatically authorize remote users for access.  To authorize a remote user, 
a valid password must be entered into the Ingres Networking authorization 
profile for that user on the client.  You can authorize remote users in either 
of the following ways:

* Use netutil as described in the Ingres Net User Guide.
* Select the installation password authorization option (only valid if 
  your network supports TCP/IP) during the setup procedure for Ingres 
  Networking on the client.

  Note: This option is not available when client setup is performed 
	remotely over NFS.

Do you want to create an installation password for this server? (y/n) [y] 
<Return>

Starting the Ingres name server for password creation... 

Note that installation passwords must be unique in the first eight characters.

Enter installation password:  password

Retype password:  password

Installation password created.  The name server has been shutdown. 

Ingres Networking has been successfully set up in this installation.  You can 
now use the ingstart command to start your Ingres server.  Refer to the Getting 
Started guide for more information about starting and using Ingres.

Press RETURN to continue:  Setting up the Ingres Protocol Bridge...

This procedure will set up the following release of the Ingres Protocol Bridge:

	II 2.5/0011 (sqs.ptx/00)

To run on local host: 

	server28

This installation will be owned by:

	ingres

II_INSTALLATION configured as II. 

Do you want to continue this setup procedure? (y/n) [y] <Return>

Generating default configuration...

II_INSTALLATION configured as II. 

Configuring Bridge server listen addresses...

Starting the Ingres name server ... 

Ingres Protocol Bridge has been successfully set up in this installation. You 
can now use the ingstart command to start your Ingres client.

Refer to the Getting Started guide for more information about starting and 
using Ingres.

Press RETURN to continue:  Setting up Replicator...

Creating RepServer Directories...

Replicator setup complete.

Press RETURN to continue:  Setting up Ingres Star Distributed DBMS... <Return>

This procedure will set up the following version of the Ingres/Star

Distributed DBMS:

	II 2.5/0011 (sqs.ptx/00)

To run on local host:

	server28

Generating default configuration...

Ingres Star Distributed DBMS has been successfully set up in this installation.

Press RETURN to continue:  Installing Terminal Monitor utility files... <Return>

All Installed products are now available for use. 



	Semaphores and Shared Memory

Ingres requires semaphores and shared memory to be loaded.  You can do so by 
adding set commands to the /usr/conf/uts/sem/config and 
/usr/conf/uts/shm/config /system files.  The following is an example of the 
statements that should be in those files:

/usr/conf/uts/sem/config should contain these minimum parameter values for 
system semaphores:

semaem {16384; 16384..}
semmap {   10;    10..}
semmni {  300;   300..}
semmns {  300;   300..}
semmnu {   30;    30..}
semmsl {   50;    50..}
semopm {   10;    10..}
semume {   10;     1..}
semvmx {32767; 32767..}

/usr/conf/uts/shm/config should contain these minimum parameter values for 
system shared memory:

shmmax { 10000000; 4096..}
shmmin {        1;    1..}
shmmni {      100;  100..}
shmseg {       10;    1..10}
 
Notes:  

*	Details about how to change your system kernel are beyond the scope of 
	this document.  Consult your system administrator or refer to your 
	Sequent documentation for the config command.
*	The minimum value required for semmns is 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 that semmns be set to at least 190, and may 
	require a higher value to accommodate other software.  We recommend 
	that this value be configured generously.
*	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.


		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 DYNIX/ptx, this value is 1024.

	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 
time.  This value is also 1024 because Ingres uses SETRLIMIT() to extend the 
default value of 64.
 


		Environment Configuration

This release of Ingres supports the use of shared libraries.  The 
LD_LIBRARY_PATH environment variable must be set in order to add the Ingres 
shared libraries to your shared library.  Also, you may need the system 
libraries, /lib and /usr/lib to be mentioned in this variable. 
Set this variable as follows:

For the C shell:

% setenv LD_LIBRARY_PATH "/lib:/usr/lib:$II_SYSTEM/ingres/lib:$LD_LIBRARY_PATH"

For the Bourne shell:

$ LD_LIBRARY_PATH= /lib:/usr/lib:$II_SYSTEM/ingres/lib:$LD_LIBRARY_PATH
$ export LD_LIBRARY_PATH

Notice that the above examples prepend libraries to the existing definition of
LD_LIBRARY_PATH.  Ensure that the final definition of the variable does not 
contain multiple mention of any library.

	Application Migration and Development Notes

	Preprocessor and Compiler Support

The following compilers are supported for this release:
*	C Compiler  and Language tools V1.12.2p
*	FORTRAN V2.1p 
*	COBOL MicroFocus COBOL
*	OpenIngres/ABF and C

A default C compiler (/bin/cc) is included with the DYNIX/ptx operating system. 
If the command "which cc" does not return the value /bin/cc, you must ensure 
that your search path is allowing you to access the correct compiler location.

Ingres/ABF and FORTRAN

The Sequent ATS FORTRAN compiler must be run with the "-132" command flag 
when compiling FORTRAN generated code.  This is required to avoid possible 
truncation of very long string literals which could result in data corruption 
or runtime errors.  The problem occurs when continuation lines are generated by 
the preprocessor for a very long string literal.  The Sequent ATS FORTRAN 
compiler will not accept full 71 columns of characters after the "&" 
continuation indicator unless the "-c132" flag is used.  Without the flag, 
the ATS FORTRAN compiler truncates the input line by four characters.

Also, you cannot directly reference all the way down to the "sqlnamec" 
component with a substring operation.  You need to retrieve the component 
into a temporary before applying the substring operation.  For example, 
instead of: 
	names(nl:nl+nlc)=sqlda.sqlvar(i).sqlname.sqlname(1:nlc)
Use:
	character*34 sqlname_temp
	sqlname_temp = sqlda.sqlvar(i).sqlname.sqlnamec
	names(nl:nl+nlc)=sqlname_temp(1:nlc)

You must also add the following lines to abflnk.opt and abfdyn.opt:

-L$II_SYSTEM/ingres/lib -linterp.1 -lframe.1
-lq.1 -lcompat.1 -lcurses lgen
-L/your_sequent_fortran_lib -lF77 -lm

where your_sequent_fortran_lib is the full path name of the directory that 
contains your Sequent ATS FORTRAN libraries.  The abflnk.opt and abfdyn.opt 
files are located in the $II_SYSTEM/ingres/files directory. 

If you develop some applications which use FORTRAN procedures and some which do 
not, you can eliminate the FORTRAN libraries from the *.opt files and create a 
new option file with just the FORTRAN libraries.  Then define the environment 
variable ING_ABFOPT1 to point to the new option file.  If you are already 
using this environment variable to point to an option file which includes your 
own user libraries, you can add the FORTRAN libraries to your existing file.   
The benefit of this method is that you will not link in the FORTRAN libraries 
if you are not using FORTRAN procedures.

Note also, for applications linked with the shared FORTRAN system library 
(default), you must include the location of that library in the search path 
defined by the LD_LIBRARY_PATH environment variable.

Floating Point Limitations

Users must consider the effects of data type conversions when numeric values 
are combined or compared.  This is especially true when dealing with floating 
point values.  

Exact matches on floating point numbers are discouraged, since float and 
float4 data types are approximate numeric values. Integer and decimal data 
types, on the other hand, are exact numeric values.

In some cases, the behavior of queries involving floating point manipulations 
will differ from that of CA-Ingres 6.4.

The following example returns 0 rows and illustrates several issues to consider:

create table flt_test (a1 f4) \g
insert into flt_test values (55.550) \g
select * from flt_test where a1 = 55.55 \g

The data type conversions performed on the decimal literal 55.55 and the 
float4 value in the table produce internal values that do not match exactly.
When trying to do an exact match on floating point numbers, include a 
"fuzz factor", such as:

...where a1 between (55.55 - 0.00001) and (55.55 + 0.00001)

Or write the query so it eliminates the need to perform the data conversions:

select * from flt_test where a1 = float4(55.55) \g

Data type conversions are covered in detail in the "SQL Data Types" chapter of 
the SQL Reference Guide.

Interoperability

This release supports the following communication packages:

	Network Protocol 	Version 		I/NET Protocol ID 

	Sequent TCP/IP 		All versions 		TCP_IP
	Sequent SNA LU62 	Sequent Link SNA	SNA_LU62
				Peer-to-Peer 8.x 
