chefiler - chef-based storage management
License: APL v2.0
- Chef server (hosted, or local)
- Chef client (locally)
- Debian or Ubuntu on installation target.
This software has been tested and deployed successfully on the RaspberryPi.
The easiest way to install Chefiler to a server is via 'knife' and a Chef server. You may use the free hosted chef server from Opscode, Inc. for up to 5 nodes. Alternatively, you may run your own chef server for unlimited nodes. Chef is licensed under the APL v2.0
You can get 'knife' by installing the Chef client on your local system.
Install the chef client: http://wiki.opscode.com/display/chef/Installing+Chef+Client+and+Chef+Solo
Get a client key from your chef server, i.e. validation.pem
Create a knife configuration, inserting the chef server url and the location of your validation key.
Edit databags as required. These define your samba mountpoints, etc.
Load the configuration onto the chef server: $ rake install
Bootstrap your target system(s) using knife bootstrap.
Example for RaspberryPi: knife bootstrap -t debian6-gems.erb -x pi --sudo $IP-ADDRESS
- Your system should now be online.
Special Instructions for RaspberryPi
Several items of note are important for users of the RaspberryPi:
- OpenSSH server must be running. Dropbear will NOT work.
- Chef must bootstrap with debian6-gems.erb, download at: https://github.com/webtatic/configuration/blob/master/chef/bootstrap/debian6-gems.erb
Ethernet performance will be limited. By default, you'll only expect up to 2MB/s throughput. This can be increased to 4.4MB/s by adjusting your MTU to 1492.
Edit /etc/network/interfaces to include 'mtu 1492' after 'iface eth0':
iface eth0 inet dhcp mtu 1492