Skip to main content

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. Select information in your developerWorks profile is displayed to the public, but you may edit the information at any time. Your first name, last name (unless you choose to hide them), and display name will accompany the content that you post.

All information submitted is secure.

  • Close [x]

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

  • Close [x]

A quick introduction to the Next Generation Installer for IBM Informix Products

Sundar Shunmugam (sundars@us.ibm.com), Software Developer, IBM
Sundar Shunmugam is a co-developer of the Next Generation Installer for IBM Informix Products. He is also an Informix Certified Professional.

Summary:  The new installer for IBM Informix Products provides a uniform look and feel across various UNIX and Linux platforms. This article describes the changes to the installer for IBM Informix Dynamic Server, Version 10.0 in terms of product size, setup requirements, and error reporting; and provides insight into the advantages of this installer compared to the previous installers.

Date:  03 Mar 2005
Level:  Introductory

Activity:  2543 views
Comments:  

Introduction

The Next Generation Installer for IBM® Informix® products is a user-friendly, dynamic tool. The graphical installer is ideal for anyone with limited product experience, while the silent installer provides additional options, along with text-based support. This document aims to provide details to help you better understand the features and benefits of the installer.


Background

Products evolve over time to support users’ needs. Because IBM Informix strongly believes in delivering products with superior performance, IBM Informix has improved the installer. The new installer is also more dynamic, to meet the demands required for using IBM Informix in OLTP and embedded markets.

The new installer helps IBM Informix provide the same user interface on UNIX and Linux platforms, and ensures a standard user look and feel of products in the IBM Software Group Portfolio. The installer enhances product usability and provides seamless integration with other IBM offerings such as Express Runtime and ISV (independent software vendor) product bundling. Furthermore, the installer makes accessibility conformance easier and minimizes the manual steps required of users, so they can begin using their IBM Informix products immediately.


What has changed?

The previous version of the IBM Informix product installer supported only text-based installation, which had very little flexibility. The new installer supports the following modes:

  • Text
  • Graphical
  • Silent

The uninstall capability helps users remove the product from the location where it was installed.

The following products use the new Installer:

  • IBM® Informix® Dynamic Server (IDS), Version 10.00.xC1
  • IBM® Informix® Client SDK,Version 2.90.xC1
  • IBM® Informix® Connect, Version 2.90.xC1

Complete installation instructions are documented in the following installation guides:

  • IBM Informix Dynamic Server Installation Guide for UNIX and Linux, Version 10.0
  • IBM Informix Client Products Installation Guide, Version 2.90

Why a new installer?

The Installer provides significant advantages over the existing script. These advantages help you quickly install products and quickly deploy the products in a remote environment.

Notable improvements include:

  • Reduced product size (the JAR archive uses compression) and no manual steps.
  • Fewer preparatory requirements for setup before beginning the installation; just extract the source and proceed with installation.
  • Start installation from the media instead of copying files.
  • The installation is performed by a single user. The entire installation is carried out as the user root, rather than as user informix and root.
  • A graphical user interface to guide the user through the installation process.
  • Enhanced dynamic error reporting to reduce invalid user inputs. Permission issues and space constraints are reported prior to installation.
  • Intuitive features for novice and expert users.
  • Zero interference. All the required information is gathered before the actual installation.
  • Support for silent install.
  • Support for uninstall.
  • No restrictions on who can copy the product from the media. This eliminates permission errors.
  • Critical steps that are now dynamic. The user can provide the critical information during the course of the installation. Environment settings are no longer required prior to installation, because users can supply them during installation.
  • Features that help with backward compatibility. For example, the -legacy option.

An Overview of the Product installer

The installer contains the following components:

  • Launcher
  • Platform Java Runtime Environment (JRE)
  • JAR and RPM packages.

The launcher contains installation script and a bundled JRE (in a compressed form). The product files are available as external JAR or rpm packages.

The following diagram is a schematic representation of the launcher.


Figure 1. Schematic representation of launcher
Schematic representation of launcher

