incubator-cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guangjian Liu <guangj...@gmail.com>
Subject Re: 是否有采用CS+Xenserver+Gluster实现Primary Storage的方案
Date Wed, 19 Dec 2012 15:17:40 GMT
CS的主存是在CS GUI上添加的,我这里采用nfs的方式。xenserver的center界面添加的存储,CS无法直接管理。

On Wed, Dec 19, 2012 at 5:33 PM, 马营 <breeze7086@gmail.com> wrote:

> 没太看懂
>
> CS的主存储是由host去挂载的,如果你用的xenserver,应该是通过xenserver的center界面去管理存储,只有kvm这样的才需要手动去每台host上挂载主存储目录,然后添加
>
> 2012/12/18 Guangjian Liu <guangjian@gmail.com>
>
> >
> >
> CS+XenServer使用本地存储后,发现丧失了一些功能,包括vm动态迁移,snapshot恢复,添加磁盘等功能。现在考虑CS+Xenserver+Gluster来实现本地硬盘的共享存储。但测试中发现Xenserver上部署的Gluster无法被CS加到Primary
> > Storage,日志显示如下出错信息。在Redhat RHEL 6.2上部署的Gluster能够被添加到Primary
> > storage。不知该方案是否可行,下面问题出在什么地方。
> >
> > 1. 在cs主机上通过命令mount时候显示信息
> >
> > [root@cs-master management]# mount -v -o mountproto=tcp,nfsvers=3 -t nfs
> > 10.0.0.19:/vol0 /mnt
> >
> > mount.nfs: timeout set for Fri Dec 14 16:34:52 2012
> >
> > mount.nfs: trying text-based options
> > 'mountproto=tcp,nfsvers=3,addr=10.0.0.19,mountaddr=10.0.0.19'
> >
> > mount.nfs: prog 100003, trying vers=3, prot=6
> >
> > mount.nfs: portmap query retrying: RPC: Program not registered
> >
> > mount.nfs: prog 100003, trying vers=3, prot=17
> >
> > mount.nfs: portmap query failed: RPC: Program not registered
> >
> > mount.nfs: requested NFS version or transport protocol is not supported
> >
> > [root@cs-master management]#
> >
> >
> >
> > 1.2    在cs web GUI上添加primary storage,显示日志如下
> >
> > 2012-12-14 16:34:42,397 WARN  [xen.resource.CitrixResourceBase]
> > (DirectAgent-116:null) Catch Exception
> > com.cloud.utils.exception.CloudRuntimeException, create StoragePool
> failed
> > due to com.cloud.utils.exception.CloudRuntimeException: Unable to create
> > NFS SR Pool[233|10.0.0.19:2049|/vol0] on
> > host:8d8a8ea6-821e-445d-bd1f-87791de329ad pool: 10.0.0.19/vol0
> >
> > com.cloud.utils.exception.CloudRuntimeException: Unable to create NFS SR
> > Pool[233|10.0.0.19:2049|/vol0]
> >
> >         at
> >
> >
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.getNfsSR(CitrixResourceBase.java:5420)
> >
> >         at
> >
> >
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:4516)
> >
> >         at
> >
> >
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:424)
> >
> >         at
> >
> >
> com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:69)
> >
> >         at
> >
> >
> com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:187)
> >
> >         at
> > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> >
> >         at
> > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> >
> >         at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> >
> >         at
> >
> >
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
> >
> >         at
> >
> >
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
> >
> >         at
> >
> >
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> >
> >         at
> >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> >
> >         at java.lang.Thread.run(Thread.java:679)
> >
> > Caused by: SR_BACKEND_FAILURE_72Required NFS server version unsupported
> > [opterr=rpcinfo failed or timed out: return code 1]
> >
> >         at com.xensource.xenapi.Types.checkResponse(Types.java:1731)
> >
> >         at com.xensource.xenapi.Connection.dispatch(Connection.java:372)
> >
> >         at
> >
> >
> com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServerConnection.dispatch(XenServerConnectionPool.java:905)
> >
> >         at com.xensource.xenapi.SR.miamiCreate(SR.java:875)
> >
> >         at com.xensource.xenapi.SR.create(SR.java:848)
> >
> >         at
> >
> >
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.getNfsSR(CitrixResourceBase.java:5415)
> >
> >         ... 12 more
> >
> >
> >
> > --
> > Guangjian
> >
>



-- 
Guangjian

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