I was just wondering if we can check if Load Balancing Advisory is enabled by default to all the services that run on multiple nodes then can we disable this feature? But let us understand exactly how critical is LBA for SCAN listener and its effects. The figure above explains that SCAN listener might use the data from LBA and decides the best instance to route the connection, but which type of Load Balancing this falls into? We have already understood the functionality of SCAN listener in our earlier blog “How does SCAN listener works in Oracle RAC 11gR2?”Let me quickly take you through the concepts of Load Balancing types and then we will move ahead to the activity of controlling it.
Concepts:
Typically, there are two types of load balancing:
? Connection Load Balancing (CLB)
? Run-time Load Balancing (RTLB)
RTLB has come into existence from 10gR2 which can be either set to “SERVICE_TIME” or “THROUGHPUT”. CLB can be configured at Client-Side or at Server-Side. Of which, Server-Side load balancing is recommended and have better functionality over Client-Side.
Is RTLB a client-side or server-side load balancing? Well, it is combination of both and majorly on the client side. Connection and performance statistics is collected on server side and transferred to the application server recursively by using ONS (Oracle Notification Service) infrastructure. It might not be applicable to all the application setups, by default JDBC based applications can use this RTLB feature.
What is the role of LBA? LBA is the key for Run-time Load Balancing. Both these configurations completely rely on the statistical data provided by LBA (Load Balancing Advisory).
Functionality of RTLB: For a fixed time period the performance statistics collected by LBA (with the help of PMON of all instances) are pushed into application server through ONS service and we call them as LBA events. Every time a new connection request triggers from application it will pass through the connection cache/pool on the client side and picks up the best instance to connect based on the service level goal configured.
Yes, now you might agree that Run-Time Load Balancing is more preferred than Connection Load Balancing as major and important decisions are taken at the client side before connection request reaches SCAN listener. In this blog, let us run through the process of creating a service, understand the weightage of LBA and if that can be disabled.
Case study:
Here is our case study, to create a default service on a 2-node RAC environment and verify the parameters of load balancing. We will take this study ahead by changing the parameters to understand the importance of LBA.
For More Information Contact us: http://www.orskl.com/is-lba-mandatory-for-scan-listener-in-oracle-rac/
Address:
A9, 1st Floor,
Indian Airlines Employees Colony,
Begumpet,
Secunderabad.