Home > runit_cluster

runit_cluster

Runit_cluster is a project mainly written in Ruby, it's free.

Sinatra-based web interface for management multiple installations of runit-man

Runit cluster

Web interface for management multiple installations of runit.

Based on

  • Sinatra
  • runit-man

Installation

It seems we need to write down something here

Configuration

Customize your host_config.yml file with instances of your cluster. You need to define credentials to each host

  1. Hostname
  2. Port
  3. Login
  4. Password

Example:

-
  host: host1
  addr: 192.168.0.1
  port: 4567
  login: user1
  pass: password1
-
  host: host2
  addr: 192.168.0.2
  port: 4567
  login: user2
  pass: password2

Interface

Runit cluster provides interface similar to runit-man, but with aggregated data from all configured hosts.

View

This tools displays state of all processes grouped by host or service. Data for each process includes:

  • Hostname
  • PID
  • Process
  • Time started at
  • Uptime
  • Status

In addition you can view tail logs of any running service

Management

You can manage your services with supported commands:

  • up
  • down
  • restart
  • switch_up (activates service)
  • switch_down (deactivates service)

Also your can send any signal from a list to any running process:

  • TERM
  • KILL
  • INT
  • USR1
  • USR2
  • ALARM
  • QUIT
  • EXIT
  • PAUSE
  • CONT
  • HUP
  • ONCE
Previous:curry