Masakari service overview¶
Masakari provides Virtual Machines High Availability(VMHA), and rescues KVM-based Virtual Machines(VM) from a failure events described below:
VM process down- restart vm (use nova stop API, and nova start API). Libvirt events will be also emitted by other failures.Provisioning process down- restarts process, changes nova-compute service status to maintenance mode (use nova service-disable).nova-compute host failure- evacuate all the VMs from failure host according to the following recovery methods (use nova evacuate API).auto- evacuate all the VMs with no destination node for nova scheduler.reserved_host- evacuate all the VMs with reserved hosts as the destination nodes for nova scheduler.auto_priority- evacuate all the VMs by usingautorecovery method firstly. If failed, then usingreserved_hostrecovery method.rh_priority- evacuate all the VMs by usingreserved_hostrecovery method firstly. If failed, then usingautorecovery method.
The below services enables deplores to integrate with the Masakari directly or through custom plug-ins.
The Masakari service consists of the following components:
masakari-apiAn OpenStack-native REST API that processes API requests by sending them to the
masakari-engineover Remote Procedure Call (RPC).masakari-engineProcesses the notifications received from
masakari-apiby executing the recovery workflow in asynchronous way.