Configuration instructions:
1. Use Openfiler to implement iscsi shared storage
2. Implement the fence Function Through VMware ESXi5 virtual fence.
3. Use RedHat 5.8 vmware-fence-soap to implement the RHCS fence device function.
4. In this article, we created a RHCS experiment environment to test the RHCS Oracle HA function.
I. Prepare the Basic Environment
1. Prepare the Network Environment
Node1 and node2 nodes
# Cat/etc/hosts
192.168.14.100 node1
192.168.14.110 node2
2. Configure the YUM installation Source
(1) mounting the optical disc ISO
# Mount/dev/cdrom/mnt
(2) configure the YUM Client
Note: Use a 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 = Signature/
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
The specific configuration is omitted. Two Luns are divided, one with 10 Gb GFS and one with 1 GB voting disk.
(4) Mount Storage
Rpm-ivh iscsi-initiator-utils-6.2.0.872-13.el5.x86_64.rpm
Chkconfig iscsi -- level 35 on
Chkconfig iscsid -- level 35 on
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