Red Hat GFS Cluster File System Configuration Guide

Source: Internet
Author: User
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"

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.