Skip to content

open-io/puppet-openiosds

Repository files navigation

openiosds

Table of Contents

  1. Description
  2. Setup - The basics of getting started with [openiosds]
  3. Usage - Configuration options and additional functionality
  4. Reference - An under-the-hood peek at what the module is doing and how
  5. Limitations - OS compatibility, etc.
  6. Development - Guide for contributing to the module

Description

Official module to deploy the OpenIO open source object storage solution on RedHat/CentOS/Fedora using Puppet 3.7 and newer.

This module helps you deploy the multiple services required to create an OpenIO SDS namespace. It prepares destination directories, user and group rights, installs packages, configures services and starts them using OpenIO's GridInit service management.

Setup

Beginning with [openiosds]

For a standalone simple OpenIO namespace, you must declare a namespace and deploy the required services.

Here is an example for a namespace called 'OPENIO':

class {'openiosds':}
openiosds::namespace {'OPENIO':
  ns             => 'OPENIO',
  conscience_url => "${ipaddress}:6000",
  oioproxy_url   => "${ipaddress}:6006",
  eventagent_url => "tcp://${ipaddress}:6008",
}
openiosds::conscience {'conscience-0':
  ns             => 'OPENIO',
}
openiosds::meta0 {'meta0-0':
  ns => 'OPENIO',
}
openiosds::meta1 {'meta1-0':
  ns => 'OPENIO',
}
openiosds::meta2 {'meta2-0':
  ns => 'OPENIO',
}
openiosds::rawx {'rawx-0':
  ns => 'OPENIO',
}
openiosds::account {'account-0':
  ns         => 'OPENIO',
}
openiosds::oioeventagent {'oio-event-agent-0':
  ns        => 'OPENIO',
}
openiosds::oioproxy {'oioproxy-0':
  ns        => 'OPENIO',
}
openiosds::conscienceagent {'conscienceagent-0':
  ns        => 'OPENIO',
}
openiosds::redis {'redis-0':
  ns        => 'OPENIO',
}
openiosds::rdir {'rdir-0':
  ns        => 'OPENIO',
}

Reference

A number of defined types are availables:

  • openiosds::namespace
  • openiosds::conscience
  • openiosds::meta0
  • openiosds::meta1
  • openiosds::meta2
  • openiosds::rawx
  • openiosds::rdir
  • openiosds::account
  • openiosds::oioeventagent
  • openiosds::zookeeper
  • openiosds::oioswift
  • openiosds::oioproxy
  • openiosds::redis
  • openiosds::redissentinel

Limitations

The module works under the latest stable RedHat, CentOS and Fedora, Debian and Ubuntu (LTS & latest).

Development

You can report issues or request informations using GitHub.

Release Notes/Contributors/Etc.

Author: Romain Acciari [email protected]
Copyright (c) 2015, OpenIO.
Released under Apache License v2.