[Gluster-users] Gluster "Cheat Sheet"
James
purpleidea at gmail.com
Fri Nov 1 21:59:10 UTC 2013
*cough*
Easiest way to get a gluster setup going for me is:
node /^gluster\d+$/ { # gluster{1,2,..N}
class { '::gluster::simple':
}
}
https://github.com/purpleidea/puppet-gluster/blob/master/examples/gluster-simple-example.pp
Yours,
The puppet-gluster guy.
James
On Fri, Nov 1, 2013 at 5:46 PM, Jon Archer <jon at rosslug.org.uk> wrote:
> I agree the RDO book marks are a great idea and I took a few to distribute
> at events and sessions, the gluster ones would be a great idea also.
> One thing I thought was good about the RDO ones was the few commands shown
> that were needed to get a simple openstack setup running.
> I guess this would be a good inclusion to get a simple Gluster setup
> working.
>
> I'll be keeping a close eye on this one as it would also be great for
> events.
>
> Cheers
>
> Jon A
> On 01/11/13 20:25, John Mark Walker wrote
>
>> Greetings,
>>
>> One of the best things I've seen at conferences this year has been a
>> bookmark distributed by the RDO folks with most common and/or useful
>> commands for OpenStack users.
>>
>> Some people at Red Hat were wondering about doing the same for Gluster,
>> and I thought it would be a great idea. Paul Cuzner, the author of the
>> gluster-deploy project, took a first cut, pasted below. What do you think?
>> What are the most useful commands that you would want to see on a single
>> sheet handout?
>>
>>
>> BEGIN:
>>
>>
>> Commands
>>
>> invocation for XML output (3.4 and above) - maybe a python code snippet
>> for looking at xml output?
>>
>> Syntax Diagrams and 'process flows'
>>
>> cluster Management
>> peer - probe, detach and status
>> pool list
>>
>> volume management
>> Process reminders
>> - create sequence - build bricks > create volume > Set volume options >
>> start volume
>> - growing a volume - add node > define brick > add brick to volume >
>> rebalance
>>
>> Creating a brick
>> - use lvm
>> - supported filesystems (xfs, ext4)
>> - use thin provisioned lv - preference (due to 3.5 snapshot delivery)
>>
>> syntax
>> vol create
>> vol stop/start
>> quota on/off, adding and removing entries
>> self heal status
>> turning protocols off/on - CIFS (user.cifs) and NFS (nfs.disable)
>>
>>
>> Xattr's
>> reusing a brick
>> - viewing the xattr
>> - deleting xattr
>> showing a file's relationship with the bricks and translators
>>
>>
>>
>> Disaster recovery
>> establish georep
>> check status - list of states - Initializing || Stable || Failed
>>
>>
>> Client Side Help
>> Windows drive map example (net use)
>> NFS mount example for fstab
>> glusterfs native mount (with backupvolfile-server syntax)
>>
>> Common tuning options Table
>> network.ping-timeout
>> server.root-squash
>> cluster.server-quorum-type
>> cluster.server-quorum-ratio
>> cluster.min-free-disk
>>
>> File locations
>> log files
>> config files (vol file, hooks)
>> _______________________________________________
>> Gluster-users mailing list
>> Gluster-users at gluster.org
>> http://supercolony.gluster.org/mailman/listinfo/gluster-users
>
>
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://supercolony.gluster.org/mailman/listinfo/gluster-users
More information about the Gluster-users
mailing list