Mechanism to detect compute node HW failure?

Asked by Samuli Silvius

Does Openstack (e.g. nova compute) have a notification (of any kind; message, db-update, file...) if physical HW running compute node services is powered off?

How and when Openstack controller node notices that one of the compute node HW is down? VM instances status running in shutdown node will be somehow updated to database? But how about the whole node? Should it be just digged out from database by polling e.g. following tables:
...
    instances
    compute_nodes
    compute_node_stats
... (any other...?)
and try to figure out if all VM's on some node is down we should do some actions (move VMs to another compute node)?

Question information

Language:
English Edit question
Status:
Answered
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Tiantian Gao (gtt116) said :
#1

Hi Samuli,

For 'How and when openstack notices compute node down', you can find some information here: https://answers.launchpad.net/nova/+question/233599

For 'if all VM's on some node is down we should do some actions', you can use 'evacuate'. To get more detail from here : http://docs.openstack.org/trunk/openstack-compute/admin/content/nova_cli_evacuate.html

Hoping that help you.

Can you help with this problem?

Provide an answer of your own, or ask Samuli Silvius for more information if necessary.

To post a message you must log in.