VMwareESXDriver: Datastore Selection

asked 2014-01-11 09:01:17 -0600

Mathias Ewald gravatar image

updated 2014-01-11 10:41:06 -0600

Hi, how to I tell VMwareESXDriver which Datastore to use? I have a local datastore and two shared LUNs with VMFS. I want instances to be placed on shared storage only. And a second question that is related: how is the datastore picked? Any criteria or maybe even just alphabetical order? :D

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2014-01-12 02:37:59 -0600

Mathias Ewald gravatar image

Hi ken, thanks for the reply. Is there any particular reason for this or just a matter of man power to further develop the driver? I noticed that datastore_regex for works for vCenter but not for ESXi hosts - same question: why? man power?

The way it is now, it's not possible for me to put instances on SAN/NAS while I have only the slightest amount of local VMFS capacity in my hypervisor. I could delete the whole local datastore but would be prefer to be able to build images etc on the node and but e.g. ISO images on local storage.

BTW: you're talking about "cluster" while I am using standalone ESXi driver. But I guess the same applies.

cheers Mathias

edit flag offensive delete link more



The VMWareESXDriver was orginally developed by Citrix, not VMware. VMware took it over during the Grizzly release but has put most of their work into the VMwareVCDriver. The work put into the ESXDriver is mostly to maintain compatibility with new OpenStack releases. VMware has stated that the restriction on 1 datastore per cluster/node will be lifted for the VCDriver but have not promised that for the ESXDriver. In any case, VMware has stated repeatedly that only the VCDriver shoudl be used going forward.

ken-hui gravatar imageken-hui ( 2014-01-13 21:41:54 -0600 )edit

answered 2014-01-11 21:36:13 -0600

ken-hui gravatar image

Currently you can only use 1 datastore per cluster. If you have more than 1 datastore presented to a cluster, the driver will choose, by defaut, the 1st datastore returned to it by the vSphere API. There is a a datastore_regex field in nova.conf you could use to specify a datastore by name.

However, VMware currently recommends that only a single shared datastore should be presented to a cluster.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-01-11 09:01:17 -0600

Seen: 258 times

Last updated: Jan 12 '14