一台物理机装ESXI5.1,地址:172.19.116.39,虚一台2008 
64位系统装VCENTER,地址172.19.116.42,用于计算节点,vcenter上建立数据中心,下建群集,群集中包括两台物理机(172.19.116.39、40)
一台物理机装ESXI5.1,地址:172.19.116.40,虚一台CENTOS 
64位,装cloudstack,地址172.19.116.100,同时centos上装NFS服务,目录情况:
[root@cloudstack secondary]# df -h
Filesystem                         Size  Used Avail Use% Mounted on
/dev/mapper/vg_cloudstack-lv_root   34G  3.5G   28G  11% /
tmpfs                              1.9G     0  1.9G   0% /dev/shm
/dev/sda1                          485M   63M  398M  14% /boot
172.19.116.100:/export/secondary    34G  3.5G   28G  11% /mnt/secondary
172.19.116.100:/export/primary      34G  3.5G   28G  11% /mnt/primary








在 2014-03-11 12:51:56,"linux...@gmail.com" <linux...@gmail.com> 写道:
>你的计算节点是哪一台呢?centos的版本是多少?32位还是64位?
>
>在 2014年3月11日 下午12:29,上海-SF <xuan...@163.com> 写道:
>> 版本是4.2.1,1台机器,机器底层安装的是ESXI5.1,虚出一台CENTOS,上面安装CS,NFS,挂载两个目录/mnt/primary,/mnt/secondary,添加就是在主存储处选择NFS,填centos
>>  IP地址,path: /mnt/primary
>>
>>
>>
>> 在 2014-03-11 09:56:58,"linux...@gmail.com" <linux...@gmail.com> 写道:
>>>你的cloudstack的版本是多少?有几台机器?使用的是kvm 还是xenserver?
>>>你是怎么添加的?
>>>
>>>2014-03-11 9:47 GMT+08:00 上海-SF <xuan...@163.com>:
>>>>  
>>>> 各位高手,小弟安装CS做测试,管理机上做了两个NFS目录用于primary和secondary存储,添加二级存储没有问题,但是添加一级存储的时候一直报错
>>>>
>>>> 日志内容是:
>>>>         at 
>>>> org.apache.cloudstack.storage.datastore.lifecycle.CloudStackPrimaryDataStoreLifeCycleImpl.attachCluster(CloudStackPrimaryDataStoreLifeCycleImpl.java:371)
>>>>         at 
>>>> com.cloud.storage.StorageManagerImpl.createPool(StorageManagerImpl.java:759)
>>>>         at 
>>>> com.cloud.storage.StorageManagerImpl.createPool(StorageManagerImpl.java:179)
>>>>         at 
>>>> org.apache.cloudstack.api.command.admin.storage.CreateStoragePoolCmd.execute(CreateStoragePoolCmd.java:168)
>>>>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)
>>>>         at com.cloud.api.ApiServer.queueCommand(ApiServer.java:514)
>>>>         at com.cloud.api.ApiServer.handleRequest(ApiServer.java:372)
>>>>         at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:305)
>>>>         at com.cloud.api.ApiServlet.doGet(ApiServlet.java:66)
>>>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>>>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>>>>         at 
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>>>>         at 
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>>>         at 
>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>>>>         at 
>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>>>>         at 
>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>>>>         at 
>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>>>>         at 
>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
>>>>         at 
>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>>>>         at 
>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
>>>>         at 
>>>> org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
>>>>         at 
>>>> org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
>>>>         at 
>>>> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2274)
>>>>         at 
>>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
>>>>         at 
>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>>>>         at java.lang.Thread.run(Thread.java:701)
>>>> 2014-03-11 09:46:57,118 INFO  [cloud.api.ApiServer] 
>>>> (catalina-exec-13:null) Failed to add data store
>>>
>>>
>>>
>>>--
>>>白清杰 (Born Bai)
>>>
>>>北京开源愿景信息技术有限公司
>>>
>>>Mail: linux...@gmail.com
>
>
>
>-- 
>白清杰 (Born Bai)
>
>北京开源愿景信息技术有限公司
>
>Mail: linux...@gmail.com

回复