
Appendix - PLATFORM-DEPENDENT INFORMATION

            Supplemental Information for Intel DG/UX  
                     II 2.5/0011 (dgi.us5/00)


Introduction
============
This Appendix contains information about Ingres 2.5 that is specific
to Intel DG/UX.

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

Read This Before You Install
============================
This section provides information that you must read before installing
Ingres 2.5.

       Certified Operating Environment

This release of Ingres is supported on Data General Intel series 
machines running the DG/UX Intel 4.20, MU04, MU05, MU06 Operating Systems.

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

       Support Qualifications

Operating System Threads
This version of Ingres 2.5 supports POSIX compliant operating system threads.

Cluster Node Failover
This version of Ingres II can support the DG/UX Cluster Manager floating IP
and nodename feature. As such, the Ingres II installation(s) can be attached
to the floating IP service and failover with that service across nodes of the
cluster. Ingres II must be installed with the environment variable II_HOSTNAME
set to the name of the floating IP nodename in order to exploit this feature.
After the installation is complete, Ingres II can be setup as a child service
of the floating IP service using the admrlservice command. See the DG/UX
Cluster Manager documentation for the details of how to use this command.
Also, please contact DG/UX Cluster Support for assistance in setting up
Ingres II as a service. They can provide sample startup and failover scripts
for the Ingres II product as well as products to handle file system cleanup
and mounting when failover occurs.


       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/fstab 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/fstab:
        /dev/pdsk/1 /cdrom cdrom ro

2.	Place the CD-ROM media in the CD-ROM drive and execute the following 
        command:
        $ /sbin/mount /cdrom

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

        Disk Space Requirements

These are the disk space requirements for DG/UX Intel with the following 
system configurations:

System Configuration                         Space Required
DBMS server with all components              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 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 II 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 databases, including 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 (dgi.us5/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
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 (dgi.us5/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 (dgi.us5/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 (dgi.us5/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 (dgi.us5/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
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:

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

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 (dgi.us5/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 (dgi.us5/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 (dgi.us5/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, Shared Memory and other kernel settings

Ingres may require you to increase the number of semaphores and the amount of 
shared memory you currently have configured in the DG/UX kernel. To adjust 
these values, use the sysadm tool provided with DG/UX. From the sysadm 
menu, use option 3, System, them option 5, Kernel, the option 1, Config and 
Build. Take the defaults for all prompts unless otherwise instructed by local 
site procedures. The following entries should be placed in the 
system.params.nodename file:  

Variable Name		Suggested Value

SEMMNI				100
SEMMSL				50
SEMOPM				10
SEMUME				10
SEMVMX				32767
SEMAEM				16384
SHMMAX				100000000
SHMMIN				1
SHMMNI				100
SHMSEG				10
MAXGLOBALSQS 		        6553600
SDESLIM                         1024

Important!  The values have increased from previously versions.

Notes:  

* You must rebuild the kernel and reboot for these changes to take effect.

* 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 minimum value required for MAXGLOBALSQS is 65536. Ingres II 
requires approximately 19000 global queue resources when only one cache 
page size is enabled and 28000 global queue resources when all cache page 
sizes are enabled.  On systems running more than one Ingres II installation 
you will need to increase MAXGLOBOLSQS accordingly.

       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 DG/UX Intel, this value is set by the 
HDESLIM kernel parameter, the default number 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 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/lib:$II_SYSTEM/ingres/lib:$LD_LIBRARY_PATH"

For Bourne shell:

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

$ export LD_LIBRARY_PATH


        Configuring Ingres/ICE Environment
        Installing Apache Server

Before building/installing your Apache server, the LIBS environment variable
must include the extra library that is needed by the ICE/Apache DSO module.
Once the variable is set, then you can follow the directions to configure
the Apache build environment and make the product.
Set this variable as follows:

For C shell:

$ setenv LIBS "-lthread -lrte"

For Bourne shell:

$ LIBS="-lthread -lrte"

$ export LIBS



       Application Migration and Development Notes

       Preprocessor and Compiler Support

The following compilers are supported for this release:
*  DG/UX C compiler 5.4 

Ingres uses functions from the pthread library ( libthread.so in  
/usr/lib directory ). Any application using Ingres functions must 
provide an appropriate runtime environment.   


       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 all versions of the TCP/IP network protocol
communication package using TCP_IP as the I/NET protocol ID.
