otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


 Subscribe Blogs:RSS
 Subscribe Forums:RSS
OTMFAQ Home
OTMFAQ Blogs
OTMFAQ Forums
OTMFAQ Tutorials

OTM SIG
MavenWire


Performance, Scalability and HA Optimizing the performance of OTM / G-Log, configuring Scalability (SCA) and maintaining High Availability.

Tags: , , ,

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old August 9th, 2008, 01:05
Junior Member
 
Join Date: Jul 2008
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
LenDB2 is on a distinguished road
Smile Scalability not working as advertised/expected

Hello OTM'ers!
- My customer is testing on 5.5 CU4. Application and Web Servers all running on Sun Solaris 9 (64-bit).

- Configuration is 2 web server processes (Apache/Tomcat) and 2 Application Servers processes (Default and App99).

- Defined a single DEFAULT cluster, made up of both Application Servers (Default and App99) with equal weights of 1.

- This is an active-active configuration (Failover box is NOT checked for either App Server).

- No function based routing, No Domain based routing, etc. Plain vanilla, with expectation that ALL work gets routed to all App Servers (Scalability Topology).

- Integration is using SOAP WSDL directly to App Server (Default Server), bypassing web servers altogether (NO HTTP POST or AQ being used).

- Admin panels confirm the configuration and all check marks indicate everything is working as designed.

