[V5.1 and later]Installing Network Deployment on Linux platforms

 

Log in as user root

Logging on as root is required to successfully install the product. You cannot install the product correctly as a non-root user. If you back up the product CD-ROM, do so as root. Backup copies made from non-root users do not preserve the correct file attributes and do not work.

If you encounter a problem such as not having enough temporary space or not having the right packages on your system, cancel the installation, make the required changes, and restart the installation.

The installation uses InstallShield for Multiplatforms (ISMP) to perform the installation. You can use the Installation wizard or perform the installation from a command line, using the silent installation method.

Use the Network Deployment installation image to manage a multimachine environment, where you have installed the base product on different machines and want to manage the Application Servers in a group, or cell. If you buy the Network Deployment product, you also get the base product in the package.

WebSphere Business Integration Server Foundation is the V5.1 level of the Enterprise product. WBISF, V5.1 extends the base WAS V5.1 product. After migrating the underlying product to V5.1, do not reinstall the V5.0.x Enterprise product. V5.0.x of the Enterprise product does not extend V5.1 of the base WAS product nor does it extend the V5.1 Network Deployment product.

[V5.1 and later]If you buy the WebSphere Business Integration Server Foundation product, you also get the Network Deployment product and the base product in the package.

 

XML configuration files

Do NOT create any additional XML files in the ../config directories. A little known gotcha occurs if you create filename.xml, where filename is not a standard WAS config file.

For example, during one install, a file called jvm.server.xml was created. This caused problems with pathing after a full resynchronization of the nodes.

 

Create multiple Application Servers on a single machine

Although you can create multiple servers on a base WAS node, the servers all share one set of configuration files. Changes that you make to one server affect the others. Configuration documents might become corrupted. The wsinstance command can create multiple configuration instances. Each instance is a stand-alone Application Server with its own set of configuration files. Or use coexistence to create and manage multiple base Application Servers.

 

Order of installation

[V5.1 and later]Install the base product before installing the Network Deployment product when installing both products on the same machine. Install the Network Deployment product before the Integration Server product that extends the Network Deployment product. You can install the Integration Server product before the base product. The Integration Server product can install the base product in what is known as an umbrella installation but Integration Server cannot install the Network Deployment product. Some features of the base product cannot be installed by Integration Server.

The embedded messaging feature that is included in the default installation requires that you install base before Network Deployment when installing both on the same machine. Otherwise, the order does not matter.

The Launchpad tool lets you access the product overview, the readme.html file, and the installation guide.

You also use the Launchpad during the installation procedure to install the product. The installation program performs the following actions:

  1. Checks prerequisites automatically

  2. Looks for a previous WAS installation, to determine whether to display the Migration panel or the Coexistence panel during the installation

A known problem with the Launchpad can prevent it from using Netscape to open the documentation links. If you use the Mozilla browser, some Launchpad links do not work. The Launchpad attempts to call the Netscape browser in the /usr/bin/netscape directory. Try a symbolic link to the Mozilla browser to fix the problem as shown in the following example:

ln -sf /opt/bin/mozilla /usr/bin/netscape

 