When the command line is executed, the embedded JRE is extracted into a temporary location. The Java command line is executed from this location on the corresponding JAR package of the product. This launches the installation screen and installs the respective products or components to the destination location based on user choice.

The following diagram explains the sequence of actions that occur when the launcher is invoked and installation starts.


Figure 2. Installer sequence of actions
Installer sequence of actions

A comparison of the old and new installers

This section provides a comparison of the old installer and the new installer.


Table 1. Comparison of installers
Old Installer New Installer

× Multiple layers of product extraction (tar files must be extracted twice).

  • The product was usually delivered as a tar file and had components tarred twice.
  • A user extracts the tar file once, only to find another tar file, which also needs to be extracted.

Extract the product files once and begin the installation.

  • The new product is also a tar file.
  • A user extracts the tar file once (instead of getting another tar file) and then has a JAR file that does not need to be extracted.

× Prior to starting installation, the product had to be copied from the media.

  • The product is not provided in extracted form in the media.

The product installation can be started directly from the media.

  • Because the product uses JAR packages, users can start the installation immediately.

x Requires a lot of disk space to perform the product copy and extraction.

  • To deal with layers of the tar file, the process requires more disk space.

The media size is reduced, resulting in a less bulky product.

  • The JAR package compresses the files, resulting in 30 to 40 percent reduction of the product size.

× Supports a text interface only

  • Less flexible to adapt to new requirements

Supports text, graphical, and silent interfaces

  • Creates possibilities for new product areas

× User switching is required for certain installation steps.

  • Some portion of installation had to be run as one user (informix) and another portion as a different user (root).

Only one user is needed to complete the entire installation process.

  • From start to finish, only one user (root) needs to complete all of the steps required for the installation.

× The installation is difficult for novice users.

  • A user with limited expertise in installing the product must understand the product structure before starting the installation.

The ease of use approach helps both novice and advanced users.

  • A user with limited expertise can install the product.

× A user must restart the installation process if a problem occurs during the installation.

  • An intermittent error could require the user to make some adjustments manually and restart the installation.

The installer prompts the user to provide the required information.

  • The user provides the details and the issues are dynamically addressed.

× Critical manual steps.

  • The user needs to define, environment variables based on the user’s setup ($INFORMIXDIR, $ROLE_SEP, and so on).

All inputs are dynamic; preset values are not needed.

  • The installer accepts information dynamically, eliminating the need for preset values in the environment.

× Possible problems with extraction leading to permission issues.

  • The installer had restrictions as to which user extracts the file.

Any user can extract the product; a single user can complete the installation.

  • Because the installation is carried out with super-user privileges, other restrictions are no longer necessary.

Usage recommendations

Users can start installation using two different methods:

  • Invoke the launcher (the preferred installation method).
  • Invoke a Java command line by passing the available JAR package as an argument to it. JRE version 1.3.2 or higher must be installed and available on the target host.

When the launcher is executed (with arguments, if any), it runs a Java command line by invoking the corresponding JAR package.

The product launcher is invoked by a command on the command-line (ids_install, installserver, installclientsdk, or installconn). The launcher drives the installation by gathering information from the user and proceeds to deploy files to the specified destination.


Table 2. Tasks that each command performs
Run the command To perform the task

launcher

Default command. Starts a command line installer.

The user answers questions to complete the installation

launcher -gui

Start a graphical installer.

The user answers questions to complete the installation.

launcher -silent -options response_file -acceptlicense=yes

Starts a silent installer.

The user provides setup information in a response file prior to executing the command.

The first and second methods are recommended, so the user can interact, provide the information, and complete the installation process.

The launcher creates a log file in /tmp/launcher.txt with launch-related information. If the product-related operation encounters any errors, the errors are logged to a file that can be found in destination directory/tmp/log.txt. These two files will help in identifying and resolving installation errors. If the installer encounters any errors in text and graphical mode, the errors are reported to the user.

The following matrix shows setup information needed for a successful product installation.


Table 3. Installation setup information
Execution All Methods

