cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wanghaicheng2004 <wanghaicheng2...@126.com>
Subject 回复: Re: 二级存储问题
Date Mon, 12 Aug 2013 09:05:32 GMT
物理网络环境:

交换机:
vlan 10     用于管理网络        管理节点:172.16.10.2   网关172.16.10.254
vlan 20    用于存储网络         nfs存储:172.16.20.2     网关172.16.20.254
vlan 25    用于public网络      10.0.2.2    网关  10.0.2.254
vlan 30    用于host节点        host节点  172.16.30.2    网关 172.16.30.254       
(使用了交换机的11、和12端口,分别启用trunk模式,11允许vlan30、vlan10、vlan20(即管理和存储)通过;12口允许vlan30、vlan25、vlan100-vlan150
(即公用和来宾)通过)

以上vlan都在交换机上配置了vlan间路由

vlan100-vlan150  用于Guest网络

管理节点:仅使用了eth0   172.16.10.2
存储节点:仅使用了eth0   172.16.20.2

host节点:

em1 ---cloudbr0     #用于管理和存储
em2 ---cloudbr1    #用于来宾和公用


CloudStack添加高级域:


【基础架构】|【添加区域】|【高级】
名称:ourselec
DNS1:8.8.8.8   供来宾vm使用的dns
DNS2:8.8.4.4   供系统vm使用的dns
虚拟机管理程序:kvm
来宾CIDR:10.1.1.0/24       

【设置网络】
物理网络1:
蓝色: 管理网络M  流量标签 :cloudbr0
红色:存储网络S  流量标签 :cloudbr0
物理网络2:
黄色:公用网络P  流量标签:cloudbr1
绿色:来宾网络G  流量标签:cloudbr1
即:两块网卡。


【设置Public网络】
网关:10.0.2.254
网络掩码:255.255.255.0
vlan:25
起始IP:10.0.2.20
结束IP:10.0.2.50


【设置pod】
名称:pod1
预留的系统网关:172.16.30.254
网络掩码:255.255.255.0
起始预留系统IP:172.16.30.30
结束预留系统IP:172.16.30.45


【设置来宾网络】
vlan范围:100  --   150


【配置存储网络】
网关:172.16.20.254
掩码:255.255.255.0
vlan:20
起始IP:172.16.20.100
结束IP:172.16.20.200

【配置群集】
名称:cluster1

【配置主机】
主机名称:172.16.30.2
用户名称:root
密码:password
【配置主存储】
名称:primary
协议:nfs
服务器:172.16.20.2
Path:  /home/storage/primary
备注:高级网络中  kvm主存储类型:nfs \ ShareMountPoint

【配置服务存储】
NFS服务器:172.16.20.2
路径:/home/storage/secondary

全局变量:

cidr:172.16.10.0/24
secs:172.16.20.0/24
结果:系统虚拟机ssvm和cpvm都能够正常运行,但是在添加ISO时报连接超时,之后显示拒绝连接。

麻烦大家帮忙给看下,给个思路都是好的







wanghaicheng2004

发件人: Gavin Lee
发送时间: 2013-08-11 21:16
收件人: users-cn
主题: Re: 二级存储问题
有超时, 应该是无法连接到SSVM的HTTP服务.
你全局配置中management.network.cidr是多少? 建议改成管理网的CIDR.
你也可以尝试重启/登入SSVM, 或尝试连接其提供的HTTP服务看是否正常.


On Fri, Aug 9, 2013 at 5:16 PM, wanghaicheng2004
<wanghaicheng2004@126.com>wrote:

