2012-12-05 186 views
0

我想使用CSUPLOAD将虚拟机上传到Azure。Azure虚拟机CSUPLOAD RDP

我已经尝试了Add-Disk和Add-PersistentVMImage,都成功配置和启动VM,但我无法使用远程桌面连接到它。

现在我试图上传的VM是全新安装的Server 2008 R2,启用了远程桌面和syspreped。 (我验证了我可以在本地网络上远程访问它)。

我在虚拟机上有一个端点,3389用于公共和私有端口。

我可以看到我的VM和我从画廊创建的唯一区别在于画廊中的人有RDP证书指纹,而我的VM没有。

丢失的指纹会导致RDP不起作用。我该如何配置?

回答

0

我使用的是Windows 7之前创建的图像。我尝试使用Hyper V创建映像,并最终修复了Add-PersistantImage和Add-Disk

0

看看这篇文章:http://msdn.microsoft.com/en-us/library/windowsazure/gg465385.aspx

基本上你必须先上传管理证书,使用门户,然后执行上传的证书的指纹作为参数传递:

csupload Set-Connection "SubscriptionId=[SubscriptionId];CertificateThumbprint=[CertThumbprint];ServiceManagementEndpoint=https://management.core.windows.net"

+0

感谢Chris,我认为csupload连接中的指纹只是验证您是否有权上传映像。这些是我使用的命令。 csupload Set-Connection“SubscriptionID =; CertificateThumbprint =; ServiceManagementEndpoint = https://management.core.windows.net” csupload Add-PersistentVMImage -Destination“http://.blob.core.windows.net/vhds/ RDPTestUU.vhd“-Label”RDPTestUU“-LiteralPath”E:\ RDPTestUU.vhd“-OS Windows –