Gluster "Cheat Sheet"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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)


[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux