Sha256: f754c010672923e40c7c6f3a7af9e580b87c6435e5d763754c898ab41911e978
Contents?: true
Size: 1.59 KB
Versions: 1
Compression:
Stored size: 1.59 KB
Contents
== Mongrel Cluster Plugin Tool to help start/stop/restart multiple mongrel servers to use behind a load balancer like Pound, Pen or Balance. This plugin adds an option to specify a number of Mongrel servers to launch, a range of ports, and a configuration file for the cluster. Use "-h" to see command syntax. Configure cluster and write configuration file: mongrel_rails cluster::configure Start cluster: mongrel_rails cluster::start Restart cluster: mongrel_rails cluster::restart Stop cluster: mongrel_rails cluster::stop Capistrano Recipe Add to deploy.rb: require 'mongrel_cluster/recipes' Example usage: cap -a configure_mongrel_cluster Variables mongrel_servers: Number of Mongrel servers to start. mongrel_port: Starting port to bind to. mongrel_address: Address to bind to. mongrel_environment: Rails environment to run as. mongrel_config: Path to config file. use_sudo: Whether or not tasks that can use sudo, ought to use sudo. Capistrano defaults to true. Tasks (performed on :app role) configure_mongrel_cluster: Configure the cluster with variables. Uses sudo if use_sudo is true. start_mongrel_cluster: Start Mongrel processes on the app server. Uses sudo if use_sudo is true. stop_mongrel_cluster: Stop the Mongrel processes on the app server. Uses sudo if use_sudo is true. restart_mongrel_cluster: Restart the Mongrel processes on the app server. Uses sudo if use_sudo is true. restart: Calls restart_mongrel_cluster to allow Mongrel to be used with the standard Capistrano deploy task. spinner: Calls start_mongrel_cluster to allow Mongrel to be used with the standard Capistrano cold_deploy task.
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mongrel_cluster-0.1.1 | README |