-
Notifications
You must be signed in to change notification settings - Fork 95
Refreshing vDVS installation user guide for 0.13 release #1124
Refreshing vDVS installation user guide for 0.13 release #1124
Conversation
docs/user-guide/install.md
Outdated
|
||
# Install on VM | ||
|
||
We currently package the service as a RPM and Deb package. This is to be able to start the service before Docker engine starts. We will also support Docker plugin framework once it is ready. | ||
vDVS 0.13 comes with managed plugin support using Docker plugin framework and please note DEB/RPM packages will be deprecated going forward and will not be available. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can be split into two separate sentences.
Starting 0.13 release, vDVS supports a managed plugin that is available for download from Docker store. DEB/RPM packages will be deprecated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure!
docs/user-guide/install.md
Outdated
**For Docker 1.13 and above**, install managed plugin from [Docker store](https://store.docker.com/plugins/e15dc9d5-e20e-4fb8-8876-9615e6e6e852?tab=description). | ||
``` | ||
docker plugin install --grant-all-permissions --alias vsphere vmware/docker-volume-vsphere:latest | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be removed since we explicitly cover installation for managed plugin.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to keep it here as this is installation user guide.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have exact same thing on line 36 under installation section. Why do we need to repeat it twice?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make sense ... Thanks for elaborating.
docs/user-guide/install.md
Outdated
docker plugin install --grant-all-permissions --alias vsphere vmware/docker-volume-vsphere:latest | ||
``` | ||
|
||
**Using vDVS managed plugin** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using vDVS managed plugin -> vDVS managed plugin
Prerequisite : Docker 1.13 and above
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using vDVS managed plugin -> vDVS managed plugin
changed it tovDVS managed plugin life cycle
; basically plan is to give some commands handy
Prerequisite : Docker 1.13 and above
It is mentioned at L31 so avoid repetition
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here's the structure I am proposing -
vDVS managed plugin
Prerequisite : Docker 1.13 and above
Plugin lifecycle
-Installation
-Enable/Disable
-Removal
vDVS RPM/DEB based installation
Prerequisite : Docker 1.12 and earlier
Deprecated starting 0.13 release.
docs/user-guide/install.md
Outdated
vsphere | ||
~# docker plugin ls | ||
ID NAME DESCRIPTION ENABLED | ||
de30e65cda7b vsphere:latest VMWare vSphere Docker Volume plugin true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Content can be made more concise as follows -
After installation, the plugin needs to be enabled explicitly.
~# docker plugin ls
ID NAME DESCRIPTION ENABLED
de30e65cda7b vsphere:latest VMWare vSphere Docker Volume plugin false
~# docker plugin enable vsphere
vsphere
~# docker plugin ls
ID NAME DESCRIPTION ENABLED
de30e65cda7b vsphere:latest VMWare vSphere Docker Volume plugin true
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After installation, the plugin needs to be enabled explicitly.
It's not always true, there is possibility that plugin is enabled already right after installation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Anyway, inline text is updated in the latest diff.
docs/user-guide/install.md
Outdated
|
||
**Using vDVS managed plugin** | ||
|
||
* **Install vDVS plugin** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Install vDVS plugin -> Installation
No need to include "vDVS plugin" in each header.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated to Installation
L38 in latest diff
Removed "vDVS plugin" where ever it was referenced
docs/user-guide/install.md
Outdated
ID NAME DESCRIPTION ENABLED | ||
``` | ||
|
||
**For Docker 1.12 and earlier**, use DEB or RPM package. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RPM/DEB based installation.
Deprecated starting 0.13 release.
Prerequisite - Docker 1.12 or earlier.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is time being block and will be removed by next release so kept it as it is.
Let me know what you think.
docs/user-guide/install.md
Outdated
de30e65cda7b vsphere:latest VMWare vSphere Docker Volume plugin true | ||
``` | ||
|
||
* **Disable vDVS plugin** Using `docker plugin disable <plugin_name>` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Disable vDVS plugin Using docker plugin disable <plugin_name>
-> Disabling the plugin
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done!
docs/user-guide/install.md
Outdated
de30e65cda7b vsphere:latest VMWare vSphere Docker Volume plugin false | ||
``` | ||
|
||
* **Remove vDVS plugin** Using `docker plugin rm <plugin_name>` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove vDVS plugin Using docker plugin rm <plugin_name>
-> Removing the plugin
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some suggestions to make the content more concise.
4356793
to
92fb4ab
Compare
docs/user-guide/install.md
Outdated
|
||
Let's verify the installed plugin using `docker plugin ls` command. In following example, you can see that vDVS plugin is not enabled yet. | ||
|
||
**Note**: After installation, the plugin needs to be enabled explicitely. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this accurate? If the plugin is enabled by default then we can skip "enabling/disabling plugin" section.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in all my work install
was auto-enabling the plugin
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will wait for 0.13 vDVS plugin, after pushing to vmware (docker hub) with0.13
and latest
tag; I will perform the steps manually and update accordingly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Plugin was always enabled in my case too. Never had to explicitly enable it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
steps are updated after pushing 0.13/latest plugin to vmware/docker-volume-vsphere
~# docker plugin disable vsphere | ||
vsphere | ||
~# docker plugin ls | ||
ID NAME DESCRIPTION ENABLED |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This section might not be needed if plugin is enabled by default. We can simply say that refer to Docker documentation for operations on plugins - https://docs.docker.com/engine/extend/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed, thanks!
docs/user-guide/install.md
Outdated
|
||
* **Removing plugin** | ||
|
||
Using `docker plugin rm <plugin_name>` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line 78 : Redundant and can be removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you clarify, why it is redundant?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would keep it just in case so that all commands come handy in one place.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pdhamdhere : Here's what I am suggesting.
Current format -
Using Removing plugin
Using docker plugin rm <plugin_name>
~# docker plugin rm vsphere
vsphere
which can be changed to
Removing plugin
~# docker plugin rm vsphere
vsphere
I am not asking to remove the output of the command.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some more comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it feels the instructions were not tested. Can we make sure we do test the steps before asking customers to follow ?
docs/user-guide/install.md
Outdated
|
||
* **Installation** | ||
``` | ||
~# docker plugin install --grant-all-permissions --alias vsphere vmware/docker-volume-vsphere:latest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume we'll put the 'latest' tag on it later ? Without the 'latest' tag it wont install
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah that's correct. The idea behind this PR was flashing out install user guide for early review.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done!
docs/user-guide/install.md
Outdated
|
||
Let's verify the installed plugin using `docker plugin ls` command. In following example, you can see that vDVS plugin is not enabled yet. | ||
|
||
**Note**: After installation, the plugin needs to be enabled explicitely. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in all my work install
was auto-enabling the plugin
docs/user-guide/install.md
Outdated
|
||
vDVS 0.13 comes with managed plugin support using Docker plugin framework. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can remove this line since it will be redundant after tomorrow.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done!
docs/user-guide/install.md
Outdated
|
||
vDVS 0.13 comes with managed plugin support using Docker plugin framework. | ||
|
||
**vDVS managed plugin life cycle** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This too can be skipped
docs/user-guide/install.md
Outdated
|
||
[VIB](http://blogs.vmware.com/vsphere/2011/09/whats-in-a-vib.html) and [Offline Depot](https://pubs.vmware.com/vsphere-60/index.jsp#com.vmware.vsphere.install.doc/GUID-29491174-238E-4708-A78F-8FE95156D6A3.html?resultof=%2522%256f%2566%2566%256c%2569%256e%2565%2522%2520%2522%256f%2566%2566%256c%2569%256e%2522%2520%2522%2564%2565%2570%256f%2574%2522%2520) are the packages built to install the backend for the service on ESX. The backend can be installed using esxcli or vmware tools such as [VUM](http://pubs.vmware.com/vsphere-60/topic/com.vmware.ICbase/PDF/vsphere-update-manager-601-install-administration-guide.pdf) | ||
|
||
Here is a demo show casing esxcli | ||
Log into ESXi host and download the [latest release](https://bintray.com/vmware/vDVS/VIB/_latestVersion) [![VIB_Download](https://api.bintray.com/packages/vmware/vDVS/VIB/images/download.svg)](https://bintray.com/vmware/vDVS/VIB/_latestVersion) of vDVS driver VIB on ESXi and initiate the install by specifying the full path to the VIB. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove one of the badge either from L9 or L13
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
L13 is removed.
docs/user-guide/install.md
Outdated
|
||
Let's verify the installed plugin using `docker plugin ls` command. In following example, you can see that vDVS plugin is not enabled yet. | ||
|
||
**Note**: After installation, the plugin needs to be enabled explicitely. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Plugin was always enabled in my case too. Never had to explicitly enable it.
docs/user-guide/install.md
Outdated
de30e65cda7b vsphere:latest VMWare vSphere Docker Volume plugin true | ||
``` | ||
|
||
Now plugin is enabled and ready to use (The `docker volume` command behaves as before and driver name should be what we passed as `--alias` ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not needed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed!
docs/user-guide/install.md
Outdated
|
||
* **Removing plugin** | ||
|
||
Using `docker plugin rm <plugin_name>` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would keep it just in case so that all commands come handy in one place.
docs/user-guide/install.md
Outdated
|
||
**vDVS DEB/RPM based installation** | ||
|
||
**Note** DEB/RPM packages will be deprecated going forward and will not be available. It is recommeded upgrading Docker 1.13/17.03 and above and install vDVS managed plugin. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can drop "it is recommeded upgrading Docker 1.13/17.03 and above and install vDVS managed plugin."
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done!
docs/user-guide/install.md
Outdated
* **Installation** | ||
``` | ||
~# docker plugin install --grant-all-permissions --alias vsphere vmware/docker-volume-vsphere:latest | ||
0.12: Pulling from vmware/docker-volume-vsphere |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dont forget to update output after you run these commands with 0.13 plugin.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done!
~# docker plugin install --grant-all-permissions --alias vsphere vmware/docker-volume-vsphere:latest
latest: Pulling from vmware/docker-volume-vsphere```
docs/user-guide/install.md
Outdated
``` | ||
- sudo dpkg -i <name>.deb # Ubuntu or deb based distros | ||
- sudo rpm -ivh <name>.rpm # Photon or rpm based distros | ||
``` | ||
Here is a demo showcasing the install in a Photon OS VM. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this demo too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done!
92fb4ab
to
2e6c741
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
VIBs Installed: VMWare_bootbank_esx-vmdkops-service_0.12.ccfc38f-0.0.1 | ||
VIBs Removed: | ||
VIBs Skipped: | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need an ugrade section also? If not then could mention so and also say how an upgrade can be done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will all volumes be available post upgrade? Could clarify on that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point! Instead of creating new section, shouldn't upgrade instruction goes to separate user guide. This is just an installation guide.
What do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
~# docker plugin ls | ||
ID NAME DESCRIPTION ENABLED | ||
831fd45343af vsphere:latest VMWare vSphere Docker Volume plugin true | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comment as above have a new section for upgrade from package user (all current users) to plugin.
And for plugin users how they can upgrade to a newer version. At least mention if any steps are needed for upgrade.
Will all volumes be available post upgrade?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
``` | ||
- sudo dpkg -i <name>.deb # Ubuntu or deb based distros | ||
- sudo rpm -ivh <name>.rpm # Photon or rpm based distros | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could add a note that all current containers that are using vsphere volumes will continue to be able to run and that there is no impact (yes).
Also, one more good/must have is that Docker/containerd doesn't have to be restarted to install the plugin - meaning all containers stop and start (unless live-restore is in use).
Could also verify and mention behavior with swarm mode in use.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should add notes on upgrade scenarios, availability of existing volumes to the sections.
Good point! |
Refreshing vDVS installation user guide for 0.13 release
/cc @msterin