\u00a0<\/p>
Level up your Nutanix skills and get certified for free with Nutanix University Summer School! For the next two months, anyone who completes one of the following courses - whether it\u2019s online or in person - will also receive a FREE certification exam voucher.<\/span><\/p> Eligible courses:<\/strong><\/p> Enterprise Cloud Administration<\/span><\/p>\t<\/li>\t Nutanix Data Services Administration<\/span><\/p>\t<\/li>\t Nutanix End User Computing Administration<\/span><\/p>\t<\/li>\t Nutanix Database Management & Automation<\/span><\/p>\t<\/li>\t Nutanix Multicloud Automation Administration<\/span><\/p>\t<\/li><\/ul> \u00a0<\/p> Take this opportunity to invest in your career and grow your skill set.\u00a0<\/span><\/p> \u00a0<\/p> Thanks for waiting to everyone who got our sneak peek of this last week!\u00a0\ud83d\ude09<\/p> \u00a0<\/p> Terms and Conditions<\/strong><\/em><\/p> The exam voucher will be provided to you after you have completed the course. Self-paced online student\u2019s vouchers will be assigned through the Learning Plan within 24-hours after the completion of the course.<\/span><\/em><\/p>\t<\/li>\t You must complete the course between June 14, 2022 and August 16, 2022.\u00a0<\/span><\/em><\/p>\t<\/li>\t For online students, your exam voucher must be redeemed by 8\/23\/22. For instructor-led students, your exam voucher must be redeemed 6 months after you complete the course.\u00a0<\/span><\/em><\/p>\t<\/li>\t The exam voucher code can only be used once.<\/span><\/em><\/p>\t<\/li>\t You will receive one (1) NCP exam voucher for each class completed. The voucher can be used on any NCP exam.\u00a0\u00a0<\/span><\/em><\/p>\t<\/li><\/ul> \u00a0<\/p> This article was written by Karlie Beil, Customer Marketing Specialist.\u00a0<\/p><\/div><\/div><\/section> \u00a0<\/p> \u00a9\ufe0f\ufe0f\ufe0f 2022 Nutanix, Inc. \u00a0All rights reserved. Nutanix, the Nutanix logo and all Nutanix product, feature and service names mentioned herein are registered trademarks or trademarks of Nutanix, Inc. in the United States and other countries. Other brand names mentioned herein are for identification purposes only and may be the trademarks of their respective holder(s). This post may contain links to external websites that are not part of Nutanix.com. Nutanix does not control these sites and disclaims all responsibility for the content or accuracy of any external site. Our decision to link to an external site should not be considered an endorsement of any content on such a site. This post may contain express and implied forward-looking statements, which are not historical facts and are instead based on our current expectations, estimates and beliefs. The accuracy of such statements involves risks and uncertainties and depends upon future events, including those that may be beyond our control, and actual results may differ materially and adversely from those anticipated or implied by such statements. Any forward-looking statements included herein speak only as of the date hereof and, except as required by law, we assume no obligation to update or otherwise revise any of such forward-looking statements to reflect subsequent events or circumstances.<\/p> \u00a0<\/p>","id":40952,"featuredImage":"https:\/\/uploads-us-west-2.insided.com\/nutanix-us\/attachment\/78f47513-ef06-4bf4-9b57-0269259ac6da_thumb.png","label":"Blog","replyCount":0,"views":5629,"post":{"id":61291,"author":{"id":113632,"url":"\/members\/karlie-beil-113632","name":"Karlie Beil","avatar":"https:\/\/uploads-us-west-2.insided.com\/nutanix-us\/icon\/200x200\/1581aab3-bcf6-49f4-b2fb-3d11e8c010dc.png","userTitle":"Community Manager","rank":{"isBold":false,"isItalic":false,"isUnderline":false,"name":"Community Manager","color":"#0873ba"},"userLevel":2},"content":" \u00a0<\/p> Level up your Nutanix skills and get certified for free with Nutanix University Summer School! For the next two months, anyone who completes one of the following courses - whether it\u2019s online or in person - will also receive a FREE certification exam voucher.<\/span><\/p> Eligible courses:<\/strong><\/p> Enterprise Cloud Administration<\/span><\/p>\t<\/li>\t Nutanix Data Services Administration<\/span><\/p>\t<\/li>\t Nutanix End User Computing Administration<\/span><\/p>\t<\/li>\t Nutanix Database Management & Automation<\/span><\/p>\t<\/li>\t Nutanix Multicloud Automation Administration<\/span><\/p>\t<\/li><\/ul> \u00a0<\/p> Take this opportunity to invest in your career and grow your skill set.\u00a0<\/span><\/p> \u00a0<\/p> Thanks for waiting to everyone who got our sneak peek of this last week!\u00a0\ud83d\ude09<\/p> \u00a0<\/p> Terms and Conditions<\/strong><\/em><\/p> The exam voucher will be provided to you after you have completed the course. Self-paced online student\u2019s vouchers will be assigned through the Learning Plan within 24-hours after the completion of the course.<\/span><\/em><\/p>\t<\/li>\t You must complete the course between June 14, 2022 and August 16, 2022.\u00a0<\/span><\/em><\/p>\t<\/li>\t For online students, your exam voucher must be redeemed by 8\/23\/22. For instructor-led students, your exam voucher must be redeemed 6 months after you complete the course.\u00a0<\/span><\/em><\/p>\t<\/li>\t The exam voucher code can only be used once.<\/span><\/em><\/p>\t<\/li>\t You will receive one (1) NCP exam voucher for each class completed. The voucher can be used on any NCP exam.\u00a0\u00a0<\/span><\/em><\/p>\t<\/li><\/ul> \u00a0<\/p> This article was written by Karlie Beil, Customer Marketing Specialist.\u00a0<\/p><\/div><\/div><\/section> \u00a0<\/p> \u00a9\ufe0f\ufe0f\ufe0f 2022 Nutanix, Inc. \u00a0All rights reserved. Nutanix, the Nutanix logo and all Nutanix product, feature and service names mentioned herein are registered trademarks or trademarks of Nutanix, Inc. in the United States and other countries. Other brand names mentioned herein are for identification purposes only and may be the trademarks of their respective holder(s). This post may contain links to external websites that are not part of Nutanix.com. Nutanix does not control these sites and disclaims all responsibility for the content or accuracy of any external site. Our decision to link to an external site should not be considered an endorsement of any content on such a site. This post may contain express and implied forward-looking statements, which are not historical facts and are instead based on our current expectations, estimates and beliefs. The accuracy of such statements involves risks and uncertainties and depends upon future events, including those that may be beyond our control, and actual results may differ materially and adversely from those anticipated or implied by such statements. Any forward-looking statements included herein speak only as of the date hereof and, except as required by law, we assume no obligation to update or otherwise revise any of such forward-looking statements to reflect subsequent events or circumstances.<\/p> \u00a0<\/p>","url":"\/education-blog-153\/level-up-your-nutanix-skills-this-summer-and-get-a-free-exam-voucher-40952?postid=61291#post61291","creationDate":"2022-06-14T15:30:05+0000","relativeCreationDate":"1 month ago"},"contentType":"article","type":3,"likes":7,"hasCurrentUserLiked":false},"phrases":{"Forum":{"{n} year|{n} years":"{n} year|{n} years","{n} month|{n} months":"{n} month|{n} months","{n} day|{n} days":"{n} day|{n} days","{n} hour|{n} hours":"{n} hour|{n} hours","{n} minute|{n} minutes":"{n} minute|{n} minutes","just":"just now","{plural} ago":"{plural} ago"}}}">
\u00a0<\/h3>
Get started today!<\/a><\/h3>
Get a free certification exam when you complete a training course now through August 16! <\/strong><\/h3>
\u00a0<\/h3>
Get started today!<\/a><\/h3>
[Docker] Nutanix容器卷插件
16个答复
但是,我确实注意到这看起来仅对RedHat进行了测试。有这个版本吗?我们知道是否有一个作品?在我的公司中,我们是沉重的Docker用户,但是我们将Ubuntu用作基础,因此尝试这一点真是太好了。
\nHowever, I did notice that this looks to be redhat tested only. Is there a Ubuntu version of this? Do we know if there is one in the works?In my company we are heavy docker users, but we use Ubuntu as the base, so it would be wonderful to try that.","quoteUsername":"Justin-DynamicD","translations":{"Common":{"like":"Like","unlike":"Unlike"},"Forum":{"Quote":"Quote","Share":"Share"}}}">
如果我们遇到DVP安装/配置问题,是否有电子邮件地址或可以提出问题或创建问题的地方?
当我在CentOS7上安装或启用插件时,我会收到以下错误:
docker plugin enable nutanixError response from daemon: dial unix /run/docker/plugins/4ff9072aa1e8a894926d95a65037a505c5abb24021273074716b11e98c9e2b47/nutanix.sock: connect: no such file or directory
谢谢
\nIs there an email address or somewhere where we can ask questions or create issue if we encounter some problems with DVP installation\/configuration ?
\n
\nWhen i install or enable the plugin on CentOS7 i get the following error :
\ndocker plugin enable nutanixError response from daemon: dial unix \/run\/docker\/plugins\/4ff9072aa1e8a894926d95a65037a505c5abb24021273074716b11e98c9e2b47\/nutanix.sock: connect: no such file or directory
\n
\nThanks","quoteUsername":"tperelle","translations":{"Common":{"like":"Like","unlike":"Unlike"},"Forum":{"Quote":"Quote","Share":"Share"}}}">
就我而言,这是因为应用程序和管理在不同的VLAN中是分开的,而这些VLAN无法彼此交流。
音量插件需要与管理层进行通信以创建存储量。
Nutanix似乎通过将群集管理和存储管理分开,在AOS的最后发行中改善了解决方案,因此量插件可以解决存储管理,而无需在集群管理上获得许可。
由于缺乏时间,我没有再进行测试,但是如果您可以测试,请给我们您的反馈!
谢谢
\r\n
\r\nIn my case it was because apps and management were separate in different VLANs which could not communicate with each other.
\r\nThe Volume plugin need to communicate with management to create storage volumes.
\r\n
\r\nNutanix seems to have improved the solution in last releases of AOS by separating cluster management and storage management, so the volume plugin may address storage management without having permissions on cluster management.
\r\nI have not tested anymore because of lack of time but give us your feedback if you can test !
\r\n
\r\nThanks","quoteUsername":"tperelle","translations":{"Common":{"like":"Like","unlike":"Unlike"},"Forum":{"Quote":"Quote","Share":"Share"}}}">
该插件已在CENTOS 7,RHEL 7.3和Ubuntu 16.04.2上有资格,该Docker页面上有指令可以提供帮助。
关于您遇到的错误,最好是给Nutanix支持一个呼叫 - 这样您可以安全地转移可能需要的所有日志等。
当您完成事情时,也可能最好分享此线程的修复程序,以便社区中的其他人受益。谢谢
\r\n
\r\nThe plugin has been qualified on Centos 7, Rhel 7.3 and Ubuntu 16.04.2 and there are instructions on that Docker page that can help.
\r\n
\r\nWith respect to the error you are getting might be best to give Nutanix support a call - that way you can securely transfer any logs, etc that might be need.
\r\n
\r\nWhen you get things going, might also be best to share the fix on this thread for other in the community to benefit from. Thanks \ud83d\udc4d","quoteUsername":"aluciani","translations":{"Common":{"like":"Like","unlike":"Unlike"},"Forum":{"Quote":"Quote","Share":"Share"}}}">
对于那些发现此线程的人,我们已经在我们的Corp服务部门实施了此主题,并与Docker + Nomad结合使用它,以提供一个完整的容器解决方案,该解决方案运行良好。
从本质上讲,我们可以在Nomad存储节中声明存储要求,如果存在,将安装所请求的卷,并创建如果丢失。然后,我们使用数据保护功能来快照数据量,以便我们拥有一个完整的备份解决方案,可与容器一起使用。总的来说,一切都很优雅!
\r\nFor those just finding this thread We have implemented this in our corp services division and leverage it in conjunction with Docker + Nomad to provide a complete container solution that runs very well.
\r\n
\r\nEssentially we can declare the storage requirements in our nomad storage stanza, and the requested volume will be mounted if present, and created if missing. We then use the data protection feature to snapshot the data volumes so that we have a complete backup solution that works with containers. Pretty elegant all in all!","quoteUsername":"Justin-DynamicD","translations":{"Common":{"like":"Like","unlike":"Unlike"},"Forum":{"Quote":"Quote","Share":"Share"}}}">
跑步
AOS 5.6.1
管理程序20170830.124
试穿:
Centos 7
Ubuntu 16.04 / 18.04
Docker-golume-Plugin:1.1.1正在玩。使用Docker 18.03.1-CE。
Nutanix的文档和知识库对Docker来说是一团糟,因为它们显然是在不同观众的不同点上写下的,即“ Calm.io”的不同点,并且根本不包含故障排除指导。即使是与镇定相关的实践实验室,也没有关于如果出现问题的信息。
Nutanix车间实验室7-码头插件插件
\r\nRunning
\r\nAOS 5.6.1
\r\nHypervisor 20170830.124
\r\nTried on:
\r\nCentOS 7
\r\nUbuntu 16.04 \/ 18.04
\r\n
\r\nThe docker-volume-plugin:1.1.1 is in play. Using Docker 18.03.1-ce.
\r\n
\r\nThe Nutanix Documentation and Knowledge Base are a mess with respect to Docker because they are obviously written at different points for different audiences, pre and post 'calm.io' acquisition and include no troubleshooting guidance at all. Even the practice labs associated with calm include no information on what to do if something goes wrong.
\r\nNutanix Workshop Lab 7 - Docker Volume Plugin<\/a>","quoteUsername":"smoodo","translations":{"Common":{"like":"Like","unlike":"Unlike"},"Forum":{"Quote":"Quote","Share":"Share"}}}">
我与几个人交谈,建议您最好打开支持票。我还将通过文档问题。谢谢
\r\n
\r\nI spoke with a few folks and it was suggested that it might be best for you to open a support ticket. I'll also pass along the documentation concerns. Thanks","quoteUsername":"aluciani","translations":{"Common":{"like":"Like","unlike":"Unlike"},"Forum":{"Quote":"Quote","Share":"Share"}}}">
是的,请分享您的发现 - 很高兴能像您这样的社区成员回馈社区成员
\r\n
\r\nYes, please do share back to this post your findings - it's great to have community members like you wanting to give back \ud83d\udc4d","quoteUsername":"aluciani","translations":{"Common":{"like":"Like","unlike":"Unlike"},"Forum":{"Quote":"Quote","Share":"Share"}}}">
基本:
您可以在CentOS(ISCSI-Initiator-utils)和Ubuntu(Open-ISCSI)中看到的ISCSI启动器工具
https://store.docker.com/plugins/nutanix-dvp-docker-volume-plug-in
这些说明没有告诉您的内容如下。
您将需要从CentOS或Ubuntu中获取启动器ID,并将其添加到Nutanix卷组中,为“客户”。Nutanix卷组不必具有磁盘。我认为这是因为Nutanix需要一种方法来知道VM可以访问通过“ Docker卷CREATE” STANZAS创建的ISCSI目标。在我的系统上,如果我没有将IQN添加到卷组中,则Docker_volume_plugin将在这些卷中创建卷和磁盘,但是在VM中运行的容器无法使用它们。ISCSI会报告找不到磁盘。实际上,您可以在Nutanix存储部分中看到它。我的CentOS 7系统上的启动器ID最终在/etc/iscsi/initiatorname.iscsi中,看起来像IQN.1994-05.com.com.redhat:cefadfb997de for Ubuntu的ubuntu在同一地点,但看起来像IQN.1993-08.1993-08.1993-08.1993-08.org.debian:01:70A35537367
另一个绊脚石是意外地键入了错误的密码,在另一个迭代中,尝试了“ default_container”参数的Nutanix卷组名称,该名称应该是Nutanix存储容器名称。在所有出现问题的情况下,您会遇到的唯一错误是找不到Nutanix.sock文件。我尚未找到更改已经安装的插件配置的方法。做一个“ Docker插件RM Nutanix”就足够了,然后我将Docker插件安装线重新兰。
插件安装行上的一个小细节是“ - alias nutanix”部分。那是来自Docker的,允许您使用“ - 驱动器nutanix”与更多的详细信息 - 驱动器ntnx/nutanix_volume_plugin:1.1.1”。
这些问题很难解决,因为各种说明遗漏了细节或实验室或教程所假定的完美。另一个有用的花絮来自锁定有关改进的系列中的Nutanix技术视频(因此您必须涉足整个系列),他们解释说docker卷插件实质上是使用其余的调用来协调与Docker一起使用的创建和命运量。也许这在事后看来应该更为明显,但是知道这告诉我如何考虑插件可能出了什么问题。(密码更改,端口443问题,ISCSI问题)。
看起来配置会有一些持久的负担:
DataServices_ip是在Nutanix群集的IP范围内访问的IP。以一种“同一子网”的方式说的。它没有什么神秘的,但是一旦您设置了它并开始配置要期望的东西,您将必须拥有所有这些配置的更改。密码更改可能也不优雅,因此服务帐户可能适合生产。
我的生产用例将是多户外 - 容器集群数据库和群集应用程序特定存储库。接下来,我们可能会尝试在Kubernetes上的编排,但首先要对Docker群和堆栈进行一些实验。
\r\nBasics:
\r\niSCSI initiator tools that you can see in Centos (iscsi-initiator-utils) and Ubuntu (open-iscsi)
\r\nhttps:\/\/store.docker.com\/plugins\/nutanix-dvp-docker-volume-plug-in
\r\n
\r\nWhat those instructions do not tell you is the following.
\r\nYou will need to get the initiator id out of your CentOS or Ubuntu and add it to a Nutanix Volume Group as 'clients'. The Nutanix Volume Group does not have to have disks. I think this is because Nutanix needed a way to know that the VM's are allowed access to the iSCSI targets that get created through 'docker volume create' stanzas. On my system if I did not have the iqn added to a Volume Group, the docker_volume_plugin would create volumes and disks in those volumes, but they would not be usable by containers running within the VM. iSCSI would report that the disk could not be found. You could, in fact, see it within the Nutanix Storage section. The initiator id on my CentOS 7 system ended up within \/etc\/iscsi\/initiatorname.iscsi and looked like iqn.1994-05.com.redhat:cefadfb997de the one for Ubuntu was in the same place but looked like iqn.1993-08.org.debian:01:70a35537367
\r\n
\r\nAnother stumbling block was accidentally typing the password wrong and in another iteration trying a Nutanix Volume Group name for the 'DEFAULT_CONTAINER' parameter, which should have been the Nutanix Storage Container name. In all cases of getting something wrong, the only error you will get is about the nutanix.sock file not being found. I have not found a way to change an already installed plugin's configuration. Doing a 'docker plugin rm nutanix' was sufficient and then I reran the docker plugin install line.
\r\n
\r\nA small detail on the plugin install line is the \"--alias nutanix\" part. That is from docker, and allows you to use the \"--driver nutanix\" versus the more verbose \"--driver ntnx\/nutanix_volume_plugin:1.1.1\".
\r\n
\r\nThese issues were hard to resolve because various sets of instructions left out details or the labs or tutorials assumed perfection. Another helpful tidbit came from a Nutanix Tech video locked within a series about improvements (so you have to wade through the whole series) where they explain that the docker volume plugin is essentially using the REST calls to orchestrate creating and destorying volumes used with Docker. Perhaps that should have been more obvious in hindsight, but knowing that told me how to think about what could go wrong with the plugin. (Password changes, port 443 problems, iscsi issues).
\r\n
\r\nIt looks like there will be some lasting burdens from the configuration:
\r\nThe DATASERVICES_IP is an IP that is accessible in the IP Range of the Nutanix Cluster. Said in a fancier way 'in the same subnet'. There is nothing mysterious about it, but once you set it and start to configure things to expect it, you will have to own all of those configuration changes down the line. Password changes will probably not be elegant either, so a service account might be appropriate for production.
\r\n
\r\nMy production use cases will be multi-docker-container clustered databases and clustered application specific repositories. We will likely try the orchestration on Kubernetes next, but first some experimentation with docker swarm and stacks.","quoteUsername":"smoodo","translations":{"Common":{"like":"Like","unlike":"Unlike"},"Forum":{"Quote":"Quote","Share":"Share"}}}">
很高兴有您作为社区成员。
\r\nIt's great to have you as a community member.","quoteUsername":"aluciani","translations":{"Common":{"like":"Like","unlike":"Unlike"},"Forum":{"Quote":"Quote","Share":"Share"}}}">
该插件已在CentOS 7,RHEL 7.3和Ubuntu 16.04.2上获得资格。它可能适用于较旧版本,但并非为此测试了每个发行版 /版本。请谨慎使用。最好的方法是在非生产VM中对其进行测试,并在将其安装在生产Docker主机 /节点中之前,请确保一切都起作用。
还查看此视频:
\r\n
\r\nThe plugin has been qualified on Centos 7, Rhel 7.3 and Ubuntu 16.04.2. It may work for older versions, but not every distro \/ version have been tested for this. Please use with caution. Best way would be to test it in a non-production VM and make sure that everything works, before installing this in your production Docker hosts \/ nodes.
\r\n
\r\nCheck out this video as well:
\r\n
\r\n
输入您的用户名或电子邮件地址。我们将向您发送带有指令的电子邮件以重置您的密码。
Functional","cookiepolicy.modal.level2":"Normal
Functional + analytics","cookiepolicy.modal.level3":"Complete
Functional + analytics + social media + embedded videos"}}}">