我在搭建cluster时,遇到些问题 luci启动了,界面也起来了,但在创建cluster时,一直报相同的错误,换了好几个环境,都一样 下面是报的日志: /usr/lib/python2.6/site-packages/tw/core/view.py:223: DeprecationWarning: object.__new__() takes no parameters obj = object.__new__(cls, *args, **kw) /usr/lib/python2.6/site-packages/sqlalchemy/engine/default.py:230: SAWarning: Unicode type received non-unicode bind param value 'create_cluster' param.append(processors[key](compiled_params[key])) /usr/lib/python2.6/site-packages/sqlalchemy/engine/default.py:230: SAWarning: Unicode type received non-unicode bind param value 'import_cluster' param.append(processors[key](compiled_params[key])) Starting server in PID 5726. serving on 0.0.0.0:8084 view at https://127.0.0.1:8084 ---------------------------------------- Exception happened during processing of request from ('120.219.120.26', 45752) Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/paste/httpserver.py", line 1068, in process_request_in_thread self.finish_request(request, client_address) File "/usr/lib64/python2.6/SocketServer.py", line 322, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib64/python2.6/SocketServer.py", line 617, in __init__ self.handle() File "/usr/lib/python2.6/site-packages/paste/httpserver.py", line 442, in handle BaseHTTPRequestHandler.handle(self) File "/usr/lib64/python2.6/BaseHTTPServer.py", line 329, in handle self.handle_one_request() File "/usr/lib/python2.6/site-packages/paste/httpserver.py", line 431, in handle_one_request self.raw_requestline = self.rfile.readline() File "/usr/lib64/python2.6/socket.py", line 450, in readline data = self._sock.recv(self._rbufsize) Error: [('SSL routines', 'SSL3_READ_BYTES', 'sslv3 alert bad certificate'), ('SSL routines', 'SSL23_READ', 'ssl handshake failure')] ---------------------------------------- /usr/lib/python2.6/site-packages/sqlalchemy/engine/default.py:230: SAWarning: Unicode type received non-unicode bind param value 'root' param.append(processors[key](compiled_params[key])) /usr/lib/python2.6/site-packages/sqlalchemy/engine/default.py:230: SAWarning: Unicode type received non-unicode bind param value '' param.append(processors[key](compiled_params[key])) 11:33:45,086 ERROR [luci.lib.ricci_communicator] Error reading from 120.219.120.71:11111: The read operation timed out Traceback (most recent call last): File "/usr/lib64/python2.6/site-packages/luci/lib/ricci_communicator.py", line 487, in __receive cur_chunk = self.ss.read() File "/usr/lib64/python2.6/ssl.py", line 136, in read return self._sslobj.read(len) SSLError: The read operation timed out 11:33:49,096 ERROR [luci.lib.ricci_communicator] Error reading from 120.219.120.71:11111: The read operation timed out Traceback (most recent call last): File "/usr/lib64/python2.6/site-packages/luci/lib/ricci_communicator.py", line 487, in __receive cur_chunk = self.ss.read() File "/usr/lib64/python2.6/ssl.py", line 136, in read return self._sslobj.read(len) SSLError: The read operation timed out 我有尝试通过写cluster.conf文件来直接创建集群 但也发现错误: service cman start Starting cluster: Checking if cluster has been disabled at boot... [ OK ] Checking Network Manager... [ OK ] Global setup... [ OK ] Loading kernel modules... [ OK ] Mounting configfs... [ OK ] Starting cman... [ OK ] Waiting for quorum... Timed-out waiting for cluster [FAILED] 我都按照网上的一些配置文档做的,但总感觉好像少了什么步骤,求指导。 iptables,selinux,networkmanage 都关了
在 2013年5月7日上午10:26,dajun <[email protected]>写道: > On 05/06/2013 06:33 PM, qin wu wrote: > > 是需要单独创建一个共享文件系统,然后挂载到计算节点上,最后使用SharedMountPoint来作为一级存储吗? > > 还是直接使用计算节点上的FC盘来创建共享文件系统,就可以直接使用SharedMountPoint来作为一级存储了? > > 集群文件系统是不是使用rhel自带的GFS就可以了?对文件系统不太熟悉,可以详细介绍一下吗,谢谢! > > 在计算节点上使用FC盘搭建共享文件系统,基于rhel的GFS是OK的, > 1. 需要搭建Redhat Cluster, 将对应的磁盘格式化为GFS文件系统,并受Cluster > 管理,Cluster负责同步文件系统和集群锁管理,使其在不同计算节点之间的文件 > 可以同步。 > 基于ext4文件分区是没办法做到相同lun在不同主机之间同步的。最后在CS上选择 > SharedMountPoint。 > 2.也可以选择CLVM,也是同样搭建Redhat Cluster,只是操作步骤有少许不同。 > > > > > > > > > > > > > 在 2013年5月6日上午10:23,dajun <[email protected]>写道: > > > >> On 05/03/2013 08:35 PM, qin wu wrote: > >> > 一个盘阵,有8个光纤接口。现在用光纤直接连到两台服务器上。想用盘阵作为一级存储,为其分配了1T的公共空间,挂在到相同的目录下,但发现两台服务器相互之间无法看见对方创建的文件,现在想用sharedmountpoint的方式来使用一级存储,这样的方式可以吗?会不会对迁移有影响,还是需要什么步骤来解决共享盘阵的问题? > >> CloudStack是支持FC-SAN共享存储的,通过SharedMountPoint或CLVM,或GNBD实 > >> 现,需要搭建集群文件系统。 > >> > >> > >
