Join us for a virtual Nutanix User Group meeting with Jarian Gibson as he covers Nutanix Cloud Clusters (NC2) on Azure and AWS with Citrix. <\/span><\/p>

Jarian will take a deep dive into NC2 on Azure architecture and Citrix on NC2 on Azure\u00a0that helps you strengthen your business continuity and disaster recovery position. He\u2019ll also provide the latest updates for NC2 on AWS.<\/span><\/p>

Plus, we're\u00a0giving away a Nutanix suitcase to one lucky winner!\u00a0Opt-in when you register\u00a0to be entered to win.\u00a0<\/p>","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":4},"type":"Webinar","url":"https:\/\/next.nutanix.com\/events\/global-nug-nc2-on-azure-and-aws-with-citrix-151","image":"https:\/\/uploads-us-west-2.insided.com\/nutanix-us\/attachment\/f9693b5b-436b-427a-9b98-531b4040ff24_thumb.png","location":"","startsAt":1678298400,"endsAt":1678302000,"contentType":"event","attendees":[],"attendeeCount":0,"isLoggedInUserAttendee":false,"createdAt":"1675974969"},"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"}}}">

解决了

将Hyper-V主机添加到移动3.4.0


徽章

我正在尝试添加Hyper-V主机以移动以迁移VM。

但是添加主机后,VM库存没有加载(显示0 VM)。当我尝试刷新时,我会遇到以下错误:

无法获得源头库存''。[apiname =“ get vm”,hypervisorerr =“ [cmd =“ get-vm |)select -object -expandproperty dvddrives |选择ControllerType,ControllerNumber,ControllerLocation,Path,supportSistEntEnservations,vMname,VMID |convertto -json -compress |Out-File -FilePath C:\Users\xtract\AppData\Local\Temp\executeCmd385362813\Ouput.json", ErrorMsg="exit status 1", Location="/root/workspace/xtract_vm_qcow2_builder_prod/go/src/hypervisor/hyperv/hyperv_agent/utils.go:96“,stderr =”# system.management.automation.ppscustomobject system.Object.Object 1 准备首次使用的模块。 0 -1pi> -1 完成“错误”> get-vm:术语'get-vm'不被识别为cmdlet,函数,脚本文件或_x000d__x000a _ 可操作程序的名称。检查名称的拼写,或者如果包括路径,请验证路径_x000d__x000a _ 是正确的。:1 char:1_x000d__x000a _ + get-vm |select -object -expandproperty dvddrives |选择Controllert ..._ X000D__X000A _ + ~~~~~~~~~~~~ _x000d__x000a _ + categoryInfo:objectornotfo:(get-vm:string)[get-vm:string)[] [] [], CommandNotFoundException_x000D__x000A_ + FullyQualifiedErrorId : CommandNotFoundException_x000D__x000A_ _x000D__x000A_"] Powershell command failed on HyperV machine. (error=0x8008)", Location="/hermes/go/src/hypervisor/hyperv/hyperv_agent_impl.go:1309"] Failed to execute Hyper-V API. (error=0x8001)

图标

最好的答案阿吉什2020年1月22日,13:45

Issue was related Powershell features not enabled. Once i enabled i was able to retrieve the VM inventory.<\/p>

\u00a0<\/p>

Thank you.<\/p>","className":"post__content__best_answer"}">

查看原件

该主题已关闭以供评论

2个答复

在Hyper-V主机上部署移动代理

您可以手动或自动在源hyper-V主机上部署移动代理。

手动部署

要下载并安装每个源hyper-V主机机器上的移动代理以支持VM发现和迁移,请执行以下操作:

  1. 在Hyper-V主机中,从下载Move-Agent-installer.exehttp:// /downloads/agents/move-agent-installer.exe

    代替使用MOVE VM的IP地址。

  2. 转到您下载代理的位置,然后在C:\ Users \ Administrator下复制或移动下载的文件。
  3. 启动命令提示以管理员身份运行从C:\ Users \ Administrator运行以下命令。
    MOVE -AGENT -INSTALLER.EXE -O [操作] -ip [Move IP] -U [用户]

    例子:Move -Agent -installer.exe -o install -IP 10.5.244.55 -U用户

    用户可以是具有管理员特权的域或本地用户。

笔记:
  • 默认情况下,移动代理安装在用户目录中。如果要更改位置,请使用-d选项。
  • 要卸载移动代理,请使用命令Move-Agent-installer.exe -o删除
  • 输入帮助以及任何命令以显示该命令的选项。
  • Move Agent Service安装将添加入站防火墙规则为打开端口8087,这是移动VM和Hyper-V交互所必需的。在Hyper-V上运行的MOVE HYPER-V代理服务使用8087端口与Move进行交互。此服务仅需要8087端口,您无法自定义此服务以使用任何其他端口。
  • 确保在安装或删除移动代理时未打开服务管理器控制台。
徽章

问题是相关的PowerShell功能未启用。启用后,我就能检索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