环境介绍:
- 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; };
};