Redhat 5.8 x64 RHCS Oracle 10gR2 HA實踐配置

來源:互聯網
上載者:User

配置說明:

1. 通過Openfiler實現iscsi共用儲存

2. 通過VMware ESXi5 虛擬fence實現fence功能。

3. 結合Redhat 5.8 vmware-fence-soap實現RHCS fence裝置功能。

4. 本文原建立搭建RHCS實驗環境測試RHCS Oracle HA功能。

本文連結:http://koumm.blog.51cto.com/703525/1161791

一、準備基礎環境

1. 網路環境準備

node1,node2節點

# cat /etc/hosts

192.168.14.100  node1

192.168.14.110  node2

2. 配置YUM安裝源

(1) 掛載光碟片ISO

# mount /dev/cdrom /mnt

(2) 配置YUM用戶端

說明: 通過本地光碟片做為yum安裝源。

# 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儲存配置

具體配置略,共劃分兩塊lun,一塊10G配置GFS,一塊1G配置表決盤。

(4) 掛載儲存

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

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.