I have two servers, let's call them Milo and Otis. Now Milo and Otis are setup to be an active-passive pair of highly available servers where Milo is usually the master and Otis stands-by waiting for the unlikely failure of Milo when Otis will take over the shared virtual IP. I have a question about what happens to the SSL connection during the failure.
Consider the following:
- Some client (me) makes a SSL connection to Milo.
- The SSL connection is set to stay alive, so lets say a webpage is requested over the SSL connection. The page is downloaded completely and the connection is open ready for another request (let's say an asset like a css file).
- Before the request for the css file is started, Milo experiences some catastrophic failure and now Otis has taken over.
- What happens now that I want to make a request for the css file? I still think I have an open connection to Milo, but the Virtual IP is now pointing to Otis.
Does Otis pick up the SSL sessions that Milo had automatically? Does my browser start to communicate with Otis and Otis says "Hey, we should probably shake hands first."? Any and all comments/answers about this would be appreciated.