[ Pobierz całość w formacie PDF ]
other operations.
You can also use the commands to create scripts for automation, as well as use the commands as an
API to allow integration with third-party applications.
Note
If you suffix --mode=script to any command on the CLI, the specified action is executed
automatically without any prompts for confirmation.
Running the Gluster CLI
You can run the Gluster CLI on any Red Hat Storage server either by invoking the commands or by
running the Gluster CLI in an interactive mode. You can also use the gluster command remotely using
SSH.
To run commands directly:
# gluster peer command
For example:
# gluster peer status
To run the Gluster CLI in interactive mode
# gluster
You can execute gluster commands from the CLI prompt:
gluster> command
For example:
To view the status of the peer server:
# gluster
gluster> peer status
Displays the status of the peer.
To view the gluster help:
# gluster
gluster> help
Displays the list of gluster commands and options.
21
Red Hat Storage 2.0 Installation Guide
Revision History
Revision 1-21.4 00 2013-10-31 Rüdiger Landmann
Rebuild with publican 4.0.0
Revision 1-21 Mon Mar 28 2013 Anjana Suparna Sriram
Updated Booting from a PXE Server section.
Revision 1-20 Mon Mar 28 2013 Anjana Suparna Sriram
Updated Booting from a PXE Server section.
Revision 1-19 Mon Mar 25 2013 Anjana Suparna Sriram
Updated the chapter 5 based on PM's feedback.
Revision 1-18 Fri Mar 22 2013 Anjana Suparna Sriram
Updated the guide with instructions on how to register to RHN and added a new image for network
configuration.
Revision 1-16 Mon Oct 01 2012 Anjana Suparna Sriram
Bug fixes and updated the guide with instructions on how to update Red Hat Storage.
Revision 1-13 Tue Sep 04 2012 Anjana Suparna Sriram
Bug fixes.
Revision 1-1 Tue Jun 26 2012 Divya Muntimadugu
Version for 2.0 GA release.
Revision 1-0 Thu Jun 21 2012 Anjana Suparna Sriram
Draft
22
[ Pobierz całość w formacie PDF ]