Configuration Description:
1. iSCSI shared storage via Openfiler
2. Implement fence functionality through VMware ESXi5 virtual fence.
3. Combine Redhat 5.8 vmware-fence-soap to realize RHCs fence equipment function.
4. This article was originally created to build RHCS experimental environment test RHCs Oracle ha function.
This article link: http://koumm.blog.51cto.com/703525/1161791
I. Preparation of the basic environment
1. Network Environment Preparation
Node1,node2 node
# cat/etc/hosts
192.168.14.100 Node1
192.168.14.110 Node2
2. Configure Yum installation source
(1) Mounted CD-ROM ISO
# mount/dev/cdrom/mnt
(2) Configure Yum Client
Description: Use the local CD as the Yum installation source.
# Vi/etc/yum.repos.d/rhel-debuginfo-bak.repo
[Rhel-debuginfo]
name=red Hat Enterprise Linux $releasever-$basearch-debug
baseurl=ftp://ftp.redhat.com/pub/redhat/linux/enterprise/$releasever/en/os/$basearch/debuginfo/
Enabled=0
Gpgcheck=1
Gpgkey=file:///etc/pki/rpm-gpg/rpm-gpg-key-redhat-release
[Server]
Name=server
Baseurl=file:///mnt/server
Enabled=1
Gpgcheck=1
Gpgkey=file:///etc/pki/rpm-gpg/rpm-gpg-key-redhat-release
[VT]
Name=vt
Baseurl=file:///mnt/vt
Enabled=1
Gpgcheck=1
Gpgkey=file:///etc/pki/rpm-gpg/rpm-gpg-key-redhat-release
[Cluster]
Name=cluster
Baseurl=file:///mnt/cluster
Enabled=1
Gpgcheck=1
Gpgkey=file:///etc/pki/rpm-gpg/rpm-gpg-key-redhat-release
[Clusterstorage]
Name=clusterstorage
Baseurl=file:///mnt/clusterstorage
Enabled=1
Gpgcheck=1
Gpgkey=file:///etc/pki/rpm-gpg/rpm-gpg-key-redhat-release
(3) Openfiler iSCSI Storage Configuration
Specific configuration slightly, divided into two LUNs, a 10G configuration GFs, a 1G configuration voting disk.
(4) Mount storage
RPM-IVH iscsi-initiator-utils-6.2.0.872-13.el5.x86_64.rpm
Chkconfig iSCSI--level on
Chkconfig Iscsid--level
Service iSCSI Start
# iscsiadm-m Discovery-t st-p 192.168.14.162
# iscsiadm-m Node-t iqn.2006-01.com.openfiler:tsn.b2bd5bb312a7-p 192.168.14.162-l