pomelo icon indicating copy to clipboard operation
pomelo copied to clipboard

How to configure clusters on multiple server machine

Open nhatminh12369 opened this issue 13 years ago • 1 comments

I need to setup the area server to run on an another server with gate and connector server. I setup the server.json like this: "development": { "connector": [ {"id": "connector-server-1", "host": "127.0.0.1", "port": 3150, "clientPort": 3010, "frontend": true, "args" : "--debug=32321", "auto-restart": true} ], "area": [ {"id": "area-server-1", "host": "54.251.153.249", "port": 3250, "areaId": 1} ], "gate": [ {"id": "gate-server-1", "host": "127.0.0.1", "clientPort": 3014, "frontend": true} ] }

When I run, the area server can't start and I see this error: [2013-11-15 10:06:00.327] [ERROR] console - Caught exception : Error: spawn ENOENT at errnoException (child_process.js:980:11) at Process.ChildProcess._handle.onexit (child_process.js:771:34)

Actually, I don't know how to configure 54.251.153.249 to run as a cluster. My machine is run Windows 8 64bit. My area server (54.251.153.249) is running Ubuntu. If I try area server with a machine in LAN network (run Windows 8), the problem is the same.

nhatminh12369 avatar Nov 15 '13 04:11 nhatminh12369

The directory should be the same, and you can refer to pomelo-distributed

py8765 avatar Nov 15 '13 05:11 py8765