hosts file for loadbalancing

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

hosts file for loadbalancing

satish
Dear erman,

Need your support

we have 2 application nodes and a loadbalancer.can we add both the nodes entries(appnode1,appnode2) as well as loadbalancer(appnode)  entry in /etc/hosts?

Thank you
Reply | Threaded
Open this post in threaded view
|

Re: hosts file for loadbalancing

ErmanArslansOracleBlog
Administrator
yes.
But why do you want to do that?
Reply | Threaded
Open this post in threaded view
|

Re: hosts file for loadbalancing

satish
Thanks for the update erman.

Can we use it for loadbalancing by adding all the entires in etc/hosts.pls correct me

Thank you
Reply | Threaded
Open this post in threaded view
|

Re: hosts file for loadbalancing

ErmanArslansOracleBlog
Administrator
Load Balancing is done using the urls that you give in autoconfig context file.
Please read the documents..

I didn't understand your question. (you are already using  a load balancer, right? If so why are you asking this..)
I didn't understand your purpose as well..