Steps for this task

  1. Log on as root.

    You cannot install the product correctly as a non-root user on a Linux or UNIX-based operating system platform, or from a user ID on a Windows platform that is not part of the administrators group. If you back up the product CD-ROM on a Linux or UNIX platform, do so as root. Backup copies made from non-root users do not preserve the correct file attributes and do not work.

    In addition, Linux and UNIX installers must verify that the umask setting is 022. To verify the umask setting, issue the following command:

    umask

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

    umask 022

  2. Set a shadow password for the /etc directory.

    Verify that the /etc directory contains a shadow password file. The shadow password file is named shadow and is in the /etc directory. If the shadow password file does not exist, an error occurs after enabling global security and configuring the user registry as local operating system.

    To create the shadow file, run the pwconv command (with no parameters). This command creates an /etc/shadow file from the /etc/passwd file. After creating the shadow file, you can configure local operating system security.

  3. Stop all WAS-related Java processes on the machine where you are installing the product.

  4. Stop any Web server process such as the IBM HTTP Server, if you are extending the base product.

  5. Provide adequate disk space.

    [V5.1 and later]The base Application Server requires the following disk space:

    390 MB for the /opt/WebSphere/DeploymentManager directory

    The installation root directory includes the base product code.

    150 MB for the /tmp directory

    The temporary directory is the working directory for the installation program.

    A message about free space occurs when less than 4 MB of free space remains after starting the installation. The InstallShield for MultiPlatforms (ISMP) program displays a message about using the -is:tempdir parameter to identify an alternate temporary space directory.

    Ignore any -is:tempdir message. The -is:tempdir parameter is not supported. Cancel the installation, allocate a total of 150 MB of free space in the /tmp directory, and start the installation again.

    540 MB total requirement without the embedded messaging feature

    The total amount of space required includes the /tmp space, which is released after installation. Space requirements for the embedded messaging feature are described after the next few steps that describe setting up required users and user groups for the feature.

    The Installation wizard displays required space for individual features on the Feature selection panel. The Installation wizard also warns you if you do not have enough space to install the product.

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

    • For V3.5.x: The size of application Java archive (JAR) files, Web archive (WAR) files, and servlet files

    • For V4.0.x: The size of EAR files

    • [V5.1 and later]For V5.0.x: The size of EAR files

  6. Define the user groups and the user needed for the embedded messaging feature.

    1. If you have not already done so, create the mqm and mqbrkrs user groups.

    2. Create the mqm user.

    3. Add the mqm and root users to the mqm group.

    4. Add the user root to the mqbrkrs group.

    The recommended user ID for running the JMS server process is root. If you do run the JMS server process under another user ID, add that user ID to the mqm and mqbrkrs groups. User IDs longer than 12 characters cannot be used for authentication with the embedded WebSphere JMS provider.

    The mqm user starts the JMS server for general JMS support and the WebSphere embedded broker for WAS topic connections.

  7. Log out and back in to pick up the secondary user groups, mqm and mqbrkrs, for root.

    Use the ssh command instead of the telnet command to log in. Or run the following command after logging on:

    su -

    Use the id -a command or the groups command to see defined groups for root. If mqm and mqbrkrs are not in the list that is returned, you cannot install the embedded messaging feature:

    [root@wasdoc2 root]# id -a
    uid=0(root) gid=0(root) 
       groups=0(root),1(bin),2(daemon),
              3(sys),4(adm),6(disk),10(wheel),500(mqm),501(mqbrkrs)
    
    [root@wasdoc2 root]# groups
    root bin daemon sys adm disk wheel mqm mqbrkrs

  8. Allocate adequate disk space for the embedded messaging feature if you are planning to install the feature.

    The installation locations for the embedded messaging feature are fixed as shown in the following table, which lists the locations for the base messaging functions and the messaging broker functions for publish/subscribe messaging.
    Space requirements for the embedded messaging feature on Linux

    Component Base code Broker code Base data Broker data
    Path /opt/mqm /opt/wemps /var/mqm /var/wemps
    Server and client subfeature 40 MB 100 MB 8 MB 5 MB
    Client subfeature 15 MB 15 MB 5 MB N/A

  9. Prepare to install the embedded messaging feature with WebSphere MQ.

    The embedded messaging feature is based on the IBM WebSphere MQ product. The feature and the product each provide a Java message service (JMS) function that supports queues for point-to-point messaging and topics for publish and subscribe messaging.

    You can install the embedded messaging feature with or without the WebSphere MQ product on the same machine. To support both the embedded messaging feature and the WebSphere MQ product on the same machine, the WebSphere MQ product must be at a certain fix level and must have several of its features installed.

    If you already have WebSphere MQ installed, you can configure it as the JMS provider. Otherwise, you can install the embedded messaging feature during the installation or install the WebSphere MQ product or another JMS provider after you install.

    Even though you might decide now to install only the embedded messaging feature, you can install the WebSphere MQ product later and use the IBM WebSphere MQ product as the JMS provider instead.

  10. Verify that you have upgraded to WebSphere MQ 5.3 with the CSD04 update to install embedded messaging on a machine where you already have WebSphere MQ installed.

    Determine if your WebSphere MQ 5.3 installation is at the required level by running the mqver utility provided by WebSphere MQ.

    The required level as indicated by the mqver command:

    Name:        WebSphere MQ
    Version:     530.4  CSD04
    ...
    

  11. Verify that you have installed the required WebSphere MQ 5.3 features to install embedded messaging on a machine where you already have WebSphere MQ installed.

    Verify that you have installed the following features:

    • When installing the embedded messaging server and client feature, the required MQ features are Server and Java messaging.

    • When installing the embedded messaging client feature, the required MQ feature is Java messaging.

    If you attempt to install the embedded messaging feature when WebSphere MQ is already installed, the level of WebSphere MQ must be V5.3 with the required MQ features. Otherwise, the installation of the embedded messaging feature fails with prerequisite check errors.

  12. Create and mount a journalized file system called /var/mqm for your messaging working data.

    Use a partitioning strategy with a separate volume for embedded messaging or WebSphere MQ data to isolate system activity from the potentially high volume of messaging work that can build up in the /var/mqm directory.

  13. Create separate file systems for log data in the var/mqm/log directory and error files in the var/mqm/errors directory.

    Store log files on a different physical volume from the embedded messaging queues, which are in the var/mqm directory. This ensures data integrity in the case of a hardware failure. If you are creating separate file systems, allow the following minimum free space:

    30 MB

    /var/mqm

    20 MB

    /var/mqm/log

    4 MB

    /var/mqm/errors

    The /var file system stores all the security logging information for the system and stores the temporary files for e-mail and printing. Therefore, it is critical that you maintain free space in /var for these operations. If you do not create a separate file system for messaging data, and /var fills up, all security logging stops on the system until free space is available in /var. Also, e-mail and printing do not work without some available free space in /var.

    You have the same options for creating file systems for the embedded messaging feature as you do for WebSphere MQ. For example, if you cannot install the embedded messaging options in the required file system (for example, if it is too small), you can do one of the following before installing the Embedded Messaging options:

    • Create and mount a new file system for the installation directory.

    • Create a new directory anywhere on your machine, and create a symbolic link from the required installation directory to the new directory. For example:

      mkdir /bigdisk/mqm
      ln -s /bigdisk/mqm /usr/mqm

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

    Although the Installation wizard checks for prerequisite operating system patches with the prereqChecker application, review the prerequisites on the IBM WAS supported hardware, software, and APIs Web site if you have not already done so.

    Refer to the documentation for non-IBM prerequisite and corequisite products to learn how to migrate to their supported versions.

    Some operating systems that were not supported at the time that this product was shipped on CD-ROM might now be supported. You might receive a message from the prereqChecker program that an operating system is not supported when, in fact, the operating system is supported.

    Always consult the IBM WAS supported hardware, software, and APIs Web site to determine whether your operating system is supported when you receive a message from the prereqChecker program. The Web site lists all supported operating systems and the operating system fixes and patches that install to have a compliant operating system.

    After confirming that your operating system is supported and that you have installed all necessary patches, you can click Next to continue an installation when you receive an error message from the prereqChecker program.

  15. RHEL 3 support: Provide necessary prerequisites for Red Hat Enterprise Linux V3 (RHEL 3).

    A known limitation exists in the prerequisites checker program when examining prerequisite packages on Linux systems. See Installing WAS products on RHEL 3 systems for known prerequisites, updates, and other considerations for RHEL 3.

  16. [V5.1.1 and later]SLES 9 support: Prepare the SLES 9 operating system for WAS installation.

    If the base SLES 9 operating system is installed, no additional packages are required:

    Platform Packages required
    Intel x86 (IA32) platforms No additional packages are required. By default, all of the necessary compatibility libraries are installed.
    PowerPC (PPC/PPC64) platforms
    S/390, S/390x (also known as zSeries) platforms 64-bit only

    After installing V5.1, install Fix Pack 1 for Version 5.1 to support the SLES 9 operating system, as described in a later step.

    You must also install the WAS V5.1.1 cumulative fix for IBM SDK, Solaris Java 2 SDK, and HP-UX Java 2 SDK service offering, as described in a later step. The cumulative fix updates the IBM Developer Kit for Linux, Java Technology Edition software that IBM uses with the V5.1.1 WAS product. The new service level is 1.4.2 SR1.

    Steps throughout this procedure that are marked SLES 9 Support are required for supporting Network Deployment on the operating system.

    If "java -version" is returning an exception, set ulimit to 8192. Do NOT set to unlimited.

  17. Prepare the SLES 8.0 operating system for WAS installation.

    1. Install SP2 for the United Linux 1.0 operating platform to let you use the LaunchPad.

      It is your responsibility to install this service pack. The prereqChecker function of the installer cannot detect service pack versions definitively on United Linux. Kernel unames and versions between 8.0 and 8.0.2 are identical. No signature RPM denotes a service pack install.

    2. Use the IBM Developer Kit that WAS provides to support the Java 2 SDK on the SuSE SLES 8.0 operating system to avoid potential problems when uninstalling an interim fix or a fix pack. To use the IBM Developer Kit, remove the java2-jre-1.3.1-524 and java2-1.3.1-524 RPMs from the machine before installing WAS.

  18. Correct font problems on SuSE Linux Enterprise Server 8.0 in Simplified Chinese and Traditional Chinese locales.

    On the Linux for Power platform that SuSE Linux Enterprise Server 8.0 provides, a missing package causes a font problem. The ttf-hanyi package is not installed during the normal product installation of the SuSE 8.0 operating system. The missing package causes the Installation wizard for WAS products to display garbled characters in the Simplified Chinese locale and in the Traditional Chinese locale.

    Copy the ttf-hanyi-2021016-0.noarch.rpm package on the SuSE 8.0 for i386 CD to the Power PC system. Install the package on the Power PC machine and reboot the machine to solve the problem.

  19. Remove any entries from the /usr/bin/jitk.db file if you have uninstalled WAS Enterprise Edition V4.1. Remove any remaining artifacts from an uninstalled V4.1 system to prevent the display of the Coexistence panel or the Migration panel during installation.

    The Installation wizard might display the Migration panel or the Coexistence panel even though you have uninstalled WAS V4.1. You can prevent the Installation wizard from recognizing a previously deleted V4.1 Application Server by removing the following entry from the /usr/bin/jitk.db file:

    WAS 4.1

    Remove other V4.x entries for WAS products that are no longer on your system.

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

    If you have emacs or other freeware installed on your Linux operating platform, verify that the system cp command is being used.

    1. Type which cp at the command prompt before running the installation program for the WAS product.

    2. Remove the freeware directory from your PATH if the resulting directory output includes freeware. For example, if the output is similar to this /opt/freeware/bin/cp message, remove the directory from the PATH.

    3. Install the WAS product.

    4. Add the freeware directory back to the PATH.

    If you 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 install_root/java directory.

    Missing files can destroy required symbolic links. If you remove the freeware cp command from the PATH, you can install the Application Server product successfully.

    Perform the following step to verify that the Java 2 SDK is working correctly.

  21. Verify the Java 2 SDK on the WAS CD.

    If you copied the product CD to back it up and are using a backup version, perform the following steps to verify that the Java 2 SDK on the product CD-ROM is working correctly.

    1. Change directories to the /sun/WAS/jdk/java/bin directory on the product CD-ROM.

      For example:

      cd /mnt/linuxi386/WAS/jdk/java/bin

    2. Verify the Java 2 SDK version.

      Type the following command:

      ./java -version

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

  22. Select the Installation wizard method or the silent installation method but do not start the installation yet.

    The installer program has two interfaces, the Installation wizard and a silent command-line installation.

 