> cloudstack3.0.5+centos6.3 高级资源域
>
> 上传ISO镜像,总是失败。
>
>
> 2013-08-09 16:57:32,905 DEBUG [agent.transport.Request]
> (AgentManager-Handler-2:null) Seq 4-1376911361: Sending  { Cmd , MgmtId:
> 159090354340717, via: 4, Ver: v1, Flags: 100111,
> [{"SecStorageSetupCommand":{"secUrl":"nfs://
> 172.16.20.2/home/storage/secondary","certs":{},"wait":0}}] }
> 2013-08-09 16:57:32,922 DEBUG
> [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 1
> is ready to launch secondary storage VM
> 2013-08-09 16:57:32,943 DEBUG
> [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 1
> is ready to launch secondary storage VM
> 2013-08-09 16:57:33,000 DEBUG [agent.manager.AgentManagerImpl]
> (AgentManager-Handler-9:null) Ping from 4
> 2013-08-09 16:57:38,184 DEBUG [cloud.server.StatsCollector]
> (StatsCollector-3:null) VmStatsCollector is running...
> 2013-08-09 16:57:41,462 DEBUG [cloud.server.StatsCollector]
> (StatsCollector-2:null) HostStatsCollector is running...
> 2013-08-09 16:57:42,072 DEBUG [agent.transport.Request]
> (StatsCollector-2:null) Seq 1-160301078: Received:  { Ans: , MgmtId:
> 159090354340717, via: 1, Ver: v1, Flags: 10, { GetHostStatsAnswer } }
> 2013-08-09 16:57:53,293 DEBUG
> [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 1
> is ready to launch secondary storage VM
> 2013-08-09 16:57:53,442 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl]
> (consoleproxy-1:null) Zone 1 is ready to launch console proxy
> 2013-08-09 16:57:53,956 DEBUG
> [network.router.VirtualNetworkApplianceManagerImpl]
> (RouterStatusMonitor-1:null) Found 0 routers.
> 2013-08-09 16:57:55,820 DEBUG [cloud.server.StatsCollector]
> (StatsCollector-3:null) StorageCollector is running...
> 2013-08-09 16:58:00,447 DEBUG [cloud.vm.UserVmManagerImpl]
> (catalina-exec-7:null) THE WHERE CLAUSE IS:
> 2013-08-09 16:58:05,300 DEBUG [agent.manager.AgentManagerImpl]
> (AgentManager-Handler-11:null) Ping from 1
> 2013-08-09 16:58:10,107 DEBUG [agent.manager.AgentManagerImpl]
> (AgentManager-Handler-12:null) Ping from 3
> 2013-08-09 16:58:23,292 DEBUG
> [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 1
> is ready to launch secondary storage VM
> 2013-08-09 16:58:23,441 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl]
> (consoleproxy-1:null) Zone 1 is ready to launch console proxy
> 2013-08-09 16:58:23,956 DEBUG
> [network.router.VirtualNetworkApplianceManagerImpl]
> (RouterStatusMonitor-1:null) Found 0 routers.
> 2013-08-09 16:58:32,994 DEBUG [agent.manager.AgentManagerImpl]
> (AgentManager-Handler-14:null) Ping from 4
> 2013-08-09 16:58:38,190 DEBUG [cloud.server.StatsCollector]
> (StatsCollector-2:null) VmStatsCollector is running...
> 2013-08-09 16:58:42,072 DEBUG [cloud.server.StatsCollector]
> (StatsCollector-1:null) HostStatsCollector is running...
> 2013-08-09 16:58:42,729 DEBUG [agent.transport.Request]
> (StatsCollector-1:null) Seq 1-160301079: Received:  { Ans: , MgmtId:
> 159090354340717, via: 1, Ver: v1, Flags: 10, { GetHostStatsAnswer } }
> 2013-08-09 16:58:50,146 DEBUG [agent.transport.Request]
> (catalina-exec-13:null) Seq 4-1376911363: Sending  { Cmd , MgmtId:
> 159090354340717, via: 4, Ver: v1, Flags: 100011,
> [{"storage.DownloadCommand":{"hvm":true,"description":"X86_64","maxDownloadSizeInBytes":53687091200,"id":202,"resourceType":"TEMPLATE","url":"
> http://172.16.10.2/centos6.iso
> ","format":"ISO","accountId":2,"name":"202-2-00c340f9-80af-3c75-af02-353dc164f112","secUrl":"nfs://
> 172.16.20.2/home/storage/secondary","wait":0}}] }
> 2013-08-09 16:58:53,293 DEBUG
> [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 1
> is ready to launch secondary storage VM
> 2013-08-09 16:58:53,441 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl]
> (consoleproxy-1:null) Zone 1 is ready to launch console proxy
> 2013-08-09 16:58:53,956 DEBUG
> [network.router.VirtualNetworkApplianceManagerImpl]
> (RouterStatusMonitor-1:null) Found 0 routers.
> 2013-08-09 16:59:05,299 DEBUG [agent.manager.AgentManagerImpl]
> (AgentManager-Handler-1:null) Ping from 1
> 2013-08-09 16:59:10,107 DEBUG [agent.manager.AgentManagerImpl]
> (AgentManager-Handler-13:null) Ping from 3
> 2013-08-09 16:59:20,131 DEBUG [storage.download.DownloadListener]
> (Timer-6:null) Scheduling timeout at 30000 ms, template=CentOS6 at host
> nfs://172.16.20.2/home/storage/secondary
> 2013-08-09 16:59:20,132 DEBUG [storage.download.DownloadListener]
> (Timer-6:null) NOT_DOWNLOADED first timeout: checking again ,
> template=CentOS6 at host nfs://172.16.20.2/home/storage/secondary
> 2013-08-09 16:59:23,293 DEBUG
> [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 1
> is ready to launch secondary storage VM
> 2013-08-09 16:59:23,442 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl]
> (consoleproxy-1:null) Zone 1 is ready to launch console proxy
> 2013-08-09 16:59:23,826 DEBUG [storage.snapshot.SnapshotSchedulerImpl]
> (SnapshotPollTask:null) Snapshot scheduler.poll is being called at
> 2013-08-09 08:59:23 GMT
> 2013-08-09 16:59:23,828 DEBUG [storage.snapshot.SnapshotSchedulerImpl]
> (SnapshotPollTask:null) Got 0 snapshots to be executed at 2013-08-09
> 08:59:23 GMT
> 2013-08-09 16:59:23,898 DEBUG
> [cloud.network.ExternalLoadBalancerUsageManagerImpl]
> (ExternalNetworkMonitor-1:null) External load balancer devices stats
> collector is running...
> 2013-08-09 16:59:23,952 DEBUG
> [network.router.VirtualNetworkApplianceManagerImpl] (RouterMonitor-1:null)
> Found 0 running routers.
> 2013-08-09 16:59:23,956 DEBUG
> [network.router.VirtualNetworkApplianceManagerImpl]
> (RouterStatusMonitor-1:null) Found 0 routers.
>
>
>
>
>
> wanghaicheng2004




-- 
Gavin
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message