Appendix - PLATFORM-DEPENDENT INFORMATION 

		    Supplemental Information for Sun Solaris
			   II 2.5/0011 (su4.us5/00)DBL


Introduction

This Appendix contains information about Ingres 2.5 that is specific 
to Sun Solaris.  

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 Sun SPARC machines running the Solaris
operating system version 2.6, 7, and 8 in a 32-bit or 64-bit kernel.

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 version of Ingres 2.5 supports operating system threads.


	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, do one of the
following (Note that if you have automount enabled on your system for the 
CD-ROM drive, then neither of these will be necessary, and an attempt to 
execute the mount command will produce an error indicating that the device 
is busy)

EITHER:

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.

OR:

1.	Log in as root and execute the following command

	$ /usr/sbin/mount -F hsfs -o ro /dev/dsk/c0t6d0s2 /cdrom

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 Solaris machines is as follows:
	% remsh <remotehost> "dd if=<distribname> bs=20b | compress" | \
        % uncompress | dd \ bs=20b | tar xvf - install


	Disk Space Requirements

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

System Configuration		Space Required
DBMS server with Ingres Net	110 MB
DBMS server with Ingres tools	140 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 make a backup copy of 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 checkpoint the iidbdb database you must stop the rmcmd 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.5 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 any 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 databases will 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 
not be created, after the upgrade has 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 (this includes iidbdb and imadb):

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 (su4.us5/00)DBL

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
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:

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%
||||||||||||||||||||||||||||||||||||||||||||||||||||

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 (su4.us5/00)DBL

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 (su4.us5/00)DBL

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 (su4.us5/00)DBL

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 (su4.us5/00)DBL

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
instruction 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:

      ARABIC         ALT
          CW     DOSASMO
     ELOT437       GREEK
      HEBREW    HPROMAN8
    IBMPC437    IBMPC850
    IBMPC866    ISO88591
    ISO88592    ISO88595
    ISO88599    CHINESES
       CHTHP     CHTBIG5
      CHTEUC    KANJIEUC
      KOREAN    SHIFTJIS
    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%
||||||||||||||||||||||||||||||||||||||||||||||||||||

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 (su4.us5/00)DBL

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 (su4.us5/00)DBL

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 (su4.us5/00)DBL

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 /etc/system file.  The following is an 
example of the statements you should add:

forceload: sys/semsys
forceload: sys/shmsys
set semsys:seminfo_semmap=1
set semsys:seminfo_semmni=100
set semsys:seminfo_semmns=1000
set semsys:seminfo_semmnu=30
set semsys:seminfo_semmsl=50
set semsys:seminfo_semopm=10
set semsys:seminfo_semume=10
set semsys:seminfo_semusz=96
set semsys:seminfo_semvmx=32767
set semsys:seminfo_semaem=16384
set shmsys:shminfo_shmmax=100000000 
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmmni=100
set shmsys:shminfo_shmseg=10

Important!  The shminfo_shmmax value has increased from previously versions.
Notes:  

* You must reboot for these statements to be executed.

* The minimum value required for seminfo_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 seminfo_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 shminfo_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 shminfo_shmmax 
set to 5000000 or less.  Conversely, a very large shared DMF cache may 
require that shminfo_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 shminfo_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 Solaris, 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 point in 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.  Set this variable as follows:

For C shell:

$ setenv LD_LIBRARY_PATH "/lib:/usr/ccs/lib:/usr/ucblib: \
			$II_SYSTEM/ingres/lib:$LD_LIBRARY_PATH"

For Bourne shell:

$ LD_LIBRARY_PATH= /lib:/usr/ccs/lib:/usr/ucblib:$II_SYSTEM/ingres/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:
* Sun Workshop Compilers C/C++ 4.2, 5.0
* Sun Workshop Compilers FORTRAN 4.2 
* COBOL Micro Focus COBOL
* Sun Workshop Compilers ADA 2.0

A default C compiler (/usr/ucb/cc) is included with the Solaris operating 
system.  This compiler cannot be used to create executable images in ABF.  
The optional SPARC C compiler must be used for ABF.  If installed, these 
compilers are located in /opt/SUNWspro/bin respectively.

If the command "which cc" returns the value "/usr/ucb/cc", you must change 
your search path to include the correct compiler location before /usr/ucb.

	Ingres/ABF and FORTRAN

The F77 FORTRAN libraries required for the F77 compiler have changed 
locations and some libraries have been deleted for the newer versions of 
the compiler.  Users who have F77 should determine which version of the 
compiler they are using and verify the location of the required libraries.  
If you are using FORTRAN procedures within your Ingres/ABF applications, 
you must link in the required FORTRAN libraries. The following is a list of 
the required libraries for the various F77 versions and additional lines 
which you should add to your abflnk.opt and abfdyn.opt files.
The libraries are located in:  /opt/SUNWspro/lib.  The abflnk.opt and 
abfdyn.opt files are located in the $II_SYSTEM/ingres/files directory.
Add these lines to abflnk.opt and abfdyn.opt:

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

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.
For applications linked with the shared FORTRAN system library (default), 
you must include the location of that library in the search path that is 
defined by the environment variable LD_LIBRARY_PATH.

	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.

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

	SUN TCP/IP		All versions		TCP_IP
	SUN SNA LU62 		SunLink SNA		SNA_LU62
				Peer-to-Peer 8.x