Performing the installation with the wizard

You can start the Installation wizard using the Launchpad or directly using the install command.

The default installation method is to open a command window and issue the command to start the Launchpad tool. Click the Install the product option on the Launchpad. (See Using the Launchpad to start the installation.)

This option launches the Installation wizard in the language of your machine locale unless there is no translation for your locale, in which case you receive the English version.

A short delay occurs before the ISMP wizard displays. You do not need to click the Install the product option more than once to cause the wizard to display. The delay is particularly noticeable on x-windows platforms.

You can also start the Installation wizard using the /mnt/cdrom/linuxi386/install command, where /mnt/cdrom is the mount point for the product CD-ROM and linuxi386 is the platform directory.

 

Performing a silent installation

You can perform a silent installation using the -options responsefile parameter with the command method:

CD_PATH/install -options HD_PATH/responsefile

For example:

# /mnt/cdrom/linuxi386/install -options /tmp/my_responsefile

Start the silent installation with a fully qualified path to the options response file. Otherwise, the Installation wizard starts.

A silent installation causes the installation program to read your responses from the options response file, instead of from the wizard interface. You must customize the responsefile before installing silently. See Customizing the Network Deployment options response file.

After customizing the file, you can issue the command to silently install. See Installing silently.

After issuing the command, the following text displays:

