Closed pjaclark closed 11 months ago
@Bob-The-Marauder Can you check the port numbers?
listener.protobuf.internal = 127.0.0.1:10007
listener.http.internal = 127.0.0.1:10008
handoff.port = 10009
This is an old script I used to use to configure $i nodes for usage in a cluster
#!/bin/bash
for i in $(jot $1); do mkdir dev$i;
cp -r $(ls | grep -v dev) dev$i;
sed -i "" "s/listener.protobuf.internal = 127.0.0.1:8087/listener.protobuf.internal = 127.0.0.1:100${i}7/g" dev$i/etc/r>sed -i "" "s/listener.http.internal = 127.0.0.1:8098/listener.http.internal = 127.0.0.1:100${i}8/g" dev$i/etc/riak.conf;sed -i "" "s/nodename = riak@127.0.0.1/nodename = dev${i}@127.0.0.1/g" dev$i/etc/riak.conf;
sed -i "" "s/search.solr.port = 8093/search.solr.port = 100${i}4/g" dev$i/etc/riak.conf;
sed -i "" "s/search.solr.jmx_port = 8985/search.solr.jmx_port = 100${i}3/g" dev$i/etc/riak.conf;
echo "handoff.port = 80${i}8" >> dev$i/etc/riak.conf;
sed -i "" "s/intAgentUDPPort, 4000/intAgentUDPPort, 400${i}/g" dev$i/etc/snmp/agent/conf/agent.conf;
sed -i "" "s/{cluster_mgr, {\"127.0.0.1\", 9080 } }/{cluster_mgr, {\"127.0.0.1\", 100${i}0 } }/g" dev$i/etc/advanced.co>done;
Sorry, it seems like I got a bit ahead of myself there.
Changes to be made:
Advanced.config
{cluster_mgr, {"127.0.0.1", 9080 } },
To be changed to a unique port e.g.
{cluster_mgr, {"127.0.0.1",10016 } },
Issue #227
@Bob-The-Marauder Something like this?