WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Document on installing WAS Cluster and Load Balancer

Joseph Amrith Raj Paturi

Joseph Amrith Raj PaturiWed December 04, 2013 07:18 AM

  • 1.  Document on installing WAS Cluster and Load Balancer

    Posted Fri November 29, 2013 06:14 AM
    Hello,

    I have trial pack of Websphere Application Server installation. I want to set cluster environment with multiple cluster members.

    Please point out some documentation and download location (if at all I need addtional softwares).

    Thanks in advance.


  • 2.  Document on installing WAS Cluster and Load Balancer

    Posted Fri November 29, 2013 07:14 AM
    Is your sofrware .. WebSphere Application Server Network Deployment ?

    check this video on how to create clusters : www.youtube.com/watch?v=QJdRWJLVgYw‎




  • 3.  Document on installing WAS Cluster and Load Balancer

    Posted Fri November 29, 2013 03:05 PM
    Hi Nageswara,

      for which version do you want material or reference?

      Conceptually is the same from version 6.1 to 8.5 but from implementation point of view there are different steps in (v6.x - v7) and v8.X.

     Tell us the version to give you links and material.

    regards


  • 4.  Document on installing WAS Cluster and Load Balancer

    Posted Sun December 01, 2013 06:25 AM
    Hi Gabriel,

    At present I have installer for App Server 7.x.  So I am looking to create cluster environment for 7.x.


  • 5.  Document on installing WAS Cluster and Load Balancer

    Posted Sun December 01, 2013 02:06 PM
    Hi Negeswara,

      I recomend the next redbook
     
      WebSphere Application Server V6 Scalability and Performance Handbook
      www.redbooks.ibm.com/abstracts/SG246392....
     
      even is for version 6 the steps to create a cluster in v7 are the same.

      The sample topology is quite advanced, but real for production environments.  If you are starting I suggest a subset of the sample topology:

       Two nodes (physical/virtual). One of then (A) with Deployment Manager (DMGR) and 1 Node (Federate) and the other one (B) with HTTP Server and other Node (Federate).

       Then create a cluster of two menbers between node A and B.

      To do that follow Chapter 8.5  Installing WebSphere and configuring clusters. Don't do section 8.5.6, with section 8.5.5 you will have one cluster implemented.

      For HTTP server implementation follow Chapter 8.6 Installing and configuring IBM HTTP Server 6.0.

      Hope this helps.  Tell us any doubt about the implementation process.
     
    regards


  • 6.  Document on installing WAS Cluster and Load Balancer

    Posted Wed December 04, 2013 06:40 AM
    Hi Gabriel/Joseph,

    Cluster has been created with the material you have given. Thanks a ton for that. Completed first step.

    I tried to install

    "http://pic.dhe.ibm.com/infocenter/wasinfo/v8r5/index.jsp?topic=%2Fcom.ibm.websphere.samples.doc%2Fae%2Fsample_web20.html"

    Followed all the steps to isntall and start the application. Done with that.

    Currently I am facing the error "SRVE0255E: A WebGroup/Virtual Host to handle aspl-lt-0058.appnomic.local:9082 has not been defined."

    With brief search I have added environment entries --> virtual hosts --> Host Aliases --> host name.port to *.9082, *.9083, *.9084

    Even tried with https ports 9445, 9446, 9447

    Still no luck.

    Please help.


  • 7.  Document on installing WAS Cluster and Load Balancer

    Posted Wed December 04, 2013 07:18 AM


  • 8.  Document on installing WAS Cluster and Load Balancer

    Posted Wed December 04, 2013 03:04 PM
    Hi Nageswara

      Joseph's has put a very good guide to solve the problem.  
     
      If you can't solve the problem tell us please.
     
    Regards


  • 9.  Document on installing WAS Cluster and Load Balancer

    Posted Thu December 05, 2013 02:50 AM
    Hi,

    I dont think my cluster installation is correct. Corss validating with your blog

    Access application from app server: Same error
    Check any recent application install/update: No further changes just installed and started the application
    Verify Plug-in is working: Webserver installed automatically along with deployment manager/cell manager. From "All servers" link I could see webserver listed along with other jvmApp01, jvmApp02, jvmApp03 (App server instances). However except webserver all jvm(s) are started.

    Starting webserver from "webservers" link also fails without any logs. And no shortcut available for "IBM HttpServer" at start --> All Programs --> IBM Websphere

    With these, I suspect I haven't insall websphere correctly.

    No issues found on verification of host alias, context root etc., (All application specific and virtual host looks good)

    Thanks


  • 10.  Document on installing WAS Cluster and Load Balancer

    Posted Thu December 05, 2013 05:28 AM
    1. under mapmodule to server .. check, if u mapped ur application to cluster
    2. under application - virtualhost, check which host is mapped


  • 11.  Document on installing WAS Cluster and Load Balancer

    Posted Fri December 06, 2013 05:48 AM
    Nageswara,
     
      The first step is to try accessing the application directly to appserver port (9082,9083 or 9084).  If you a not accessing directly and you see the application started from adminconsole.  Check if the application is mapped to server/cluster/WebServer, from mapmodule to servers.
     
      About your WebServer, I will assume you have WAS server installed correctly so the problem is with WebServer
     
      How are you starting the WebServer (I guess from command line)? haven't logs of the WebServer in \logs? and httpd.pid in same directory? If you have registered WebServer as a service , check Windows System Event viewer.
     
    Regards


  • 12.  Document on installing WAS Cluster and Load Balancer

    Posted Tue December 10, 2013 02:42 AM
    Thanks Gabriel and Joseph!!! Amazing, The issue is the module is not mapped to cell node. Module started working after mapping module to node and cell :-)

    Thanks a ton for your help. Much appreciate.


  • 13.  Document on installing WAS Cluster and Load Balancer

    Posted Tue December 10, 2013 02:45 AM
    However application is accessable through 9081/9082/9083 my federated app servers, but not accessble via webserver (port 80) eventhough the server is running.

    Any insights?


  • 14.  Document on installing WAS Cluster and Load Balancer

    Posted Tue December 10, 2013 02:51 AM
    [quote author=204708499 post=536842021]However application is accessable through 9081/9082/9083 my federated app servers, but not accessble via webserver (port 80) eventhough the server is running.

    Any insights?[/quote]

    And the logs says
    [Tue Dec 10 03:45:28 2013] [error] [client 190.205.219.142] File does not exist: E:/IBM/HTTPServer/htdocs/home.htm
    [Tue Dec 10 03:45:53 2013] [error] [client 78.26.128.150] Invalid URI in request \x83\xb3C\x13lUUE\x03\x10H@\xf1#\xfc\x85\x7f\xd8\xfb1\xf8\v\xde\x9d\x84a\xdb\xa50F\x02A
    [Tue Dec 10 03:46:05 2013] [error] [client 190.239.234.98] File does not exist: E:/IBM/HTTPServer/htdocs/setup.htm
    [Tue Dec 10 03:46:05 2013] [error] [client 41.250.83.203] File does not exist: E:/IBM/HTTPServer/htdocs/home.htm
    [Tue Dec 10 03:46:18 2013] [error] [client 109.169.212.154] File does not exist: E:/IBM/HTTPServer/htdocs/online.htm
    [Tue Dec 10 03:46:46 2013] [error] [client 78.85.4.210] File does not exist: E:/IBM/HTTPServer/htdocs/file.htm
    [Tue Dec 10 03:47:19 2013] [error] [client 76.165.219.34] request failed: error reading the headers
    [Tue Dec 10 03:47:31 2013] [error] [client 94.250.3.187] File does not exist: E:/IBM/HTTPServer/htdocs/install.htm


  • 15.  Document on installing WAS Cluster and Load Balancer

    Posted Tue December 10, 2013 05:06 AM
    hi, 
     in the same way you have mapped modules to servers, you need to map webserver too. Then generate and propagate the plugin.
     
      hope this help.
     regards
     


  • 16.  Document on installing WAS Cluster and Load Balancer

    Posted Tue December 10, 2013 05:35 AM
    I doubt I have installed HttpServer in the right way. As of I see, we could do this either via Installation Manager or federated server. I have installed using installation manager which gives me binaries of HttpServer under .../IBM/HttpServer/ and then created "webserver" via Administration Console --> servers --> webservers.

    As you mentioned I have mapped every available entries.

    Any clues?

    Just found bottom line of the issue. HttpServer looking for content on its root instead of getting it from the AppServer location. Not sure whether an acceptable behavior.

    Please help


  • 17.  Document on installing WAS Cluster and Load Balancer

    Posted Tue December 10, 2013 09:40 AM
    Nageswara,

      No, one think is the installation and another the management. When you create a "webserver" via administration console you a creating a definition of a webserver and depending on your webserver type (IHS, Apache, IIS, Lotus,...) you will have some administration tasks in this server, but you are NOT installing the Webserver.

      Is your server listing in port 80 (and 443)? are you getting your welcome page in IHS (http://webserver_host/)? if yes you need to check your plugin configuration.

      Check if you have two lines at the end of the IHS_HOME\conf\httpd.conf file of your webserver.  For that look the next thread

      BM HTTP Server and Plugin issue--- 404 Error
      www.websphereusergroup.org/go/thread/vie...

      hope this helps.  Tell us if you need more support.

    regards