Cloud Computing Made Easy®
Gluster Sample Deployment for EC2
From Cloud Computing Wiki - Kaavo
Contents |
Overview
Like other Sample System Definitions provided with IMOD, the Gluster-Sample-Deployment-EC2 is provided as an example. Users are expected to develop their own system definitions or customize the provided solutions for their own needs. The information assumes that the user has basic understanding of deploying and starting systems in IMOD; deploying systems from the sample templates and configuring them.
- For detail instructions please watch this 25 minutes video: Deploying and Managing Gluster on Cloud
- For uploading files or your custom code to the server refer to the FAQ on how to upload/download file to and from servers in the cloud
Please also check when to use Gluster(http://www.gluster.org/) . Gluster Storage Platform is an open source clustered storage solution. The software is a powerful and flexible solution that simplifies the task of managing unstructured file data whether you have a few terabytes of storage or multiple petabytes. Gluster Storage Platform integrates the file system, an operating system layer, and a web-based management interface and installer
We tested this setup using Fedora 8 AMI, however, you can use your own custom image with a different flavor/version of Linux. In case there are any issues with using a different flavor/version of Linux please post it on http://forums.kaavo.com. Also refer to the list of supported versions of Linux for monitoring Installing_Monitoring_Agents; the monitoring may not work for unsupported versions.
What does it do?
Deploy a fully functional Gluster cluster with a single click.
What deployment time Actions are included in the System Definition?
Bring online fully functional Gluster cluster with 4 servers, 2 Gluster servers group having role server, and 2 gluster client group having role client. List of actions
- install-gluster-server
- create-glusterfsd-for-server
- install-gluster-client
- create-glusterfs-for-client
- create-glusterfs-inserver
- start-gluster-server
- mountGlusterFSFilesystem
- mountGlusterFSFilesystemOnServer
You will need to provide the value of the parameter for the following actions
- backup-gluster-filesystem
<parameter name="BUCKET_NAME" type="literal" value=""/> Your amazon s3 bucket name where you will put your backup file
- restore-gluster
<parameter name="BUCKET_NAME" type="literal" value=""/> Your amazon s3 bucket name from where it put your backup file
- SetupS3cfg
<parameter name="access_key" type="literal" value=""/> <parameter name="secret_key" type="literal" value=""/> Your amazon access key and secret key
What run-time Events are defined in the System Definition?
- Note: You need to configure the triggers for the events. Refer to the Quick Start Guide for how to configure triggers.
- gluster-server-underused (for scaling down the gluster_tier by removing server from the gluster_tier server group having role server)
- gluster-client-recovering (for auto recovering a server running on gluster_tier with role client)
- gluster-server-recovering (for auto recovering a server running on gluster_tier with role server)
- gluster-server-overloaded (for scaling up the gluster_tier by adding server to the gluster_tier server group having role server)
- gluster-client-overloaded (for scaling up the gluster_tier by adding server to the gluster_tier with role server)
- schedule-backup-gluster-filesystem (for backing up the files present in gluster_tier with role server on amazon s3, uses backup-gluster-filesystem action)
- generate-files-for-stress-test (for testing to see how many files can be created in 30 seconds and replicate to the gluster_tier group heaving role server, uses generate-files action)
After running this system, fire the generate-files-for-stress-test event and then check the server /data/export directory. You can find the data is replicated to this folder.
![[Wiki Home]](/skins/common/images/wiki.png)