Nutanix DVP (Docker Volume Plug-in)
Earlier in the year we shared our Nutanix Docker Volume Plugin on the Docker store. The Nutanix Docker Volume Plugin (DVP) enables Docker Containers to use storage persistently. Normally, if a container is moved from one container machine to another, storage does not move with it.
The Acropolis Container Services (ACS) provide a storage volume plugin that enables Docker deployments to be integrated with Nutanix external storage systems and enable data volumes to persist beyond the lifetime of a single container machine host.
You can find it here:Nutanix DVP (Docker Volume Plug-in)
命中答复并与社区中的其他人分享您的经验!
The Acropolis Container Services (ACS) provide a storage volume plugin that enables Docker deployments to be integrated with Nutanix external storage systems and enable data volumes to persist beyond the lifetime of a single container machine host.
You can find it here:Nutanix DVP (Docker Volume Plug-in)
命中答复并与社区中的其他人分享您的经验!
This topic has been closed for comments
您是否需要在Nutanix节点上运行ACS来使用ACS?这个插件可以与正在运行VMware NSX而不是Acripolis的节点一起使用吗?
MP3写道:您需要在Nutanix节点上运行ACS以使用ACS吗?这个插件可以与正在运行VMware NSX而不是Acripolis的节点一起使用吗?
Himp3I suspect you meant ESXi in the above comment - If so then yes it will work with nodes running ESXi.
Today I got this Docker Volume Plugin working. All the instructions out there do not warn about what to do if something goes wrong. The error from docker itself is that 'nutanix.sock' does not exist.
Docker:守护程序的错误响应:ISCSI发起者错误:无法在主机上找到磁盘。
Example command to get the plugin installed:
docker plugin install ntnx/nutanix_volume_plugin:latest PRISM_IP="172.30.0.50" DATASERVICES_IP="172.30.3.9" PRISM_PASSWORD="Nutanix/4u&" PRISM_USERNAME="bjackson" DEFAULT_CONTAINER="BI_Storage" --alias nutanix
The PRISM_IP is obvious. The DATASERVICES_IP, the existing documents make sound super complicated and special. In the cluster details within Prism, you just make up an IP that exists within your subnet (IP Range) that is free and you want to use for all VM's that use iSCSI pointed back at the Nutanix Cluster, and that is it. If you change it later, you will probably have to remove and reinstall the docker volume plugin again with the updated IP address.
如果您删除了“ -alias nutanix”,则必须使用驱动程序的丑陋全名来引用它(例如:ntnx/nutanix_volume_plugin:1.1.1或其他一些标签名称)。
Not sure if it is possible to update the existing plugin once it is installed. So far, I had to do 'docker plugin rm nutanix', then rerun the above command for installing it in the first place. Success means you don't get any messages back beyond asking for permission for the plugin to access various things.
Absolutely nothing is documented about these. One password change and things could randomly go south with your containers and attached volumes. Hope this helps someone over the hill.
- 检查您的密码,并确保在命令中对其进行更新和准确。
- When they say default container, it means the name of the Nutanix Storage Container. It is not some volume group name or other thing.
- You must have one volume group, named anything you want, that is configured to allow your iscsi initiator name to connect. I created one called "docker-initiators" just added the iqn to the client list. If you do not do this, then the Docker Volume Plugin will allow you to create volumes in nutanix with attached disks, but when you go to use one you'll get an error from the iSCSI initiator saying that it could not find the disk.
Docker:守护程序的错误响应:ISCSI发起者错误:无法在主机上找到磁盘。
Example command to get the plugin installed:
docker plugin install ntnx/nutanix_volume_plugin:latest PRISM_IP="172.30.0.50" DATASERVICES_IP="172.30.3.9" PRISM_PASSWORD="Nutanix/4u&" PRISM_USERNAME="bjackson" DEFAULT_CONTAINER="BI_Storage" --alias nutanix
The PRISM_IP is obvious. The DATASERVICES_IP, the existing documents make sound super complicated and special. In the cluster details within Prism, you just make up an IP that exists within your subnet (IP Range) that is free and you want to use for all VM's that use iSCSI pointed back at the Nutanix Cluster, and that is it. If you change it later, you will probably have to remove and reinstall the docker volume plugin again with the updated IP address.
如果您删除了“ -alias nutanix”,则必须使用驱动程序的丑陋全名来引用它(例如:ntnx/nutanix_volume_plugin:1.1.1或其他一些标签名称)。
Not sure if it is possible to update the existing plugin once it is installed. So far, I had to do 'docker plugin rm nutanix', then rerun the above command for installing it in the first place. Success means you don't get any messages back beyond asking for permission for the plugin to access various things.
Absolutely nothing is documented about these. One password change and things could randomly go south with your containers and attached volumes. Hope this helps someone over the hill.
使用Docker卷插件继续实验,我对ISCSI启动器量组的说法可能并不总是正确的。我的第一个CentOS 7主机报告了ISCSI启动器错误。在我创建一个卷组并将启动器名称作为客户端添加到该组之后,该错误消失了。次要Docker主持人似乎没有这个问题。我将运行“ Docker Create卷-Driver Nutanix -opt Sizemb = 100000 mydatavol”,它将被创建并立即使用。在我执行“ Docker卷列表”命令的每个Docker主机上也可以看到它。那是预期的行为。学习旅程继续。
Learn more about our cookies.<\/a>","cookiepolicy.button":"Accept cookies","cookiepolicy.button.deny":"Deny all","cookiepolicy.link":"Cookie settings","cookiepolicy.modal.title":"Cookie settings","cookiepolicy.modal.content":"We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.<\/a>","cookiepolicy.modal.level1":"Basic
Functional","cookiepolicy.modal.level2":"Normal
Functional + analytics","cookiepolicy.modal.level3":"Complete
Functional + analytics + social media + embedded videos"}}}">
Functional","cookiepolicy.modal.level2":"Normal
Functional + analytics","cookiepolicy.modal.level3":"Complete
Functional + analytics + social media + embedded videos"}}}">