Ask Your Question
0

HA zone and host aggregate UUIDs retrieving ?

asked 2015-09-28 08:55:43 -0500

jpribeauville gravatar image

updated 2015-09-28 09:00:02 -0500

Hi,

I want to make a kind of relational model :

Instance <-> host <-> host aggregate <-> HA zone

I know how to retrieve , from a piece of code running on host, instance and host UUIDs ( using libvirt). How may I retrieve host aggregate and HA zone UUIDs to which instance and host belongs ?

Thx for help.

Reagrds, J.P. Ribeauville

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-09-28 22:15:32 -0500

updated 2015-09-28 22:16:45 -0500

nova aggregate-list shows all aggregates.

nova aggregate-details name-of-aggregate shows the hosts in that aggregate. I don't know if it's possible to do the opposite - look up a host to find its aggregate(s).

What do you mean by HA zone - perhaps availability zone? nova availability-zone-list shows all the availability zones and the hosts that belong to them. Note that an availability zone is essentially the same as a host aggregate, see here.

By the way, you don't need libvirt to find the host that an instance runs on. nova show instance-name gives you that information if you are an admin user.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-09-28 08:55:43 -0500

Seen: 100 times

Last updated: Sep 28 '15