Thanks Vikas...
Further related queries:
#1 As per your comments in load balancing both servers can be down at
the same time, but the same could happen with two servers running in
HA mode?
#2 As per I have understood in HA mode only one server is active and
takes all the load and other server only comes into picture if primary
is down. Am I right?
#3 What happens to our transactions running on servers in load
balancing vs HA mode? Does the transaction run again in both?
#4 Can Load balancing be achieved between application running on same
machine and same server?
#4 Is it the separate server which control load balancing and HA
between different servers?
e.g. Suppose APP1 runs on Server1 (on machine1) and Server2 (on
machine2). Now Load balancing or HA runs on which machine?
#5 Can we achieve both Load balancing and HA mode simultaneously? If
yes what should be the ideal setup? Is the foll.right?
High Availability
/ \
Primary Node Secondary Node
| |
Load Balancing Load Balancing
/ \ / \
Server1 Server2 Server1 Server2
-
Rajnish Kamboj
On Sep 4, 6:37 am, Vikas Jindal <
vikasjindal1...@gmail.com> wrote:
> Load Balance and High Availability is what you want to do and clustering is
> implementation of it.
>
> Load Balance : My application is heavy i need to setup more than one server
> ,so that they can divide the load.
>
> High Availability : My app is critical, it should be always up.
>
> Clustering : Running of more than one server in such a way that they seem as
> one server to end user.
>
> Difference between Load Balance and High Availability :
>
> High Availability can be achieved in such a case,one server comes in to
> picture ,when other server goes done.This type of relationship can be called
> Failover.It is quite common in databases.
>
> Load Balance can be achieved in such a case ,both server run parallely
> ,sharing each other load,but it may be possible that both may be down at
> same time.
>
> Both of above cases of clustering.
>