Ingres Corporation

Ingres® 2006 9.0.4 for Linux on x86_64 Using Native POSIX Threading Library (NPTL) (a64.lnx)


1.0 Welcome

2.0 Operating System Support

3.0 System Requirements
3.1 Disk Space Requirements

4.0 Installation Considerations
4.1 RPM Support
4.2 How to Upgrade Using RPM
4.3 Post Installation
4.4 Documentation
4.5 Mounting the CD-ROM
4.6 Installing on a System Without a C Compiler
4.7 Visual Tools
4.8 Web Server Support
4.9 Protocols Supported
4.10 Raw Transaction Log Files and Raw Database Locations Not Supported on 64-bit Linux

5.0 Documentation Changes
5.1 Configure High Availability of the Ingres Database for the RedHat Cluster Suite
5.2 Setting Up an Ingres Service


1.0 Welcome

This readme contains information specific to Ingres running under 64-bit x86_64 Linux with NPTL support.


2.0 Operating System Support

The following operating systems are supported (as of the publishing of this document):

Ingres supports these operating systems for the duration of their life cycle (as determined by the operating system's manufacturer or until Ingres Corporation announces that it is dropping support). For the latest information about supported operating systems, visit http://www.ingres.com/support.


3.0 System Requirements

These are the requirements for installing Ingres that are specific to 64-bit x86_64 Linux. For more generic system requirements see the Getting Started guide.


3.1 Disk Space Requirements

Disk space requirements are as follows:

System Configuration Space Required
Client Only (Ingres Net) Install 56 MB
DBMS Server with Ingres Net Install 118 MB
Full installation plus documentation 401 MB


4.0 Installation Considerations


4.1 RPM Support

RPM 4.1.1 or later


4.2 How to Upgrade Using RPM

Due to problems observed during upgrade of Ingres RPMs, please consult the instructions in the Ingres for Linux Getting Started guide before upgrading.


4.3 Post Installation

The only supported method for backing out patches installed against Ingres 2006 is to reinstall the RPM from the base release. Therefore, make sure you keep the RPM used for your most recent install so that a patch can be backed out, if necessary.


4.4 Documentation

Ingres documentation can be installed on Linux systems by installing the documentation RPM file that can be downloaded separately.


4.5 Mounting the CD-ROM

Most Linux distributions automatically mount the CD-ROM as soon as it is placed in the drive. If the CD-ROM is mounted, running the command "mount" returns an entry for /dev/cdrom.

If the CD-ROM is not mounted then it can be done manually. In general, the CD-ROM should be mounted to either /mnt/cdrom or /media/cdrom, depending on the distribution. The following example shows how to mount the CD-ROM on a RedHat Linux system.

As root execute this command:

mount /dev/cdrom /mnt/cdrom


4.6 Installing on a System Without a C Compiler

This version of Ingres requires that the DBMS server executables be re-linked for utilities such as CKPDB and ROLLFORWARDDB to function for users other than the instance owner. If a C compiler is present, the server is re-linked at install time. If not, a warning is issued and the install continues as usual. If users other than the instance owner require the use of these utilities, the DBMS server must be re-linked by hand with the following command:

iilink –noudts

A C compiler must be installed for this command to complete successfully.


4.7 Visual Tools

The Visual DBA suite is not included as part of the Ingres 2006 Open Source for x86_64 Linux. However, these tools can be deployed on a Windows PC against x86_64 Linux.

Note: Versions of VDBA prior to Ingres 2006 require a patch to work against this release of Ingres.


4.8 Web Server Support

Ingres for 64-bit Linux supports the following web server:

Apache HTTP server 1.3

The Apache distribution supplied with most Linux distributions is compiled with the -DEAPI switch. In testing, this has been shown to cause problems with using the Ingres Web Deployment Option Apache module. To prevent this, we recommend recompiling Apache with the following configure switches.

./configure -prefix=<Apache root> --enable-module=most --enable-module=so


4.9 Protocols Supported

TCP/IP Native


4.10 Raw Transaction Log Files and Raw Database Locations Not Supported on 64-bit Linux

Research has shown that raw transaction log files and raw database locations on 64-bit Linux do not provide performance benefits. To simplify administration, this feature is not supported on Ingres 2006 for 64-bit Linux.


5.0 Documentation Changes


5.1 Configure High Availability of the Ingres Database for the RedHat Cluster Suite

This section describes how to configure high availability of the Ingres database for the RedHat Cluster Suite. It assumes you have read Configuring and Managing a Cluster of the RedHat Cluster Suite documentation and the Ingres for Linux Getting Started guide.


5.2 Setting Up an Ingres Service

A database service can serve highly-available data to an Ingres database application. The application can then provide network access to database client systems. If the service fails over, the application accesses the shared database data through the new cluster system. A network-accessible database service is usually assigned an IP address, which is failed over along with the service to maintain transparent access for clients.

This section provides an example of setting up a cluster service for an Ingres database. Although the variables used in the service scripts depend on the specific Ingres configuration, the example may aid in setting up a service for individual environments.

In the example that follows:

To set up an Ingres service, follow these steps:

  1. Export the cluster name before installing, and then install the ingres software. For example:
    export II_HOSTNAME=ingrescluster
    <Install according to the Ingres for Linux Getting Started guide>
    <copy /etc/init.d/ingres<INSTANCE> to other node>
    <copy /home/ingres/.ing<INSTANCE>bash to other node>
    

  2. The Ingres service example uses a wrapper script, ha_ingres, which is used to start, stop and query the Ingres service. This script calls the ingres init scripts installed above. The ha_ingres script must be placed in /etc/init.d, owned by root and executable (chmod +x). Specify this script when you add the service.

    Following is an example of the ha_ingres script:

    #!/bin/sh
    #
    # Cluster service script to start, stop, anad check status of Ingres
    #
    export II_HOSTNAME=ingrescluster
    export II_INSTANCE=II
    case $1 in
        status)
            . /home/ingres/.ing${II_INSTANCE}bash
            echo "\q"|sql iidbdb &> /dev/null
            rc=$?
            test $rc -eq 0 && echo "Running" || echo "Not Running"
            ;;
        *)
            /etc/init.d/ingres${II_INSTANCE} $@
            rc=$?
            ;;
    esac
    exit $rc
    