# ...................................
.InstallShield Wizard

Initializing InstallShield Wizard...

Searching for Java(tm) Virtual Machine...

The silent installation runs without displaying status to the window:

You can change the -W launchPRTBean.active option in the response file to display the Registration panel to indicate the completion of a silent installation on a local system with a graphical user interface.

To determine the status of the silent installation, review the installation logs in the install_root/logs directory or in the /tmp directory. See Troubleshooting the installation for more information about log files.

Silent installation is particularly useful if you install the product often.

The rest of this procedure assumes that you are using the Installation wizard. Corresponding entries in the response file exist for every prompt that is described as part of the wizard.

Review the description of the responsefile for more information. Comments in the file describe how to customize their options.

 

Asynchronous and synchronous command lines

After running the install command, the command line returns synchronously. A synchronous install command returns the command line after the installation is complete.

You can start the installation asynchronously with the installation process and its children processes all running as background processes. Consult your operating system documentation to learn how to issue asynchronous commands. After running the install command, the command line returns immediately.

Do not misinterpret an asynchronous command line to mean that the installation has finished when the command prompt returns. Although the command line returns, either the Installation wizard or a silent installation might still be in progress.

 

Install with a network file system mount

If you use an NFS mount, see network file systems

  1. Insert the product CD-ROM labeled, Deployment Manager into a CD drive.

    Most Linux systems are configured to automatically mount CD-ROM drives. Mount your CD-ROM drive if necessary:

    mount /mnt/cdrom

    If a file explorer window opens, close it.

  2. Open a shell window and mount the CD-ROM drive if necessary.

    Mount the CD drive with the following command:

    mount /mnt/cdrom

    If a file explorer window opens, close it.

    Use the same shell window throughout the installation procedure. Verify that you are in a read/write directory and not the CD-ROM directory or another read-only directory before you start the installation.

  3. [V5.1.1 and later]SLES 9 support: On SLES 9 platforms, set the LANG environment variable to work around an embedded messaging issue. For example:

    export LANG=$LC_CYPE

  4. [V5.1.1 and later]SLES 9 support: On SLES 9 platforms, set the max stack size per process to work around a JDK 1.4.1 SR1 issue. For example:

    ulimit -s  stack_size

    Recommended sizes are from 2048 to 8196. For example, to set a max stack size of 8196K, issue the following command:

    ulimit -s 8196

  5. Start the installation with the /mnt/cdrom/linuxi386/launchpad.sh command, where mnt/cdrom is the mount point for the product CD-ROM and linuxi386 is the platform directory for the xSeries CD-ROM. You can also start the installation directly using the /mnt/cdrom/linuxi386/install command. The following examples show how to issue the command:

    Syntax:  
    fully_qualified_CD_pathname/install
    
    Examples: 
    # /mnt/cdrom/linuxi386/install (For xSeries platforms and clones)
    # /mnt/cdrom/linuxs390/install (For Linux guests on S/390 VM platforms)
    # /mnt/cdrom/linuxppc/install  (For POWERPC platforms)
    

    The readme link in the Launchpad is to the readme.html file in the CD root directory. The Getting Started document that contains installation information is in the docs directory on the CD.

    Download the current version of the Getting Started document from:

    [V5.1 and later]ftp://ftp.software.ibm.com/software/webserver/appserv/library/wasv51nd_gs.pdf

    The rest of this procedure assumes that you are using the Installation wizard. Corresponding entries in the response file exist for every prompt that is described as part of the wizard. Review the description of the responsefile for more information. Comments in the file describe how to customize the options.

  6. Click Next to continue.

    The license agreement displays.

    The Installation wizard does not support hot keys, such as Alt-N. You can tab to Next and press Enter to select it, for example.

  7. Click the radio button beside the I accept the terms in the license agreement message if you agree to the license agreement and click Next to continue.

    After you accept the licensing terms, the Installation wizard checks for prerequisites and for previous versions, with which it can either migrate or coexist.

    As the base WAS product version changes, its prerequisites and corequisites change. Updating your database, Web server, Software Development Kit (SDK), and other software is probably necessary.

    The base WAS product simplifies migrating product prerequisites, by providing the option to install a complimentary Web server and SDK on your supported operating system. You can uninstall back-level prerequisites and let the Installation wizard install current versions.

    If the wizard finds a previous version of WAS, it prompts you to migrate applications and the configuration from the previous version, or to coexist with it. If it finds more than one previous version, the Installation wizard lists them for you to select which one to migrate.

 

