vmware-archive / vsphere-flocker-driver

vSphere Flocker driver
Other
24 stars 16 forks source link

could use some documentation on practical deployment of this driver #17

Open bkcsfi opened 8 years ago

bkcsfi commented 8 years ago

Hi,

I'm considering using this driver on my small vSphere cluster but have some questions about the practical nature of it's use.

It seems a volume (hard disk) stored in the vsphereDatastore may move from host to host.

  1. These volumes (hard disks) can only be attached to one host at a time, right?
  2. When the volumes are attached to a host, are they attached as dependent or independent disks?
  3. assuming they are attached as persistent, right?
  4. How am I supposed to back up these volumes using something like Veeam? Since I don't know which host the volume will be attached to at any given time, I'd have to backup all the docker hosts. If these are independent disks, I don't think Veeam will back them up.

thanks

pratikvgupta commented 8 years ago
  1. These volumes (hard disks) can only be attached to one host at a time, right? [Pratik] Yes. This is taken care automatically when you want to change the container host. It will be detached from one container host and attached to another.
  2. When the volumes are attached to a host, are they attached as dependent or independent disks? [Pratik] They are attached as dependent.
  3. assuming they are attached as persistent, right? [Pratik] Yes they are persistent.
  4. How am I supposed to back up these volumes using something like Veeam? Since I don't know which host the volume will be attached to at any given time, I'd have to backup all the docker hosts. If these are independent disks, I don't think Veeam will back them up. [Pratik] These are not independent so it should work.

Please let me know if you have more questions regarding this.

moander commented 8 years ago

Some security pointers would be nice. I don't sleep well knowing that the flocker agent has full access to my vCenter environment ;)

jm66 commented 8 years ago

Hi @moander

Narrowing down vCenter permissions, I think (haven't tested yet) the flocker driver would work with the following (please, @pratikvgupta, correct me if I'm mistaken):

pratikvgupta commented 8 years ago

Yes we need the above permissions for invoking the different VC APIs we use internally in the driver.

jheller commented 8 years ago

It would be helpful if this information was put in the README, or in wiki page. The lack of documentation has caused a lot of frustration here.