Appendix - PLATFORM-DEPENDENT INFORMATION 

	    Supplemental Information for Sun Solaris Intel
                   II 2.5/0011 (sui.us5/00) 



Introduction

This Appendix contains information about Ingres 2.5 that is specific 
to Sun Solaris on Intel-based systems.  

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 II is supported on Sun X86 Intel-based systems running
the Solaris operating system version 5.6, 5.7 and Solaris 8. 

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 release has been built at the same fix level as the Ingres II 2.0/0001 
COMP patch 6970.  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 II 2.5 supports operating system threads.

Kerberos
This version of Ingres II 2.5 supports kerberos version 5.1 

	Installation Notes

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




Compiler Requirements for Installation

The following C/C++ compilers are supported for this release:

Sun Workshop Compiler C/C++ 4.2 and 5.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 Workshop 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.

Unload Command

 Local Command

  The unload command for Sun Solaris machines is as follows, when executed 
  locally:
		% tar xvf <distribname> install

     Unloading from CD-ROM Media

  When unloading from CD-ROM media, use the procedure that follows.
  The CD-ROM disk contains one file:  ingres.tar.  This file is the Ingres 
  tar file needed for your installation.  Your system may also show a symbolic 
  link to the directory, called cdrom0, which you can use in place of the long 
  directory.

  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. Login as ingres and change to the previously created ingres system 
           directory:
	   For C shell:
		$ setenv II_SYSTEM <directory_name>
		$ cd $II_SYSTEM/ingres
	   For Bourne shell:
		$ II_SYSTEM=<directory_name>
		$ export II_SYSTEM
		$ cd $II_SYSTEM/ingres
	4. Set umask to 0 and load the install program from the CD-ROM disk:
		$ umask 0
		$ tar xvf /cdrom/ingres.tar install
	5.	Continue as with any other installation.

 Installing From a Remote Host

  Installing the distribution directly from a tape device on a remote host is 
  not possible in this release.



Disk Space Requirements

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

	System Configuration                Space Required
	--------------------                --------------
	DBMS server with Ingres Net          100 MB
	DBMS server with Ingres tools        130 MB







--------------------------------------------------------------------------------
Upgrade Notes
--------------------------------------------------------------------------------


  This section gives detailed, step-by-step procedures for upgrading an existing
  Ingres or OpenIngres installation to an Ingres II 2.5 installation.  
  It also provides an example of an upgrade from an existing Ingres 6.4 
  installation as well as from an existing OpenIngres or Ingres II installation.
  This should be used in conjunction with the Getting Started Guide and 
  Appendix  D of the System Reference Guide.

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

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

	1. To perform a checkpoint, enter the following:
	   For CA-Ingres 6.4 users:
		ckpdb -j iidbdb -u'$ingres'
        For Ingres 2.x 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:
	3. You should now shut down your existing installation.
	   For CA-Ingres 6.4 users:
		iishutdown
	   For Ingres 2.x users:
		ingstop
	4. Make sure that you have done a complete backup of your existing 
	   installation.  You should then remove all files from both the 
	   $II_SYSTEM/ingres/bin and $II_SYSTEM/ingres/utility directories.

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

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

  When running the DBMS server Setup program, you can upgrade all CA-Ingres and 
  CA-OpenIngres databases for use with Ingres II 2.5.  This also upgrades your 
  tools system catalogs so that your installation can use the Ingres II 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).  Refer to your System 
  Reference Guide for details.

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

  Upgrading Star
  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.


	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.  

