解决了

移动不允许VM移动容器安装误差-ESXI到AHV

  • 2020年11月11日
  • 5个答复
  • 1626年的观点

我尝试多次将测试VM移动,并且遇到了安装容器过程的问题。是否有解决方案。我怀疑这是一个防火墙问题,任何帮助将不胜感激。

VM迁移失败:准备目标:[[location =“/hermes/go/src/src/tgtagent/ahvtargetProvider.go:567”,msg =“错误创建目标路径[container =“ default-container-90861820611740”,状态32“,位置=”/Hermes/go/src/libcloud/prism/ahvmountimpl.go:146“]容器安装失败(错误= 0x4012)”]目标代理错误(错误= 0x4003)]

图标

最好的答案阿罗纳2020年11月12日,00:55

That\u2019s not all of it but what I think you may find useful. I strongly suggest to work out the access with Networking security team as documentation is updated regularly and the below is only a snapshot of it as of now.<\/strong><\/p>

Error adding Source<\/h2>
  • Verify your vCenter Server credentials are correct.<\/li>\t
  • Verify vCenter Server name is DNS resolvable to IP Address or IP Address can be pinged from Xtract Appliance VM.<\/li>\t
  • If your ESXi hosts are registered in vCenter with hostnames instead of IP addresses, verify that the hostnames of these ESXi hosts are resolvable from the Xtract Appliance VM.<\/li>\t
  • Verify service account used has admin privileges in vCenter.<\/li><\/ul><\/section>

    Error Adding Target<\/h2>
    • Verify that you are using AHV Cluster IP Address or FQDN.<\/li>\t
    • Verify your AHV Cluster credentials are correct.<\/li>\t
    • Verify AHV Cluster name is DNS resolvable to IP Address or IP Address can be pinged from Xtract Appliance VM.<\/li>\t
    • Verify service account used has admin privileges.<\/li><\/ul><\/section>

      Debug Stats<\/h2>

      Xtract is comprised of multiple internal services for reading, writing data, and coordination. Each service exposes stats via REST\/HTTP to localhost. Stats are also available in support bundle for offline analysis.<\/p>

      #Query stats from disk reader,[admin@xtract-for-vms ~]$ curl localhost:2003\/debug\/vars# disk writer, [admin@xtract-for-vms ~]$ curl localhost:2000\/debug\/vars# source agent [admin@xtract-for-vms ~]$ curl localhost:8085\/debug\/vars#and target agent [admin@xtract-for-vms ~]$ curl localhost:8086\/debug\/vars<\/pre><\/section>

      Generate Diagnostics Logs Bundle<\/h2>

      You can generate and download a support bundle that you can send to Nutanix Support for assistance.<\/p>

      Note: From the 1.1.3 release of Xtract for VMs, the support bundle includes the ping statistics of the source ESXi hosts and target AHV hosts.<\/p>

      1. UI:\t

        Log on to the Xtract web console. Click the question mark on the top corner. Select Download Support Bundle. It might take a few moments to begin downloading.<\/p>\t<\/li>\t

      2. Console:\t

        Log on as root into the Xtract appliance VM and run the following: \/opt\/xtract-vm\/scripts\/support-dump.sh. It generates a diagnostic bundle under \/opt\/xtrac-vm\/supportdumps\/scp over to an external host to share with Nutanix Engineering.<\/p>\t<\/li><\/ol><\/section>

        GUI issues<\/h2>
        • Source vCenter VM List empty when selecting VMs for migration. Make sure to wait for a few minutes for Xtract appliance to build inventory database and click the Refresh link.<\/li>\t
        • If browser refresh (F5) is done, and if the GUI loads with no data, point your browser to https:\/\/ip-address and login again.<\/li>\t
        • In case the GUI shows an error message without any details, it\u2019s good to capture Support Bundle as logs containing additional error information.<\/li><\/ul><\/section>

          List of Network Ports needed for VMs<\/h2>
          • Source:\t

            ESXi Host (NFC): Port 902 TCP and Port 443 TCP (from Xtract inbound to ESXi)<\/p>\tvCenter Server: Port 443 TCP - From Xtract inbound to vCenter (or if running on different port. Make sure https:\/\/ip-address:port\/sdk\u200b is accessible from Xtract Appliance).<\/li>\t

          • Target:\t

            NFS traffic (From all CVMs to Xtract Appliance) - Xtract temporarily adds itself to Container Whitelist. Prism REST API access https:\/\/cluster-ip:9440<\/p>\t<\/li><\/ul><\/section>","className":"post__content__best_answer"}">

