SYNOPSIS

gluster

To run the program and display gluster prompt:

gluster

(or)

To specify a command directly:

gluster [commands] [options]

DESCRIPTION

The Gluster Console Manager is a command line utility for elastic volume management. You can run the gluster command on any export server. The command enables administrators to perform cloud operations, such as creating, expanding, shrinking, rebalancing, and migrating volumes without needing to schedule server downtime.

COMMANDS

Volume Commands

 volume info [all|<VOLNAME>] Display information about all volumes, or the specified volume.

 volume create <NEW-VOLNAME> [stripe <COUNT>] [replica <COUNT>] [transport <tcp|rdma|tcp,rdma>] <NEW-BRICK> ...

Create a new volume of the specified type using the specified bricks and transport type (the default transport type is tcp). To create a volume with both transports (tcp and rdma), give 'transport tcp,rdma' as an option.

 volume delete <VOLNAME>

Delete the specified volume.

 volume start <VOLNAME>

Start the specified volume.

 volume stop <VOLNAME> [force]

Stop the specified volume.

 volume rename <VOLNAME> <NEW-VOLNAME>

Rename the specified volume.

 volume set <VOLNAME> <OPTION> <PARAMETER> [<OPTION> <PARAMETER>] ...

Set the volume options.

 volume help

Display help for the volume command.

Brick Commands

 volume add-brick <VOLNAME> <NEW-BRICK> ...

Add the specified brick to the specified volume.

 volume remove-brick <VOLNAME> <BRICK> ...

Remove the specified brick from the specified volume.

  • Note: If you remove the brick, the data stored in that brick will not be available. You can migrate data from one brick to another using replace-brick option.

 volume rebalance-brick <VOLNAME>(<BRICK> <NEW-BRICK>) start

Start rebalancing the specified volume.

 volume rebalance <VOLNAME> stop

Stop rebalancing the specified volume.

 volume rebalance <VOLNAME> status

Display the rebalance status of the specified volume.

 volume replace-brick <VOLNAME> (<BRICK> <NEW-BRICK>) start|pause|abort|status|commit

Replace the specified brick.

Log Commands

 volume log filename <VOLNAME> [BRICK] <DIRECTORY>

Set the log directory for the corresponding volume/brick.

 volume log locate <VOLNAME> [BRICK]

Locate the log file for corresponding volume/brick.

 volume log rotate <VOLNAME> [BRICK]

Rotate the log file for corresponding volume/brick.

Peer Commands

 peer probe <HOSTNAME>

Probe the specified peer.

 peer detach <HOSTNAME>

Detach the specified peer.

 peer status

Display the status of peers.

 peer help

Display help for the peer command.

Other Commands

 help

Display the command options.

 quit

Exit the gluster command line interface.

FILES

/var/lib/glusterd/*

RELATED TO gluster…

COPYRIGHT

Copyright(c) 2006-2011  Gluster, Inc.  <http://www.gluster.com>