Preparing Solaris systems for installation

This topic describes how to prepare Solaris systems for the installation of IBM® WebSphere® Application Server products.

Before you begin

The installation uses Installation Manager. You can use the graphical interface or use a response file in silent mode.

Restriction: There are known issues with using Cygwin/X to run Eclipse-based applications on remote Solaris machines. This affects your use of the Profile Management Tool. With Cygwin/X on remote Solaris, for example, the Profile Management Tool welcome panel appears but no keyboard or mouse input is accepted. For details of existing Bugzilla reports on these issues, see the information at https://bugs.eclipse.org/bugs/show_bug.cgi?id=97808. If a different X server (such as Hummingbird Exceed®) is used, these problems do not occur.
Tip: Installation Manager is based on the Eclipse Rich Client Platform architecture. This architecture requires specific graphical libraries and versions to work properly. Read Installation Manager graphical environment issues on Solaris, Linux, AIX for information about specific system requirements.

About this task

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

Procedure

  1. Log on to the operating system.

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

    Select a umask that allows the owner to read/write to the files, and allows others to access them according to the prevailing system policy. For root, a umask of 022 is recommended. For nonroot users a umask of 002 or 022 can be used, depending on whether the users share the group. To verify the umask setting, issue the following command:
    umask
    To set the umask setting to 022, issue the following command:
    umask 022
  2. Make sure that you select the Entire Group option on the Select Solaris Software Group panel when you set up your system.
  3. Optional: Download and install the Mozilla Firefox web browser.

    If you do not have the Mozilla web browser, download and install the browser from http://www.mozilla.org/products/firefox.

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

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

    If the Mozilla Firefox package is in the /opt/bin/firefox directory, for example, use the following command:
    export BROWSER=/opt/bin/firefox
  5. Optional: Configure Hummingbird Exceed to disable Automatic Font Substitution.

    Font changes occur when using the Hummingbird Exceed package and invoke the Profile Management Tool. When you use the Hummingbird Exceed package to connect to a machine running the Solaris operating system, and then invoke the Profile Management Tool, some font sizes and styles display differently than when doing the same operation from the native Solaris display.

    The font sizes and style changes are based on the font selections in the bundled Java SE Runtime Environment 6 (JRE 6).

    To prevent the various font changes, configure Hummingbird Exceed to disable Automatic Font Substitution:

    1. From the Hummingbird Exceed user interface, click Xconfig > Font > Font Database > Disable ( Automatic Font Substitution).
    2. Click OK.
    3. Restart the Hummingbird Exceed package.
  6. Stop all Java processes related to WebSphere Application Server on the machine where you are installing the product.
  7. Stop any web server process such as the IBM HTTP Server.
  8. Provide adequate disk space.

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

    Installing all features and products requires approximately 2 GB of disk space. This estimate includes the following products, components, and features:
    • Main application server product installation
    • Profiles
    • Sample applications
    • IBM HTTP Server
    • Web Server Plug-ins
    • Application Client for WebSphere Application Server

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

  9. Set kernel values to support Application Server. Several Solaris kernel values are typically too small.

    The instructions in this step apply to the Solaris SPARC (32-bit and 64-bit) operating system only. For Solaris x64 processor-based systems, see How to Get Started with IBM WebSphere Application Server on Solaris 10 and Zones. The article was written for Solaris 10 on SPARC but the principles apply equally to x64.

    Before installing, review the machine configuration:
    sysdef -i

    The kernel values are set in the /etc/system file (for Solaris 8 or 9) or /etc/project file (for Solaris 10).

    [Updated in August 2012] The resource controls are set in the /etc/system project file (for Solaris 10. Resource controls are new for Solaris 10 and are replacing the use of some kernel values. Resource controls do not apply to Solaris 8 or 9. [Updated in August 2012]

    aug2012

    [Updated in August 2012] An example of some settings for kernel values and how they have changed for Solaris 9 and Solaris 10: is shown in the following example.
    set shmsys:shminfo_shmmax = 4294967295 (a resource control in Solaris 10)
    set shmsys:shminfo_shmseg = 1024       (obsolete in Solaris 9 and 10)
    set shmsys:shminfo_shmmni = 1024       (obsolete in Solaris 9 and 10
    set semsys:seminfo_semaem = 16384      (obsolete in Solaris 10)
    set semsys:seminfo_semmni = 1024       (a resource control in Solaris 10)
    set semsys:seminfo_semmap = 1026       (obsolete in Solaris 10)
    set semsys:seminfo_semmns = 16384      (removed in Solaris 10)
    set semsys:seminfo_semmsl = 100        (a resource control in Solaris 10)
    set semsys:seminfo_semopm = 100        (a resource control in Solaris 10)
    set semsys:seminfo_semmnu = 2048       (removed in Solaris 10)
    set semsys:seminfo_semume = 256        (obsolete in Solaris 10)
    set msgsys:msginfo_msgmap = 1026       (obsolete in Solaris 10)
    set msgsys:msginfo_msgmax = 65535      (obsolete in Solaris 10)
    set rlim_fd_cur=1024
    
    [Updated in August 2012]
    aug2012
    [Updated in August 2012] The Solaris 10 operating system introduces the following resource controls to replace the /etc/system kernel values:
                                  Old             Old       New        New  
        Resource control          tunable         default   Max        default
                                                            Value           
        ----------------------    -------------   -------   ---------  -----
                                                                            
        process.max-msg-qbytes    msginfo_msgmnb  4096      ULONG_MAX  65536
        process.max-msg-messages  msginfo_msgtql  40        UINT_MAX    8192
        process.max-sem-ops       seminfo_semopm  10        INT_MAX     512 
        process.max-sem-nsems     seminfo_semmsl  25        SHRT_MAX    512 
        project.max-shm-memory    shminfo_shmmax  0x800000  UINT64_MAX  1/4*
        
        * (New default is 1/4 of physical memory)                         
                                                                            
        project.max-shm-ids       shminfo_shmmni  100       2**24       128 
        project.max-msg-ids       msginfo_msgmni  50        2**24       128 
        project.max-sem-ids       seminfo_semmni  10        2**24       128 
    [Updated in August 2012]
    aug2012
    [Updated in August 2012] The following tunables are now obsolete in the Solaris 10 operating system:
        Shared Memory        Semaphores             Message-Queue           
        --------------       --------------         ---------------         
        shminfo_shmseg       seminfo_semmns         msginfo_msgmax          
        shminfo_shmmin       seminfo_semvmx         msginfo_msgssz          
        shminfo_shmmax*      seminfo_semmnu         msginfo_msgmni*         
        shminfo_shmmni*      seminfo_semaem         msginfo_msgtql*         
                             seminfo_semume         msginfo_msgmnb*         
                             seminfo_semusz         msginfo_msgmap          
                             seminfo_semmap         msginfo_msgseg          
                             seminfo_semmsl*                                
                             seminfo_semopm*                                
                             seminfo_semmni* 
    
    values ending in * are technically obsolete, but if they are present    
    in the /etc/system file then at system boot, the kernel will translate the   
    values into global resource controls.
    [Updated in August 2012]
    aug2012
    [Updated in August 2012] The following are important resource controls:
    *project.max-shm-ids:      Maximum shared memory IDs for a project.
    Replaces shmmni                                                                  
                                                                            
    *project.max-sem-ids:      Maximum semaphore IDs for a project.
    Replaces semmni                                                                  
                                                                            
    *project.max-msg-ids:      Maximum message queue IDs for a project.
    Replaces msgmni                                                                  
                                                                            
    *project.max-shm-memory:   Total amount of shared memory allowed for a project.
    Replaces shmmax                                                
                                                                            
    *process.max-sem-nsems:    Maximum number of semaphores allowed persemaphore set.
    Replaces semmsl                                           
                                                                            
    *process.max-sem-ops:      Maximum number of semaphore operations allowed persemop.
    Replaces semopm                                                   
                                                                            
    *process.max-msg-qbytes:   Maximum number of bytes of messages on a message queue.
    Replaces msgmnb                                          
                                                                            
    *process.max-msg-messages: Maximum number of messages on a message queue.
    Replaces msgtql 
    [Updated in August 2012]
    aug2012
    Note: [Updated in August 2012] For specific recommendations for tuning Solaris with WebSphere Application Server, see the topic Tuning Solaris systems. [Updated in August 2012]
    aug2012

    You can change kernel values by editing the /etc/system file (for Solaris 8 or 9) or /etc/project file (for Solaris 10) then rebooting the operating system. For more information about setting up the Solaris system, see the Sun Microsystems documentation. For example, the Solaris Tunable Parameters Reference Manual.

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

    Although Installation Manager checks for prerequisite operating system patches, review the prerequisites on the Supported hardware and software website if you have not done so already. Refer to the documentation for non-IBM prerequisite and corequisite products to learn how to migrate to their supported versions.

    Note: If your Solaris system does not have sufficient available memory as specified on the supported hardware and software website, you might experience a prerequisite error during installation: "A supported operating system architecture was not detected". If you proceed to the end of the installation, you might also see the following insufficient disk space error:
    java.io.IOException: Cannot run program "sh": error=12, Not enough space
            at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
            at java.lang.Runtime.exec(Runtime.java:593)
            at java.lang.Runtime.exec(Runtime.java:466)
    
    Free up additional memory on the machine and retry the installation.
  11. Verify the system cp command when using emacs or other freeware.
    If you have emacs or other freeware installed on your operating system, verify that the system cp command is used.
    1. Type the following command prompt before running the installation program for the WebSphere Application Server product.
      which cp
    2. Remove the freeware directory from your PATH if the resulting directory output includes freeware. For example, assume that the output is similar to the following message: .../freeware/bin/cp. If so, remove the directory from the PATH.
    3. Install the WebSphere Application Server 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 app_server_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.

  12. Verify that the Java SDK on the installation image disk is functioning correctly if you created your own disk.

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

    1. Change directories to the /JDK/jre.pak/repository/package.java.jre/java/jre/bin directory on the product disk. For example:
      cd /JDK/jre.pak/repository/package.java.jre/java/jre/bin
    2. Verify the Java version. Type the following command:
      ./java -version

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

Results

This procedure results in preparing the operating system for installing the product.

What to do next

After verifying prerequisites, verifying the product disk, and setting your installation goals, you can start installing. Use one of the following links to open the installation procedure that you require.




In this information ...


IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic Task topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Feb 6, 2014 11:19:27 PM CST
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=matt&product=was-nd-dist&topic=tins_solsetup
File name: tins_solsetup.html