我知道有很多话题,但我找不到解决scheme。 当连接到hyper-v服务器抛出hyper-vpipe理器和powershell时会出现问题。
Can not connect to RPC service.
根据这个问题,启用远程pipe理hyper-v服务器2008 R2客户机和服务器必须有相同的域。 有什么方法可以包含它们吗?
我的信用证(用户,密码)在服务器端和客户端是相同的RPC,WMI,Net BIOS服务也在运行。
将hvremote作为诊断工具进行演变显示下一个信息:
C:\>cscript hvremote.wsf /show /target:HYPERSERV 2) ping attempt (ping -4 -n -1 HYPERSERV) Note the ping may timeout -that is OK. However, if you get an error that HYPERSERV could not be found, you need to fix DNS or add an entry to the hosts file. Test 3 will fail and provide more guidance. 3) Connect to root\cimv2 WMI namespace *** Failed to connect to root\cimv2 *** Error: -214023174 Server RPC not evailable.
您遇到的主要问题是Windows 7和Windows Server 2008 R2上的Hyper-Vpipe理器无法pipe理Windows Server 2012上的Hyper-V。您需要使用Windows Server 2012或Windows 8中的Hyper-Vpipe理器。
我想你正在运行一个工作组,因为你问如何将服务器和客户端包含在同一个域中。 要做到这一点,你需要设置一个域控制器,并将计算机join域。 我不会去触及这个问题,因为网上有很多关于它的信息。
如果要在不运行域的情况下(使用工作组)远程pipe理hyper-v服务器,则必须:
在服务器上:
在客户端:
在服务器上使用普通帐户的一个问题是需要以pipe理员权限运行的wmi脚本必须在内置pipe理员帐户下运行,而不是pipe理员组中的普通帐户,因为wmi脚本没有提升帐户引擎,将会失败。
微软指南:
http://technet.microsoft.com/en-us/library/cc794756
我写了一个关于Server 2012的小博客解释
http://blog.plausibledeniability.se/post/33464344054/hyper-v-remote-administration
如果你想使用powershell,你还必须让客户端通过运行信任服务器
winrm set winrm / config / client'@ {TrustedHosts =“SERVERHOSTNAME”}'
编辑:我不确定你是否可以远程从Windows 7主机,还没有尝试或search它。