General

Start the installation as root (privileged user)

For any temporary directory location used, ensure that there is enough space for JRE extraction (approximately 60-70 MB). The default directory is /tmp.

Ensure that the destination directory has the proper permissions. The recommended permissions is r+w access for all users.

The destination has enough space for product deployment (300-400 MB based on the products chosen).

Using Legacy Option

Ensure that the destination has enough space for the extraction of product files.

Perform the installation by running the appropriate scripts and ensure that the product works as intended for your deployment.

Using Javahome Option

Ensure that the path from where java command is started is in your path

or

Prefix the java path to the java command.

Using Launcher

Console GUI Silent

No changes required.

Answer prompts to complete installation

Ensure that an X Windows environment is available.

If launched from a different machine, ensure that the DISPLAY environment variable is properly set.

Ensure that Xhost authentication is correct.

Answer prompts to complete the installation

Ensure that command line uses the

acceptlicense=yes option


New installer graphical installation screen shots

The following screen shots are intended to help you understand the flow of installation. The Welcome screen displays details about the product to be installed.


Figure 3. Welcome screen
Welcome screen

The Software License Agreement screen displays the product specific terms.


Figure 4. License terms
License terms

The destination screen prompts for the target directory where the product is deployed.


Figure 5. Target directory
Target directory

Use the Setup Type screen to specify whether you want a typical or custom installation.


Figure 6. Setup type
Setup type

Another screen prompts you to provide installation-specific information.


Figure 7. Installation-specific information
Installation-specific information

The summary screen appears just before product deployment. This screen contains product details.


Figure 8. Summary
Summary

The progress bar contains details on the files being copied.


Figure 9. Installation progress
Installation progress

The final screen tells you that installation is complete.


Figure 10. Installation complete
Installation complete

Conclusion

This article provides detailed information about the features and benefits of the Next Generation Installer. This also helps to set future product direction with support to install desired components based on specific requirements.


Resources

About the author

Sundar Shunmugam is a co-developer of the Next Generation Installer for IBM Informix Products. He is also an Informix Certified Professional.

Report abuse help

Report abuse

Thank you. This entry has been flagged for moderator attention.


Report abuse help

Report abuse

Report abuse submission failed. Please try again later.


developerWorks: Sign in


Need an IBM ID?
Forgot your IBM ID?


Forgot your password?
Change your password

By clicking Submit, you agree to the developerWorks terms of use.

 


The first time you sign into developerWorks, a profile is created for you. Select information in your developerWorks profile is displayed to the public, but you may edit the information at any time. Your first name, last name (unless you choose to hide them), and display name will accompany the content that you post.

Choose your display name

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerWorks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

(Must be between 3 – 31 characters.)

By clicking Submit, you agree to the developerWorks terms of use.

 


Rate this article

Comments

Help: Update or add to My dW interests

What's this?

This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.

And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.

View your My developerWorks profile

Return from help

Help: Remove from My dW interests

What's this?

Removing this interest does not alter your profile, but rather removes this piece of content from a list of all content for which you've indicated interest. In a future enhancement to My developerWorks, you'll be able to see a record of that content.

View your My developerWorks profile

Return from help

static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Information Management
ArticleID=50940
ArticleTitle=A quick introduction to the Next Generation Installer for IBM Informix Products
publish-date=03032005
author1-email=sundars@us.ibm.com
author1-email-cc=

Tags

Help
Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

For articles in technology zones (such as Java technology, Linux, Open source, XML), Popular tags shows the top tags for all technology zones. For articles in product zones (such as Info Mgmt, Rational, WebSphere), Popular tags shows the top tags for just that product zone.

For articles in technology zones (such as Java technology, Linux, Open source, XML), My tags shows your tags for all technology zones. For articles in product zones (such as Info Mgmt, Rational, WebSphere), My tags shows your tags for just that product zone.

Use the search field to find all types of content in My developerWorks with that tag. Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere). My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Try IBM PureSystems. No charge.

Special offers