Forge Home

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)

10,260 downloads

9,886 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

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'jcalles-ucarp', '0.0.3'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add jcalles-ucarp
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install jcalles-ucarp --version 0.0.3

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

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