![vSphere Flocker Integration] (https://cloud.githubusercontent.com/assets/4852973/9564639/7e529746-4e62-11e5-9d61-3bc2ea4228fd.png)
ClusterHQ's Flocker provides an efficient and easy way to connect persistent storage with Docker containers. This project provides a plugin to provision persistent data volumes on VMware's vSphere storage datastores (VMFS, NFS, VSAN, VVOL).
vsphereDatastore
[vsphereDatastore] FLOCKER
Deploy Ubuntu VMs (which you will use as Flocker nodes) on ESXi hosts with vsphereDatastore
as the shared datastore.
disk.EnableUUID = "TRUE"
sudo apt-get install -y open-vm-tools scsitools sg3-utils
Steps to install vsphere-flocker-driver
:
/opt/flocker/bin/pip install git+https://github.com/vmware/vsphere-flocker-driver.git
To start the plugin on a node, a configuration file must exist on the node at /etc/flocker/agent.yml
. This should be as follows:
version: 1
control-service:
hostname: "{IP/Hostname of Flocker-Control Service}"
dataset:
backend: "vsphere_flocker_plugin"
vc_ip: "{VC_IP}" # VC IP address
username: "{VC_Username}" # VC privileged user
password: "{VC_Password}" # VC privileged user password
datacenter_name: "Datacenter" # VC datacenter name
datastore_name: "vsphereDatastore" # VC datastore name as above
ssl_verify_cert: no # VC SSL cert verification
ssl_key_file: "" # SSL keyfile path
ssl_cert_file: "" # SSL certfile path
ssl_thumbprint: "" # SSL host thumbprint
Please see configuration examples in the config directory.
Copyright © 2015 VMware, Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, without warranties or conditions of any kind, EITHER EXPRESS OR IMPLIED. See the License for the specific language governing permissions and limitations under the License.