Download Red Hat Enterprise Linux 5 Global File System 2
Transcript
Red Hat Ent erprise Linux 5 G lobal File Syst em 2 Chapter 2. Getting Started This chapter describes procedures for initial setup of GFS2 and contains the following sections: Section 2.1, “ Prerequisite Tasks” Section 2.2, “ Initial Setup Tasks” 2.1. Prerequisit e T asks You should complete the following tasks before setting up Red Hat GFS2: Make sure that you have noted the key characteristics of the GFS2 nodes (refer to Section 1.1, “ Before Setting Up GFS2” ). Make sure that the clocks on the GFS2 nodes are synchronized. It is recommended that you use the Network Time Protocol (NTP) software provided with your Red Hat Enterprise Linux distribution. Note The system clocks in GFS2 nodes must be within a few minutes of each other to prevent unnecessary inode time-stamp updating. Unnecessary inode time-stamp updating severely impacts cluster performance. In order to use GFS2 in a clustered environment, you must configure your system to use the Clustered Logical Volume Manager (CLVM), a set of clustering extensions to the LVM Logical Volume Manager. In order to use CLVM, the Red Hat Cluster Suite software, including the clvmd daemon, must be running. For information on using CLVM, see Logical Volume Manager Administration. For information on installing and administering Red Hat Cluster Suite, see Cluster Administration. 2.2. Init ial Set up T asks Initial GFS2 setup consists of the following tasks: 1. Setting up logical volumes. 2. Making a GFS2 files system. 3. Mounting file systems. Follow these steps to set up GFS2 initially. 1. Using LVM, create a logical volume for each Red Hat GFS2 file system. Note You can use init.d scripts included with Red Hat Cluster Suite to automate activating and deactivating logical volumes. For more information about init.d scripts, refer to Configuring and Managing a Red Hat Cluster. 14