GitHub PullRequestReviewCommentEvent at 2014-05-02 21:16:51
Repository: rs-mysql
Actor: lopakadelp
Payload: {"comment":{"url":"https://api.github.com/repos/rightscale-cookbooks/rs-mysql/pulls/comments/12248635","id":12248635,"diff_hunk":"@@ -20,36 +23,196 @@ Github Repository: [https://github.com/rightscale-cookbooks/rs-mysql](https://gi\n   * [collectd](http://community.opscode.com/cookbooks/collectd)\n   * [database](http://community.opscode.com/cookbooks/database)\n   * [rightscale_tag](http://community.opscode.com/cookbooks/rightscale_tag)\n+  * [filesystem](http://community.opscode.com/cookbooks/filesystem)\n+  * [lvm](http://community.opscode.com/cookbooks/lvm)\n+  * [rightscale_volume](http://community.opscode.com/cookbooks/rightscale_volume)\n+  * [rightscale_backup](http://community.opscode.com/cookbooks/rightscale_backup)\n+  * [chef_handler](http://community.opscode.com/cookbooks/chef_handler)\n+  * [dns](http://community.opscode.com/cookbooks/dns)\n+\n+See the `Berksfile` and `metadata.rb` for up to date dependency information.\n \n # Usage\n \n-To setup a standalone MySQL server, place the `rs-mysql::server` recipe in the runlist.\n+To setup a standalone MySQL server, place the `rs-mysql::default` recipe in the runlist.\n+\n+## Creating a new volume\n+\n+To create a new volume and move the MySQL database to it, run the `rs-mysql::volume` recipe with the following\n+attributes set:\n+\n+- `node['rs-mysql']['device']['nickname']` - the nickname of the volume\n+- `node['rs-mysql']['device']['volume_size']` - the size of the volume to create\n+- `node['rs-mysql']['device']['filesystem']` - the filesystem to use on the volume\n+- `node['rs-mysql']['device']['mount_point']` - the location to mount the volume\n+\n+This will create a new volume, attach it to the server, format it with the filesystem specified, mount it on the\n+location specified, and move the MySQL database to it.\n+\n+### Provisioned IOPS on EC2\n+\n+To create a volume with IOPS on EC2, set the following attribute before running the `rs-mysql::volume` recipe:\n+\n+- `node['rs-mysql']['device']['iops']` - the value of IOPS to use\n+\n+## Creating a logical volume with striping\n+\n+To create a logical volume with striping using LVM and move the MySQL database to it, run the `rs-mysql::stripe` recipe\n+with the following attributes set:\n+\n+- `node['rs-mysql']['device']['nickname']` - the nickname to use as prefix for the stripe of volumes\n+- `node['rs-mysql']['device']['count']` - number of volumes to create in the stripe","path":"README.md","position":57,"original_position":57,"commit_id":"e7af595eea3f58dde7406d8e784d9f7354bbbdd1","original_commit_id":"e7af595eea3f58dde7406d8e784d9f7354bbbdd1","user":{"login":"lopakadelp","id":820060,"avatar_url":"https://avatars.githubusercontent.com/u/820060?","gravatar_id":"7a0a29ac6c2bc4c38f4efbf349811b5d","url":"https://api.github.com/users/lopakadelp","html_url":"https://github.com/lopakadelp","followers_url":"https://api.github.com/users/lopakadelp/followers","following_url":"https://api.github.com/users/lopakadelp/following{/other_user}","gists_url":"https://api.github.com/users/lopakadelp/gists{/gist_id}","starred_url":"https://api.github.com/users/lopakadelp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lopakadelp/subscriptions","organizations_url":"https://api.github.com/users/lopakadelp/orgs","repos_url":"https://api.github.com/users/lopakadelp/repos","events_url":"https://api.github.com/users/lopakadelp/events{/privacy}","received_events_url":"https://api.github.com/users/lopakadelp/received_events","type":"User","site_admin":false},"body":"next 2 lines change `stripe` to `logical volume`.","created_at":"2014-05-02T21:16:51Z","updated_at":"2014-05-02T21:16:51Z","html_url":"https://github.com/rightscale-cookbooks/rs-mysql/pull/10#discussion_r12248635","pull_request_url":"https://api.github.com/repos/rightscale-cookbooks/rs-mysql/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/rightscale-cookbooks/rs-mysql/pulls/comments/12248635"},"html":{"href":"https://github.com/rightscale-cookbooks/rs-mysql/pull/10#discussion_r12248635"},"pull_request":{"href":"https://api.github.com/repos/rightscale-cookbooks/rs-mysql/pulls/10"}}}}