Ingres and the Cluster Configuration Tool

To add an Ingres service using the Cluster Configuration Tool, follow these steps:

  1. Choose Main Menu, System Settings, Server Settings, Cluster, or type redhat-config-cluster at a shell prompt.

    The Cluster Status Tool appears by default.

  2. Choose Cluster, Configure from the Cluster Status Tool menus.

    The Cluster Configuration Tool is started.

  3. Click the Services tab to add the Ingres service:

    1. Click New.

      The Service dialog appears.

    2. Enter a Service Name for the Ingres service (that is, ha_ingres).

    3. Select a Failover Domain or leave it as None (see RedHat Cluster documentation).

    4. Type an interval (in seconds) to check the health of the Ingres service through the status function of the init script.

    5. Enter a User Script, such as /etc/init.d/ha_ingres, and then click OK.

  4. (Optional) Add an IP address for the Ingres service (only if you want to host a virtual IP address on the cluster):

    1. Select the Ingres service and click Add Child.

    2. Select Add Service IP Address and click OK.

      The Service IP Address dialog appears.

    3. Enter an IP Address.

    4. Enter a Netmask, or leave it as None.

    5. Enter a Broadcast Address, or leave it as None, and then click OK.

  5. Add a device for the Ingres service and administrative files:

    1. Select the Ingres service and click Add Child.

    2. Select Add Device and click OK.

      The Device dialog appears.

    3. Enter the Device Special File (for example, /dev/sdb5).

    4. In the Mount Point field, enter /gfs-a.

    5. Select the file system type in FS Type or leave it blank.

    6. Enter any mount point Options, including rw (read-write), and then click OK.

  6. Add a device for the Ingres database files:

    1. Select the Ingres service and click Add Child.

    2. Select Add Device and click OK.

      The Device dialog appears.

    3. Enter the Device Special File (for example, /dev/sdb6).

    4. In the Mount Point field, enter /gfs-b.

    5. Select the file system type in FS Type or leave it blank.

    6. Enter any mount point Options, including rw (read-write).

    7. Check or uncheck Force Unmount, and then click OK.

  7. Choose File, Save.

    The Ingres service is saved.


© 2006 Ingres Corporation. All rights reserved.