Permalink
Browse files

command-line tool for modifying slave configuration now works

  • Loading branch information...
1 parent 57eeb62 commit 89d1e60fdaeab1844bc453c8489bc7e95d365cae @lstein lstein committed Oct 25, 2012
Showing with 9 additions and 1 deletion.
  1. +5 −0 bin/gbrowse_add_slaves.pl
  2. +2 −1 conf/GBrowse.conf
  3. +2 −0 conf/renderfarm.conf
@@ -26,6 +26,9 @@
gbrowse_update_renderers.pl --add http://coyote.acme.com:8081 \
--add http://roadrunner.acme.com:8081
+This script does not actually provision new slaves. It is called after slaves
+are provisioned (or deprovisioned) to update the configuration on the master and
+restart the server.
USAGE
;
if (@ARGV && !@to_add && !@to_remove) {
@@ -63,4 +66,6 @@
close $f or die "Couldn't write: $!";
rename "$render_conf.new",$render_conf;
+system "sudo /etc/init.d/apache2 graceful";
+
exit 0;
View
@@ -73,12 +73,13 @@ debug_external = 0
debug_plugins = 0
# Performance settings
-renderfarm = 1
slave_timeout = 45
global_timeout = 60
search_timeout = 15
max_render_processes = 4 # try double number of CPU/cores
+#include renderfarm.conf
+
# Clean up settings (used by the gbrowse_clean script)
expire session = 1M # expire unused sessions after a month
expire cache = 2h # expire cached data if unmodified for >2 hours
View
@@ -1,3 +1,5 @@
+[GENERAL]
+
renderfarm = 0
remote renderer =

0 comments on commit 89d1e60

Please sign in to comment.