[Version 5.0.2 and later]Installing Network Deployment on HP-UX platforms

This topic describes how to install the WebSphere Application Server Network Deployment product on an HP-UX operating system platform.

Before you begin

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.

Installation programs in WebSphere Application Server products

[5.0 only][Version 5.0.2]

Product Link to installation procedure Label on product CD
(Base) WebSphere Application Server Base product installation Application Server, IBM HTTP Server
Network Deployment Network Deployment installation (which links to this procedure!) Deployment Manager
Enterprise Enterprise installation Enterprise Application Server


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.

[5.0 only][Version 5.0.2]If you buy the Enterprise product, you also get the Network Deployment product and the base product in the package.

Creating multiple Application Servers on a single machine

Although you can create multiple servers on a base WebSphere Application Server 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 install the Network Deployment product to create and manage multiple base Application Servers.

Order of installation

[5.0 only][Version 5.0.2]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 Enterprise product that extends the Network Deployment product. You can install the Enterprise product before the base product. The Enterprise product can install the base product in what is known as an umbrella installation but Enterprise cannot install the Network Deployment product. Some features of the base product cannot be installed by Enterprise.

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. See the following installation tip for more information:

Installation tip
Operating platform Tip in Platform-specific tips for installing and migrating
All platforms Installing WebSphere Application Server products in order on the same machine, when installing the embedded messaging component


This topic is available in Adobe PDF format on the product CD-ROM and online in an information center. The information center always has the most current information. The information center displays in the language of your machine locale if possible.

The installation guide PDF is updated occasionally. Download a new installation guide from:

[5.0 only][Version 5.0.2]ftp://ftp.software.ibm.com/software/webserver/appserv/library/wasv502nd_gs.pdf

Why and when to perform this task

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

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

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 /usr/bin/mozilla /usr/bin/netscape

You can also launch the following links directly from your browser:

Product Overview
http://www.ibm.com/software/webservers/appserv/

It is possible that your security options might prevent redirection, such as to the http://www-306.ibm.com/software/info1/websphere/index.jsp?tab=products/appserv Web site. If so, you can identify the IBM Web site as a trusted site to allow the redirection. For example, on Internet Explorer, add http://www-306.ibm.com to the list of Trusted Sites by selecting Tools > Internet Options > Security (tab) > Trusted Sites.

Readme File
CD-ROM mount point/readme/readme_en.html
Installation Guide
CD-ROM_mount_point/docs/InstallGuide_en.PDF

The Installation Guide is in Adobe PDF format. Viewing this document requires you to have Adobe Acrobat Reader, which is a free download from the Adobe Acrobat Web site .

