No description or website provided.
Puppet
Latest commit c131b2c Jul 18, 2012 1 @wollviech * Added support for configuring pacemaker 1.0/1.1 (whether to start p…
…acemaker from

within corosync (1.0) or as its own process group (1.1)) settings
* Added support for configuring whether corosync should be started at boot or not

README

- Written by Wolfgang Miedl <wmiedl@zid.tuwien.ac.at>

= Description

Configures Corosync, a part of the Pacemaker or Red Hat Cluster stacks. 

See corosync::corosync for main-class configuration
See corosync::params for Path-Configuration

= License

This work is licensed under the Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) 
license. A full copy of the license terms can be found in the file LICENSE.

By using, modifying or redistributing this work you agree to be bound by the 
license terms. 

= Requirements 

This module requires the following modules:

* A logwatch module that exports the config directory for logwatch in the variable
  $logwatch::params::logrotate_d
* The concat module

= Example

The following example will do a few things:

1) It will install corosync for use with pacemaker 1.0 (ie: pacemaker will be started
   by corosync)
2) It will set rrp_mode to active
3) It will activate secure authentication
4) It will create two rings and corresponding firewallrules for them


class {'corosync':
	rrp_mode => 'active',
	secauth => 'on',
	secauth_key > '<base64-encoded secauth key>',
}

corosync::interface{'production':
	member => [ '10.10.10.10', '10.10.10.20' ],
	port => 5405,
	ringnumber => 0,
	network_address => '10.10.10.0',
}

corosync::interface{'heartbeat':
	member => [ '10.20.10.10', '10.20.10.20' ],
	port => 5415,
	ringnumber => 1,
	network_address => '10.20.10.0',
}