Even if you have below info you cannot connect to console of VM from outside.
Actually we are using hypervisor provided VNC server to connect to consoles. So to connect to console you need to be on that hypervisor as console services are running on localhost(127.0.0.1). Which probably will not server your purpose. Also providing this info via API will lead into security issues. From: 吕海蛟 [mailto:[email protected]] Sent: Thursday, December 11, 2014 8:43 AM To: [email protected] Cc: 'tangwenjun_215' Subject: Replace the Built-in VNC Console Hi, To improve the user experience of using the built-in VNC console of CloudStack, we are studying the possibility to replace that with NOVNC. To achieve this, we need get the following information of target VM and import to NOVNC, 1. VM-ID ( no problem, can be acquired from API) 2. IP of VM (no problem, can be acquired from API) 3. VNC port of target VM (seems unavailable from API) 4. VNC password of target VM (seems unavailable from API) We are stuck due to unable to acquire the VNC port and password of target VM through API. Any advice for how to obtain this both ? or any other alternative way to improve the built-in VNC console performance ? Thanks ! [private cloud2] We Deliver Enterprise-Grade Cloud ! ------------------------------------------------------------------------------ 吕海蛟 Product Engineering & Innovation Center (PEIC) 华胜蓝泰科技(天津)有限责任公司 上海闵行区合川路2679号虹桥国际商务广场B栋601室 邮编:201103 Office: +86-21-62351222 Mobile: +86-18602198181
