I was following this tutorial for setting up HAProxy Load Balancer, but i am unable to access my cluster through the load balancer. I’ve created everything on my local machine. The cluster works fine. I’ve generated the
haproxy.cfg file successfully and run HAProxy as stipulated by the docs.
When i try to load the initial
ycsb schema and data, pointing it at HAProxy’s port as follows
cockroach workload init ycsb 'postgresql://root@localhost:26000?sslmode=disable', i get the error
Error: dial tcp [::1]:26000: connect: connection refused
If i load the initial
ycsb schema and data to one of the nodes, it works perfectly. Where could i be messing up with load balancer?
I am on a debian distro.