1752794 Members
5691 Online
108789 Solutions
New Discussion юеВ

Re: Failover using cache

 
Vijay vivek
New Member

Failover using cache

Hi,

Can any body tell me how to develop a failover between servers using the cache code.

I am creating a website which is furnished by two servers to achieve data availability. I'm just struggling in processing the failover between these servers. I just need the exact code to perform automatic failover.
Condition:
1. If the primary server fails, the secondary server should take the responsibility of theprimary server till it attains its normal.
2. If the primary server resets, the primary server should be automatically take the charge.

It's urgent; Provide me with a failover code...
Thanks
vijay vivek
2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: Failover using cache

Shalom,

I would suggest serviceguard, not code, for true reliability.

Concepts:

Use rsync to keep data synched between the active node and the backup node, when people change content.

Direct all web traffic to a floating IP address that moves from node to node depending on which one is active.

Configure a serviceguard package to take care of the above tasks and starting the httpd server on the active node.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Vijay vivek
New Member

Re: Failover using cache

Thanks but i was not clear about what is service guard