+

Search Tips   |   Advanced Search

(AIX)

Prepare AIX systems for installation

Before installing IBM WebSphere Application Server products on an AIX system, we must take steps to prepare the operating system.

WAS prevents users from installing to a non-empty directory. If WAS is installed to a directory with a lost+found subdirectory, we will be prompted to use an empty directory. If we still want to install to this directory, then we can delete the lost+found directory. However, the next time fsck is executed, the lost+found directory will be created. This should not have any effect on an existing installation; during uninstallation, however, this directory will not be removed.

Restriction: There are known issues with using Cygwin/X to run Eclipse-based applications on remote AIX machines. This affects your use of the Profile Management Tool. With Cygwin/X on remote AIX, for example, a splash screen for the Profile Management Tool appears but the Profile Management Tool never actually comes up. For details of existing Bugzilla reports on these issues, see the information at https://bugs.eclipse.org/bugs/show_bug.cgi?id=36806. If a different X server is used, these problems might not occur.

Tip: Installation Manager is based on the Eclipse Rich Client Platform architecture. This architecture requires specific graphical libraries and versions to work properly. Read Installation Manager graphical environment issues on Solaris, Linux, AIX for information about specific system requirements.

Preparing the OS involves such changes as allocating disk space and installing patches to the operating system. IBM tests WAS products on each operating system platform. Such tests verify whether an operating system change is required for WAS products to run correctly. Without the required changes, WAS products do not run correctly.