Migrating or coexisting with an existing WAS node that Linux does not recognize.

In some cases, the InstallShield for MultiPlatforms (ISMP) program might not detect a previously installed version of WebSphere Application Server because of a failure to read the registry keys on Linux. You can force the migration and coexistence panel to display, by starting the installation with an option on the /cdrom/cdrom0/linuxi386/install command.

For example, use this command:

./install -W previousVersionDetectedBean.previousVersionDetected="true"

You can also force the appearance of the coexistence panel to change conflicting port number assignments. For example, force the coexistence panel to appear using this command:

./install -W coexistenceOptionsBean.showCoexistence="true"

On either panel, identify the location of the existing product instance to cause it to be recognized.

  • Choose whether to install additional features or to install the product again, when there is a previous installation of the same level product.

    You can add features at any time, by running the installation wizard again.

    This installation wizard panel appears when the installer program detects a previous installation at the same product level. The panel lets you select whether to add features to the existing installation, or perform a new installation to another directory.

    If you intend to install additional features, follow this procedure to avoid component regression problems:

    1. Uninstall any interim fixes.

    2. Uninstall any cumulative fixes you installed, starting with the last one and finishing with the first one.

    3. Uninstall any fix packs you installed, starting with the last one and finishing with the first one.

    4. Log off as root and back on.

    5. Install new features.

    6. Install the most current fix pack.

    7. Install the most current cumulative fix.

    8. Install any interim fixes to bring the node back to its previous fix level.

    9. Use the administrative console on the Network Deployment node to synchronize all node agents.

  • Choose to migrate applications and the configuration from a previous version, to coexist with another version, or to neither coexist or migrate. Click Next to continue.

    See Migrating and coexisting for more information.

    All WAS products on a single machine share some of the code in the embedded messaging feature, if installed. The required level of the embedded messaging feature for V5.1 (CSD04) is not the same as for V5.0.0 or V5.0.1. The required level of the embedded messaging feature for V5.1 is the same as for V5.0.2.

    If you attempt to install V5.1 on a machine where a version of the embedded messaging feature is at a release level earlier than CSD04, the installer program displays the message log in a panel. The message that you see is similar to one of the messages in the following example:

    MQSeries or WebSphere MQ server at an earlier release than required to support 
    embedded messaging is already installed on the system.
    Unsupported earlier maintenance level of MQSeries or WebSphere MQ detected.
    Unsupported earlier release of MQSeries client or WebSphere MQ client detected.
    Unsupported maintenance level of MQSeries client or WebSphere MQ client detected.
    Software conflict with MQSeries JMS SupportPac MA88 detected.
    

    To correct the problem, perform one of the following actions:

    • Upgrade the full MQSeries or WebSphere MQ product to WebSphere MQ at the latest level that supports embedded messaging (CSD04).

      [V5.1 and later]See Installing WebSphere embedded messaging as the JMS provider for more information.

    • Uninstall the existing MQSeries or WebSphere MQ product if MQSeries or WebSphere MQ is not required on this system and reinstall the WAS product. Select the embedded messaging feature.

    The MQSeries JMS SupportPac MA88 problem is slightly different. Uninstall the MQSeries JMS SupportPac MA88 and reinstall the WAS product, selecting the embedded messaging feature. The function provided by SupportPac MA88 is included in the embedded messaging feature.

    You can upgrade the WAS product to V5.0.2 before migrating it to V5.1 to avoid any problem with an incorrect level of the embedded messaging feature. See Upgrading a V5.0.0 or V5.0.1 product to V5.0.2.

    You can also perform the procedure for migrating V5.0.0 or V5.0.1 with embedded messaging to V5.1. See Migrating V5.0.0 or V5.0.1 of WAS with embedded messaging to V5.1.

    To share embedded messaging in a coexistence environment, the node names for each installation must be unique, so that each installation has a message queue manager that is named uniquely. To migrate V5.0.2 to V5.1, the node names must be identical. Therefore, the queue manager names are also identical, if you are migrating from V5.0.2 to V5.1.

    To prevent losing the queue manager when you uninstall V5.0.2 (or V5.1), create a dummy queue manager before uninstalling one of the WAS versions. A series of migration topics in Migrating and coexisting describe how to migrate after the installation.

    [V5.1 and later] The first rule of migration is to migrate after you install WebSphere Business Integration Server Foundation, if you are planning to install the Integration Server:

    The exception to the rule is to migrate V3.5.x to V5.1 during the installation of the base product or the Network Deployment product, before extending either product.

    [V5.1 and later]Migrating Integration Server also migrates the product that Integration Server extends.

    You can perform a silent migration or configure for coexistence during a silent installation. Refer to Installing silently for a description of performing a silent installation, including the options that you can specify.

    The migration prompt appears only when the Installation wizard detects a previous version. The coexistence prompt appears when the Installation wizard detects any other installation, including another V5 installation.

    If you choose to coexist, the wizard displays a Port selection panel, where you can specify port assignments that do not conflict with existing ports. For example, you can change the HTTP transport port for coexistence, from 9081 (one more than the default V5 port number) to 9085 or higher, to avoid potential conflicts with port numbers that previous versions of WAS commonly use.

    Use the netstat -a command to display all ports in use.

    [V5.1 and later]If you choose neither the migration option nor the coexistence option, you can run V5.1.x and the previous version, but not at the same time. Although it is possible that both versions might coexist without port conflicts, you can ensure that both versions run together by selecting the coexistence option and checking for conflicting port assignments.

    The Migration panel lists all previous releases that it can identify. If you highlight a release, the text boxes labeled, "select previous version," show the location of the previous product. Select the product to migrate. If you do not see the previous version that you intend to migrate, click Select previous version to enter a location and configuration file name if you are migrating a WAS Advanced Edition Single Server Edition, V4.0.x installation.

    The field labeled "Configuration file" is valid only for WAS Advanced Edition Single Server Edition, V4.0.x. For the other versions of WAS that are supported by migration (Version 3.5 Standard Edition, V3.5 Extended Edition, and V4.0 Advanced Edition), the admin.config file provides the host and port values for the administrative server. If you use a file name other than admin.config, issue the commands that call the migration tools instead of migrating while installing. Issuing the commands that call the migration tools is described in Migrating and coexisting.

    Migrate V3.5.x to V5.1 during the installation of the base product or the Network Deployment product, before installing the Integration Server product.

    You must start the administrative server of some previous versions so that the Installation wizard can export the configuration from the admin.config file.

    Although you might select migration at this point in the installation process, the actual migration does not begin until after the V5 installation is complete. At that time, if the WASPreUpgrade tool fails, the Installation wizard does not call the WASPostUpgrade tool to complete the migration, but instead displays the WASPreUpgrade.log and WASPostUpgrade.log log files for you to diagnose the problem. After fixing the problem, such as starting the administrative server of a previous release, you can start the migration again, as described in Migrating and coexisting.

  • Select features to install and click Next to continue. A description of each feature appears at the bottom of the panel when you roll the cursor over the feature.

    Choose from these features:

    Deployment manager

    Installs the product run time. It provides high performance and scalability across your deployment environment. It includes multiserver administration, server clustering, load balancing and workload management for hosting highly available e-business applications.

    Web services

    The UDDI registry and the IBM Web Services Gateway are enterprise applications that you can deploy to:

    • A base WAS product node federated within a Network Deployment cell

    • A stand-alone base WAS node

    The Network Deployment product is not a stand-alone product for running enterprise applications. To deploy UDDI or the gateway, install the base WAS product. Although it is not installed by default, a copy of the base WAS product is packaged with the Network Deployment product.

    [V5.1 and later]See Developing Web services for more information.

    UDDI Registry

    Installs a V2 compliant universal description, discovery, and identification (UDDI) registry, accessible from the UDDI registry user console application, or from SOAP or EJB interfaces.

    [V5.1 and later]See IBM WebSphere UDDI Registry for more information.

    Web Services Gateway

    Includes a gateway between Internet and intranet environments so that clients can invoke Web services safely from outside a firewall. The gateway uses automatic protocol conversion for externalizing Web services.

    [V5.1 and later]See Enabling Web services through the IBM Web Services Gateway for more information.

    Embedded messaging client

    Includes the client necessary for the administration of WebSphere MQ Queues and the mapping of JMS resources into the deployment manager JNDI namespace. It is the same client that you can install as part of the base product embedded messaging feature.

    You can run the uninstaller program to remove all installed features.

  • Specify a destination directory and click Next to continue. Deleting the default target location and leaving an installation directory field empty stops you from continuing the installation process. The Installation wizard does not proceed when you click Next. Enter the required target directory to proceed to the next panel. Non-ASCII special characters are not supported in the name of the installation directory. Spaces are also not supported in the name of the installation directory.

    The installer program checks for required space at the beginning of the installation. If you do not have enough space, stop the installation program, free space by deleting unused files and emptying the recycle bin, and restart the installation.

    If not enough space is available, cancel the installation, allocate the 150 MB of temporary space that is required, and reinstall. The actual space required depends on the features that you are installing.

    If you have problems accessing the administrative console after installation, check the installAdminConsole.log file for a failure indication. Clean up the /tmp space and reinstall the administrative console using the wsadmin scripting facility.

    If you must increase the /tmp allocation, stop the installation program, increase the allocation, and restart the installation.

  • Specify node information and click Next.

    Specify the node name and host name. Although the wizard inserts the machine name (of the installation platform) as the node name, you can specify any unique name. The node name is an arbitrary WAS-specific name that must be unique within a cell.

    The host name is the network name for the physical machine on which the node is installed. The host name must resolve to a physical network node on the server. When multiple network cards exist in the server, the host name or IP address must resolve to one of the network cards. Remote WAS nodes use the host name to connect to and to communicate with this node. Selecting a host name that other machines can reach within your network is extremely important. Do not use the generic localhost identifier for this value.

    If you define coexisting nodes on the same computer with unique IP addresses, define each IP address in a domain name server (DNS) look-up table. WAS configuration files do not provide domain name resolution for multiple IP addresses on a machine with a single network address.

    The value that you specify for the host name is used as the value of the hostName property in WAS configuration documents. Specify the host name value in one of the following formats:

    • Fully qualified domain name servers (DNS) host name string, such as xmachine.manhattan.ibm.com

    • The default short DNS host name string, such as xmachine

    • Numeric IP address, such as 127.1.255.3

    The fully qualified DNS host name has the advantage of being totally unambiguous and also flexible. You have the flexibility of changing the actual IP address for the host system without having to change the WAS configuration. This value for host name is particularly useful if you plan to change the IP address frequently when using Dynamic Host Configuration Protocol (DHCP) to assign IP addresses. A format disadvantage is being dependent on DNS. If DNS is not available, then connectivity is compromised.

    The short host name is also dynamically resolvable. A short name format has the added ability of being redefined in the local hosts file so that the system can run WAS even when disconnected from the network. Define the short name to 127.0.0.1 (local loopback) in the hosts file to run disconnected. A format disadvantage is being dependent on DNS for remote access. If DNS is not available, then connectivity is compromised.

    A numeric IP address has the advantage of not requiring name resolution through DNS. A remote node can connect to the node you name with a numeric IP address without DNS being available. A format disadvantage is that the numeric IP address is fixed. You must change the setting of the hostName property in WAS configuration documents whenever you change the machine IP address. Therefore, do not use a numeric IP address if you use DHCP, or if you change IP addresses regularly. Another format disadvantage is that you cannot use the node if the host is disconnected from the network.

  • Review the summary information and click Next to install the product code or Back to change your specifications.

    The Summary panel displays the directory for the embedded messaging feature incorrectly on all Linux and UNIX-based platforms, as /opt/IBM/WebSphere MQ. Actual installation locations are /usr/mqm on AIX systems, and /opt/mqm on Linux and all UNIX-based platforms except AIX. When the installation is complete, the wizard displays the install_root/logs/mq_install.log installation log if you selected the embedded messaging feature and errors occur with its installation.

  • Review the install_root/logs/mq_install.log installation log if it displays. Click Next to continue.

    The wizard displays the Registration panel.

  • Click Next to register the product, or clear the check box and click Next to register at a later time.

    The Installation wizard starts the First Steps tool. See firststeps command.

  • Verify the success of the installer program by examining the Exit summary panel and the install_root/logs/log.txt for installation status. ISMP records a success message in the install_root/logs/log.txt file: "INSTFIN: The installation is complete." The log is the only source of status information for a silent installation.

    Look for severe errors that the installer records in the install_root/logs/log.txt file in the installation root directory to verify that no file system or other unusual errors occurred during installation.

    If the install_root/logs/log.txt file does not contain a record of any problems but problems exist, verify or troubleshoot the installation, as described in Troubleshooting the installation and in Installation component troubleshooting tips.

    If problems exist, correct them, uninstall the product, as described in Uninstalling the product, log off as root and back on, and reinstall.

  • Click Finish to close the Installation wizard.

  • Restrict access to the /var/mqm/errors directory and messaging logging files.

    After installing the embedded messaging feature, restrict access to the /var/mqm directory and to log files that are needed for embedded messaging, such that only the mqm user or members of the mqm user group have write access. For detailed information, see Installing WebSphere embedded messaging as the JMS provider and Securing messaging directories and log files.

  • [V5.1.1 and later]On S/390 and S/390x platforms (also known as zSeries platforms) only, check the return of the uname -m command. If the command returns s390x, perform the following procedure to work around a script checking issue:

    1. Download and unpack Fix Pack 1 for V5.1.0.

    2. Change directories to the directory where you extracted Fix Pack 1.

    3. Export the library path as shown in the following example:

      export LD_LIBRARY_PATH=$PWD/lib/linux/s390/:$LD_LIBRARY_PATH

  • Install the most current fix pack and cumulative fix for the Network Deployment product.

    [V5.1 and later]At this time, the most current fix pack is Fix Pack 1 for V5.1.0 for the Network Deployment product.

    See Installing WAS products on RHEL 3 systems for recommended updates to support RHEL 3.

    [V5.1.1 and later]SLES 9 support: After installing V5.1, install Fix Pack 1 for V5.1 to support the SLES 9 operating system.

    [V5.1.1 and later]SLES 9 support: You must also install the WAS V5.1.1 cumulative fix for IBM SDK, Solaris Java 2 SDK, and HP-UX Java 2 SDK service offering to support SLES 9. The cumulative fix updates the IBM Developer Kit for Linux, Java Technology Edition software that IBM uses with the Version 5.1.1 WAS Network Deployment product. The new service level is 1.4.2 SR1.

    A problem can exist with the Mozilla browser supporting the IBM download director program that you can use to download service from the IBM Support site. See Enabling Mozilla to use the IBM download director program for more information.

    See Recommended updates for WAS for information about downloading and installing the upgrades.

    Always install the latest cumulative fixes as they are released. See Cumulative Fix Strategy for WAS V5.0 and V5.1 for more information.

    See Installing interim fixes, cumulative fixes, and fix packs for more information.

  • [V5.1.1 and later]SLES 9 support: On SLES 9 platforms, set the max stack size setting back to its default value after installing the latest service.

    You can simply close the command shell window that you installed from to reset the limit, or issue the following command:

    ulimit -s unlimited

  • [V5.1.1 and later]SLES 9 support: On SLES 9 platforms, set the LANG environment variable back to its original setting or remove the environment variable setting after installing the latest service.

    You can simply close the command shell window that you installed from to unset the variable, or issue the following command:

    unset LANG

  • Tune your system for performance.

    For best performance on any platform, see Tuning performance.

     

    Preparing Linux for S/390 for better performance

    Linux for S/390 (which refers to the Linux distributions available from Linux distributors that run on IBM eServer zSeries and S/390 systems in 31-bit mode) provides a configuration technique that affects the installation and run time performance of WebSphere Application Server. The technique configures the environment where the Linux image runs to use swap space efficiently. Some performance guidelines recommend running Linux with the VM/ESA or z/VM swap turned off because of VM/ESA or z/VM virtualization of hardware. Virtualization can produce double-swapping situations where VM/ESA or z/VM swaps storage and Linux also swaps storage, which degrades performance.

    Excessive swapping affects the performance of the base WAS, which might require 200 MB when all of the Sample applications are loaded. On a system without swap space configured for use, and with a relatively small amount of memory (such as 256 MB), WAS might encounter problems obtaining enough free memory to work properly, particularly when competing for resources against other applications and products that run in the Linux environment.

    The solution is to disable swapping in Linux, but to enable swapping in VM/ESA or z/VM. You can increase performance by letting VM/ESA or z/VM handle the swapping. Double or triple the specification for physical memory for the Linux image. For example, if the physical memory allocation as seen by the Linux image is 256 MB, disable swap in Linux, enable swap in VM/ESA or z/VM, and increase the physical memory specification as seen by Linux to 512 MB or 768 MB. This amount of memory handles any large spikes in application memory usage that might occur.

    You can fine tune the amount of physical memory to allocate to each Linux guest operating system. Size the JVM heap size for the application running in the Application Server, add 90 MB to that amount for the Application Server, 20 MB for Linux, and another 10-20% to handle peak usage. This measurement provides better memory management from a VM/ESA or z/VM perspective.

    Avoid socket timeout exceptions (SocketTimeoutExceptions) when running WebSphere Business Integration Server Foundation on a Network Deployment node on a Linux for S/390 guest operating system on z/VM or VM/ESA. The exceptions are an indicator that too many processes are running and that the Linux system is being overloaded. If the deployment manager is under a heavy load, 1 GB of memory is required. In addition, move all base nodes to other Linux for S/390 guests to allow the deployment manager to run by itself on the Linux for S/390 system.

    See the Linux on IBM eserver zSeries and S/390: ISP/ASP Solutions IBM Redbook and the Performance Analysis for Java Web sites book for more information.

    Note: SLES 9 runs on 64-bit VM/ESA and z/VM systems only.

  • (Optional)   Create a monitored process for the deployment manager process, as described in Automatically restarting server processes.

    You can create monitored processes after the installation is complete.

    Processes started by a startManager.sh command are not running as monitored processes, regardless of how you have configured them. You must start the deployment manager process with a shell script based on the example rc.was file, to have the deployment manager running as a monitored process.

     

    Results

    The Installation wizard configures the product. It is not necessary to perform further configuration at this time.

    You have now registered and successfully installed WAS Network Deployment and the features that you selected.

     

    What to do next

    Uninstalling and reinstalling

    See Uninstalling the product for information about uninstalling any WAS product.

    [V5.1 and later]If you uninstalled the V5.1 base product but left the embedded messaging feature installed, and now you want to reinstall the V5.1 product, see Reinstalling V5.1 after uninstalling and leaving the embedded messaging feature installed.

    After uninstalling a WAS product, reinstalling into the same directory without first deleting all directory contents results in invalid XML configurations because of the retention of old files. Uninstall manually to delete all of the files so that you can reinstall with a clean system, as described in Manually uninstalling on Linux.

    Symptoms that you might experience if you reinstall without uninstalling manually include:

    1. The versionInfo.sh command states that a product is installed but the product is not installed.

    2. Specific directories might be missing in the installation root directory.
    If you experience symptoms such as these, uninstall everything manually and reinstall. Reinstallation is successful if you manually uninstall before reinstalling.

    Miscellaneous tips for Linux platforms


    Installation and migration tips


    Operating platform Tip in Platform-specific tips for installing and migrating
    Linux platforms Linux platforms

    All platforms All platforms
    All Linux and UNIX platforms All Linux and UNIX-based platforms




    Related tasks
    Installing the product
    Using the Launchpad to start the installation
    Installing silently
    Customizing the Network Deployment options response file
    Automatically restarting server processes
    Related reference
    Platform-specific tips for installing and migrating
    Tips for installing the embedded messaging feature
    responsefile