How to do an IP Divert From one ip to the other?

Hi Guys,

This was been a Project kinda stuff i working out effectively from past 1 month.i would like to thank Unix forums for helping me out.So here is my Problem.i was been planning out in creating a Intelligent monitoring machine to make it available for multiple applications to get the log files ,sending mails,taking intelligent decisions etc.but as i have a Web application (Liferay) i should make it get connected to a Mysql Replication Chain via My IMS ...so can any one please help me out how can i make my web application dosent knw which db its getting accessed and my db should be always 24/7 available for client.

It is difficult to understand what you are really asking us to help you with. Please ask a specific question.

i have a Web application running on 10.0.0.3 and i have a IMS(intelligent monitoring System) wid ip 10.0.0.4 and i have a mysql replication chain of ip's from 10.0.0.5-10.0.0.8...where 10.0.0.5 behaves has the master.here i want to make the web aplication not to route directly to my database,it should first go to the IMS machine from there it should send the request to the database from there the rely should be sent to the web application.so here i want to know how can i make this architecture work practically??should i make my IMS as a proxy server????