- Scalability Guide (June 200 indicates this single default cluster with multiple app servers (and no explicit routing) should result in all work being routed to all App Servers in the cluster.

- Over 5,000 orders "pumped" (via Integration) in a short period of time.

- Unfortunately, Default Server is handling ALL activity. None of the work (read: Zero) is being processed by the second App Server (APP99) in the Default Cluster.


Any insight/assistance would be greatly appreciated.

Thanks!
LenDB2
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old August 9th, 2008, 02:54
Senior Member and Blogger
 
Join Date: Nov 2007
Location: Drexel Hill, PA
Posts: 240
Thanks: 0
Thanked 35 Times in 35 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 2
nick.polites is on a distinguished road
Re: Scalability not working as advertised/expected

You'll need to check the eventdiagservlet to be sure that the 2nd app server isn't doing anything.

http://otm/GC3/glog.webserver.event.EventDiagServlet
__________________
MavenWire Hosting Admin
Over 7 years of OTM experience
The Oracle OTM / G-Log GC3 Experts
Offering Incubator and Production OTM instances
www.mavenwire.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old August 9th, 2008, 12:14
Junior Member
 
Join Date: Jul 2008
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
LenDB2 is on a distinguished road
Re: Scalability not working as advertised/expected

We did check the eventdiagservlet during and immediately after our batch, and only saw counters (GT 0) on the first App Server (default). The exception was an event named ProcessSweeper (sp?) which had a relatively small number. All of the counters for the default server like Integration, Outbound integration, planning, publishing, etc had activity which represented all of the work processed.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old August 9th, 2008, 14:22
Senior Member and Blogger
 
Join Date: Nov 2007
Location: Drexel Hill, PA
Posts: 240
Thanks: 0
Thanked 35 Times in 35 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 2
nick.polites is on a distinguished road
Re: Scalability not working as advertised/expected

A bulk plan will only run on one app server. It is not shared across two apps when one is being processed. If you sent in say 10 bulk plans then that should be scaled across both machines.

One major problem I found out with clients is that some tend not to use DNS names for the servers. If this is the case for you it could be the problem. Scalability uses gc3-hostnames for part of the scalability. If when you installed the application you entered the DNS name as an IP such as 10.10.10.10 the apps would have both been assigned gc3-10 which is a bad thing. Let me know if this was the case and I'll tell you how to fix it.
__________________
MavenWire Hosting Admin
Over 7 years of OTM experience
The Oracle OTM / G-Log GC3 Experts
Offering Incubator and Production OTM instances
www.mavenwire.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old August 9th, 2008, 23:21
Junior Member
 
Join Date: Jul 2008
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
LenDB2 is on a distinguished road
Re: Scalability not working as advertised/expected

Please keep in mind that the integration is bypassing the Web Servers altogether (SOAP WSDL) and is "talking" with the default Application Server, which is in the Default cluster. The second application server is also part of the Default cluster. Both App Servers are on the same physical box.

The Scalability guide indicates (they refer to it as "Scalability Topology") that having multiple App servers in the Default cluster, both equally weighted, should result in work being distributed to both. We are only see one App Server (the Default) process work for our big batch of work. Hope this helps.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old August 10th, 2008, 00:24
Senior Member and Blogger
 
Join Date: Nov 2007
Location: Drexel Hill, PA
Posts: 240
Thanks: 0
Thanked 35 Times in 35 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 2
nick.polites is on a distinguished road
Re: Scalability not working as advertised/expected

Like I mentioned before if you have 1 large process running it will not balance across the machines. If you have multiple pieces of integration going in, you should see it balancing across both machines.

I really can't comment more than what I have given you without looking into your environment and seeing the actual setup. In my opinion scalability is one of the most difficult things to setup in OTM and has taken me quite a while to compile a step by step guide for both active-active and active-failover. I would strongly recommend you logging an issue with Oracle support so that they can look into the issue for you.
__________________
MavenWire Hosting Admin
Over 7 years of OTM experience
The Oracle OTM / G-Log GC3 Experts
Offering Incubator and Production OTM instances
www.mavenwire.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old August 14th, 2008, 15:18
Junior Member
 
Join Date: Jul 2006
Posts: 19
Thanks: 7
Thanked 0 Times in 0 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
acuartero is on a distinguished road
Lightbulb Re: Scalability not working as advertised/expected

LenDB2,

I could be wrong but from what I heard the distribution of tasks across the app servers is handled by a stub on the tomcat server (tasks initiated internally such as posting through AQ may arbitrate through other means?). I suspect that since you are posting integration directly to the default app server and not via HTTP POST through the web servers (or via AQ) that you are effectively bypassing the tomcat load balancer code. I also think the design of the load balancer is such that it sends entire tasks to one server or the other and all the threads associated with that task will also reside on that server. It does not take into account factors such as the CPU utilization of the server or the size of the task it simply hands off tasks based on the weight factor you specify.

So the question is are tasks initiated by the users being handed of to the app servers evenly (as you specified equal weights to both) or are all tasks initiated through web connections ending up on your default server. If the latter is the case I suspect that the web servers may be misconfigured.

-Alan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old August 18th, 2008, 18:46
chrisplough's Avatar
Site Moderator
 
Join Date: Jun 2006
Location: West Chester, PA
Posts: 847
Blog Entries: 7
Thanks: 53
Thanked 205 Times in 124 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 10
chrisplough has a spectacular aura aboutchrisplough has a spectacular aura aboutchrisplough has a spectacular aura about
Send a message via AIM to chrisplough
Re: Scalability not working as advertised/expected

I agree with Alan. The load-balancing algorithm that the OTM Web servers utilize to send tasks to the OTM App servers is a modified Round-Robin and does not take CPU utilization into consideration.

--Chris
__________________
Chris Plough
MavenWire

www.MavenWire.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old August 28th, 2008, 19:24
Junior Member
 
Join Date: Apr 2008
Posts: 16
Thanks: 0
Thanked 2 Times in 2 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
pritam is on a distinguished road
Re: Scalability not working as advertised/expected

I think the problem could be in correctly setting up OTM, specially when you are trying to set-up 2 OTM app server instances on a single physical box. We had similar situation and lot of problems with that. Fortunately we soon figured out that you need to specify uniq domain names for each OTM instance (As this is used to generate weblogic domain name during installation). Here is what you should do -
Create virtual ip address for 2 app servers, map different DNS names to these ip address. e.g. otm-app1 == xx.yy.zz.aaa and otm-app2 == xx.yy.zz.bbb
This is very essential to ensure scalability works fine especially if both your instances are on same physical box.

Thanks,
- Pritam.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Scalability configuration in OTM pritam Performance, Scalability and HA 8 August 28th, 2008 19:30
Scalability with hw load balancing Scott T. Performance, Scalability and HA 9 April 25th, 2008 12:10
Working with Parcel mode surender Planning 7 April 12th, 2008 11:10
OTM 5.5 CU4 Startup and Scalability ianlo Architecture 2 April 4th, 2008 02:16
[SOLVED] 5.5 CU3: Bulk Plan Does Not Consol A Subset Of Selected Orders Into Expected ianlo Planning 1 August 17th, 2007 01:28



All times are GMT. The time now is 02:56.
Copyright © 2008, Open Book Solutions LLC. All rights reserved.

Sponsored by MavenWire - MavenWire.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37