Bug 1041035 - [RFE][nova]: Loadbalancing for instance storage paths
Summary: [RFE][nova]: Loadbalancing for instance storage paths
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: RFEs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ---
Assignee: RHOS Maint
QA Contact:
URL: https://blueprints.launchpad.net/nova...
Whiteboard: upstream_milestone_none upstream_stat...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-12 13:28 UTC by RHOS Integration
Modified: 2015-03-19 17:21 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-19 17:21:23 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description RHOS Integration 2013-12-12 13:28:03 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/nova/+spec/nova-instance-storage-loadbalancing.

Description:

The default path of instance location is in /var/lib/nova/instances/#InstanceID'/

If you want LiveMigrations you are advised to have this directory on a centralized storage, for example on NFS - as explained here: http://docs.openstack.org/trunk/openstack-compute/admin/content/configuring-live-migrations.html

There might be good reasons for having more than 1 instance directory for VM deployments - for example:
- In a big lanscape you might want to have more than 1 central storage mounts, i.e. 2 NFS mounts
- In compute-nodes with multiple local raid arrays you want to distribute instances over all arrays

If you want to use more than 1 location you need:
- more directories below /var/lib/nova/instances/ with UniqueIDs
- a patch for Openstack to deploy on the directory with the least utilization

Even better would be to have a modular scheduler integrated so that it would be flexible on which algorithm the scheduler chooses the instance directories - f.e. one target for high IO VMs etc ... 

--> I already have a working implementation for scheduling instances over 2 directories based on utilization which I could commit.



Specification URL (additional information):

None


Note You need to log in before you can comment on or make changes to this bug.