If you want to set secure connections to VMware, set ``vmware_vcenter_insecure``
to false.
Secure connections to vCenter requires a CA file, copy the vCenter CA file to
``/etc/kolla/config/vmware_ca``.
Then you should start kolla-ansible deployment normally as KVM/QEMU deployment.
VMware NSX-DVS
==============
Preparation
-----------
Before deployment, you should have a working VMware vSphere environment. Create a
cluster and a vSphere Distributed Switch with all the host in the cluster attached
to it.
For more information, please see `Setting Up Networking with vSphere Distributed Switches <http://pubs.vmware.com/vsphere-51/index.jsp#com.vmware.vsphere.networking.doc/GUID-375B45C7-684C-4C51-BA3C-70E48DFABF04.html>`__.
Deployment
----------
Enable VMware nova-compute plugin and NSX-V neutron-server plugin in ``/etc/kolla/globals.yml``:
.. code-block:: console
nova_compute_virt_type: "vmware"
neutron_plugin_agent: "vmware_dvs"
If you want to set VMware datastore as Cinder backend, enable it in ``/etc/kolla/globals.yml``:
.. code-block:: console
enable_cinder: "yes"
cinder_backend_vmwarevc_vmdk: "yes"
vmware_datastore_name: "TestDatastore"
If you want to set VMware datastore as Glance backend, enable it in ``/etc/kolla/globals.yml``:
.. code-block:: console
glance_backend_vmware: "yes"
vmware_vcenter_name: "TestDatacenter"
vmware_datastore_name: "TestDatastore"
VMware options are required in ``/etc/kolla/globals.yml``, these options should be
configured correctly according to the vSphere environment you installed before.
All option for nova, cinder, glance are the same as VMware-NSX, except the following
options.
Options for Neutron NSX-DVS support:
.. code-block:: console
vmware_dvs_host_ip: "192.168.1.1"
vmware_dvs_host_port: "443"
vmware_dvs_host_username: "admin"
vmware_dvs_host_password: "password"
vmware_dvs_dvs_name: "VDS-1"
vmware_dvs_dhcp_override_mac: ""
Then you should start kolla-ansible deployment normally as KVM/QEMU deployment.