+


Install WebSphere Application Server and IBM HTTP Server


The following procedure is an example of how to configure WAS and IHS for IBM Curam and Engage Point Architect Suite.


Install WAS WebSphere Application Server v8.0.0.6

  1. Create /opt/IBM file system

  2. Prepare the AIX OS

  3. Install Firefox

      cd /opt/IBM
      scp -r root@myhost:/export/Firefox.tar.gz .
      gunzip Firefox.tar.gz; tar xvf Firefox.tar
      rm Firefox.tar
      cd /opt/IBM/Firefox
      rpm -Uvh *.rpm
      installp -acQNgXY -d /opt/IBM/Firefox Firefox.base.rte
      export BROWSER=/usr/bin/firefox

    Typical output...

      Name                        Level           Part        Event       Result
      -------------------------------------------------------------------------------
      Firefox.base.rte            3.6.25.2        USR         APPLY       SUCCESS
      Firefox.base.rte            3.6.25.2        ROOT        APPLY       SUCCESS
      

  4. Copy WAS v8 install archive and Installation Manager install archive to your host. For example...

      cd /opt/IBM
      scp -r root@myhost:/export/Websphere .
      scp -r root@myhost:/export/InstallationManager.tar.gz .
      gunzip InstallationManager.tar.gz; tar xvf InstallationManager.tar
      rm InstallationManager.tar

  5. Add WAS v8 to repository

    1. Run Installation Manager in console mode...

        cd /opt/IBM/InstallationManager/eclipse/tools
        ./imcl -c

    2. Select...

        P. Preferences | 1. Repositories | D. Add Repository

    3. For repository location...

        /opt/IBM/Websphere/repository.config

    4. Save changes and exit...

        A. Apply changes | R. Return to main menu | X. Exit Installation Manager

    5. Confirm repository is available...

        # ./imcl listAvailablePackages -repositories /opt/IBM/Websphere/repository.config
        com.ibm.websphere.ND.v80_8.0.0.20110503_0200

  6. Install WAS v8

      mkdir /opt/IBM/AppServer_Shared
      cd /opt/IBM/InstallationManager/eclipse/tools
      ./imcl install com.ibm.websphere.ND.v80_8.0.0.20110503_0200 -repositories /opt/IBM/Websphere/repository.config -installationDirectory /opt/IBM/WebSphere/AppServer -sharedResourcesDirectory /opt/IBM/AppServer_Shared -log /tmp/imcl.log -acceptLicense

  7. Verify install

      # /opt/IBM/WebSphere/AppServer/bin/versionInfo.sh
      --------------------------------------------------------------------------------
      IBM WebSphere Product Installation Status Report
      --------------------------------------------------------------------------------
      
      Report at date and time October 17, 2013 6:47:32 PM CDT
      
      Installation
      --------------------------------------------------------------------------------
      Product Directory        /opt/IBM/WebSphere/AppServer
      Version Directory        /opt/IBM/WebSphere/AppServer/properties/version
      DTD Directory            /opt/IBM/WebSphere/AppServer/properties/version/dtd
      Log Directory            /var/ibm/InstallationManager/logs
      
      Product List
      --------------------------------------------------------------------------------
      ND                       installed
      
      Installed Product
      --------------------------------------------------------------------------------
      Name                  IBM WebSphere Application Server Network Deployment
      Version               8.0.0.0
      ID                    ND
      Build Level           n1118.03
      Build Date            5/3/11
      Architecture          PPC64
      Installed Features    IBM 64-bit SDK for Java, Version 6
                            EJBDeploy tool for pre-EJB 3.0 modules
                            Embeddable EJB container
                            Stand-alone thin clients and resource adapters
      
      

  8. Create archive directory with WAS v8 fix packs

      cd /opt/IBM
      scp -r root@myhost:/export/WASFIXPACKS.tar.gz .
      gunzip WASFIXPACKS.tar.gz; tar xvf WASFIXPACKS.tar
      rm WASFIXPACKS.tar

  9. Add WAS fix packs to repository

    1. Run Installation Manager in console mode...

        cd /opt/IBM/InstallationManager/eclipse/tools
        ./imcl -c

    2. Select...

        P. Preferences | 1. Repositories | D. Add Repository

    3. For repository location...

        /opt/IBM/Websphere_Fix_Packs/repository.config

    4. Save changes and exit...

        A. Apply changes | R. Return to main menu | X. Exit Installation Manager

    5. Confirm repository is available...

        # ./imcl listAvailablePackages -repositories /opt/IBM/Websphere_Fix_Packs/repository.config
        com.ibm.websphere.BASE.v80_8.0.6.20130328_1645
        com.ibm.websphere.BASETRIAL.v80_8.0.6.20130328_1645
        com.ibm.websphere.DEVELOPERS.v80_8.0.6.20130328_1645
        com.ibm.websphere.DEVELOPERSILAN.v80_8.0.6.20130328_1645
        com.ibm.websphere.EXPRESS.v80_8.0.6.20130328_1645
        com.ibm.websphere.EXPRESSTRIAL.v80_8.0.6.20130328_1645
        com.ibm.websphere.ND.v80_8.0.6.20130328_1645
        com.ibm.websphere.NDDMZ.v80_8.0.6.20130328_1645
        com.ibm.websphere.NDDMZTRIAL.v80_8.0.6.20130328_1645
        com.ibm.websphere.NDTRIAL.v80_8.0.6.20130328_1645

  10. Install fix packs

      cd /opt/IBM/InstallationManager/eclipse/tools
      ./imcl install com.ibm.websphere.ND.v80_8.0.6.20130328_1645 -repositories /opt/IBM/Websphere_Fix_Packs/repository.config -installationDirectory /opt/IBM/WebSphere/AppServer -sharedResourcesDirectory /opt/IBM/AppServer_Shared -log /tmp/imcl.log -acceptLicense

  11. Verify install

      # /opt/IBM/WebSphere/AppServer/bin/versionInfo.sh
      --------------------------------------------------------------------------------
      IBM WebSphere Product Installation Status Report
      --------------------------------------------------------------------------------
      
      Report at date and time October 17, 2013 7:14:57 PM CDT
      
      Installation
      --------------------------------------------------------------------------------
      Product Directory        /opt/IBM/WebSphere/AppServer
      Version Directory        /opt/IBM/WebSphere/AppServer/properties/version
      DTD Directory            /opt/IBM/WebSphere/AppServer/properties/version/dtd
      Log Directory            /var/ibm/InstallationManager/logs
      
      Product List
      --------------------------------------------------------------------------------
      ND                       installed
      
      Installed Product
      --------------------------------------------------------------------------------
      Name                  IBM WebSphere Application Server Network Deployment
      Version               8.0.0.6
      ID                    ND
      Build Level           cf061312.03
      Build Date            3/28/13
      Package               com.ibm.websphere.ND.v80_8.0.6.20130328_1645
      Architecture          PPC64
      Installed Features    IBM 64-bit SDK for Java, Version 6
                            EJBDeploy tool for pre-EJB 3.0 modules
                            Embeddable EJB container
                            Stand-alone thin clients and resource adapters
      

  12. Create profiles

    • Engage Point Architect Suite profiles

      1. Create dmgr profile
        export WAS_HOME=/opt/IBM/WebSphere/AppServer
        export PROFILE_HOME=/opt/IBM/WebSphere/AppServer/profiles
        dmgrhost=`hostname`
        
        echo "Creating Dmgr01 profile on $dmgrhost"
        
        cd $WAS_HOME/bin/
        ./manageprofiles.sh -create \
                            -profileName Dmgr01 \
                            -adminUserName wasadmin \
                            -adminPassword wasadmin \
                            -enableAdminSecurity true \
                            -cellName Cell01 \
                            -nodeName CellManager01 \
                            -profilePath $PROFILE_HOME/Dmgr01 \
                            -enableService false \
                            -hostName $dmgrhost \
                            -templatePath $WAS_HOME/profileTemplates/management
        

        Sample output

        root@mytargethost /opt/IBM/WebSphere/AppServer/bin # ./manageprofiles.sh -create \
        >                     -profileName Dmgr01 \
        >                     -adminUserName wasadmin \
        >                     -adminPassword wasadmin \
        >                     -enableAdminSecurity true \
        >                     -cellName Cell01 \
        >                     -nodeName CellManager01 \
        >                     -profilePath $PROFILE_HOME/Dmgr01 \
        >                     -enableService false \
        >                     -hostName $dmgrhost \
        >                     -templatePath $WAS_HOME/profileTemplates/management
        INSTCONFSUCCESS: Success: Profile Dmgr01 now exists. 
        See /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/logs/AboutThisProfile.txt 
        

      2. Create application profiles
        ### EP prodcut nodes
        export node1=ContentNode
        export node2=NotifyNode
        export node3=AuditNode
        export node4=TransactNode
        export node5=ResolveNode
        export node6=WebServerNode
        export templatepath=$WAS_HOME/profileTemplates/managed
        export hostnameIHS=myIHShost
        
        ### Create Content profile
        $WAS_HOME/bin/manageprofiles.sh -create \
                                        -profileName $node1 \
                                        -nodeName $node1 \
                                        -hostName $dmgrhost \
                                        -profilePath $PROFILE_HOME/$node1 \
                                        -templatePath $templatepath \
                                        -federateLater true
        
        ### Create Notify profile
        $WAS_HOME/bin/manageprofiles.sh -create \
                                        -profileName $node2 \
                                        -nodeName $node2 \
                                        -hostName $dmgrhost \
                                        -profilePath $PROFILE_HOME/$node2 \
                                        -templatePath $templatepath \
                                        -federateLater true
        
        ### Create Audit profile
        $WAS_HOME/bin/manageprofiles.sh -create \
                                        -profileName $node3 \
                                        -nodeName $node3 \
                                        -hostName $dmgrhost \
                                        -profilePath $PROFILE_HOME/$node3 \
                                        -templatePath $templatepath \
                                        -federateLater true
        
        ### Create Transact profile
        $WAS_HOME/bin/manageprofiles.sh -create \
                                        -profileName $node4 \
                                        -nodeName $node4 \
                                        -hostName $dmgrhost \
                                        -profilePath $PROFILE_HOME/$node4 \
                                        -templatePath $templatepath \
                                        -federateLater true
        
        ### Create Resolve profile
        $WAS_HOME/bin/manageprofiles.sh -create \
                                        -profileName $node5 \
                                        -nodeName $node5 \
                                        -hostName $dmgrhost \
                                        -profilePath $PROFILE_HOME/$node5 \
                                        -templatePath $templatepath \
                                        -federateLater true
        
        ### Create Webserver profile (NOT SURE YET IF THIS WORKS for a webserver)
        #$WAS_HOME/bin/manageprofiles.sh -create \
        #                                 -profileName $node6 \
        #                                 -nodeName $node6 \
        #                                 -hostName $hostnameIHS \
        #                                 -profilePath $PROFILE_HOME/$node6 \
        #                                 -templatePath $templatepath \
        #                                 -federateLater true
        
        ls -CF $PROFILE_HOME
        
        ### Start dmgr 
        /opt/IBM/WebSphere/AppServer/bin/startManager.sh
        
        
        ### Federate appserver nodes 
        
        cd $PROFILE_HOME/ContentNode/bin
        ./addNode.sh $dmgrhost 8879 -conntype SOAP -username wasadmin -password wasadmin
        
        cd $PROFILE_HOME/NotifyNode/bin
        ./addNode.sh $dmgrhost 8879 -conntype SOAP -username wasadmin -password wasadmin
        
        cd $PROFILE_HOME/AuditNode/bin
        ./addNode.sh $dmgrhost 8879 -conntype SOAP -username wasadmin -password wasadmin
        
        cd $PROFILE_HOME/TransactNode/bin
        ./addNode.sh $dmgrhost 8879 -conntype SOAP -username wasadmin -password wasadmin
        
        cd $PROFILE_HOME/ResolveNode/bin
        ./addNode.sh $dmgrhost 8879 -conntype SOAP -username wasadmin -password wasadmin
        
        
        ### Web server node
        #cd $PROFILE_HOME/WebServerNode/bin/
        #./addNode.sh $dmgrhost 8879 -conntype SOAP -username wasadmin -password wasadmin
        
        

    • Curam profile
      export WAS_HOME=/opt/IBM/WebSphere/AppServer
      export PROFILE_HOME=/opt/IBM/WebSphere/AppServer/profiles
      dmgrhost=`hostname`
      
      echo "Creating Dmgr01 profile on $dmgrhost"
      
      cd $WAS_HOME/bin/
      ./manageprofiles.sh -create \
                          -profileName Dmgr01 \
                          -adminUserName wasadmin \
                          -adminPassword wasadmin \
                          -enableAdminSecurity true \
                          -cellName Cell01 \
                          -nodeName CellManager01 \
                          -profilePath $PROFILE_HOME/Dmgr01 \
                          -enableService false \
                          -hostName $dmgrhost \
                          -templatePath $WAS_HOME/profileTemplates/management
      
      
      ### Create Curam01 profile
      $WAS_HOME/bin/manageprofiles.sh -create \
                                      -profileName Curam01 \
                                      -nodeName Curam01 \
                                      -hostName $dmgrhost \
                                      -profilePath $PROFILE_HOME/Curam01 \
                                      -templatePath $WAS_HOME/profileTemplates/managed \
                                      -federateLater true
      
      ### Start the deployment manager...
      ./startManager.sh
      
      ### Federate appserver nodes 
      cd $PROFILE_HOME/Curam01/bin
      ./addNode.sh $dmgrhost 8879 -conntype SOAP -username wasadmin -password wasadmin
      
      

    If you want to start again, run manageprofiles.sh -deleteAll

  13. To verify, log on to Dmgr admin console.

    ...and run...

      Servers | WebSphere application servers | server1 (checkbox) | Start

  14. Install Ant

  15. Install IHS