Weblogic cluster for 24x7 environment and a front OHS server

Hi experts,
We are going to set up a reliable J2EE application server environment by using clustering webgoic servers on TWO nodes, and a front OHS https server in DMZ for load balancing.
I am new to weblogic cluster and load balance by OHS. I have visited this forum for Fusion MiddleWare clustering etc. Can some experts share some light on this?
Will our deployment architecture be able to handle the J2EE applications failover? In other word, we can restart one of Weblogic Managed Servers when a new release of J2EE codes are re-deployed without impacting business end users’s usage?
Problems we want to solve:
1. All J2EE applications are available for 24x7 even when new J2EE codes are released and deployed on weblogic Managed Servers ANY TIME, side-by-side deployment and restart a managed server if we need to clean the HTTP cache.
2. The J2EE applications should be accessed by external and internal users with a Single Access Point, like
https://apps.company1.com/j2ee1
https://apps.company2.com/j2ee1
https://apps.company1.com/j2ee2
https://apps.company2.com/j2ee2
All J2EE applications (j2ee1, j2ee2, j2ee3 etc) should be deployed on both of weblogic Servers in a cluster, and pointing to a SAME backend database.
Can some experts share with us the best practices on components and configurations? Thanks.

Seems your architecture is like Browser => OHS ( DMZ ) => Weblogic => DB OR Browser => HLB( like bigip ) => OHS ( DMZ ) => Weblogic => DB
Cluster is the solution for load balancing however if you are using OHS for redirection to weblogic then OHS does the load balancing in round robin way. using cluster in this way has a benefit of in case of any one of your managed server is down the OHS will divert connection request to any one of the active managed server ( you have to turn on dynamic list on at OHS ).
http://weblogicserveradministration.blogspot.com/2010/10/load-balancing-in-weblogic-server.html
Failover is something different, if in case any of the any managed server goes down then your user you get the application session from another server but new one, means the the tasks not saved by the users on earlier session will lost. for that yo need to use cluster and then need to enable the session replication. another best option is you can use the coherence web if you are using latest versions of weblogic supporting coherence web. with that you not need to worry on user sessions and you can start any of the managed server anytime without worrying about the user sessions.
http://weblogicserveradministration.blogspot.com/2010/10/manage-http-session-states-session.html
http://weblogicserveradministration.blogspot.com/2011/05/oracle-coherence-37-coherenceweb.html
http://weblogicserveradministration.blogspot.com/2010/11/clustering-part-i.html
another way is, you can use side by side deployment feature in case you don't want shutdown your application completely, with this, old connections and new requests will goes to old application and once new application activated all new requests will come to new application and once all requests on old application will complete that application will retire automatically.
Regards
Mukesh Negi
http://weblogicserveradministration.blogspot.com

