Cluster startup failed

43 views
Skip to first unread message

cfanboy

unread,
Apr 18, 2021, 9:52:47 AM4/18/21
to Tinode General
I want to deploy and run Tinode on 3 servers as cluster:

one -> 192.168.0.100, port = 8001, rpc_port = 18001
two -> 192.168.0.101, port = 8002, rpc_port = 18002
three -> 192.168.0.102, port = 8003, rpc_port = 18003

tinode.conf :

 "cluster_config": {
                "self": "one",

                //List of available nodes.
                "nodes": [
                        {"name": "one", "addr":"192.168.0.100:12001"},
                        {"name": "two", "addr":"192.168.0.101:12002"},
                        {"name": "three", "addr":"192.168.0.102:12003"}
                ],
                "failover": {
                        "enabled": true,
                        "heartbeat": 100,
                        "vote_after": 8,
                        "node_fail_after": 16
                }
        }
...

but when startup the server,  it failed due to an error:

listen tcp 192.168.0.100:12001: bind: cannot assign requested address

What's the problem is it? Is my configuration wrong?
Thanks

Gene

unread,
Apr 18, 2021, 11:55:32 AM4/18/21
to Tinode General
I don't think this problem is Tinode-specific. You likely have some issue with your network configuration.

It seems like you guys are developing a commercial product for mhub. Why don't you ask your employer to pay for support?

cfanboy

unread,
Apr 19, 2021, 8:45:19 AM4/19/21
to Tinode General
what is mhub? 
And it's a good idea, any details for paid support? I can advise 

Gene

unread,
Apr 19, 2021, 2:59:21 PM4/19/21
to Tinode General


On Monday, April 19, 2021 at 5:45:19 AM UTC-7 cfanboy wrote:
what is mhub? 

 
And it's a good idea, any details for paid support? I can advise 

Rohan Agarwal

unread,
Jul 20, 2021, 4:48:36 AM7/20/21
to Tinode General
Is there any way, to deploy in cluster form, using docker?

aforge

unread,
Jul 20, 2021, 4:53:39 AM7/20/21
to Tinode General
Reply all
Reply to author
Forward
0 new messages