ucarp

This puppet module controls the installation and configuration of ucarp on CentOS and RedHat 6.0 -> 6.4 for two nodes, however, may be exported to many nodes as necessary controlling vip_address and id variable by cluster. This puppet module install, configure and controls the high availability software UCARP between two nodes (or more if required)

Javier Calles

jcalles

9,506 downloads

9,156 latest version

1.9 quality score

Version information

  • 0.0.3 (latest)
  • 0.0.2
  • 0.0.1
released Sep 25th 2013

Start using this module

Documentation

jcalles/ucarp — version 0.0.3 Sep 25th 2013

ucarp

This puppet module controls the installation and configuration of ucarp on CentOS and RedHat 6.0 -> 6.4 for two nodes, however, may be exported to many nodes as necessary controlling vip_address and id variable by cluster. This puppet module install, configure and controls the high availability software UCARP between two nodes (or more if required)

License

Apache License, Version 2.0

Contact

Javier Calles javier.calles@smartmatic.com

Support

Please log tickets and issues at our Projects site

Examples

        node /fqdn/  {
        include ucarp
        $node_id='001'
                ucarp::config::host{"/etc/ucarp/vip-${node_id}.conf":
        node_id        => $node_id,
        vip_address    => "X.X.X.X",
        node_pass      => "",
        bind_interface => "interface",
        master         => "hostname",
        }

vip_address : virtual ip address

bind_interface : eth0, bond0 , ethX (only one )

master : Master node in cluster

Variables

  $node_id : define the cluster ID number
  vip_address : define virtual IP address
  node_pass : if not set, is generated  
  bind_interface : Phisical Interface for HA (eth0, bond0) ethX (only one )
  master : Main Node. Master node in cluster 
  fqdn : fully qualified domain name (regular expression)

Howto Use:


    node /confc01srv0[12].com/ inherits default {
    include ucarp
    $node_id='001'
    ucarp::config::host{"/etc/ucarp/vip-${node_id}.conf":
            node_id        => $node_id,
            vip_address    => "10.10.31.200", 
            node_pass      => "",
            bind_interface => "eth0",
            master         => "confc01srv01",

Authors

Javier Calles javier.calles@smartmatic.com

Copyright

Copyright 2013 Javier Calles