Oracle Enterprise Linux 5.5(64位)部署安装Oracle 11g R2 RAC(11.2.0.1)教程

环境介绍:

  • OS : Oracle Enterprise Linux 5.5 64bit
  • DB : GI and Database 11.2.0.3

安装步骤:

  • 资源准备
  • 安装操作系统
  • 各项配置
  • 各项检查
  • 安装GI和数据库

资源准备
Oracle_Enterprise-R5-U5-Server-x86_64-dvd.iso
openfiler-2.3-x86_64-disc1.iso
linux.x64_11gR2_database_1of2.zip  
linux.x64_11gR2_database_2of2.zip 
–  database
linux.x64_11gR2_grid.zip 
–  Grid Infrastructure
oracleasm-2.6.18-194.el5-2.0.5-1.el5.x86_64.rpm
oracleasmlib-2.0.4-1.el5.x86_64.rpm
oracleasm-support-2.1.7-1.el5.x86_64.rpm
rlwrap-0.37-1.el5.x86_64.rpm
VNC-Viewer
FileZilla  or WinSCP


资源下载地址
OEL、GI、DATABASE:
http://www.oracle.com https://support.oracle.com/
Openfiler
http://www.openfiler.com/community/download/
oracleasm相关软件包:
http://www.oracle.com/technetwork/server-storage/linux/downloads/rhel5-084877.html
Rlwrap软件:
http://www.rpmfind.net/linux/rpm2html/search.php?query=rlwrap
VNC-Viewer
http://www.realvnc.com/download/viewer/
FileZilla
http://filezilla-project.org/
WinSCP
http://winscp.net/

安装操作系统

用途

DNS服务器

数据库节点服务器

存储服务器

数量

1台

2台

1台

操作系统

OEL

OEL

Openfiler

空间

20G以上

40G以上

10G以上

内存

1G

3G以上

1G

网卡

1块

5块

2块

分区

默认

/boot  – 200M

Swap – 3072M

/         – Free

默认

安装包

Base

Base、Gnome相关

默认

安全设置

SELinux  Disable

Iptables   Disable

SELinux  Disable

Iptables   Disable

默认

各项配置

  • 配置DNS服务
  • 网络配置(网卡绑定技术)
  • 快速配置YUM源,并安装所需软件包
  • 参数修改
  • 添加组和用户
  • 创建目录、授权
  • 环境变量
  • Openfiler划分存储空间
  • Iscsi挂载磁盘并fdisk分区
  • 创建ASM磁盘
  • 禁用NTP服务
  • 配置VNC服务
  • 上传软件并解压

1)配置DNS服务
以下操作在DNS服务器上进行:

安装bind三个包
# rpm -ivh bind-9.3.6-4.P1.el5_4.2.x86_64.rpm
# rpm -ivh bind-chroot-9.3.6-4.P1.el5_4.2.x86_64.rpm
# rpm -ivh caching-nameserver-9.3.6-4.P1.el5_4.2.x86_64.rpm

配置主区域
# cd /var/named/chroot/etc
# cp -p named.caching-nameserver.conf named.conf
# vi named.conf 
 options {
         listen-on port 53 { any; };
         listen-on-v6 port 53 { ::1; };
         directory       "/var/named";
         dump-file       "/var/named/data/cache_dump.db";
         statistics-file "/var/named/data/named_stats.txt";
         memstatistics-file "/var/named/data/named_mem_stats.txt";

         allow-query     { any; };
         allow-query-cache { any; };
 };
 logging {
         channel default_debug {
                 file "data/named.run";
                 severity dynamic;
         };
 };
 view localhost_resolver {
         match-clients      { any; };
         match-destinations { any; };
          recursion yes;
         include "/etc/named.zones";
 };
 
# cp -p named.rfc1912.zones named.zones
# vi named.zones
 zone “bbk.com" IN {
         type master;
         file “bbk.com.zone";
         allow-update { none; };
 };

 zone "77.168.192.in-addr.arpa" IN {
         type master;
         file "77.168.192.local";
         allow-update { none; };
 };

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值