After using the Launchpad to view product documentation, perform the following procedure. The procedure includes several preliminary steps before actually launching the installer program.

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. Stop all WebSphere Application Server-related Java processes on the machine where you are installing the product.
  3. Stop any Web server process such as the IBM HTTP Server, if you are extending the base product.
  4. Provide adequate disk space.

    [5.0 only][Version 5.0.2]The Network Deployment product requires the following disk space:

    550 MB for the /opt/WebSphere/DeploymentManager directory
    The installation root directory includes the base product code.
    100 MB for the /tmp directory
    The temporary directory is the working directory for the installation program.

    Verify that you have at least 100 MB of free space to avoid problems.

    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 100 MB of free space in the /tmp directory, and start the installation again.

    650 MB total requirement without the embedded messaging feature
    The total amount of space required includes the /tmp space, which is released after installation.

    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 Version 3.5.x: The size of application Java archive (JAR) files, Web archive (WAR) files, and servlet files
    • For Version 4.0.x: The size of enterprise archive (EAR) files

  5. Define the user groups and the user needed for the embedded messaging feature.
    1. Use the System Administration Manager (SAM) to create the mqm and mqbrkrs user groups.
    2. Use SAM to create the mqm user.
    3. Use SAM to add the mqm and root users to the mqm group.
    4. Use SAM to add 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 WebSphere Application Server topic connections.

  6. Log out and back in to pick up the secondary user groups, mqm and mqbrkrs, for root.
    Use ssh instead of telnet to log in or run the following command after logging on:
    su -

    Use the id 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@was2 root]# id
    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@was2 root]# groups
    root bin daemon sys adm disk wheel mqm mqbrkrs

  7. 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 HP-UX
    Component Base code Broker code Base data Broker data
    Path /usr/mqm /usr/opt/wemps /var/mqm /var/wemps
    Client subfeature 15 MB 15 MB 5 MB N/A


  8. 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.

  9. 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 mqver is shown below:

    Name:        WebSphere MQ
    Version:     530.4  CSD04
    ...
    

  10. 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 Java messaging feature.

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

  11. 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.
  12. 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

  13. Set kernel values to support Network Deployment.

    Several HP-UX kernel values are typically too small for the product and the embedded messaging feature. Starting the internal JMS server or client with insufficient kernel resources produces a First Failure Support Technology (FFST) file in the /var/mqm/errors directory.

    Before installing embedded messaging, review the machine configuration and, if needed, set appropriate HP-UX kernel settings.

    Queue managers are generally independent of each other. Therefore system kernel parameters, for example shmmni, semmni, semmns, and semmnu need to allow for the number of queue managers in the system.

    To set kernel parameters, perform the following steps:

    1. Log into the host machine as root.
    2. Determine the physical memory, which you must know to avoid setting certain kernel parameters above the physical capacity:
      1. Start the HP-UX System Administration Manager (SAM) utility.
      2. Select Performance Monitors > System Properties > Memory.
      3. Note the value for Physical Memory and click OK.
      4. Exit from the SAM utility.
    3. Set the maxfiles and maxfiles_lim parameters to at least 4096. (The following table recommends 8000 and 8196, respectively. You must first edit the /usr/conf/master.d/core-hpux file, to allow the SAM utility to set values greater than 2048:
      1. Open the file /usr/conf/master.d/core-hpux in a text editor.
      2. Change the line," *range maxfiles<=2048" to "*range maxfiles<=60000"
      3. Change the line, "*range maxfiles_lim<=2048" to "*range maxfiles_lim<=60000"
      4. Save and close the file. Old values might be stored in the /var/sam/boot.config file. Force the SAM utility to create a new boot.config file:
        1. Move the existing version of the /var/sam/boot.config file to another location, such as the /tmp directory.
        2. Start the SAM utility.
        3. Select Kernel Configuration > Configurable Parameters. When the Kernel Configuration window opens, a new boot.config file exists.

          Alternatively, rebuild the boot.config file with the following command:

           # /usr/sam/lbin/getkinfo -b

    4. Set new kernel parameter values:
      1. Start the SAM utility.
      2. Select Kernel Configuration > Configurable Parameters.
      3. For each of the parameters in the following table, perform this procedure:
        1. Highlight the parameter to change.
        2. Select Actions > Modify Configurable Parameter.
        3. Type the new value in the Formula/Value field.
        4. Click OK.

      Typical kernel settings for running WebSphere Application Server appear in the following table:

      Parameter Value
      dbc_max_pct 25
      maxdsiz 805306358
      maxdsiz 2048000000 (when the base and Network Deployment products are on one machine)
      maxfiles_lim 8196 (Change this one before maxfiles.)
      maxfiles 8000
      maxssiz 8388608
      maxswapchunks 8192
      max_thread_proc 3000
      maxuprc 512
      maxusers 512
      msgmap 2048
      msgmax 65535
      msgmax 131070 (when the base and Network Deployment products are on one machine)
      msgmnb 65535
      msgmnb 131070 (when the base and Network Deployment products are on one machine)
      msgmni 50
      msgseg 32767
      msgssz 32
      msgtql 2046
      nfile 58145
      nflocks 3000
      ninode 60000
      nkthread 7219
      nproc 4116
      npty 2024
      nstrpty 1024
      nstrtel 60
      sema 1 (with embedded messaging)
      semaem 16384 (with embedded messaging)
      semmap 514
      semmni 2048
      semmns 16384 (with embedded messaging)
      semmnu 1024
      semume 200
      semvmx 32767 (with embedded messaging)
      shmmax 2147483647
      shmem 1 (with embedded messaging)
      shmmni 1024
      shmseg 1024
      STRMSGSZ 65535


      When Network Deployment and IBM DB2 are on the same machine, some kernel values are higher than those shown in the preceding table.

      See the following Web links for more information:

    5. Select Actions > Process New Kernel.
    6. Click Yes on the information window to confirm your decision to restart the machine.

      Follow on-screen instructions to restart your machine and to enable the new settings.

    7. If you plan to redirect displays to non-HP machines, do the following before running the installation wizard:
      1. Issue the following command to obtain information on all public locales accessible to your application:
        # locale -a
      2. Choose a value for your system from the output that is displayed and set the LANG environment variable to this value. Here is an example command that sets the value of LANG to en_US.iso88591
        # export LANG=en_US.iso8859 

  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 WebSphere Application Server detailed system requirements 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 WebSphere Application Server detailed system requirements 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 you must 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.

    Ignoring a prerequisite checker error for a patch when a superset of the patch has been installed.

    If you apply a superset patch that includes a specific patch that the prerequisite checker program requires, you can ignore the message from the installer program and continue the installation.

    You can always continue the installation whenever you see an error message about a missing prerequisite. It is your option to ignore the messages and continue the installation. Although the list of prerequisite patches that the installer program checks is extensive, the list does not include all superset patches.

    For example, the installer program checks for patch PHCO_29109. The HP-UX Web site recommends that you install a superset patch, PHCO_29960, instead of PHCO_29109.

    After installing the patch and rebooting the machine, reinstalling the base WebSphere Application Server results in the same message about the missing PHCO_29109 prerequisite. You can ignore the error because you know that you have installed a superset patch.

  15. If you have uninstalled WebSphere Application Server Version 4.1, remove any entries from the /usr/bin/jitk.db file.
    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 WebSphere Application Server Enterprise Edition Version 4.1. You can prevent the Installation wizard from recognizing a previously deleted version of V4.1 Application Server by removing the following entry from the /usr/bin/jitk.db file:

    WebSphere Application Server 4.1

    Remove other Version 4.x entries for WebSphere Application Server products that are no longer on your system.

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

    If you have emacs or other freeware installed on your HP-UX system, verify that the system cp command is being used.

    1. Type which cp at the command prompt before running the installation program for the WebSphere Business Integration Server Foundation 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 WebSphere Application Server Network Deployment 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 Network Deployment product successfully.

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

  17. Verify the Java 2 SDK on the WebSphere Application Server Network Deployment 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 /hpux/WAS/jdk/java/bin directory on the product CD-ROM.

      For example:

      cd /mnt/hpux/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.

  18. Select the Installation wizard method or the silent installation method (Installing silently) 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 /cdrom/hpux/install command, where /cdrom is the mount point for the product CD-ROM and hpux is the platform directory.

    Performing a silent installation

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

    fully_qualified_CD_pathname/install
          -options fully_qualified_hard_disk_drive_path_name/responsefile
    
    # /cdrom/hpux/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:

    • Press Enter when the installation is complete to return to the command prompt.
    • Press Enter at any time to return from a background job to the command prompt.

    You can change the -W launchPRTBean.active option 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.

    Installing with a network file system mount

    If you must use an NFS mount, see the following installation tip:

    Installation tip
    Operating platform Tip in Platform-specific tips for installing and migrating
    All platforms Platform-specific issues when dealing with network file systems


  19. Insert the product CD-ROM labeled, Deployment Manager into a CD drive.
  20. Open a shell window and mount the CD drive, as described in Mounting a CD drive on HP-UX.
    Use the same shell window throughout the installation procedure.
  21. Start the installation with the /cdrom/hpux/launchpad.sh command, where /cdrom is the mount point for the product CD-ROM and hpux is the platform directory on the CD-ROM.
    You can also start the installation with the /cdrom/hpux/install command:
    # /cdrom/hpux/install

    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.

    [5.0 only][Version 5.0.2]Download a new installation guide at ftp://ftp.software.ibm.com/software/webserver/appserv/library/wasv502nd_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.

  22. 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.

    [5.0 only][Version 5.0.2]The license that the Installation wizard displays can contain characters that display incorrectly in Japanese. For example, the section labeled Part 1 does not show the number 1. These missing characters do not significantly affect the content of the license agreement.

  23. 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 Network Deployment product version changes, its prerequisites and corequisites change.

    The Network Deployment product simplifies migrating product prerequisites, by providing the option to install a complimentary Java 2 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 WebSphere Application Server, 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. As of V5.1, the Installation wizard also lists WebSphere Application Server - Express as a candidate for automatic migration, when detected.

    Use the same cell name when migrating Network Deployment from V5.0.x to V5.1.x. If you use a different cell name, federated nodes cannot successfully migrate to the Network Deployment V5.1.x cell.

    You can use a different node name, if you prefer, when migrating Network Deployment from V5.0.x to V5.1.x. However, you must use the administrative console after installation, to change the Secure Sockets Layer (SSL) settings that mention the node name.

    Migrating or coexisting with an existing WebSphere Application Server node that HP-UX does not recognize.

    In some cases, the InstallShield for MultiPlatforms (ISMP) program does not detect a previously installed version of WebSphere Application Server because of a failure to read the registry keys on HP-UX. You can force the migration and coexistence panel to display, by starting the installation with an option on the /cdrom/hpux/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.

    Use the same cell name when migrating Network Deployment from V5.0.x to V5.1.x. If you use a different cell name, federated nodes cannot successfully migrate to the Network Deployment V5.1.x cell.

    You can use a different node name, if you prefer, when migrating Network Deployment from V5.0.x to V5.1.x. However, you must use the administrative console after installation, to change the Secure Sockets Layer (SSL) settings that mention the node name.

  24. 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.
  25. 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.

    [5.0 only][Version 5.0.2]All WebSphere Application Server 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.0.2 (CSD04) is not the same as for V5.0.0 or V5.0.1.

    [5.0 only][Version 5.0.2]If you attempt to install V5.0.2 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).

      [Version 5.0.2]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 WebSphere Application Server product. Select the embedded messaging feature.
    The MQSeries JMS SupportPac MA88 problem is slightly different. Uninstall the MQSeries JMS SupportPac MA88 and reinstall the WebSphere Application Server product, selecting the embedded messaging feature. The function provided by SupportPac MA88 is included in the embedded messaging feature.

    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, you must create a dummy queue manager before uninstalling one of the WebSphere Application Server versions. A series of migration topics in Migrating and coexisting describe how to migrate after the installation.

    [5.0 only][Version 5.0.2]The first rule of migration is to migrate after you install Enterprise, if you are planning to install Enterprise:

    If you are planning to install these products: Select the migration option while installing this product:
    Network Deployment Enterprise Network Deployment Enterprise
    X   X  
    X X   X


    [5.0 only][Version 5.0.2]Migrating Enterprise also migrates the product that Enterprise 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 Version 5 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 Version 5 port number) to 9085 or higher, to avoid potential conflicts with port numbers that previous versions of WebSphere Application Server commonly use.

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

    [5.0 only][Version 5.0.2]If you choose neither the migration option nor the coexistence option, you can run Version 5.0.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 WebSphere Application Server Advanced Edition Single Server Edition, Version 4.0.x installation.

    The field labeled "Configuration file" is valid only for WebSphere Application Server Advanced Edition Single Server Edition, Version 4.0.x. For the other versions of WebSphere Application Server that are supported by migration (Version 3.5 Standard Edition, Version 3.5 Extended Edition, and Version 4.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.

    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 Version 5 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.

  26. 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 WebSphere Application Server product node federated within a Network Deployment cell
    • A stand-alone base WebSphere Application Server node
    The Network Deployment product is not a stand-alone product for running enterprise applications. To deploy UDDI or the gateway, install the base WebSphere Application Server product. Although it is not installed by default, a copy of the base WebSphere Application Server product is packaged with the Network Deployment product.

    [5.0 only][Version 5.0.2]See Developing Web services for more information.

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

    [5.0 only][Version 5.0.2]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.

    [5.0 only][Version 5.0.2]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.

  27. 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.

    [Version 5.0.2]Ensure that the target directory has adequate space available. Also ensure that at least 150 MB or more of free space exists in the /tmp 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.

  28. 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 WebSphere Application Server-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 WebSphere Application Server 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. WebSphere Application Server 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 WebSphere Application Server 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 WebSphere Application Server 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 WebSphere Application Server 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 WebSphere Application Server 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.

  29. 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.

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

    The wizard displays the Registration panel.

  31. 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.
  32. 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.

    [Version 5.0.2]Verify the success of the installer by querying the response code:

    echo $? 
    The return code from the installer is "1" to indicate success; any other response code indicates failure.

    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.

    When installing WebSphere Application Server with embedded messaging from the CD-ROM, the following warning messages are issued despite successful installation:

    MQSERIES.MQM-CL-HPUX: A test command parameter is not valid." and "* 
    "hostname:/cdrom/hpux/messaging/images":  Cannot open the
      logfile on this target or source.  Possibly the media is
      read-only or there is a permission problem." on mq_install.log.  
    You can ignore the warning messages, because the problem does not affect the successful installation of WebSphere Application Server with embedded messaging.

  33. Click Finish to close the Installation wizard.
  34. Restrict access to the /var/mqm/errors directory and messaging logging files.
    After installing the embedded messaging feature, you must 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.
  35. Install the most current fix pack and cumulative fix for the WebSphere Application Server product.

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

    Recommended updates for WebSphere Application Server products are listed on the Recommended updates for WebSphere Application Server Base and Network Deployment editions Web page.

  36. (Optional)   Create a monitored process for the deployment manager process, as described in Automatically restarting WebSphere 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 WebSphere Application Server Network Deployment and the features that you selected.

What to do next

Uninstalling and reinstalling

See Uninstalling the product for information about uninstalling any WebSphere Application Server product.

Miscellaneous tips for HP-UX platforms


Installation and migration tips

Operating platform Tip in Platform-specific tips for installing and migrating
HP-UX platforms HP-UX 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 WebSphere processes
Related reference
Platform-specific tips for installing and migrating
Tips for installing the embedded messaging feature
responsefile



Searchable topic ID:   installhpuxn
Last updated: Jun 21, 2007 4:55:42 PM CDT    WebSphere Application Server Network Deployment, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/tins_installhpuxn.html

Library | Support | Terms of Use | Feedback