解决了

如何重命名CVM容器?


徽章 +5
有没有办法可以在不重建容器的情况下重命名CVM容器?最近重新安装了Nutanix块的供应商没有遵循指示,并将其命名为错误。

该容器上有4个虚拟服务器,我想保留这些系统,而无需重建它们。

由于可用的50GB大于每个VM,因此我可以将每个VM放在本地NTNX-Local-DS(SSD)Datestore中吗?

然后销毁容器并重新创建它?

谢谢大卫
图标

最好的答案Patrbng2017年4月18日,15:52

\n
\nI would do the storage vmotion's in the off-hours though. Our early experience with storage vmotions between data storage was that it caused increased latency to all the vm's in the cluster.","className":"post__content__best_answer"}">
查看原件

该主题已关闭以供评论

4个答复

Userlevel 4
徽章 +19
您可以用正确的命名构建第二个容器,将其安装到主机上,然后对第二个容器进行存储VMotion。所有VM都移动后,您将其卸载时删除原始容器。绝对远离当地数据存储。

不过,我会在下班时间进行存储VMotion。我们对数据存储之间存储VMOTION的早期经验是,它导致了群集中所有VM的延迟。
徽章 +5
帕特尔恩,

感谢您的想法..甚至没有想到创建另一个容器。它像魅力一样被打击。该系统不在生产中,VM的存储VMotion很快就进行了。

谢谢大卫
Userlevel 4
徽章 +19
好消息。希望您的Nutanix解决方案将取得巨大的成功!
Userlevel 4
徽章 +17
Hatchda为了重命名容器而无需创建新的容器,您可以按以下方式执行
1.关闭容器上的所有VM
2.通过VSPHERE客户端从vSphere库存中删除VM
3.通过棱镜卸下容器
4.通过NCLI重命名容器
ncli>容器LS
ID:000546C7-A035-6C35-0000-00000000E316 :: 13361
ncli>容器编辑ID = 13361 new-name = new-container-name
5.刷新棱镜
6.通过棱镜将容器安装到所有ESXI主机
7.通过VSPHERE客户端验证重命名的容器
8.右键单击VMX文件,并添加到所有VM的库存中
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"}}}">
Baidu