Upgrading a CA-OpenIngres Installation to an Ingres II 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 (sui.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, the values of II_CHECKPOINT, II_JOURNAL, and II_DUMP can only 
   be changed 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 which 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, the value of II_WORK can only be changed 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 which 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 which
   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 II Networking:

    II 2.5 /0011 (sui.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 (sui.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 (sui.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 II 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 II
  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 (sui.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, the values of II_CHECKPOINT, II_JOURNAL, and II_DUMP can only 
  be changed 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 which 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, the value of II_WORK can only be changed 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 which 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 touse? (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 which 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 (sui.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 (sui.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 (sui.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 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=70000000
  set shmsys:shminfo_shmmin=1
  set shmsys:shminfo_shmmni=100
  set shmsys:shminfo_shmseg=10

  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 70000000 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 Sun Solaris, this value is 1024.

 System Soft Limit

  This is the maximum number of open file descriptors which 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 and 5.0
    - Sun Workshop Compilers FORTRAN 4.2 
    - MicroFocus COBOL

  A default C compiler (/usr/ucb/cc) is included with the Sun Solaris operating
  system.   This compiler cannot be used to create executable images in ABF.  
  The optional Sun  Solaris 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.

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


	Complex Queries

  In rare cases, unusually long or complex queries may cause various problems,
  such as a SEGV in the DBMS server, due to a stack overflow.  If this happens,
  increase the DBMS server stack size.

  To change the DBMS server stack size in CBF, highlight "DBMS Server" and 
  select  Configure.  Scroll down to "stack_size" and select Edit.


	Backup and Recovery

Ckpdb/Rollforwarddb of Tables

  When performing rollforwarddb at the table-level, you can choose to 
  rollforward the table "with no secondary indexes," meaning excluding all 
  secondary indexes, or "with  secondary indexes," meaning including all 
  secondary indexes. You cannot specify a  secondary index name as a table.

  If necessary to do a rollforwarddb with -table nosecondary_index, the base
  tables  secondary index in the RDF cache will now be inconsistent.  To clear
  the inconsistency,  do one of the following:

  - Drop/recreate the inconsistent secondary index.

  - Restart Ingres to refresh the RDF cache.

  Call Computer Associates Technical Support if additional assistance is
  required.

  Table-level checkpoints should only be used as a supplement to database-level 
  checkpoints, and never as a substitute for them.  Table-level checkpoints are
  restricted in their recoverability when the checkpointed table has been
  dropped or the table has been  modified (any DDL statement).  In these cases,
  the table-level checkpoint is rendered unusable.  There is also danger in
  compromising the referential integrity of the database when rolling forward a
  table without journaling.

  Performing table-level checkpoints on system catalogs is not permitted. 
  Frequent database checkpointing of the iidbdb database is strongly
  encouraged. Sysmod should be run prior to a system catalog checkpoint. 

  Whenever the database is rolled forward, we recommend that a new checkpoint be
  taken  to allow subsequent table-level rollforward activities. 

  In the Checkpointing a Database section of Chapter 16 in the Database
  Administrator's Guide, it states:  "Running a checkpoint does not affect the
  state of journaling."  This refers to the use of the ckpdb command without any
  flags.

  Use caution when you use the -d flag with the ckpdb command since deleting all
  prior  checkpoints eliminates the option of recovering from a prior checkpoint
  should there be a media failure with the current checkpoint.  You can manually
  delete the oldest checkpoint  using the alterdb command.



Cktmpl.def

  As with any changes to backup and recovery procedures, we strongly recommend
  that  you fully test any changes to the cktmpl.def file before running it in a
  production  environment.

  Use caution in the area of table-level checkpoints and recovery.  
  Full database checkpoints are recommended over table-level checkpoints as a 
  general rule. When using table-level checkpoints and restores, it is 
  important to, at the very least, backup all dependent tables in a single 
  ckpdb command.

  A record of up to 16 checkpoints can be maintained at any point.  We recommend
  that at  least one database-level checkpoint be included in this record.

  The use of infodb to verify the status of the database and checkpoints is
  encouraged.   This helps ensure that a valid database checkpoint is always
  available.  The cktmpl.def  file provides the ability to customize backup and
  recovery processes as well as lending  itself to allow for additional tracking
  of information.  It is possible to modify the backup  process so that the 
  names of the tables that are specified during a table-level backup are
  written to a text file.

  The II_CKTMPL_FILE environment variable provides the capability of overriding
  the  default cktmpl.def file for a particular user.  This should be used when
  testing  modifications to the cktmpl.def file before it is made available to
  the entire installation,  so that other users in the installation will not be
  affected.



Checkpoint Template Codes and Parameters

  Checkpoint template codes and parameters are documented in detail in the
  Altering the  Checkpoint Template File section of Chapter 16 in the Database
  Administrator's Guide. 

 Fourth Character Options

  In addition to the checkpoint template codes and parameters listed in the
  sources noted above, another fourth character option of "E" is available which
  indicates database or table.  Therefore, the options available for the fourth
  character are:
    D = database-level
    A = all databases
    T = table-level (within a single database)
    E = database or table

 Valid Code Combinations

  The valid code combinations are shown below:

    B [S,R,E,J,U] [T,D,E] [T,D,E]
    W [S,R,E,J,U,D,C] [T,D,E] [T,D,E]
    I [,R,E] [T,D,E] [T,E]
    F [,R,E] [T,D,E] [T,E]

  Note:  In some cases A, is also valid as the fourth character.

  For every entry with B in character 1, there must be an accompanying entry
  beginning with E.

 Execution of Code Sequence

  A ckpdb command executes the following in the cktmpl.def file:

    BSxy	beginning checkpoint
    WSxy	executed once for each location
    ESxy	ending checkpoint

  Where x denotes D for disk, T for tape, or E for both and y denotes D for
  database, T for  table, or E for both.

  The rollforwarddb command processes the following codes in the cktmpl.file:

    WCxA	for each location

  If table processing was specified:

    BRxT	once per location
    IRxT	once per location
    WDxT	for each table
    WRxT	for each table
    FRxT	once per location
    EExE	once (note that ERxT would be executed if available)

  If database backup:

    BRxD	once for each location
    WDxD	once for each location
    WRxD	once for each location
    EExE	once (note that ERxD would be executed if available)

  For all rollforwarddb commands:

    BUxA	if dumps are to be applied
    WUxA
    EExE
  
    BJxA	if journals are to be applied
    WJxA
    EExE

 Substitution Parameters

  There are two additional substitution parameters for these checkpoint 
  template files:

    %X represents the table name.
    %B is expanded during execution to represent the list of internal files that
       are  associated with a table checkpoint.

  This data is pertinent for the work commands executed under table processing.

 Known Limitations

  All parameters should be accessible to all operations.  When the contents are
  not  applicable to the operation, parameters should contain the value
  "Undefined."

  Some parameters have incorrect contents or are not defined.  In almost all
  instances,  however, these are not parameters that would be useful in the
  particular operation.  For  example:

   - Parameters %F and %A can have invalid data when B is the first character in
     the  code.

   - Parameters %A, %X, and %B can contain no data when "B, R" begins
     the code.

   - Parameters %B and %X can contain the first table of the last location
     accessed, instead of the value "Undefined," when E or F is the first
     character of the code.

   - Parameter %N can contain 0 or the number of locations, instead of the 
     location  number, when the first character of the code is W or I.

 Execution of Codes

  Only one code is executed when the E (both) option is used.  For example, if
  you had:
    BSDD
    BSED
    BSTD

  (The file is searched sequentially for codes.)  If you issued ckpdb my_db to
  disk, code  BSDD is executed.  If you backed up to tape, BSED is executed. 
  BSTD is never  executed with the above setup. 

  If a command is missing in the checkpoint template file, you will get the 
  message:
  E_DM1363_RFP_TMPL_CMD_MISSING Cannot find command in checkpoint template file.


Converting Cktmpl.def Files to the New Release

  The CA-Ingres release 6.4 cktmpl.def will not work with the 2.5/0011 release
  of Ingres.
  
  Any attempt to execute under the old file results in immediate failure of
  the checkpoint and the following error message:

  E_DM1121_CPP_BEGIN_ERROR Error starting checkpoint sequence.

  Converting the prior file to provide the same functionality under the new
  release is  relatively simple.  However, careful consideration must be taken
  as to how these  modified procedures will affect table-level backup and 
  recovery introduced with  Ingres.  For example, if cktmpl.def has been 
  modified so that backup files reside in  a location other than the standard 
  ii_checkpoint location, this will impact the  functionality of table-level 
  recovery.

  To convert the prior codes to the new codes, move the commands processed in 
  the prior cktmpl.def codes to the new files code by adding a D to the existing
  three letter code.

  For example, if the 6.4 cktmpl.def file contains the following entry:

		WSD: /export/home/ingres/bin/backup_split_ckp %D %A %N

  Move these commands to the new file under the code:
		WSDD: /export/home/ingres/bin/backup_split_ckp %D %A %N

  However, this will not eliminate problems that can occur when using 
  table-level recovery.  If the table-related codes are not modified to 
  accommodate the changes made  in the backup and recovery process for 
  database processing, the desired data will not be  present in the tables; 
  this will be true despite the possibility that the rollforward operation  
  using the -table option might be "successful" when issued against a full 
  database backup.

Interoperability

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