Define an example config file in Wiki for "Running as jar" deployment
pgordon9 opened this issue · comments
There is not example config file type, or definition for running exhibitor as an executable jar file. As a WAR file deployment, the wiki supplies the exhibitor.properties(with example). Should supply a similar explanation in the "running as jar" section here: https://github.com/soabase/exhibitor/wiki/Running-Exhibitor
This is a very good idea and definitely took me a long time to figure out what the config file should look like.
@svolpe43 can you share what you've found? I am trying to config the S3 setup and its a bit confusing
This is what we have been using in production for a long time now.
com.netflix.exhibitor.zookeeper-install-directory=/usr/share/zookeeper
com.netflix.exhibitor.zookeeper-data-directory=/var/lib/zookeeper
com.netflix.exhibitor.auto-manage-instances=1
com.netflix.exhibitor.auto-manage-instances-settling-period-ms=30000
com.netflix.exhibitor.zoo-cfg-extra=tickTime\=2000&initLimit\=10&syncLimit\=5&quorumListenOnAllIPs\=true
We put that in S3 and then start it up like this.
sudo java -jar <jar> -c s3 --s3config <bucket>:<path to file> --hostname <ip>