Question

2 node cluster on Community Edition?

  • 24 February 2021
  • 2 replies
  • 49 views

Badge +6

Hi,

 

Is it possible to create a 2 node cluster on the community edition? I have just bought two servers and seem to be going round and round in circles unable to create a 2 node cluster. I can do two single node ones fine!

 

From the first node it appears to start creating the cluster but then I get:


2021-02-23 23:35:55,377Z INFO cluster:1338 Creating cluster with SVMs: 192.168.250.235,192.168.250.236
2021-02-23 23:35:55,440Z INFO cluster:1349 Will seed prism with password hash $6$V1y0m20Gw6lZ$0i9H8DKoQQv6JYKaGRhgvk79mPRkgtqzmtek91BOu4SOg4SToyrjHhhCh9nsDQcqYBHYzy9oY2HKKD78vTx9F.
2021-02-23 23:36:34,127Z INFO cluster:1367 Zeus is not ready yet, trying again in 5 seconds
2021-02-23 23:36:59,613Z CRITICAL cluster:1372 Cluster initialization on 192.168.250.235 failed with ret: RPCError: Client transport error: httplib receive exception: Traceback (most recent call last):
  File "build/bdist.linux-x86_64/egg/util/net/http_rpc.py", line 152, in receive
  File "/usr/lib64/python2.7/httplib.py", line 1128, in getresponse
    response.begin()
  File "/usr/lib64/python2.7/httplib.py", line 453, in begin
    version, status, reason = self._read_status()
  File "/usr/lib64/python2.7/httplib.py", line 417, in _read_status
    raise BadStatusLine(line)
BadStatusLine: ''

nutanix@NTNX-8386245c-A-CVM:192.168.250.235:~/data/logs$

 

Looking in genesis.out on the 2nd node I get:

 

2021-02-23 23:36:09,818Z INFO node_manager.py:7165 Starting zookeeper
2021-02-23 23:36:09,818Z CRITICAL zookeeper_service.py:399 File "/home/nutanix/cluster/bin/genesis", line 285, in <module>
    main(args)
  File "/home/nutanix/cluster/bin/genesis", line 204, in main
    GenesisServer().run()
  File "build/bdist.linux-x86_64/egg/util/misc/decorators.py", line 41, in wrapper
  File "build/bdist.linux-x86_64/egg/cluster/genesis/server/server.py", line 263, in run
  File "build/bdist.linux-x86_64/egg/cluster/genesis/node_manager.py", line 2749, in start
  File "build/bdist.linux-x86_64/egg/cluster/genesis/node_manager.py", line 7166, in start_zookeeper
  File "build/bdist.linux-x86_64/egg/cluster/client/service/zookeeper_service.py", line 399, in start
 

Any ideas?

 

Cheers,

Steve


2 replies

Badge +6

OK so I knocked up a desktop PC as a third node and it creates now so I guess you cannot do a 2 node cluster on CE!

Userlevel 1
Badge +2

CE 1 one or 3 node :)

Reply