查看原件

该主题已关闭以供评论

5个答复

UserLevel 2
徽章 +12

该容器的移动设备白色是否列入了白色?

是的。这是服务器2016 VM,已安装了当前的VTools。VM确实具有本地VMDK,并且附有第二个ISCSI驱动器。我有几个位置,所有这些位置都具有相同的MOVE VM设置,没有任何问题。我怀疑这可能是一个防火墙问题。我什至刷新了范围,并重新分配了迁移计划。

UserLevel 2
徽章 +12

线程有帮助吗?nutanix移动迁移ESXI到AHV

我可以访问此链接nutanix移动迁移ESXI到AHV无法访问该页面上的链接,它被我们的Corp防火墙阻止。您可以在这里添加其中的内容吗?XTRACT故障排除指南(需要支持门户帐户)。

UserLevel 6
徽章 +5

这并不是全部,而是我认为您可能会发现有用的。我强烈建议通过定期更新文档,以与网络安全团队进行访问,而下面只是目前的快照。

错误添加源

  • 验证您的vCenter服务器凭据是正确的。
  • 验证vCenter Server名称是可解析为IP地址的DNS,或者可以从Xtract Appliance VM中ping。
  • 如果您的ESXI主机以主机名而不是IP地址在vCenter中注册,请验证这些ESXI主机的主机名是否可从Xtract Appliance VM分解。
  • 验证所使用的服务帐户在vCenter中具有管理员特权。

错误添加目标

  • 验证您正在使用AHV群集IP地址或FQDN。
  • 验证您的AHV群集凭据是正确的。
  • 验证AHV群集名称是DNS可分解为IP地址的DNS,或者可以从Xtract Appliance VM中ping。
  • 验证使用的服务帐户具有管理员特权。

调试统计数据

Xtract由用于阅读,编写数据和协调的多个内部服务组成。每项服务通过REST/HTTP暴露于Localhost的统计数据。统计数据也可用于脱机分析的支持捆绑包。

#query Stats from Disk Reader,[admin@xtract-for-vms〜] $ curl localhost:2003/debug/vars#disk Writer,[admin@xtract-xtrack-for-vms〜] $ curl localhost:curl localhost:debug/vars###源代理[admin@xtract-for-vms〜] $ curl localhost:8085/debug/vars#and target代理[admin@xtract-for-vms〜] $ curl localhost:8086/debug/vars

生成诊断日志捆绑包

您可以生成和下载一个支持捆绑包,您可以将其发送到Nutanix支持以寻求帮助。

注意:从1.1.3 Xtract的VMS版本中,支持捆绑包包括源ESXI主机和目标AHV主机的ping统计信息。

  1. ui:

    登录到Xtract Web控制台。单击顶角上的问号。选择下载支持捆绑包。开始下载可能需要一些时间。

  2. 安慰:

    登录到Xtract Appliance VM并运行以下内容:/opt/xtract-vm/scripts/support-dump.sh。它在/opt/xtrac-vm/supportDumps/scp下生成诊断捆绑包,向外部主机与Nutanix Engineering共享。

GUI问题

  • 源vCenter VM列表在选择迁移的VM时为空。确保等待几分钟才能Xtract Appliance构建库存数据库,然后单击“刷新”链接。
  • 如果完成浏览器刷新(F5),并且GUI加载没有数据,请将浏览器指向https:// ip-address并再次登录。
  • 如果GUI显示一条错误消息而没有任何详细信息,则可以将支持捆绑包作为包含其他错误信息的日志。

VM所需的网络端口列表

  • 资源:

    ESXI主机(NFC):端口902 TCP和端口443 TCP(从Xtract Inbound到ESXI)

    vCenter服务器:端口443 TCP-从Xtract倒入到vCenter(或在不同端口上运行。请确保可以从Xtract Appliance访问https:// ip -address:port/sdk)。
  • 目标:

    NFS流量(从所有CVM到Xtract Appliance) - Xtract会暂时将自己添加到容器白名单中。Prism REST API访问https:// cluster-ip:9440

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