Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IP Failover between hosts

Status
Not open for further replies.

minkie

Technical User
Oct 7, 2002
8
0
0
GB
Does anyone know if it is possible to have two Solaris systems sharing a Virtual IP, with failover in the event of one system failing.

Something like HSRP/VRRP?
 
There are commercial products that allow you to do this SUN Cluster and Veritas Cluster Server being the main two. These also do a lot more besides - checking for application availability and actually failing over shared disks, applications and services.

You can set up your own virtual IP addresses - interface name followed by :n where n is a number. e.g.

ifconfig hme0:1 <address> <netmask>+ up

The servers need to have unique 'real' IP addresses for the underlying interface (hme0 in the above example), and the Virtual IP address cannot be up on both hosts concurrently. You also need to consider routing since, for clients to fail over, all the addresses need to be on the same IP subnetwork.

To hand craft failover you will need to consider other things such as how you check system and application availability. Also need to cater for possible network outages where each isolated host thinks it is the 'live' server - a possibility is having a second private LAN for HA heartbeats.

Other applications such as Firewalls, Web Servers etc. often have their own proprietory ways of achieving failover.

JB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top