cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "陈珂" <che...@ourfuture.cn>
Subject Re: Re: cloudstack4.0.1无法通过网页访问虚拟机
Date Wed, 17 Jul 2013 07:52:05 GMT
现在遇到这种不能解析的时候只能修改本地host文件使之能访问,但是我总不能让每个客户都这么访问吧。奇怪的是我在生产环境部署的能访问,我在实验室搭建的不配host文件怎么都通不了。这里面是网络环境的配置问题么


2013-07-17 



陈珂 



发件人: Gavin Lee 
发送时间: 2013-04-24  18:50:05 
收件人: users-cn; zhaotao_cn 
抄送: 
主题: Re: cloudstack4.0.1无法通过网页访问虚拟机 
 
你能ping通192-168-100-24.realhostip.com吗?
换句话说, 能否将其成功解析成192.168.100.24?
On Wed, Apr 24, 2013 at 5:06 PM, zhaotao_cn <zhaotao_cn@qq.com> wrote:
> 用自己按照官方文档编译cloudstack4.0.1出来的RPM包成功安装cs,但是无法通过网页访问系统虚拟机-虚拟路由和创建的虚拟机,
> 管理主机(CentOS6.3)一台独立物理主机,NFS存储一台独立物理主机(CentOS6.3),KVM主机是一台独立物理主机(CentOS6.3)。
> KVM主机配置如下:
> 1、修改文件/etc/libvirt/qemu.conf   vnc_listen=0.0.0.0
> 2、修改文件/etc/libvirt/libvirtd.conf
> listen_tls = 0
> listen_tcp = 1
> tcp_port = "16059"
> auth_tcp = "none"
> mdns_adv = 0
>
>
> 3、修改文件/etc/sysconfig/libvirtd
> LIBVIRTD_ARGS="--listen"
>
> 日志如下:
> 2013-04-24 16:41:30,114 DEBUG [agent.transport.Request]
> (catalina-exec-11:null) Seq 1-1386086631: Sending  { Cmd , MgmtId:
> 161332421272, via: 1, Ver: v1, Flags: 100011,
> [{"GetVncPortCommand":{"id":6,"name":"i-2-6-VM","wait":0}}] }
> 2013-04-24 16:41:30,194 DEBUG [agent.transport.Request]
> (AgentManager-Handler-10:null) Seq 1-1386086631: Processing:  { Ans: ,
> MgmtId: 161332421272, via: 1, Ver: v1, Flags: 10,
> [{"GetVncPortAnswer":{"address":"192.168.100.4","port":5903,"result":true,"wait":0}}]
> }
> 2013-04-24 16:41:30,194 DEBUG [agent.transport.Request]
> (catalina-exec-11:null) Seq 1-1386086631: Received:  { Ans: , MgmtId:
> 161332421272, via: 1, Ver: v1, Flags: 10, { GetVncPortAnswer } }
> 2013-04-24 16:41:30,194 DEBUG [cloud.servlet.ConsoleProxyServlet]
> (catalina-exec-11:null) Port info 192.168.100.4
> 2013-04-24 16:41:30,194 INFO  [cloud.servlet.ConsoleProxyServlet]
> (catalina-exec-11:null) Parse host info returned from executing
> GetVNCPortCommand. host info: 192.168.100.4
> 2013-04-24 16:41:30,199 DEBUG [cloud.servlet.ConsoleProxyServlet]
> (catalina-exec-11:null) Compose console url:
> https://192-168-100-24.realhostip.com/ajax?token=BAzLw1KCQHJCEuYjYsRjCm-uKNC4bAuFU24XWCkS_vO_-jPJM1DxPBCbXFgN9Ic4tjvK9FdbRGhG9HDwFOR0yjb4hvx1-QRwYAV0WLZWPJX4BAcfHslMh0fjsO2tEWLwTSgR2YtyFN93JS0Iyb2ODhM13nVskGxHpa6YJ84asKip8CWHxtcTpXQJXGHCnryyVQdrD35_BgLQoogaURYFFpxZKb2nsrHfo374-mb-WWByyLppCwYKs9tizEDWaIZo_QwhzMQYGBc&guest=windows
> 2013-04-24 16:41:30,199 DEBUG [cloud.servlet.ConsoleProxyServlet]
> (catalina-exec-11:null) the console url is ::
> <html><title>win2008x86</title><frameset><frame src="
> https://192-168-100-24.realhostip.com/ajax?token=BAzLw1KCQHJCEuYjYsRjCm-uKNC4bAuFU24XWCkS_vO_-jPJM1DxPBCbXFgN9Ic4tjvK9FdbRGhG9HDwFOR0yjb4hvx1-QRwYAV0WLZWPJX4BAcfHslMh0fjsO2tEWLwTSgR2YtyFN93JS0Iyb2ODhM13nVskGxHpa6YJ84asKip8CWHxtcTpXQJXGHCnryyVQdrD35_BgLQoogaURYFFpxZKb2nsrHfo374-mb-WWByyLppCwYKs9tizEDWaIZo_QwhzMQYGBc&guest=windows
> "></frame></frameset></html>
>
>
>
> zhaotao_cn
-- 
Gavin
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message