PDA

View Full Version : to know the server status from client's machine(typical problem)


farooq_rcr
08-19-2004, 04:35 AM
hi all
i am facing a typical problem plz read carefully and suggest what to do
i am running a webserver( tomcat) on linux ,with clustering of both data bases(my sql) and webserver with mirroring options ,
basically there are two physical servers,which are to be operated from a clients window machine,
i expect there is a single point failure whenever client tries to connect to one of the server when it is (the server) is down.
now what i wanted to do is put a small javascript(html) code on clients machine (or can i change dll of internet explorer)
which should detect the server status ,if the server1 is down then connect to the other server i.e server2,
can i mention the server ip's in the scripe,if so how ?
and the code should try to connect one of the server simultaneously,(i can provide some extra details if required)
thank you