Similar Messages

  • Weblogic cluster consumes 100% CPU and bringing server to its knees.

    I have BEA Weblogic 10.3.1 clustering as part of FMW 11g clustering. This is two node cluster on "Oracle VM" running OEL 4.0 with 4GB Memory and 4GB swap. Install seems to go with little difficulties like 100%CPU for short period but during the configuration always the Java thread consumes 100%.
    Now I am at a point where shared drive is created (Chapter 5.20 of EDG) for HA FileAdapter and Persistence store. Hitting same 100% CPU problem. Looks like thread locking situation.
    ^-- Holding lock: java.io.InputStreamReader@6215c5d[thin lock]
    ^-- Holding lock: java.io.InputStreamReader@6215c5d[thin lock]
    Also noticed the SWAP space is never being used though it has 4GB swap space. It brings the VM to its knees. Thanks in advance for any response.
    Here is the error stack
    ========================
    <Feb 4, 2010 8:23:56 AM EST> <Error> <WebLogicServer> <BEA-000337>
    <[STUCK] ExecuteThread: '1' for queue:
    'weblogic.kernel.Default (self-tuning)' has been busy for "346" seconds working on the request
    "weblogic.kernel.WorkManagerWrapper$1@62171ee", which is more than the configured time (StuckThreadMaxTime) of "300" seconds.
    Stack trace: Thread-22 "[STUCK] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'
    " <alive, in native, suspended, priority=1, DAEMON>
    jrockit.net.SocketNativeIO.readBytesPinned(SocketNativeIO.java:???)
    jrockit.net.SocketNativeIO.socketRead(SocketNativeIO.java:31)
    java.net.SocketInputStream.socketRead0(SocketInputStream.java:???)
    java.net.SocketInputStream.read(SocketInputStream.java:107)
    weblogic.utils.io.ChunkedInputStream.read(ChunkedInputStream.java:149)
    java.io.InputStream.read(InputStream.java:85)
    com.certicom.tls.record.ReadHandler.readFragment(Unknown Source)
    com.certicom.tls.record.ReadHandler.readRecord(Unknown Source)
    com.certicom.tls.record.ReadHandler.read(Unknown Source)
    ^-- Holding lock: com.certicom.tls.record.ReadHandler@6254fe1[thin lock]
    com.certicom.io.InputSSLIOStreamWrapper.read(Unknown Source)
    sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:250)
    sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:289)
    sun.nio.cs.StreamDecoder.read(StreamDecoder.java:125)
    ^-- Holding lock: java.io.InputStreamReader@6215c5d[thin lock]
    java.io.InputStreamReader.read(InputStreamReader.java:167)
    java.io.BufferedReader.fill(BufferedReader.java:105)
    java.io.BufferedReader.readLine(BufferedReader.java:288)
    ^-- Holding lock: java.io.InputStreamReader@6215c5d[thin lock]
    java.io.BufferedReader.readLine(BufferedReader.java:362)
    weblogic.nodemanager.client.NMServerClient.checkResponse(NMServerClient.java:286)
    weblogic.nodemanager.client.NMServerClient.checkResponse(NMServerClient.java:311)
    weblogic.nodemanager.client.NMServerClient.start(NMServerClient.java:90)
    ^-- Holding lock: weblogic.nodemanager.client.SSLClient@62164a2[thin lock]
    weblogic.nodemanager.mbean.StartRequest.start(StartRequest.java:75)
    weblogic.nodemanager.mbean.StartRequest.execute(StartRequest.java:45)
    weblogic.kernel.WorkManagerWrapper$1.run(WorkManagerWrapper.java:63)
    weblogic.work.ExecuteThread.execute(ExecuteThread.java:198)
    weblogic.work.ExecuteThread.run(ExecuteThread.java:165)
    }

    Few things that u can try first off
    1. Turn off Native IO
    2 Use this flag
    -DUseSunHttpHandler=true
    3. This stack seems to suggest communication wid NM
    weblogic.nodemanager.client.NMServerClient.checkResponse(NMServerClient.java:286)
    weblogic.nodemanager.client.NMServerClient.checkResponse(NMServerClient.java:311)
    Can you stop ur Node Manger and see if it helps..
    If these doesnt help, contact Oracle Support..

  • Creating view cluster for a header and detail table

    Hi all,
    I want to create a View cluster for maintaining 2 tables (one is the header table and other is the detail table)
    ....for each line in the header table there can be multiple detail line items...
    If anyone has worked on such requirement...please tell me how should i go about developing it.
    after creation i should be able to maintain the cluster using transaction SM34....
    Thanks ,
    Sushil.

    hi
    refer to following link
    http://help.sap.com/saphelp_nw04/helpdata/en/d0/999246b2aa11d1a5700000e82deaaa/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/d0/999246b2aa11d1a5700000e82deaaa/frameset.htm
    Cheers
    Snehi

  • Transaction for monitoring memory and resources on BW server

    hi experts
    I have the task to determine what occurred from an hour specified on few minutes, because there was a process or program ( we don't know ) which collapse memory and resources on BW server. I check throw SM37 if some Job was executed but no one was. I need a transaction for monitoring / checking memory and resources.
    Please I will appreciate any helpfull information.
    Regards
    mgg

    Hi
    You can use ST03 / ST03 N also check ST04, ST06 . If you have access to the service market palce please check SAP Note - 618868 ( FAQ: Oracle Performance )  and related notes for more help.
    Hope this helps
    Assign points if useful
    Regards

  • Help for Installing PHP and Sun One Web Server

    Hi
    I tried to install PHP 5.1.4 and Sun One Web Server 6.1. I am not able to complete this and got stuck. All the available materials in net seems to flow above my head.
    It will be very helpful if someone could let me know the step by step configuration a bit brief for the same.
    Thanks in advance
    Kathirvel Balakrishnan

    Hi Craig
    I am following these steps,
    1st step : Installing PHP on the WindowsNT server (NT users only)
    Copy the php files on your server
    Get the php zip file
    Copy the php files under a directory (for example : d:php4)
    (be careful don't use c:Program Filesphp because of the space between Program and Files
    copy php4ts.dll to c:winnt and msvcrt.dll if you don't already have it on your system
    Edit php.ini-dist
    rename php.ini-dist to php.ini
    Edit php.ini : Indicate in which directory you have copied youre php files. (extension_dir = d:php4extensions ; directory in which the loadable extensions (modules) reside.)
    copy php.ini in winnt directory (php.ini is parsed in my config)
    Matthias Kramer told me that he had to move php.ini to <path-to-netscape-server>/https-servername/config for it to be parsed
    Make a file association under Windows NT
    In a DOS Window, type assoc .php=PHPScript
    ftype PHPScript=d:php4php.exe %1 %*
    Test the 1st step
    Create a C:test.php file with a single line like <? echo("Nothing to write"); ?>
    Create a C:test.bat file with 2 lines test.php
    pause
    double-clic on test.bat
    If you see something like X-Powered-By: PHP/4.0.3
    Content-type: text/html
    Nothing to write
    then the NT association works!!
    2nd step : Configuring Netscape Enterprise Server or iPlanet for PHP4 with nsapi (NT & UNIX)
    Unix users only
    Compile PHP as follows: ./configure --with-nsapi=/usr/local/netscape/server4 --enable-libgcc
    make
    make install
    Add LD_LIBRARY_PATH=<libdir> to your Netscape server startup script
    where <libdir> is the full path to the directory where libstdc++.so.2.10.0 is located (usually /usr/local/lib)
    Add a mime-type to the Netscape Server
    In the Netscape Administration console chose Preferences|Mime Types
    Add a new type called magnus-internal/x-httpd-php for exts=php
    Click here for screenshot
    Stop your Web Server
    Make a copy of obj.conf located in: <path-to-netscape-server>/https-servername/config
    Modify obj.conf
    There are several section in obj.conf
    At the end of the Init section of obj.conf (necessarely after mime type init),
    place this two lines For NT users
    Init fn="load-modules" funcs="php4_init,php4_close,php4_execute,php4_auth_trans" shlib="d:/php4/sapi/php4nsapi.dll"
    Init fn="php4_init" errorString="Failed to initialise PHP!"
    For Unix users
    Init fn="load-modules" funcs="php4_init,php4_close,php4_execute,php4_auth_trans" shlib="/usr/local/netscape/server4/bin/libphp4.so"
    Init fn="php4_init" errorString="Failed to initialise PHP!"
    In The < Object name="default" > section,
    place this line (necessarely after all 'ObjectType' and before all 'AddLog' lines) Service fn="php4_execute" type="magnus-internal/x-httpd-php"
    Add a new object called x-httpd-php <Object name="x-httpd-php">
    ObjectType fn="force-type" type="magnus-internal/x-httpd-php"
    Service fn=php4_execute
    </Object>
    Restart your Web Server
    Test the 2nd step
    Put the test.php file in the document root of your server
    Then type http://server/test.php
    If you can see "nothing to write" in your browser then it works!
    AS mentioned in step 1,
    I am not getting the PHP message.
    I am installing it in my laptop, it has no IP, is that has to do something with this.
    Please guide me from here.
    Thanks in advance
    Kathirvel

  • Need help for create A and MX records (home server)

    What should I put in the DNS (A record, MX) to be able to receive email from my provider Godaddy and send emails directly from my server without passing through Godaddy.
     The server is "home server" and it is not always access (open).
     Incoming Mail: from Godaddy
     Outgoing Mail: form my server

    Hi,
    Based on my knowledge, the default receive connectors are automatically created when the Exchange server is installed. Then the internal and outbound mails can delivered properly through Exchange server. After we create send connector and add public MX record
    and A record on the public DNS server, the inbound mails can be delivered. And we can set the send connector with MX record, then the inbound mails are directly delivered by Exchange server.
    If you have any question, please feel free to let me know.
    Thanks,
    Angela Shi
    TechNet Community Support

  • No communication between the two nodes in weblogic cluster

    Hi All,
    We have installed weblogic cluster in our environment(LINUX 64-Redhat.5).On one node admin server ,managed server1,on second node we have managed server2.When we try to deploy application on one node it is not getting reflected in othe node.We have ran datagram test to check communication between 2 node.
    Here we observed that listener and pulisher are picking wrong IPs not the server Ips.
    can any one explain why and what is the problem.
    thanks,
    sudheer.

    Hi Sudheer,
    While performing the datagram test you mention the ports and ip so I am not sure how they are picking wrong ip and port. Follow the instructions to perform the test http://coherence.oracle.com/display/COH35UG/Performing+a+Datagram+Test+for+Network+Performance
    Re the deployments, you need to ensure that multicast is enabled in your environment and both your managed server are in the same subnet otherwise you need to specify WKA for unicast communication. I am assuming that you are building SOA infrastructure as it internally uses Coherence for deploying applications and you can follow the instructions http://download.oracle.com/docs/cd/E15523_01/core.1111/e12036/extend_soa.htm#CHDEAFJH else use the intructions as mentioned here http://download.oracle.com/docs/cd/E17904_01/web.1111/e13709/features.htm
    Hope this helps!
    Cheers,
    NJ

  • How to divide equal load in Oracle Weblogic Cluster Node

    Hello Friends..
    I install Oracle weblogic 10.3.3.0 and oracle Forms [32 Bit] Version 11.1.1.3.0 (Production) on Two PC, PC-1 and PC-2.
    I Create a cluster for load balancing and shifting the load from PC-1 to PC-2. Now I want to know which algorithm is best for equal load balance means i want to transfer equal load on both machine.
    If PC-1 have 10 http request then next 10 request transfer to PC-2.
    Please guide me.
    Thanks,
    Sachin

    Hi Sachin
    You need to have a load balancer or web server in front of your weblogic server cluster.
    This is really a tunning excersise, so you need to try several options depending on the load of the enironment, however robin robin (default) should work for you.
    You can see more details here:
    Load Balancing in a Cluster
    Best Regards
    Luz

  • Libproxy sp12 behind a firewaill fails to connect to weblogic cluster

    Two WLS 5.1 SP11 clustering, iPlanet4.1 w/wlproxy plugin, Solaris Box. There is a firewall in between the iPlanet WebServer and the weblogic cluster. The NSAPI proxy plugin ( libproxy.so )connects successfully to one of the weblogic cluster for the first time using the NAT IPs of the cluster m/c maintained in the obj.conf. The Response contains the actual IP of the weblogic cluster m/c which gets updated in the proxy and uses that to connect to the cluster and firewall blocks that as it is not the NAT IP. But this works fine in libproxy of weblogic 6.1 unfortunately this has a problem when the data that gets passed is more than 1000 chars.
              

    shouldn't the connect string look like jdbc:oracle:thin:@MyIP:1521:MySID ?

  • Using weblogic.cluster.singleton.SingletonService

    We have written a Singleton class implementing this interface
    weblogic.cluster.singleton.SingletonService
    http://otndnld.oracle.co.jp/document/products/wls/docs100/javadocs/weblogic/cluster/singleton/SingletonService.html
    and have seen on one occasion a thread dump which shows 2 instances of the class actively running at the same time
    the docs say
    This interface defines a stateless lightweight singeton service that has the following contract:
    Activate is invoked on one and only one server in a cluster
    The question is whether this implies there is only one instance within that server at any time, or can multiple exist?

    No, only one instance will be started at one single managed server in the cluster.

  • In SAP BW landscape we should have separate servers for DEV, QA and PROD

    Hi all,
    In SAP BW system landscape we should have separate servers for DEV, QA and PROD.
    whether one server is enough for DEV and we can use virtual servers to QA & PROD?
    Regards,
    chandu

    Hi chandu,
    In my previous Organisation we got exactly the same landscape for BW as you described.BCS(BAYER COPSCIENCE LTD) operates a BW System Landscape with one centralized  Global Development System and three regional Quality Assurance and Production Systems located in Europe, Asia Pacific and Americas. This Landscape is to ensure consistent data models to be available in all regional systems as well as to minimize development efforts and make use of respective synergies.
    This is perfectly working  for BCS ,and I think, this is the most approriate way of handling of resources.
    Regards
    CSM Reddy

  • Firefox asks for user name and password even though the proxy auto detection

    After upgrading Firefox to ver. 6.01 and next to 6.02 Firefox asks for user name and password of proxy server even though proxy settings are set to Automatic detect proxy settings.

    Sorry can't do anything more than offer support. We have been having this problem for months and support is clueless. Do you also have the migrating homepage issue? We can have 3 or 4 different homepage set-ups throughout the day. Between Verizon and FIOS, there isn't an employee in the corporation who cares about customer service. Since the failed email migrations dating back to Spring of 2011, we have had this login situation constantly. Our normal login count for a day is 12. We figure they are regulating traffic by having customers constantly login.

  • Wu-ftpd installable for solaris 10 and solaris 9

    Hi,
    I could see only "proftpd" is available http://www.sun.com/software/solaris/freeware
    But I am looking for the "wu-ftpd" server which is compatable with Solaris 9 and Solaris 10.
    Any one help me from where I can get the "wu-ftpd" installable for solaris 9 and solaris 10 sparc server.
    thanks,
    Amudha

    Hi Robert,
    Thanks for your reply.
    I too saw that the ftp version used in solaris 10 by default is wu-ftpd, but I am not sure about it, because when I tried to ftp to my solaris box the version it is started is not "FTP server (Version wu-2.6.2(5)".
    I have got the wu-ftpd installable. But I could not get the proper document for configuring the same.
    Question1: How to stop existing ftp service and start newly instlaled wu-ftpd in Solaris 9 and Solaris 10 servers?
    Earlier solaris 8 version I change the ftpd version in /etc/inetd.conf file and give HUP signal to inetd then this new wu-ftpd version will be used.
    Question 2: It always starts the system inbuilt ftp server and also I am getting ftp log in failure for any user which I add newly or even existing users.
    could any one help to resolve these issues? Thanks in advance for your help.
    Amdudha

  • The Cluster not failover when i shutdown one managed server?

    Hello, I created one cluster whit two managed servers, and deployed an application across the cluster, but the weblogic server gave me two url and two different port for access to this application.
    http://server1:7003/App_name
    http://server1:7005/App_name
    When I shutdown immediate one managed server i lost the connection whit the application from this managed server, My question is, the failover and de load balancer not work, why??
    Why two diferent address?
    thank any help

    Well you have two different addresses (URL) because those are two physical managed servers. By creating a cluster you are not automatically going to have a virtual address (URL) that will load balance requests for that application between those two managed servers.
    If you want one URL to access this application, you will have to have some kind of web server in front of your WebLogic. You can install and configure Oracle HTTP Server to route requests to WebLogic cluster. Refer this:
    http://download.oracle.com/docs/cd/E12839_01/web.1111/e10144/intro_ohs.htm#i1008837
    And this for details on how to configure mod_wl_ohs to route requests from OHS to WLS:
    http://download.oracle.com/docs/cd/E12839_01/web.1111/e10144/under_mods.htm#BABGCGHJ
    Hope this helps.
    Thanks
    Shail

  • 2 Front-end vs 3 Front-end server

    Hi everyone,
    Our front-end pool will consist of 2 front-end servers for high availability. One front-end server should support 10,000 users, but since the recommendation for a front-end pool is 3 servers, i want to know if deploying only 2 could be a real issue. What
    I understand from the Technet documentation is that the way user data is stored (1 primary copy and 2 backup copies) is one reason (but I would thing not enough reason for us as a company of 1200 users) and that you need to shutdown and bring them up again
    in a specific order. Am I missing something what would definitely make me deploy 3 front-end servers? 

    I'd say just never do two front end servers, it's not recommended at all.
    Check out these links to learn more and see some experiences:
    Check out Richard Brynteson's blog post
    http://masteringlync.com/2013/10/29/understanding-how-windows-fabric-works/ (thank you for writing this up, Richard!)
    http://ucnew.wordpress.com/2013/08/16/lync-server-2013-2fe-2be-high-availablity-issue/
    http://unifiedme.co.uk/2013/04/lync-server-2013-front-end-architecture-process-and-can-you-run-enterprise-edition-pool-with-one-two-front-end-servers/
    Per TechNet "If you do not want to deploy three Enterprise Edition Front End Servers and want high availability and disaster recovery, we recommend you use Lync Server Standard Edition and create two pools with a paired backup relationship. This
    will provide the best high availability and disaster recovery solution with only two servers."
    http://technet.microsoft.com/en-us/library/gg412996.aspx
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question please click "Mark As Answer".
    SWC Unified Communications

Maybe you are looking for

  • IF Statement in Select

    I need to choose between value1 and value2 within a select statement. TableA Flag (char) Value1 Value2 ItemDesc pseudo code select ItemDesc, (if Flag = 'y' then Value1 else Value2) as Price from TableA; How can this be done?

  • Batch Change Dates in Aperture

    I want to batch change hundreds of images in 1 event (or project) in Aperture 3 to be timed apart by the time designation I set forth on the batch process. I have easily done this in iPhoto 8 by selecting all the photos, ctrl-clicking "batch change"

  • Can only see the first page of books downloaded on Nook using Overdrive, how do I fix?

    Can only see the first page of each chapter of downloaded books on my Nook, how do I fix?

  • ISO codes in CRM need to match R/3

    Middleware BDOC errors are reporting that the CRM ISO codes are not matching R/3.  Where can I generate a list of ISO codes in R/3 so that I can customize CRM to match?

  • Connect macbook to iphone5

    Does anyone know how to connect my iphone5 to my macbook it's an old one with intel processor, when i connect the two, a message comes up that my software needs updating but my mac can't be updated to mountain lion?