Ingres® for Linux
Getting Started r3
P00274-2E
This documentation and related computer software program (hereinafter referred to as the "Documentation") is for the end user's informational purposes only and is subject to change or withdrawal by Computer Associates International, Inc. ("CA") at any time. This documentation may not be copied, transferred, reproduced, disclosed or duplicated, in whole or in part, without the prior written consent of CA. This documentation is proprietary information of CA and protected by the copyright laws of the United States and international treaties. Notwithstanding the foregoing, licensed users may print a reasonable number of copies of this documentation for their own internal use, provided that all CA copyright notices and legends are affixed to each reproduced copy. Only authorized employees, consultants, or agents of the user who are bound by the confidentiality provisions of the license for the software are permitted to have access to such copies. This right to print copies is limited to the period during which the license for the product remains in full force and effect. Should the license terminate for any reason, it shall be the user's responsibility to return to CA the reproduced copies or to certify to CA that same have been destroyed. To the extent permitted by applicable law, CA provides this documentation "as is" without warranty of any kind, including without limitation, any implied warranties of merchantability, fitness for a particular purpose or noninfringement. In no event will CA be liable to the end user or any third party for any loss or damage, direct or indirect, from the use of this documentation, including without limitation, lost profits, business interruption, goodwill, or lost data, even if CA is expressly advised of such loss or damage. The use of any product referenced in this documentation and this documentation is governed by the end user's applicable license agreement. The manufacturer of this documentation is Computer Associates International, Inc. Provided with "Restricted Rights" as set forth in 48 C.F.R. Section 12.212, 48 C.F.R. Sections 52.227-19(c)(1) and (2) or DFARS Section 252.227-7013(c)(1)(ii) or applicable successor provisions. © 2005 Computer Associates International, Inc. All trademarks, trade names, service marks, and logos referenced herein belong to their respective companies.
Contents
Chapter 1: Introducing Ingres for Linux 7 Open Source ...... 7 Features Included in Open Source ...... 7 Features Not Included in Open Source ...... 8 Ingres Features ...... 8 A Foundation for Business Infrastructure ...... 10 What You Need to Know ...... 10 RPM Packaging...... 10 Documentation Set...... 11
Chapter 2: Installing Ingres for Linux 13 How You Prepare for Installation...... 13 An Ingres Installation ...... 13 Major Configurations ...... 14 File Locations ...... 16 File Locations and Environment Variables ...... 16 Installer-defined Directory ...... 17 DBMS Server Disk Configurations ...... 18 Configuration Parameters ...... 21 Automatic Startup ...... 22 Installation Worksheet ...... 22 Licensing ...... 22 Installation Methods ...... 22 Default Installation Method...... 23 Install Ingres with the Default Configuration ...... 23 ingres_express_install Command—Install Ingres...... 24 Invoke RPM Directly ...... 24 Install Into a Different Location...... 25 Documentation RPM Package...... 25 Custom Installation Method ...... 25 Intall Ingres as a Custom Configuration ...... 25 Response File—Define Configuration for Custom Install ...... 26 Set the II_RESPONSE_FILE Variable ...... 27 Multiple Instances ...... 28 Rebuild RPM Package with New Name ...... 28 How You Access the Instance ...... 29
Contents iii
Source the Environment File ...... 29 Stop the Instance...... 29 Start the Instance ...... 30 Further Customization Tasks ...... 30 How You Prepare Your Installation for General Use...... 31 How You Safely Uninstall Ingres ...... 32 uninstall_ingres Command—Uninstall Ingres for Linux ...... 32
Chapter 3: Configuring Ingres Cluster Solution for Linux 33 Requirements for the Ingres Cluster Solution ...... 33 Ingres Cluster Solution Overview ...... 34 Preparing to Install the Ingres Cluster Solution ...... 35 Installing the Ingres Cluster Solution ...... 35 How Client Applications Access an Ingres Cluster ...... 36 Class Node Affinity (CNA) ...... 37 Creating Databases on a Global File System ...... 37
Chapter 4: Understanding the Interfaces 39 Ingres ODBC Driver ...... 39 Ingres JDBC Driver ...... 40 Ingres OpenAPI ...... 40 Embedded SQL...... 41 Ingres Web Deployment Option...... 41 Application Development Tools...... 42
Chapter 5: Frequently Asked Questions 43
Appendix A: General Reference 47 Location of System Files ...... 47 Location of Database Files ...... 47 Checkpoint, Journal, and Dump Files ...... 48 Location of Checkpoint, Journal, and Dump Files ...... 48 Temporary Work Files ...... 48 Location of Temporary Work Files ...... 48 Transaction Log Files...... 49 Locations of Transaction and Backup Transaction Logs ...... 49 General Installation Parameters ...... 49 DBMS Server Installation Parameters ...... 50
iv Getting Started
Installation Code ...... 51 World Region and Time Zone ...... 51 Time Zone Names...... 52 Supported Character Sets ...... 53 How the DBMS Server Installation Process Works ...... 55 Ingres Servers ...... 56
Appendix B: Linux Installation Worksheet 57 Installation Worksheet Notation...... 57 Installation Worksheet ...... 57
Appendix C: RPM Packages 59 RPM Package Naming Convention ...... 59 RPM Package Names...... 59
Index 61
Contents v
Chapter 1: Introducing Ingres for Linux
Congratulations on selecting Ingres, the complete information management solution! Like tens of thousands of users around the globe, you will soon discover how you can develop and deploy robust, mission-critical applications in a variety of environments.
This guide provides the information you need to get started quickly and productively with Ingres.
Open Source
Ingres is an open source solution. The open source model provides many business and technical advantages, including the following: Ability to receive features more quickly Ability to extend Ingres to meet specific requirements Collaboration on projects Building relationships with leading open source application vendors More easily extending support to non-traditional or emerging platforms Enhancing security by providing code that is less vulnerable to attack
Features Included in Open Source
The following Ingres components are contributed to the open source community: Ingres DBMS and associated database administration tools Embedded SQL precompilers Character-based querying, reporting, and application development tools Connectivity components, including ODBC, JDBC, and the .Net Data Provider Ingres Distributed Option Ingres Replicator Option Ingres Web Deployment Option TP monitors including CICS, Tuxedo, and Encina
Introducing Ingres for Linux 7
Ingres Features
Features Not Included in Open Source
Features not included in the open source edition are as follows: Support for spatial objects B1 security
The spatial object library is available for download from opensource.ca.com if you have a valid customer support contract with Computer Associates.
While the source for the Visual DBA suite is not contributed to the open source community, the suite is included in the Ingres for Windows download at opensource.ca.com.
The following members of the Ingres product family are not open source and continue to be available for purchase from Computer Associates: Advantage™ OpenROAD Advantage™ Enterprise Access Advantage™ EDBC products
Ingres Features
Ingres is a complete relational solution, providing the following features: A robust, high-performance relational database management system (RDBMS) on which you can build the best in mission-critical applications. Support for the latest technology, such as multiple processors and 64-bit architecture, and standards such as XML and Unicode. The extensive list of supported platforms includes Linux for zSeries and S/390, UNIX, and Windows. Easy to manage environment that requires far less maintenance than the competition. Ingres is hard to beat in the area of long-term cost of ownership. The Ingres Management Architecture (IMA) tools provide the framework that allows you to create system management applications using standard SQL tools and access multiple installations across Ingres Net. Ingres Web Deployment Option provides users with a secure and reliable foundation for Internet-based electronic commerce. Applications developed with Ingres Web Deployment Option can be used to provide full read/write access to enterprise-wide corporate data. Database-driven web sites provide much greater flexibility and can reflect changes in dynamic content as they happen.
8 Getting Started
Ingres Features