Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

ephemeral_lvm (18) Versions 1.0.1

Configures available ephemeral devices on a cloud server

Policyfile
Berkshelf
Knife
cookbook 'ephemeral_lvm', '= 1.0.1', :supermarket
cookbook 'ephemeral_lvm', '= 1.0.1'
knife supermarket install ephemeral_lvm
knife supermarket download ephemeral_lvm
README
Dependencies
Quality -%

ephemeral_lvm cookbook

Build Status

This cookbook will identify the ephemeral devices available on the instance based on Ohai data. If no ephemeral devices
are found, it will gracefully exit with a log message. If ephemeral devices are found, they will be setup to
use LVM and a logical volume will be created, formatted, and mounted. If multiple ephemeral devices are found
(e.g. m1.large on EC2 has 2 ephemeral devices with 420 GB each), they will be striped to create the LVM.

Requirements

  • Chef 10 or higher
  • A cloud that supports ephemeral devices. Currently supported clouds: EC2, Openstack, and Google.
  • The lvm cookbook

Attributes

The following are the attributes used by the this cookbook.
<table>
<tr>
<th>Name</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>node['ephemeral_lvm']['filesystem']</tt></td>
<td>The filesystem to be used on the ephemeral volume</td>
<td><tt>'ext4'</tt></td>
</tr>
<tr>
<td><tt>node['ephemeral_lvm']['mount_point']</tt></td>
<td>The mount point for the ephemeral volume</td>
<td><tt>'/mnt/ephemeral'</tt></td>
</tr>
<tr>
<td><tt>node['ephemeral_lvm']['volume_group_name']</tt></td>
<td>The volume group name for the ephemeral LVM</td>
<td><tt>'vg-data'</tt></td>
</tr>
<tr>
<td><tt>node['ephemeral_lvm']['logical_volume_size']</tt></td>
<td>The size to be used for the ephemeral LVM</td>
<td><tt>'100%VG'</tt> - This will use all available space in the volume group</td>
</tr>
<tr>
<td><tt>node['ephemeral_lvm']['logical_volume_name']</tt></td>
<td>The name of the logical volume for ephemeral LVM</td>
<td><tt>'ephemeral0'</tt></td>
</tr>
<tr>
<td><tt>node['ephemeral_lvm']['stripe_size']</tt></td>
<td>The stripe size to be used for the ephemeral logical volume</td>
<td><tt>512</tt></td>
</tr>
</table>

Usage

Place the ephemeral_lvm::default in the runlist and the ephemeral devices will be setup.

Recipes

default

This recipe sets up available ephemeral devices to be an LVM device, formats it, and mounts it.

Author

Author:: RightScale, Inc. (cookbooks@rightscale.com)

Dependent cookbooks

lvm ~> 1.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

No quality metric results found