vmware/pyvmomi-community-samples

vSphere 6.7 vm html console

开放

#558 创建于 2019年4月8日

 (15 条评论) (0 个反应) (0 位负责人)Python (914 个派生)batch import
help wanted

仓库指标

星标
 (972 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

I used this script here: https://github.com/vmware/pyvmomi-community-samples/blob/master/samples/generate_html5_console.py to generate link but it doesnt work, see below.

I get this link from script:

http://myvcenter:7331/console/?vmId=vm-429&vmName=myvm&host=myvcenter>&sessionTicket=cst-VCT-5287c10e-1edf-e6e3-abc5-b6020891467e--tp-BE-D6-93-F7-1B-87-AD-4F-6A-4B-A6-11-83-86-3F-EB-4D-0F-CB-7A&thumbprint=BE:D6:93:F7:1B:87:AD:4F:6A:4B:A6:11:83:86:3F:EB:4D:0F:CB:7A

The error I get on browser is: This site can’t be reached

It seems like port 7331 is not even open on vcenter server.

Could this be due to version 6.7 ? if yes, is there a way I can get html console for a VM?

贡献者指南