Summary

Support HA for vms from the failed host.

Release Note

When this is implemented, VMs will be rebuilt from failed host to the other hosts.

Rationale

If the host is failed, we can't run the current vms on the host. That is to say, we can't HA for vms. I solved the HA using the rebuild means.

Below steps will be added.

1) get the information of instances on the failed host. - we can know the state of host by using monitoring system or using the service state (nova-compute, nova-network)

2) get a list of dictionaries of network data of an instance.

3) update the volume db and instance db.

4) setup volumes for block device mapping

5) spawn the instance.

6) associate the floating ip which is used existing the instances.

7) update the instance db.

User stories

Assumptions

The instances were created with volumes attached.

Design

ha_for_vm_concept.png

Implementation

Code Changes

Test/Demo Plan

This need not be added or completed until the specification is nearing beta.

Unresolved issues

TBD

BoF agenda and discussion

Use this section to take notes during the BoF; if you keep it in the approved spec, use it for summarising what was discussed and note any options that were rejected.


CategorySpec

Wiki: Haforvms (last edited 2011-12-01 05:14:27 by Jason kim)