FSF France machines management - Cookbook: recipe #311, Non standard scripts and patches
recipe #311, Information: Non standard scripts and patches
Non standard scripts and patches required to install and operate the ganeti based cluster :
Ganeti Debootstrap
These scripts are only useful if installing a VM with the deboostrap method of ganeti (not useful if installing from an ISO for instance).
/etc/ganeti/instance-debootstrap.d/ :
- file #10778 add eth0/dhcp config in /etc/network/interfaces
- file #10779 add our ssh pubkeys (loic,maxence,proppy) and disable password auth.
Munin
Kvm plugins
upstream is http://gitorious.org/mungins/mungins and muninexchange is usually lagging behind :
- http://gitorious.org/mungins/mungins/blobs/raw/master/kvm/kvm_cpu
- http://gitorious.org/mungins/mungins/blobs/raw/master/kvm/kvm_mem
- http://gitorious.org/mungins/mungins/blobs/raw/master/kvm/kvm_io
- http://gitorious.org/mungins/mungins/blobs/raw/master/kvm/kvm_net
Configuration
Allow anyone to query munin node: line 36, replace allow ^127\.0\.0\.1$ by allow ^.*$
Aggregates views
Nagios
DRBD
http://code.google.com/p/ganeti/wiki/DrbdDevicesMonitoring with file #10781 (already patched according to the HOWTO) on each node
Ganeti redundancy
On the ganeti master (z2-3.host.gnt in the nagios command below)
Append the following where 1.1.1.1 is the IP of the nagios host
Add a nagios command
Add the nagios ganeti-service definition (note the longer check_interval : 600 instead of )
For each ganeti node N add
Drupal menu
file #10783 in /usr/lib/nagios/plugins : checks that drupal menu is ok. Nagios corresponding config :
pokersocial
file #10784 in /usr/lib/nagios/plugins : test POKER_REST with pokersocial. Nagios corresponding config :

Related Recipes: