Red Hat GFS 6.0 Administrator's Guide
Total Page:16
File Type:pdf, Size:1020Kb
Red Hat GFS 6.0 Administrator's Guide Red Hat GFS 6.0: Administrator's Guide Copyright © 2004 and 2005 Red Hat, Inc. Red Hat, Inc. 1801 Varsity Drive Raleigh NC 27606-2072 USA Phone: +1 919 754 3700 Phone: 888 733 4281 Fax: +1 919 754 3701 PO Box 13588 Research Triangle Park NC 27709 USA rh-gfsg(EN)-6.0-Print-RHI (2005-08-02T11:07-0400) Copyright © 2005 by Red Hat, Inc. This material may be distributed only subject to the terms and conditions set forth in the Open Publication License, V1.0 or later (the latest version is presently available at http://www.opencontent.org/openpub/). Distribution of substantively modified versions of this document is prohibited without the explicit permission of the copyright holder. Distribution of the work or derivative of the work in any standard (paper) book form for commercial purposes is prohibited unless prior permission is obtained from the copyright holder. Red Hat and the Red Hat "Shadow Man" logo are registered trademarks of Red Hat, Inc. in the United States and other countries. All other trademarks referenced herein are the property of their respective owners. The GPG fingerprint of the [email protected] key is: CA 20 86 86 2B D6 9D FC 65 F6 EC C4 21 91 80 CD DB 42 A6 0E Table of Contents Introduction.......................................................................................................................................... i 1. Audience ................................................................................................................................ i 2. Document Conventions .......................................................................................................... i 3. More to Come ...................................................................................................................... iii 3.1. Send in Your Feedback ......................................................................................... iv 4. Activate Your Subscription .................................................................................................. iv 4.1. Provide a Red Hat Login....................................................................................... iv 4.2. Provide Your Subscription Number ....................................................................... v 4.3. Connect Your System............................................................................................. v 5. Recommended References.................................................................................................... v 1. Red Hat GFS Overview .................................................................................................................. 1 1.1. New and Changed Features................................................................................................ 1 1.2. Performance, Scalability, and Economy ............................................................................ 2 1.2.1. Superior Performance and Scalability ................................................................ 2 1.2.2. Performance, Scalability, Moderate Price........................................................... 3 1.2.3. Economy and Performance ................................................................................. 4 1.3. GFS Functions ................................................................................................................... 5 1.3.1. Cluster Volume Management.............................................................................. 5 1.3.2. Lock Management .............................................................................................. 5 1.3.3. Cluster Management, Fencing, and Recovery .................................................... 6 1.3.4. Cluster Configuration Management .................................................................... 6 1.4. GFS Software Subsystems................................................................................................. 7 1.5. Before Configuring GFS .................................................................................................... 9 2. System Requirements ................................................................................................................... 11 2.1. Platform Requirements .................................................................................................... 11 2.2. TCP/IP Network............................................................................................................... 11 2.3. Fibre Channel Storage Network....................................................................................... 11 2.4. Fibre Channel Storage Devices........................................................................................ 12 2.5. Network Power Switches ................................................................................................. 12 2.6. Console Access ................................................................................................................ 12 2.7. I/O Fencing ...................................................................................................................... 12 3. Installing GFS ............................................................................................................................... 13 3.1. Prerequisite Tasks ............................................................................................................ 13 3.1.1. Prerequisite Software ........................................................................................ 13 3.1.2. Specifying a Persistent Major Number ............................................................. 14 3.2. Installation Tasks ............................................................................................................. 14 3.2.1. Installing GFS RPMs ........................................................................................ 14 3.2.2. Loading the GFS Kernel Modules .................................................................... 15 4. Initial Configuration ..................................................................................................................... 17 4.1. Prerequisite Tasks ............................................................................................................ 17 4.2. Initial Configuration Tasks............................................................................................... 17 4.2.1. Setting Up Logical Devices .............................................................................. 18 4.2.2. Setting Up and Starting the Cluster Configuration System .............................. 18 4.2.3. Starting Clustering and Locking Systems......................................................... 19 4.2.4. Setting Up and Mounting File Systems ............................................................ 19 5. Using the Pool Volume Manager ................................................................................................. 21 5.1. Overview of GFS Pool Volume Manager ........................................................................ 21 5.2. Synopsis of Pool Management Commands ..................................................................... 21 5.2.1. pool_tool ....................................................................................................... 22 5.2.2. pool_assemble .............................................................................................. 23 5.2.3. pool_info ....................................................................................................... 23 5.2.4. pool_mp ........................................................................................................... 24 5.3. Scanning Block Devices .................................................................................................. 25 5.3.1. Usage................................................................................................................. 25 5.3.2. Example ............................................................................................................ 25 5.4. Creating a Configuration File for a New Volume ............................................................ 26 5.4.1. Examples........................................................................................................... 27 5.5. Creating a Pool Volume ................................................................................................... 27 5.5.1. Usage................................................................................................................. 28 5.5.2. Example ............................................................................................................ 28 5.5.3. Comments ......................................................................................................... 28 5.6. Activating/Deactivating a Pool Volume ........................................................................... 28 5.6.1. Usage................................................................................................................. 29 5.6.2. Examples........................................................................................................... 29 5.6.3. Comments ......................................................................................................... 29 5.7. Displaying Pool Configuration Information .................................................................... 30 5.7.1. Usage................................................................................................................