Tasks

  1. Log on to the operating system.

    We can log on as root or as a nonroot installer.

    Select a umask that allows the owner to read/write to the files, and allows others to access them according to the prevailing system policy. For root, a umask of 022 is recommended. For nonroot users a umask of 002 or 022 can be used, depending on whether the users share the group. To verify the umask setting, issue the following command:

      umask

    To set the umask setting to 022, issue the following command:

      umask 022

  2. Stop all Java processes related to WAS on the machine where we are installing the product.

  3. Stop any web server process such as the IBM HTTP Server.

  4. The product requires IBM SDK, v8.

    • To test whether this Java SDK is supported on a specific System p system, at the system prompt type:

        lscfg -p | fgrep Architecture

      We should receive the reply: Model Architecture: chrp. Only Common Hardware Reference Platform (chrp) systems are supported.

    • The environment variable LDR_CNTRL=MAXDATA is not supported for 64-bit processes.

    • If we are using one of the supported non-UTF8 CJK locales, install one of the following file sets. The installation images are available on the AIX base discs; updates are available from the Fix Central website.

      • X11.fnt.ucs.ttf (for ja_JP or Ja_JP)
      • X11.fnt.ucs.ttf_CN (for zh_CN or Zh_CN)
      • X11.fnt.ucs.ttf_KR (for ko_KR)
      • X11.fnt.ucs.ttf_TW (for zh_TW or Zh_TW)

    • To support the graphical user environment on AIX for IBM Installation Manager and WebSphere GUIs, install the following:

      • X11.fnt.coreX
      • X11.fnt.iso.T1

  5. Use the System Management Interface Tool (SMIT) to display packages installed to determine whether we must update packages described in the following steps.

  6. Download the most current version of the Info-ZIP product to avoid problems with zipped files.

    Although zipped files are primarily used in the service stream, prepare your AIX operating system by downloading a current version of the Info-ZIP package from the http://www.info-zip.org website.

  7. Provide adequate disk space.

    The amount of disk space required varies with the number of features or products installed. If we are installing the product using Installation Manager, the installation summary panel indicates the approximate amount of disk space required based on the features and products that we have selected.

    Installing all features and products requires approximately 2 GB of disk space. This estimate includes the following products, components, and features:

    With the JFS file system on AIX, we can allocate expansion space for directories. If Installation Manager does not have enough space, it issues a system call for more space that increases the space allocation dynamically.

    If we plan to migrate applications and the configuration from a previous version, verify that the application objects have enough disk space. As a rough guideline, plan for space equal to 110 percent of the size of the applications.

  8. Unmount file systems with broken links to avoid java.lang.NullPointerException errors.

    Unmount file systems with broken links before installing.

    Installation can fail when broken links exist to file systems.

    Use the df -k command to check for broken links to file systems. Look for file systems that list blank values in the 1024-blocks size column. Columns with a value of "-" (dash) are not a problem.

    The following example shows a problem with the /dev/lv00 file system:

        df -k
      Filesystem    1024-blocks      Free %Used    Iused %Iused Mounted on
      /dev/hd4          1048576    447924   58%     2497     1% /
      /dev/hd3          4259840   2835816   34%      484     1% /tmp
      /proc                   -         -    -         -     -  /proc
      /dev/lv01         2097152    229276   90%     3982     1% /storage
      /dev/lv00
      /dev/hd2          2097152    458632   79%    42910     9% /usr
      iw031864:/cdrom/db2_v72_eee_aix64_sbcs
      

    The /proc file system is not a problem. The iw031864:/cdrom/db2_v72_eee_aix64_sbcs file system is a definite problem. The /dev/lv00 file system is also a likely problem. Using one of the following commands to solve this problem:

      umount /cdrom/db2_v72_eee_aix64_sbcs > umount /cdrom

    Start the installation again. If the problem continues, unmount any file systems that have blank values, such as the /dev/lv00 file system in the example. If we cannot solve the problem by unmounting file systems with broken links, reboot the machine and start the installation again.

  9. Verify that prerequisites and corequisites are at the required release levels.

    Although Installation Manager checks for prerequisite operating system patches, review the prerequisites on the Supported hardware and software website if we have not already done so.

    For non-IBM prerequisite and corequisite products, see their documentation to learn how to migrate to their supported versions.

    Important: To run GUI tools, such as IBM Installation Manager and WebSphere Customization Toolbox, install GTK+ 2.24 or later and its dependencies from the AIX Toolbox for Linux. GTK+ 3 and Motif are not supported, and packages from other sources will cause errors.

    If we do not have the GTK installed, we receive an error similar to the following message:

      Eclipse: An error has occurred. See the log file /workspace/.metadata/.log.

    1. From the AIX Toolbox for Linux website, install the yum bundle on your AIX system. When we install the tool, carefully follow the steps in the readme file.

      If the gettext RPM package is already installed on the AIX system, exclude the gettext RPM package when we install the yum bundle to avoid conflicts.

    2. Install the latest gettext RPM package and its dependencies by running the following command.

        yum install gettext

    3. Verify that the libiconv RPM package is installed by running the following command.

        rpm -qa | grep libiconv

    4. Install the latest gtk2 RPM package and its dependencies by running the following command.

        yum install gtk2

  10. Verify the system cp command when using emacs or other freeware.

    If we have emacs or other freeware installed on the operating system, verify the system cp command is used.

    1. Type the following command prompt before running the installation program for the WAS product.

        which cp

    2. Remove the freeware directory from your PATH if the resulting directory output includes freeware. For example, assume that the output is similar to the following message: .../freeware/bin/cp. If so, remove the directory from the PATH.

    3. Install the WAS product.

    4. Add the freeware directory back to the PATH.

    If we install with a cp command that is part of a freeware package, the installation might appear to complete successfully, but the Java 2 SDK that the product installs might have missing files in the app_server_root/java directory.

    Missing files can destroy required symbolic links. If we remove the freeware cp command from the PATH, we can install the application server product successfully.

  11. Verify that the Java SDK on the installation image disk is functioning correctly if we created our own disk.

    For example, we might have downloaded an installation image from Passport Advantage, or we might have copied an installation image onto a backup disk. In either case, perform the following steps to verify that the disk contains a valid Java SDK.

    1. Change directories to the /JDK/jre.pak/repository/package.java.jre/java/jre/bin directory on the product disk. For example:

        cd /JDK/jre.pak/repository/package.java.jre/java/jre/bin

    2. Verify the Java version. Type the following command:

        ./java -version

      The command completes successfully with no errors when the SDK is intact.

  12. Optional: Install the Mozilla Firefox browser if it is not already installed.

    We can download Mozilla Firefox for AIX from Passport Advantage. Install the installp image from the SMIT.

  13. Optional: Export the location of the supported browser.

    Export the location of the supported browser using a command that identifies the actual location of the browser.

    If the Mozilla Firefox package is in the bin/firefox directory, for example.to export BROWSER=/usr/bin/firefox:

      EXPORT BROWSER=/usr/bin/firefox

  14. Optional: Prepare a Workload Partition (WPAR).

    If we are going to install the product on a WPAR on AIX v6.1, make sure that the WPAR has private and writable versions of the /usr and /opt file systems. If we do not have this type of WPAR, create a new WPAR using the following steps:

    1. Choose a name for the WPAR that maps to an IP address for our network, or add an entry for the new WPAR in the /etc/hosts file. Make sure you know the subnet IP address as well.

    2. To create the WPAR:

        mkwpar -n <wpar_name> -h host -N netmask=<A.B.C.D> address=<A.B.C.D> -r -l

      The -l parameter creates private and writable versions of the /usr and /opt file systems.


What to do next

For optimal performance, tune the Java environment for our operating system. See Java tuning information for our specific AIX operating system version.

After verifying prerequisites, verifying the product disk, and setting the installation goals, we can start installing. Using one of the following installation procedures:

  • Prepare the operating system for product installation
  • AIX 7.1: Java tuning for AIX