This section briefly introduces the GFS configuration of the RedHat Cluster File System. The cluster file system is different from the common file system, such as ext3, ufs, and ntfs, the cluster file system uses Distributed Lock management to read and write files on multiple nodes at the same time. Mainstream cluster files include ibm gpfs, ocfs produced by Oracle, and GFS produced by RedHat. I'm ashamed to say that before I resigned from 766.com, three major technical aspirations were not fulfilled, including oraclew.uard and gridc.
This section briefly introduces the GFS configuration of the RedHat Cluster File System. The cluster file system is different from the common file system, such as ext3, ufs, and ntfs, the cluster file system uses Distributed Lock management to read and write files on multiple nodes at the same time. Mainstream cluster files include ibm gpfs, ocfs produced by Oracle, and GFS produced by RedHat. I'm ashamed to say that before I resigned from 766.com, I had three major technical aspirations that were not completed, including oracle dataguard, grid control, and gfs. Today, I have basically achieved these three indicators! Next, you can store the archive logs in the rac environment on GFS.
I. Environment Introduction
Node 1 IP: 192.168.1.51/24
Operating System: rhel5.4 64-bit (kvm virtual machine)
Host Name: dg51.yang.com
Node 2 IP: 192.168.1.52/24
Operating System: rhel5.4 64-bit (kvm virtual machine)
Host Name: dg51.yang.com
Shared storage IP Address: 192.168.1.100/24
Operating System: rhel6.0 64-bit
Host Name: rhel6.yang.com
Ii. Configure shared storage and partition
[Root @ dg51 ~] # Fdisk-l/dev/sda
Disk/dev/sda: 10.7 GB, 10737418240 bytes
64 heads, 32 sectors/track, 10240 cylinders
Units = cylinders of 2048*512 = 1048576 bytes
Device Boot Start End Blocks Id System
/Dev/sda1 1 10240 10485744 83 Linux
For configuration of this part, see: http://www.linuxidc.com/Linux/2011-09/43537.htm
3. Install the Cluster Storage Package group, which must be configured on both nodes.
[Root @ dg51 ~] # Cat/etc/yum. repos. d/base. repo
[Base]
Name = base
Baseurl = ftp: // 192.168.1.100/pub/iso5/Server
Gpgcheck = 0
Enable = 1
[Cluster]
Name = Cluster
Baseurl = ftp: // 192.168.1.100/pub/iso5/Cluster
Gpgcheck = 0
Enable = 1
[ClusterStorage]
Name = ClusterStorage
Baseurl = ftp: // 192.168.1.100/pub/iso5/ClusterStorage
Gpgcheck = 0
Enable = 1
[Root @ dg51 ~] # Yum-y groupinstall "Cluster Storage" "Clustering"