本文将呈现的细节如题所示。
在开始本文前,你需要准备好如下图所示的环境:
Oracle10gRAC_RHEL6_VMs_1
Openfiler:提供RAC的共享存储支持
ora10grac1:RAC的节点主机,节点一
ora10grac2:RAC的节点主机,节点二

一、操作系统的配置
Host表:

主机名:

关闭防火墙与SELINUX:

固定网卡配置:

YUM源配置:

创建需要的路径:

挂载光驱:

安装RAC需要的软件包:
yum install -y libXp.i686 libXp.x86_64 libXp-devel.i686 libXp-devel.x86_64 libXpm.i686 libXpm-devel.i686 libXpm-devel.x86_64 libXpm.x86_64

yum install -y libXtst.x86_64 libXtst-devel.x86_64 libXtst.i686 libXtst-devel.i686

yum install -y binutils* compat-libstdc++-* elfutils-libelf-* elfutils-libelf-devel-* elfutils-libelf-devel-static-* gcc-* gcc-c++-* glibc-* glibc-common-* glibc-devel-* glibc-headers-* ksh libaio-* libaio-devel-* libgcc libstdc++-* libstdc++-devel make sysstat unixODBC unixODBC-devel compat-libstdc++-33.i386 compat-libstdc++-296.i386 glibc.i686 glibc-devel.i386 unixODBC.i386 unixODBC-devel.i386 libaio.i386 libaio-devel.i386 libgcc.i386 libstdc++.i386 libstdc++-devel.i386 libaio-devel.i386 libXp.i386

yum install -y binutils* compat-db setarch compat-libstdc++-* control-center elfutils-libelf-* elfutils-libelf-devel-* elfutils-libelf-devel-static-* gcc-* gcc-c++-* glibc-* glibc-common-* glibc-devel-* glibc-headers-* ksh libaio-* libaio-devel-* libgcc libstdc++-* libstdc++-devel make sysstat unixODBC unixODBC-devel compat-libstdc++-33.i386 compat-libstdc++-296.i386 glibc.i686 glibc-devel.i386 unixODBC.i386 unixODBC-devel.i386 libaio.i386 libaio-devel.i386 libgcc.i386 libstdc++.i386 libstdc++-devel.i386 libaio-devel.i386 libXp.i386

/etc/sysctl.conf

/etc/security/limits.conf

/etc/pam.d/login

用户和用户组:

环境变量:grid

环境变量:oracle

创建Oracle RAC相关的目录结构:

时间同步:
VMWARE Toolbox:

SSH等价性:
ssh-keygen -t rsa
ssh-copy-id -i .ssh/id_rsa.pub

每个节点的用户:grid/oracle都需要做出配置。

Eg:

HangCheck-timer:

二、共享存储的配置
Openfiler的配置:
openfiler_1

openfiler_2

openfiler_3

openfiler_4

openfiler_5

节点主机的配置:

划分共享存储:

RAW:

UDEV:

三、Oracle RAC:Clusterware
上传介质:
Upload_data_1
解压:

运行OUI:

图形化安装:
clusterware_1

clusterware_2

clusterware_3

clusterware_4

clusterware_5

clusterware_6

clusterware_7

clusterware_8

clusterware_9

clusterware_10

clusterware_11
执行脚本。
1:

2:

3:

这里的报错即使打上Patch:4679769,虽然脚本看上去通过了,但事实上CRS的资源是没有被拉起来的。

故而,相信Oracle官方在兼容性上的描述吧,继续折腾,真的很浪费精力,而且不能增益些许:
Oracle_not_support_10gOnREHL6
————————————————————————————————
Done。

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

隐藏
变装