cloudstack/core/src/com/cloud
Sheng Yang 62ac899091 bug 9154: Initial check in for enabling redundant virtual router
This patch enable redundant virtual routers.

1. To enable this feature, db need to be updated using follow SQL by now(we
would get a UI way later):

UPDATE network_offerings SET redundant_router=1 WHERE guest_type="Virtual" AND
system_only=0;

2. System would try to start up two routers at different hosts. But if there is
only one host in the zone, system would start up two routers on it.

3. The failover part is using keepalived, and connection tracking part is using
conntrackd. There would be one master router and one backup router. The status
of router(master or backup) can be query from the database table domain_router
now. Management server would update the status every 30s by default.

4. The routers for the same zone would use same external NIC(same ip and mac).
The script used for fail-over would ensure only one external NIC present in the
network at any time.

5. Currently management server don't got the ability to stop one of router is
both of them reported as master. The feature is in the todo list.

After two routers start up, disconnect anyone of them, the guest network
shouldn't be affected, and established connection(http, ssh, etc.) should still
works. The fail-over on gateway part should be 3~4 seconds.

Currently the patch works with KVM. Would deal with vmware and XenServer soon.
2011-06-07 14:47:45 -07:00
..
agent bug 9154: Initial check in for enabling redundant virtual router 2011-06-07 14:47:45 -07:00
alert bug 8245: mark storage pool status as Removed before performing actual cleanup 2011-04-12 14:44:55 -07:00
async bug 8270: Synchronize on 1) ipAddress object when create/delete ipForwarding/portForwardingRule and vpn service 2) on networkId when assignTo/removeFrom/deleteLoadBalancer 2011-02-03 18:45:49 -08:00
capacity Bug 7845 - Productize DeploymentPlanner 2011-02-28 13:47:51 -08:00
certificate Moved DAO to server 2010-11-22 07:40:41 -08:00
configuration Moved DAO to server 2010-11-22 07:40:41 -08:00
consoleproxy moving console proxy alert event args to server package to avoid circular dependencies 2010-09-13 14:58:58 -07:00
event removed txn close 2011-05-18 18:09:21 +05:30
exception bug 6428: Send alert when usage job fails 2010-11-01 17:20:57 +05:30
host Propagate fixes from 2.2.4 2011-05-05 16:13:46 -07:00
hypervisor bug 10152: supoort XenServer 5.6 service pack 2 2011-06-07 10:39:57 -07:00
info bug 5191: final check in for the enhancement to make the console proxy domain configurable 2010-09-27 11:27:48 -07:00
network add check in haproxy 2011-05-24 10:53:05 -04:00
resource Start of zonesfeature / mycloud/cloudkit 2011-05-03 10:40:17 -07:00
serializer bug 9651: Adding network tags 2011-05-23 15:51:50 -07:00
storage fix template sync issue 2011-06-02 22:38:13 -04:00
user - Merge all CloudZones Registration feature into master 2011-04-28 16:05:36 -07:00
vm bug 9154: Initial check in for enabling redundant virtual router 2011-06-07 14:47:45 -07:00