There's more...
This is really only a demonstration of virtual IP functionality. In the case of a server reboot, network assignments created directly through ip will disappear. For our purposes, this is actually the desired result. If a PostgreSQL server tried claiming a virtual IP address upon reboot and we had already assigned it to a different system, traffic could go to either system and result in severe consequences.
Would either database handle the requests? Would the misrouted network packets cause invalid data or some other result? Well, we don't know that network routing can affect any level of the communication process. The end result is that the database is unusable in this state.
Regardless, the process of maintaining virtual ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access